[go: nahoru, domu]

blob: 5dd2a72c4d54092d6e4ae310353b2252c0b31060 [file] [log] [blame]
Nick Anthony2834bae2020-04-09 10:20:06 -04001// Signature format: 3.0
2package androidx.ui.foundation {
3
4 public final class AdapterListKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -07005 method @androidx.compose.Composable public static <T> void AdapterList(java.util.List<? extends T> data, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> itemCallback);
Nick Anthony2834bae2020-04-09 10:20:06 -04006 }
7
Aurimas Liutikas9291f142020-05-28 19:59:17 -07008 @androidx.compose.Immutable public final class Border {
Nick Anthony2834bae2020-04-09 10:20:06 -04009 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();
Aurimas Liutikas9291f142020-05-28 19:59:17 -070012 method @androidx.compose.Immutable public androidx.ui.foundation.Border copy(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush);
Nick Anthony2834bae2020-04-09 10:20:06 -040013 method public androidx.ui.graphics.Brush getBrush();
14 method public androidx.ui.unit.Dp getSize();
15 }
16
17 public final class BorderKt {
George Mounte1c878762020-04-15 12:51:57 -070018 method public static androidx.ui.foundation.Border Border-YSZAjy0(androidx.ui.unit.Dp size, long color);
Nick Anthony2834bae2020-04-09 10:20:06 -040019 }
20
21 public final class BoxKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070022 method @androidx.compose.Composable public static void Box-TInkGdk(androidx.ui.core.Modifier modifier = Modifier, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape, long backgroundColor = Color.Transparent, androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp padding = elvis {
23 var var411903ba: androidx.ui.unit.Dp = border?.size
Andrey Kulikov267b9502020-04-20 18:55:09 +010024 if (var411903ba != null) var411903ba else 0.dp
Nick Anthony2834bae2020-04-09 10:20:06 -040025}, androidx.ui.unit.Dp paddingStart = Dp.Unspecified, androidx.ui.unit.Dp paddingTop = Dp.Unspecified, androidx.ui.unit.Dp paddingEnd = Dp.Unspecified, androidx.ui.unit.Dp paddingBottom = Dp.Unspecified, androidx.ui.core.Alignment gravity = ContentGravity.TopStart, kotlin.jvm.functions.Function0<kotlin.Unit> children = emptyContent());
26 }
27
28 public final class CanvasKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070029 method @androidx.compose.Composable public static void Canvas(androidx.ui.core.Modifier modifier, kotlin.jvm.functions.Function1<? super androidx.ui.core.DrawScope,kotlin.Unit> onCanvas);
Nick Anthony2834bae2020-04-09 10:20:06 -040030 }
31
32 public final class ClickableKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070033 method @androidx.compose.Composable public static void Clickable(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, String? androidx.ui.foundation.InteractionState? interactionState = null, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -040034 }
35
36 public final class ClickableTextKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070037 method @androidx.compose.Composable public static void ClickableText(androidx.ui.text.AnnotatedString text, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle style = TextStyle.Default, boolean softWrap = true, androidx.ui.text.style.TextOverflow overflow = TextOverflow.Clip, int maxLines = 2147483647, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onClick);
Nick Anthony2834bae2020-04-09 10:20:06 -040038 }
39
40 public final class ColoredRectKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070041 method @Deprecated @androidx.compose.Composable public static void ColoredRect(androidx.ui.graphics.Brush brush, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.unit.Dp? width = null, androidx.ui.unit.Dp? height = null);
42 method @Deprecated @androidx.compose.Composable public static void ColoredRect-rR94L9Y(long color, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.unit.Dp? width = null, androidx.ui.unit.Dp? height = null);
Nick Anthony2834bae2020-04-09 10:20:06 -040043 }
44
45 public final class ContentColorKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070046 method @androidx.compose.Composable public static long contentColor();
Nick Anthony2834bae2020-04-09 10:20:06 -040047 method public static androidx.compose.ProvidableAmbient<androidx.ui.graphics.Color> getContentColorAmbient();
48 }
49
50 public final class DarkThemeKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070051 method @androidx.compose.Composable public static boolean isSystemInDarkTheme();
Nick Anthony2834bae2020-04-09 10:20:06 -040052 }
53
54 public final class DeterminateProgressIndicatorKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070055 method @androidx.compose.Composable public static void DeterminateProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -040056 }
57
58 public final class DialogKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070059 method @androidx.compose.Composable public static void Dialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -040060 }
61
62 public final class DrawBackground implements androidx.ui.core.DrawModifier {
63 method public androidx.ui.foundation.DrawBackground copy(androidx.ui.graphics.Paint paint, androidx.ui.graphics.Shape shape);
64 method public void draw(androidx.ui.core.ContentDrawScope);
65 }
66
67 public final class DrawBackgroundKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070068 method @Deprecated @androidx.compose.Composable public static androidx.ui.foundation.DrawBackground DrawBackground(androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
69 method @Deprecated @androidx.compose.Composable public static androidx.ui.foundation.DrawBackground DrawBackground-qSsqlCY(long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
Nick Anthony2834bae2020-04-09 10:20:06 -040070 method public static androidx.ui.core.Modifier drawBackground(androidx.ui.core.Modifier, androidx.ui.graphics.Paint paint, androidx.ui.graphics.Shape shape);
Aurimas Liutikas9291f142020-05-28 19:59:17 -070071 method @androidx.compose.Composable public static androidx.ui.core.Modifier drawBackground(androidx.ui.core.Modifier, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
72 method @androidx.compose.Composable public static androidx.ui.core.Modifier drawBackground-IZZjS-Q(androidx.ui.core.Modifier, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
Nick Anthony2834bae2020-04-09 10:20:06 -040073 }
74
75 public final class DrawBorder implements androidx.ui.core.DrawModifier {
76 method public void draw(androidx.ui.core.ContentDrawScope);
77 }
78
79 public final class DrawBorderKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070080 method @Deprecated @androidx.compose.Composable public static androidx.ui.core.Modifier DrawBorder(androidx.ui.foundation.Border border, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
81 method @Deprecated @androidx.compose.Composable public static androidx.ui.foundation.DrawBorder DrawBorder(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape);
82 method @Deprecated @androidx.compose.Composable public static androidx.ui.core.Modifier DrawBorder-Wounw_8(androidx.ui.unit.Dp size, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
83 method @androidx.compose.Composable public static androidx.ui.core.Modifier drawBorder(androidx.ui.core.Modifier, androidx.ui.foundation.Border border, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
84 method @androidx.compose.Composable public static androidx.ui.core.Modifier drawBorder(androidx.ui.core.Modifier, androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape);
85 method @androidx.compose.Composable public static androidx.ui.core.Modifier drawBorder-ik3FbJE(androidx.ui.core.Modifier, androidx.ui.unit.Dp size, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
Nick Anthony2834bae2020-04-09 10:20:06 -040086 }
87
88 public final class DrawBordersReceiver {
89 method public void all(androidx.ui.foundation.Border border = defaultBorder);
90 method public void allHorizontal(androidx.ui.foundation.Border border = defaultBorder);
91 method public void allVertical(androidx.ui.foundation.Border border = defaultBorder);
92 method public void bottom(androidx.ui.foundation.Border border = defaultBorder);
93 method public void horizontal(int row, kotlin.ranges.IntRange columns = 0 <other> columnCount, androidx.ui.foundation.Border border = defaultBorder);
94 method public void left(androidx.ui.foundation.Border border = defaultBorder);
95 method public void outer(androidx.ui.foundation.Border border = defaultBorder);
96 method public void right(androidx.ui.foundation.Border border = defaultBorder);
97 method public void top(androidx.ui.foundation.Border border = defaultBorder);
98 method public void vertical(int column, kotlin.ranges.IntRange rows = 0 <other> rowCount, androidx.ui.foundation.Border border = defaultBorder);
99 }
100
101 public final class IconKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700102 method @androidx.compose.Composable public static void Icon-A4lfJGc(androidx.ui.graphics.vector.VectorAsset asset, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
103 method @androidx.compose.Composable public static void Icon-RCipKA8(androidx.ui.graphics.painter.Painter painter, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
104 method @androidx.compose.Composable public static void Icon-smRaMnI(androidx.ui.graphics.ImageAsset asset, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
Nick Anthony2834bae2020-04-09 10:20:06 -0400105 }
106
107 public final class ImageKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700108 method @androidx.compose.Composable public static inline void Image(androidx.ui.graphics.ImageAsset asset, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.core.Alignment alignment = Alignment.Center, androidx.ui.core.ContentScale contentScale = ContentScale.Inside, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
109 method @androidx.compose.Composable public static inline void Image(androidx.ui.graphics.vector.VectorAsset asset, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.core.Alignment alignment = Alignment.Center, androidx.ui.core.ContentScale contentScale = ContentScale.Inside, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
110 method @androidx.compose.Composable public static void Image(androidx.ui.graphics.painter.Painter painter, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.core.Alignment alignment = Alignment.Center, androidx.ui.core.ContentScale contentScale = ContentScale.Inside, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
111 method @Deprecated @androidx.compose.Composable public static void SimpleImage--SSR55g(androidx.ui.graphics.ImageAsset image, long tint = Color.Unset);
Nick Anthony2834bae2020-04-09 10:20:06 -0400112 }
113
Louis Pullen-Freilichc5567dc92020-04-20 18:01:12 +0100114 public interface Interaction {
115 }
116
117 public static final class Interaction.Dragged implements androidx.ui.foundation.Interaction {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700118 field public static final androidx.ui.foundation.Interaction.Dragged INSTANCE;
Louis Pullen-Freilichc5567dc92020-04-20 18:01:12 +0100119 }
120
121 public static final class Interaction.Pressed implements androidx.ui.foundation.Interaction {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700122 field public static final androidx.ui.foundation.Interaction.Pressed INSTANCE;
Louis Pullen-Freilichc5567dc92020-04-20 18:01:12 +0100123 }
124
125 public final class InteractionState implements androidx.compose.State<java.util.Set<? extends androidx.ui.foundation.Interaction>> {
126 ctor public InteractionState();
127 method public void addInteraction(androidx.ui.foundation.Interaction interaction);
128 method public operator boolean contains(androidx.ui.foundation.Interaction interaction);
129 method public java.util.Set<androidx.ui.foundation.Interaction> getValue();
130 method public void removeInteraction(androidx.ui.foundation.Interaction interaction);
131 property public java.util.Set<androidx.ui.foundation.Interaction> value;
132 }
133
Nick Anthony2834bae2020-04-09 10:20:06 -0400134 public final class ScrollerKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700135 method @androidx.compose.Composable public static void HorizontalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = ScrollerPosition(), androidx.ui.core.Modifier modifier = Modifier, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child);
136 method @androidx.compose.Composable public static androidx.ui.foundation.ScrollerPosition ScrollerPosition(float initial = 0f);
137 method @androidx.compose.Composable public static void VerticalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = ScrollerPosition(), androidx.ui.core.Modifier modifier = Modifier, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child);
Nick Anthony2834bae2020-04-09 10:20:06 -0400138 }
139
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700140 @androidx.compose.Stable public final class ScrollerPosition {
Nick Anthony2834bae2020-04-09 10:20:06 -0400141 ctor public ScrollerPosition(androidx.ui.foundation.animation.FlingConfig flingConfig, float initial, androidx.animation.AnimationClockObservable animationClock);
142 method public float getMaxPosition();
143 method public float getValue();
144 method public boolean isAnimating();
145 method public void scrollBy(float value);
146 method public void scrollTo(float value);
147 method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
148 method public void smoothScrollTo(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
149 property public final boolean isAnimating;
150 property public final float maxPosition;
151 property public final float value;
152 }
153
154 public final class Strings {
155 method public String getChecked();
156 method public String getIndeterminate();
157 method public String getNotSelected();
158 method public String getSelected();
159 method public String getUnchecked();
160 property public final String Checked;
161 property public final String Indeterminate;
162 property public final String NotSelected;
163 property public final String Selected;
164 property public final String Unchecked;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700165 field public static final androidx.ui.foundation.Strings INSTANCE;
Nick Anthony2834bae2020-04-09 10:20:06 -0400166 }
167
168 public final class TableBordersKt {
169 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);
170 }
171
172 public final class TextFieldKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700173 method @androidx.compose.Composable public static void TextField-QMJQIkg(androidx.ui.foundation.TextFieldValue value, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function1<? super androidx.ui.foundation.TextFieldValue,kotlin.Unit> onValueChange, long textColor = Color.Unset, androidx.ui.text.TextStyle textStyle = currentTextStyle(), androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> String? focusIdentifier = null, kotlin.jvm.functions.Function1<? super androidx.ui.input.ImeAction,kotlin.Unit> androidx.ui.input.VisualTransformation? visualTransformation = null, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> >
Nick Anthony2834bae2020-04-09 10:20:06 -0400174 }
175
176 public final class TextFieldValue {
177 ctor public TextFieldValue(String text, androidx.ui.text.TextRange selection);
178 ctor public TextFieldValue();
179 method public String component1();
180 method public androidx.ui.text.TextRange component2();
181 method public androidx.ui.foundation.TextFieldValue copy(String text, androidx.ui.text.TextRange selection);
182 method public androidx.ui.text.TextRange getSelection();
183 method public String getText();
184 }
185
186 public final class TextKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700187 method @androidx.compose.Composable public static void ProvideTextStyle(androidx.ui.text.TextStyle value, kotlin.jvm.functions.Function0<kotlin.Unit> children);
188 method @androidx.compose.Composable public static void Text-7SQZnBs(androidx.ui.text.AnnotatedString text, androidx.ui.core.Modifier modifier = Modifier, long color = Color.Unset, androidx.ui.text.TextStyle style = currentTextStyle(), boolean softWrap = true, androidx.ui.text.style.TextOverflow overflow = TextOverflow.Clip, int maxLines = 2147483647, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> >
189 method @androidx.compose.Composable public static void Text-oHc3XQk(String text, androidx.ui.core.Modifier modifier = Modifier, long color = Color.Unset, androidx.ui.text.TextStyle style = currentTextStyle(), boolean softWrap = true, androidx.ui.text.style.TextOverflow overflow = TextOverflow.Clip, int maxLines = 2147483647, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> >
190 method @androidx.compose.Composable public static androidx.ui.text.TextStyle currentTextStyle();
Nick Anthony2834bae2020-04-09 10:20:06 -0400191 }
192
193}
194
195package androidx.ui.foundation.animation {
196
197 public final class AndroidFlingCalculator {
198 ctor public AndroidFlingCalculator(androidx.ui.unit.Density density);
199 method public float flingDistance(float velocity);
200 method public long flingDuration(float velocity);
201 method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo flingInfo(float velocity);
202 method public androidx.ui.unit.Density getDensity();
203 }
204
205 public static final class AndroidFlingCalculator.FlingInfo {
206 ctor public AndroidFlingCalculator.FlingInfo(float initialVelocity, float distance, long duration);
207 method public float component1();
208 method public float component2();
209 method public long component3();
210 method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo copy(float initialVelocity, float distance, long duration);
211 method public float getDistance();
212 method public long getDuration();
213 method public float getInitialVelocity();
214 method public float position(long time);
215 method public float velocity(long time);
216 }
217
218 public final class AndroidFlingCalculatorKt {
219 }
220
221 public final class AndroidFlingDecayAnimation implements androidx.animation.DecayAnimation {
222 ctor public AndroidFlingDecayAnimation(androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator);
223 method public float getAbsVelocityThreshold();
224 method public long getDurationMillis(float start, float startVelocity);
225 method public androidx.ui.foundation.animation.AndroidFlingCalculator getFlingCalculator();
226 method public float getTarget(float start, float startVelocity);
227 method public float getValue(long playTime, float start, float startVelocity);
228 method public float getVelocity(long playTime, float start, float startVelocity);
229 property public float absVelocityThreshold;
230 property public final androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator;
231 }
232
233 public final class AndroidFlingSpline {
234 method public double deceleration(float velocity, float friction);
235 method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult flingPosition(float time);
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700236 field public static final androidx.ui.foundation.animation.AndroidFlingSpline INSTANCE;
Nick Anthony2834bae2020-04-09 10:20:06 -0400237 }
238
239 public static final class AndroidFlingSpline.FlingResult {
240 ctor public AndroidFlingSpline.FlingResult(float distanceCoefficient, float velocityCoefficient);
241 method public float component1();
242 method public float component2();
243 method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult copy(float distanceCoefficient, float velocityCoefficient);
244 method public float getDistanceCoefficient();
245 method public float getVelocityCoefficient();
246 }
247
248 public final class AndroidFlingSplineKt {
249 }
250
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700251 @androidx.compose.Immutable public final class FlingConfig {
Nick Anthony2834bae2020-04-09 10:20:06 -0400252 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);
253 method public androidx.animation.DecayAnimation component1();
254 method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? component2();
255 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> component3();
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700256 method @androidx.compose.Immutable 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);
Nick Anthony2834bae2020-04-09 10:20:06 -0400257 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> getAdjustTarget();
258 method public androidx.animation.DecayAnimation getDecayAnimation();
259 method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? getOnAnimationEnd();
260 }
261
262 public final class FlingConfigKt {
263 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());
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700264 method @androidx.compose.Composable 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 = { return null });
Nick Anthony2834bae2020-04-09 10:20:06 -0400265 method public static void fling(androidx.animation.AnimatedFloat, androidx.ui.foundation.animation.FlingConfig config, float startVelocity);
266 }
267
268}
269
270package androidx.ui.foundation.gestures {
271
272 public abstract sealed class DragDirection {
273 }
274
275 public static final class DragDirection.Horizontal extends androidx.ui.foundation.gestures.DragDirection {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700276 field public static final androidx.ui.foundation.gestures.DragDirection.Horizontal INSTANCE;
Nick Anthony2834bae2020-04-09 10:20:06 -0400277 }
278
279 public static final class DragDirection.Vertical extends androidx.ui.foundation.gestures.DragDirection {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700280 field public static final androidx.ui.foundation.gestures.DragDirection.Vertical INSTANCE;
Nick Anthony2834bae2020-04-09 10:20:06 -0400281 }
282
283 public final class DraggableKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700284 method @androidx.compose.Composable public static androidx.ui.core.Modifier draggable(androidx.ui.core.Modifier, androidx.ui.foundation.gestures.DragDirection dragDirection, kotlin.jvm.functions.Function1<? super androidx.ui.unit.PxPosition,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> boolean enabled = true, androidx.ui.foundation.InteractionState? interactionState = null, boolean startDragImmediately = false, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> onDragDeltaConsumptionRequested);
Nick Anthony2834bae2020-04-09 10:20:06 -0400285 }
286
287 public final class ScrollableKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700288 method @androidx.compose.Composable public static androidx.ui.foundation.gestures.ScrollableState ScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> onScrollDeltaConsumptionRequested);
289 method @androidx.compose.Composable public static androidx.ui.core.Modifier scrollable(androidx.ui.core.Modifier, 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);
Nick Anthony2834bae2020-04-09 10:20:06 -0400290 }
291
292 public final class ScrollableState {
293 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);
294 method public androidx.ui.foundation.animation.FlingConfig getFlingConfig();
295 method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getOnScrollDeltaConsumptionRequested();
296 method public boolean isAnimating();
297 method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
298 method public void stopAnimation();
299 property public final boolean isAnimating;
300 }
301
302}
303
304package androidx.ui.foundation.selection {
305
306 public final class MutuallyExclusiveSetItemKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700307 method @androidx.compose.Composable public static void MutuallyExclusiveSetItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -0400308 }
309
310 public final class ToggleableKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700311 method @androidx.compose.Composable public static void Toggleable(boolean value, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onValueChange, boolean enabled = true, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -0400312 method public static androidx.ui.foundation.selection.ToggleableState ToggleableState(boolean value);
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700313 method @androidx.compose.Composable public static void TriStateToggleable(androidx.ui.foundation.selection.ToggleableState state = androidx.ui.foundation.selection.ToggleableState.On, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, boolean enabled = true, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthony2834bae2020-04-09 10:20:06 -0400314 }
315
316 public enum ToggleableState {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700317 method public static androidx.ui.foundation.selection.ToggleableState valueOf(String name) throws java.lang.IllegalArgumentException;
318 method public static androidx.ui.foundation.selection.ToggleableState[] values();
Nick Anthony2834bae2020-04-09 10:20:06 -0400319 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Indeterminate;
320 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Off;
321 enum_constant public static final androidx.ui.foundation.selection.ToggleableState On;
322 }
323
324}
325
326package androidx.ui.foundation.semantics {
327
328 public final class FoundationSemanticsProperties {
329 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getInMutuallyExclusiveGroup();
330 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getSelected();
331 method public androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> getToggleableState();
332 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> InMutuallyExclusiveGroup;
333 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> Selected;
334 property public final androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> ToggleableState;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700335 field public static final androidx.ui.foundation.semantics.FoundationSemanticsProperties INSTANCE;
Nick Anthony2834bae2020-04-09 10:20:06 -0400336 }
337
338 public final class FoundationSemanticsPropertiesKt {
339 method public static boolean getInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver);
340 method public static boolean getSelected(androidx.ui.semantics.SemanticsPropertyReceiver);
341 method public static androidx.ui.foundation.selection.ToggleableState getToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver);
342 method public static void setInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
343 method public static void setSelected(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
344 method public static void setToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver, androidx.ui.foundation.selection.ToggleableState p);
345 }
346
347}
348
349package androidx.ui.foundation.shape {
350
351 public final class GenericShape implements androidx.ui.graphics.Shape {
352 ctor public GenericShape(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.unit.PxSize,kotlin.Unit> builder);
353 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);
354 method public androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density);
355 }
356
357 public final class RectangleShapeKt {
Andrey Kulikov267b9502020-04-20 18:55:09 +0100358 method @Deprecated public static androidx.ui.graphics.Shape getRectangleShape();
Nick Anthony2834bae2020-04-09 10:20:06 -0400359 }
360
361}
362
363package androidx.ui.foundation.shape.corner {
364
365 public abstract class CornerBasedShape implements androidx.ui.graphics.Shape {
366 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);
367 method public abstract androidx.ui.foundation.shape.corner.CornerBasedShape copy(androidx.ui.foundation.shape.corner.CornerSize topLeft = topLeft, androidx.ui.foundation.shape.corner.CornerSize topRight = topRight, androidx.ui.foundation.shape.corner.CornerSize bottomRight = bottomRight, androidx.ui.foundation.shape.corner.CornerSize bottomLeft = bottomLeft);
368 method public final androidx.ui.foundation.shape.corner.CornerBasedShape copy(androidx.ui.foundation.shape.corner.CornerSize all);
369 method public final androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density);
Mads Agerba4927c2020-04-08 13:34:14 +0200370 method public abstract androidx.ui.graphics.Outline createOutline-45bKZN0(androidx.ui.unit.PxSize size, float topLeft, float topRight, float bottomRight, float bottomLeft);
Nick Anthony2834bae2020-04-09 10:20:06 -0400371 method public final androidx.ui.foundation.shape.corner.CornerSize getBottomLeft();
372 method public final androidx.ui.foundation.shape.corner.CornerSize getBottomRight();
373 method public final androidx.ui.foundation.shape.corner.CornerSize getTopLeft();
374 method public final androidx.ui.foundation.shape.corner.CornerSize getTopRight();
375 }
376
377 public interface CornerSize {
Mads Agerba4927c2020-04-08 13:34:14 +0200378 method public float toPx(androidx.ui.unit.PxSize shapeSize, androidx.ui.unit.Density density);
Nick Anthony2834bae2020-04-09 10:20:06 -0400379 }
380
381 public final class CornerSizeKt {
382 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.unit.Dp size);
Nick Anthony2834bae2020-04-09 10:20:06 -0400383 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@IntRange(from=0, to=50) int percent);
384 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@FloatRange(from=0.0, to=50.0) float percent);
Mads Agerba4927c2020-04-08 13:34:14 +0200385 method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize-NgWp0Z8(float size);
Nick Anthony2834bae2020-04-09 10:20:06 -0400386 method public static androidx.ui.foundation.shape.corner.CornerSize getZeroCornerSize();
387 }
388
389 public final class CutCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
390 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);
391 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);
Mads Agerba4927c2020-04-08 13:34:14 +0200392 method public androidx.ui.graphics.Outline createOutline-45bKZN0(androidx.ui.unit.PxSize size, float topLeft, float topRight, float bottomRight, float bottomLeft);
Nick Anthony2834bae2020-04-09 10:20:06 -0400393 }
394
395 public final class CutCornerShapeKt {
396 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
397 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Dp size);
Nick Anthony2834bae2020-04-09 10:20:06 -0400398 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(int percent);
399 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);
Nick Anthony2834bae2020-04-09 10:20:06 -0400400 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);
Mads Agerba4927c2020-04-08 13:34:14 +0200401 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape-NgWp0Z8(float size);
402 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape-wHlpFhg(float topLeft = 0.px, float topRight = 0.px, float bottomRight = 0.px, float bottomLeft = 0.px);
Nick Anthony2834bae2020-04-09 10:20:06 -0400403 }
404
405 public final class RoundedCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
406 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);
407 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);
Mads Agerba4927c2020-04-08 13:34:14 +0200408 method public androidx.ui.graphics.Outline createOutline-45bKZN0(androidx.ui.unit.PxSize size, float topLeft, float topRight, float bottomRight, float bottomLeft);
Nick Anthony2834bae2020-04-09 10:20:06 -0400409 }
410
411 public final class RoundedCornerShapeKt {
412 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
413 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Dp size);
Nick Anthony2834bae2020-04-09 10:20:06 -0400414 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(int percent);
415 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);
Nick Anthony2834bae2020-04-09 10:20:06 -0400416 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);
Mads Agerba4927c2020-04-08 13:34:14 +0200417 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape-NgWp0Z8(float size);
418 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape-wHlpFhg(float topLeft = 0.px, float topRight = 0.px, float bottomRight = 0.px, float bottomLeft = 0.px);
Nick Anthony2834bae2020-04-09 10:20:06 -0400419 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape getCircleShape();
420 }
421
422}
423