[go: nahoru, domu]

blob: 40ec67c0a996c17c4119e6c991c8c930f13d7fe0 [file] [log] [blame]
George Mount1630be22020-01-29 15:10:28 -08001// Signature format: 3.0
2package androidx.ui.foundation {
3
Ryan Mentley999a8bb2019-11-13 16:27:36 -08004 public final class AdapterListKt {
5 method public static <T> void AdapterList(java.util.List<? extends T> data, androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> itemCallback);
6 }
7
Matvei Malkovd4471aa2020-01-30 17:28:31 +00008 public final class Border {
9 ctor public Border(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush);
10 method public androidx.ui.unit.Dp component1();
11 method public androidx.ui.graphics.Brush component2();
12 method public androidx.ui.foundation.Border copy(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush);
13 method public androidx.ui.graphics.Brush getBrush();
14 method public androidx.ui.unit.Dp getSize();
George Mount1630be22020-01-29 15:10:28 -080015 }
16
17 public final class BorderKt {
Matvei Malkovd4471aa2020-01-30 17:28:31 +000018 method public static androidx.ui.foundation.Border Border(androidx.ui.unit.Dp size, androidx.ui.graphics.Color color);
George Mount1630be22020-01-29 15:10:28 -080019 }
20
21 public final class BoxKt {
Matvei Malkovd08b02d2020-01-22 18:23:49 +000022 method public static void Box(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Shape shape = RectangleShape, androidx.ui.graphics.Color backgroundColor = Color.Transparent, androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp padding = elvis {
Ryan Mentley6beaa422020-02-24 19:43:43 -080023 @null var var4119045e: androidx.ui.unit.Dp = border?.size
24 if (var4119045e != null) var4119045e else 0.dp
25}, androidx.ui.unit.Dp paddingLeft = Dp.Unspecified, androidx.ui.unit.Dp paddingTop = Dp.Unspecified, androidx.ui.unit.Dp paddingRight = Dp.Unspecified, androidx.ui.unit.Dp paddingBottom = Dp.Unspecified, androidx.ui.core.Alignment gravity = ContentGravity.TopLeft, kotlin.jvm.functions.Function0<kotlin.Unit> children);
George Mount1630be22020-01-29 15:10:28 -080026 }
27
Matvei Malkov211b47c2020-02-03 12:53:24 -080028 public final class CanvasKt {
29 method public static void Canvas(androidx.ui.core.Modifier modifier, kotlin.jvm.functions.Function1<? super androidx.ui.foundation.CanvasScope,kotlin.Unit> onCanvas);
30 }
31
32 public interface CanvasScope extends androidx.ui.graphics.Canvas androidx.ui.unit.Density {
33 method public androidx.ui.unit.PxSize getSize();
34 property public abstract androidx.ui.unit.PxSize size;
35 }
36
George Mount1630be22020-01-29 15:10:28 -080037 public final class ClickableKt {
38 method public static void Clickable(kotlin.jvm.functions.Function0<kotlin.Unit>? String? boolean consumeDownOnStart = false, kotlin.jvm.functions.Function0<kotlin.Unit> children);
39 }
40
41 public final class ColoredRectKt {
42 method public static void ColoredRect(androidx.ui.graphics.Brush brush, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.unit.Dp? width = null, androidx.ui.unit.Dp? height = null);
43 method public static void ColoredRect(androidx.ui.graphics.Color color, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.unit.Dp? width = null, androidx.ui.unit.Dp? height = null);
44 }
45
46 public final class ContentColorKt {
47 method public static void ProvideContentColor(androidx.ui.graphics.Color color, kotlin.jvm.functions.Function0<kotlin.Unit> children);
48 method public static androidx.ui.graphics.Color contentColor();
49 }
50
51 public final class DarkThemeKt {
52 method public static boolean isSystemInDarkTheme();
53 }
54
55 public final class DeterminateProgressIndicatorKt {
56 method public static void DeterminateProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, kotlin.jvm.functions.Function0<kotlin.Unit> children);
57 }
58
59 public final class DialogKt {
60 method public static void Dialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit> children);
61 }
62
Matvei Malkov83c41e02020-02-03 01:37:15 +000063 public final class DrawBackground implements androidx.ui.core.DrawModifier {
64 method public androidx.ui.foundation.DrawBackground copy(androidx.ui.graphics.Paint paint, androidx.ui.graphics.Shape shape);
65 method public void draw(androidx.ui.unit.Density density, kotlin.jvm.functions.Function0<kotlin.Unit> drawContent, androidx.ui.graphics.Canvas canvas, androidx.ui.unit.PxSize size);
66 }
67
68 public final class DrawBackgroundKt {
69 method public static androidx.ui.foundation.DrawBackground DrawBackground(androidx.ui.graphics.Color color, androidx.ui.graphics.Shape shape = RectangleShape);
70 method public static androidx.ui.foundation.DrawBackground DrawBackground(androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape = RectangleShape);
71 }
72
Matvei Malkovd4471aa2020-01-30 17:28:31 +000073 public final class DrawBorder implements androidx.ui.core.DrawModifier {
74 method public void draw(androidx.ui.unit.Density density, kotlin.jvm.functions.Function0<kotlin.Unit> drawContent, androidx.ui.graphics.Canvas canvas, androidx.ui.unit.PxSize size);
75 }
76
77 public final class DrawBorderKt {
78 method public static androidx.ui.foundation.DrawBorder DrawBorder(androidx.ui.foundation.Border border, androidx.ui.graphics.Shape shape = RectangleShape);
79 method public static androidx.ui.foundation.DrawBorder DrawBorder(androidx.ui.unit.Dp size, androidx.ui.graphics.Color color, androidx.ui.graphics.Shape shape = RectangleShape);
80 method public static androidx.ui.foundation.DrawBorder DrawBorder(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape);
81 }
82
George Mount1630be22020-01-29 15:10:28 -080083 public final class DrawBordersReceiver {
Matvei Malkovd4471aa2020-01-30 17:28:31 +000084 method public void all(androidx.ui.foundation.Border border = defaultBorder);
85 method public void allHorizontal(androidx.ui.foundation.Border border = defaultBorder);
86 method public void allVertical(androidx.ui.foundation.Border border = defaultBorder);
87 method public void bottom(androidx.ui.foundation.Border border = defaultBorder);
88 method public void horizontal(int row, kotlin.ranges.IntRange columns = 0 <other> columnCount, androidx.ui.foundation.Border border = defaultBorder);
89 method public void left(androidx.ui.foundation.Border border = defaultBorder);
90 method public void outer(androidx.ui.foundation.Border border = defaultBorder);
91 method public void right(androidx.ui.foundation.Border border = defaultBorder);
92 method public void top(androidx.ui.foundation.Border border = defaultBorder);
93 method public void vertical(int column, kotlin.ranges.IntRange rows = 0 <other> rowCount, androidx.ui.foundation.Border border = defaultBorder);
George Mount1630be22020-01-29 15:10:28 -080094 }
95
96 public final class ImageKt {
97 method public static void DrawImage(androidx.ui.graphics.Image image, androidx.ui.graphics.Color? tint = null);
98 method public static void SimpleImage(androidx.ui.graphics.Image image, androidx.ui.graphics.Color? tint = null);
99 }
100
101 public final class ScrollerKt {
102 method public static void HorizontalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = ScrollerPosition(), androidx.ui.core.Modifier modifier = Modifier.None, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child);
103 method public static androidx.ui.foundation.ScrollerPosition ScrollerPosition(float initial = 0f);
104 method public static void VerticalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = ScrollerPosition(), androidx.ui.core.Modifier modifier = Modifier.None, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child);
105 }
106
107 public final class ScrollerPosition {
Matvei Malkovc09bc562020-02-05 18:13:34 -0800108 ctor public ScrollerPosition(androidx.ui.foundation.animation.FlingConfig flingConfig, float initial, androidx.animation.AnimationClockObservable animationClock);
Matvei Malkovc09bc562020-02-05 18:13:34 -0800109 method public float getMaxPosition();
110 method public float getValue();
George Mount1630be22020-01-29 15:10:28 -0800111 method public boolean isAnimating();
Matvei Malkovc09bc562020-02-05 18:13:34 -0800112 method public void scrollBy(float value);
113 method public void scrollTo(float value);
114 method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
115 method public void smoothScrollTo(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
George Mount1630be22020-01-29 15:10:28 -0800116 property public final boolean isAnimating;
Matvei Malkovc09bc562020-02-05 18:13:34 -0800117 property public final float maxPosition;
118 property public final float value;
George Mount1630be22020-01-29 15:10:28 -0800119 }
120
121 public final class Strings {
122 method public String getChecked();
123 method public String getIndeterminate();
124 method public String getNotSelected();
125 method public String getSelected();
126 method public String getUnchecked();
127 property public final String Checked;
128 property public final String Indeterminate;
129 property public final String NotSelected;
130 property public final String Selected;
131 property public final String Unchecked;
132 field public static final androidx.ui.foundation.Strings! INSTANCE;
133 }
134
135 public final class TableBordersKt {
Matvei Malkovd4471aa2020-01-30 17:28:31 +0000136 method public static void drawBorders(androidx.ui.layout.TableChildren, androidx.ui.foundation.Border defaultBorder = Border(Color.Black, Dp.Hairline), kotlin.jvm.functions.Function1<? super androidx.ui.foundation.DrawBordersReceiver,kotlin.Unit> block);
George Mount1630be22020-01-29 15:10:28 -0800137 }
138
George Mount1630be22020-01-29 15:10:28 -0800139}
140
141package androidx.ui.foundation.animation {
142
143 public final class AndroidFlingCalculator {
144 ctor public AndroidFlingCalculator(androidx.ui.unit.Density density);
145 method public float flingDistance(float velocity);
146 method public long flingDuration(float velocity);
147 method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo flingInfo(float velocity);
148 method public androidx.ui.unit.Density getDensity();
149 }
150
151 public static final class AndroidFlingCalculator.FlingInfo {
152 ctor public AndroidFlingCalculator.FlingInfo(float initialVelocity, float distance, long duration);
153 method public float component1();
154 method public float component2();
155 method public long component3();
156 method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo copy(float initialVelocity, float distance, long duration);
157 method public float getDistance();
158 method public long getDuration();
159 method public float getInitialVelocity();
160 method public float position(long time);
161 method public float velocity(long time);
162 }
163
164 public final class AndroidFlingCalculatorKt {
165 }
166
167 public final class AndroidFlingDecayAnimation implements androidx.animation.DecayAnimation {
168 ctor public AndroidFlingDecayAnimation(androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator);
169 method public float getAbsVelocityThreshold();
170 method public androidx.ui.foundation.animation.AndroidFlingCalculator getFlingCalculator();
171 method public float getTarget(float start, float startVelocity);
172 method public float getValue(long playTime, float start, float startVelocity);
173 method public float getVelocity(long playTime, float start, float startVelocity);
174 method public boolean isFinished(long playTime, float start, float startVelocity);
175 property public float absVelocityThreshold;
176 property public final androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator;
177 }
178
179 public final class AndroidFlingSpline {
180 method public double deceleration(float velocity, float friction);
181 method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult flingPosition(float time);
182 field public static final androidx.ui.foundation.animation.AndroidFlingSpline! INSTANCE;
183 }
184
185 public static final class AndroidFlingSpline.FlingResult {
186 ctor public AndroidFlingSpline.FlingResult(float distanceCoefficient, float velocityCoefficient);
187 method public float component1();
188 method public float component2();
189 method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult copy(float distanceCoefficient, float velocityCoefficient);
190 method public float getDistanceCoefficient();
191 method public float getVelocityCoefficient();
192 }
193
194 public final class AndroidFlingSplineKt {
195 }
196
George Mount1630be22020-01-29 15:10:28 -0800197 public final class FlingConfig {
198 ctor public FlingConfig(androidx.animation.DecayAnimation decayAnimation, kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? onAnimationEnd, kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget);
199 method public androidx.animation.DecayAnimation component1();
200 method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? component2();
201 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> component3();
202 method public androidx.ui.foundation.animation.FlingConfig copy(androidx.animation.DecayAnimation decayAnimation, kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? onAnimationEnd, kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget);
203 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> getAdjustTarget();
204 method public androidx.animation.DecayAnimation getDecayAnimation();
205 method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? getOnAnimationEnd();
206 }
207
208 public final class FlingConfigKt {
209 method public static androidx.ui.foundation.animation.FlingConfig AnchorsFlingConfig(java.util.List<java.lang.Float> anchors, androidx.animation.AnimationBuilder<java.lang.Float> animationBuilder = androidx.animation.PhysicsBuilder(), kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? androidx.animation.DecayAnimation decayAnimation = androidx.animation.ExponentialDecay());
210 method public static androidx.ui.foundation.animation.FlingConfig FlingConfig(kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget = { null });
211 method public static void fling(androidx.animation.AnimatedFloat, androidx.ui.foundation.animation.FlingConfig config, float startVelocity);
212 }
213
214}
215
216package androidx.ui.foundation.gestures {
217
218 public abstract sealed class DragDirection {
219 }
220
221 public static final class DragDirection.Horizontal extends androidx.ui.foundation.gestures.DragDirection {
222 field public static final androidx.ui.foundation.gestures.DragDirection.Horizontal! INSTANCE;
223 }
224
225 public static final class DragDirection.Vertical extends androidx.ui.foundation.gestures.DragDirection {
226 field public static final androidx.ui.foundation.gestures.DragDirection.Vertical! INSTANCE;
227 }
228
229 public interface DragValueController {
230 method public float getCurrentValue();
231 method public void onDrag(float target);
232 method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled);
233 method public void setBounds(float min, float max);
234 property public abstract float currentValue;
235 }
236
237 public final class DraggableKt {
Matvei Malkovc09bc562020-02-05 18:13:34 -0800238 method public static void Draggable(androidx.ui.foundation.gestures.DragDirection dragDirection, androidx.animation.AnimatedFloat dragValue, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onDragValueChangeRequested, kotlin.jvm.functions.Function1<? super androidx.ui.unit.PxPosition,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> boolean enabled = true, boolean isValueAnimating = false, kotlin.jvm.functions.Function0<kotlin.Unit> children);
George Mount1630be22020-01-29 15:10:28 -0800239 }
240
241 public final class FloatDragValueController implements androidx.ui.foundation.gestures.DragValueController {
242 ctor public FloatDragValueController(float initialValue);
243 method public float getCurrentValue();
244 method public void onDrag(float target);
245 method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled);
246 method public void setBounds(float min, float max);
247 property public float currentValue;
248 }
249
Matvei Malkov46aba352020-02-07 17:25:49 -0800250 public final class ScrollableKt {
251 method public static void Scrollable(androidx.ui.foundation.gestures.DragDirection dragDirection, androidx.ui.foundation.gestures.ScrollableState scrollableState, kotlin.jvm.functions.Function1<? super androidx.ui.unit.PxPosition,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> boolean enabled = true, kotlin.jvm.functions.Function0<kotlin.Unit> children);
252 method public static androidx.ui.foundation.gestures.ScrollableState ScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> onScrollDeltaConsumptionRequested);
253 }
254
255 public final class ScrollableState {
256 ctor public ScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> onScrollDeltaConsumptionRequested, androidx.ui.foundation.animation.FlingConfig flingConfig, androidx.animation.AnimationClockObservable animationClock);
257 method public androidx.ui.foundation.animation.FlingConfig getFlingConfig();
258 method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getOnScrollDeltaConsumptionRequested();
259 method public boolean isAnimating();
260 method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
261 method public void stopAnimation();
262 property public final boolean isAnimating;
263 }
264
George Mount1630be22020-01-29 15:10:28 -0800265}
266
267package androidx.ui.foundation.selection {
268
269 public final class MutuallyExclusiveSetItemKt {
270 method public static void MutuallyExclusiveSetItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function0<kotlin.Unit> children);
271 }
272
273 public final class ToggleableKt {
274 method public static void Toggleable(boolean value, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> children);
275 method public static androidx.ui.foundation.selection.ToggleableState ToggleableState(boolean value);
276 method public static void TriStateToggleable(androidx.ui.foundation.selection.ToggleableState value = androidx.ui.foundation.selection.ToggleableState.On, kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> children);
277 }
278
279 public enum ToggleableState {
280 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Indeterminate;
281 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Off;
282 enum_constant public static final androidx.ui.foundation.selection.ToggleableState On;
283 }
284
285}
286
287package androidx.ui.foundation.semantics {
288
289 public final class FoundationSemanticsProperties {
290 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getInMutuallyExclusiveGroup();
291 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getSelected();
292 method public androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> getToggleableState();
293 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> InMutuallyExclusiveGroup;
294 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> Selected;
295 property public final androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> ToggleableState;
296 field public static final androidx.ui.foundation.semantics.FoundationSemanticsProperties! INSTANCE;
297 }
298
299 public final class FoundationSemanticsPropertiesKt {
300 method public static boolean getInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver);
301 method public static boolean getSelected(androidx.ui.semantics.SemanticsPropertyReceiver);
302 method public static androidx.ui.foundation.selection.ToggleableState getToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver);
303 method public static void setInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
304 method public static void setSelected(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
305 method public static void setToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver, androidx.ui.foundation.selection.ToggleableState p);
306 }
307
308}
309
310package androidx.ui.foundation.shape {
311
Ryan Mentley6beaa422020-02-24 19:43:43 -0800312 public final class DrawShapeKt {
313 method public static void DrawShape(androidx.ui.graphics.Shape shape, androidx.ui.graphics.Color color);
314 method public static void DrawShape(androidx.ui.graphics.Shape shape, androidx.ui.graphics.Brush brush);
315 }
316
George Mount1630be22020-01-29 15:10:28 -0800317 public final class GenericShape implements androidx.ui.graphics.Shape {
318 ctor public GenericShape(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.unit.PxSize,kotlin.Unit> builder);
319 method public androidx.ui.foundation.shape.GenericShape copy(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.unit.PxSize,kotlin.Unit> builder);
320 method public androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density);
321 }
322
323 public final class RectangleShapeKt {
324 method public static androidx.ui.graphics.Shape getRectangleShape();
325 }
326
327}
328
329package androidx.ui.foundation.shape.corner {
330
331 public abstract class CornerBasedShape implements androidx.ui.graphics.Shape {
332 ctor public CornerBasedShape(androidx.ui.foundation.shape.corner.CornerSize topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft);
333 method public final androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density);
334 method public abstract androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Px topLeft, androidx.ui.unit.Px topRight, androidx.ui.unit.Px bottomRight, androidx.ui.unit.Px bottomLeft);
335 }
336
337 public interface CornerSize {
338 method public androidx.ui.unit.Px toPx(androidx.ui.unit.PxSize shapeSize, androidx.ui.unit.Density density);
339 }
340
341 public final class CornerSizeKt {
342 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.unit.Dp size);
343 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.unit.Px size);
344 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@IntRange(from=0, to=50) int percent);
345 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@FloatRange(from=0.0, to=50.0) float percent);
346 method public static androidx.ui.foundation.shape.corner.CornerSize getZeroCornerSize();
347 }
348
349 public final class CutCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
350 ctor public CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft);
351 method public androidx.ui.foundation.shape.corner.CornerSize component1();
352 method public androidx.ui.foundation.shape.corner.CornerSize component2();
353 method public androidx.ui.foundation.shape.corner.CornerSize component3();
354 method public androidx.ui.foundation.shape.corner.CornerSize component4();
355 method public androidx.ui.foundation.shape.corner.CutCornerShape copy(androidx.ui.foundation.shape.corner.CornerSize topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft);
356 method public androidx.ui.graphics.Outline.Generic createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Px topLeft, androidx.ui.unit.Px topRight, androidx.ui.unit.Px bottomRight, androidx.ui.unit.Px bottomLeft);
357 method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft();
358 method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight();
359 method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft();
360 method public androidx.ui.foundation.shape.corner.CornerSize getTopRight();
361 }
362
363 public final class CutCornerShapeKt {
364 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
365 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Dp size);
366 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Px size);
367 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(int percent);
368 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Dp topLeft = 0.dp, androidx.ui.unit.Dp topRight = 0.dp, androidx.ui.unit.Dp bottomRight = 0.dp, androidx.ui.unit.Dp bottomLeft = 0.dp);
369 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Px topLeft = 0.px, androidx.ui.unit.Px topRight = 0.px, androidx.ui.unit.Px bottomRight = 0.px, androidx.ui.unit.Px bottomLeft = 0.px);
370 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(@IntRange(from=0, to=50) int topLeftPercent = 0, @IntRange(from=0, to=50) int topRightPercent = 0, @IntRange(from=0, to=50) int bottomRightPercent = 0, @IntRange(from=0, to=50) int bottomLeftPercent = 0);
371 }
372
373 public final class RoundedCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
374 ctor public RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft);
375 method public androidx.ui.foundation.shape.corner.CornerSize component1();
376 method public androidx.ui.foundation.shape.corner.CornerSize component2();
377 method public androidx.ui.foundation.shape.corner.CornerSize component3();
378 method public androidx.ui.foundation.shape.corner.CornerSize component4();
379 method public androidx.ui.foundation.shape.corner.RoundedCornerShape copy(androidx.ui.foundation.shape.corner.CornerSize topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft);
380 method public androidx.ui.graphics.Outline.Rounded createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Px topLeft, androidx.ui.unit.Px topRight, androidx.ui.unit.Px bottomRight, androidx.ui.unit.Px bottomLeft);
381 method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft();
382 method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight();
383 method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft();
384 method public androidx.ui.foundation.shape.corner.CornerSize getTopRight();
385 }
386
387 public final class RoundedCornerShapeKt {
388 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
389 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Dp size);
390 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Px size);
391 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(int percent);
392 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Dp topLeft = 0.dp, androidx.ui.unit.Dp topRight = 0.dp, androidx.ui.unit.Dp bottomRight = 0.dp, androidx.ui.unit.Dp bottomLeft = 0.dp);
393 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Px topLeft = 0.px, androidx.ui.unit.Px topRight = 0.px, androidx.ui.unit.Px bottomRight = 0.px, androidx.ui.unit.Px bottomLeft = 0.px);
394 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(@IntRange(from=0, to=50) int topLeftPercent = 0, @IntRange(from=0, to=50) int topRightPercent = 0, @IntRange(from=0, to=50) int bottomRightPercent = 0, @IntRange(from=0, to=50) int bottomLeftPercent = 0);
395 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape getCircleShape();
396 }
397
398}
399