[go: nahoru, domu]

blob: f9d9a4f35ae3dd872efc8c810aede95ff7c5f7cb [file] [log] [blame]
Nick Anthony726179f2020-06-18 11:38:15 -04001// Signature format: 3.0
2package androidx.ui.foundation {
3
Nikolay Igottic1a50002020-07-09 14:24:58 +03004 public final class AndroidDialogKt {
5 method @androidx.compose.Composable public static void Dialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit> children);
6 }
7
Nick Anthony726179f2020-06-18 11:38:15 -04008 @androidx.compose.Immutable public final class Border {
9 method public float component1();
10 method public androidx.ui.graphics.Brush component2();
11 method @androidx.compose.Immutable public androidx.ui.foundation.Border copy-HIF-_f0(float size, androidx.ui.graphics.Brush brush);
12 method public androidx.ui.graphics.Brush getBrush();
13 method public float getSize();
14 }
15
16 public final class BorderKt {
17 method @androidx.compose.Stable public static androidx.ui.foundation.Border Border-YSZAjy0(float size, long color);
18 }
19
20 public final class BoxKt {
21 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, float padding = elvis {
22 var var41190d7f: androidx.ui.unit.Dp = border?.size
23 if (var41190d7f != null) var41190d7f else 0.dp
24}, float paddingStart = Dp.Unspecified, float paddingTop = Dp.Unspecified, float paddingEnd = Dp.Unspecified, float paddingBottom = Dp.Unspecified, androidx.ui.core.Alignment gravity = ContentGravity.TopStart, kotlin.jvm.functions.Function0<kotlin.Unit> children = emptyContent());
25 }
26
27 public final class CanvasKt {
28 method @androidx.compose.Composable public static void Canvas(androidx.ui.core.Modifier modifier, kotlin.jvm.functions.Function1<? super androidx.ui.graphics.drawscope.DrawScope,kotlin.Unit> onCanvas);
29 }
30
31 public final class ClickableKt {
Nick Anthony726179f2020-06-18 11:38:15 -040032 method @androidx.compose.Composable public static androidx.ui.core.Modifier clickable(androidx.ui.core.Modifier, boolean enabled = true, String? androidx.ui.foundation.InteractionState interactionState = remember({
33 return <init>()
34}), androidx.ui.foundation.Indication? indication = IndicationAmbient.invoke(), kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> onClick);
35 }
36
37 public final class ClickableTextKt {
38 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);
39 }
40
41 public final class ContentColorKt {
42 method @androidx.compose.Composable public static long contentColor();
43 method public static androidx.compose.ProvidableAmbient<androidx.ui.graphics.Color> getContentColorAmbient();
44 }
45
46 public final class DarkThemeKt {
47 method @androidx.compose.Composable public static boolean isSystemInDarkTheme();
48 }
49
50 public final class DeterminateProgressIndicatorKt {
51 method @androidx.compose.Stable public static androidx.ui.core.Modifier determinateProgressIndicator(androidx.ui.core.Modifier, @FloatRange(from=0.0, to=1.0) float progress);
52 }
53
Nick Anthony726179f2020-06-18 11:38:15 -040054 public final class DrawBackgroundKt {
55 method 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, @FloatRange(from=0.0, to=1.0) float alpha = 1.0f, androidx.ui.graphics.drawscope.DrawStyle style = Fill, androidx.ui.graphics.ColorFilter? colorFilter = null, androidx.ui.graphics.BlendMode blendMode = DrawScope.DefaultBlendMode);
56 method public static androidx.ui.core.Modifier drawBackground-a_xWPtA(androidx.ui.core.Modifier, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape, @FloatRange(from=0.0, to=1.0) float alpha = 1.0f, androidx.ui.graphics.drawscope.DrawStyle style = Fill, androidx.ui.graphics.ColorFilter? colorFilter = null, androidx.ui.graphics.BlendMode blendMode = DrawScope.DefaultBlendMode);
57 }
58
59 public final class DrawBorder implements androidx.ui.core.DrawModifier {
60 method public void draw(androidx.ui.core.ContentDrawScope);
61 }
62
63 public final class DrawBorderKt {
64 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);
65 method @Deprecated @androidx.compose.Composable public static androidx.ui.foundation.DrawBorder DrawBorder-3vYgddY(float size, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape);
66 method @Deprecated @androidx.compose.Composable public static androidx.ui.core.Modifier DrawBorder-Wounw_8(float size, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
67 method 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);
68 method public static androidx.ui.core.Modifier drawBorder-ik3FbJE(androidx.ui.core.Modifier, float size, long color, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape);
69 method public static androidx.ui.core.Modifier drawBorder-vGsXmEw(androidx.ui.core.Modifier, float size, androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape);
70 }
71
72 public final class IconKt {
73 method @androidx.compose.Composable public static void Icon-A4lfJGc(androidx.ui.graphics.vector.VectorAsset asset, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
74 method @androidx.compose.Composable public static void Icon-RCipKA8(androidx.ui.graphics.painter.Painter painter, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
75 method @androidx.compose.Composable public static void Icon-smRaMnI(androidx.ui.graphics.ImageAsset asset, androidx.ui.core.Modifier modifier = Modifier, long tint = contentColor());
76 }
77
78 public final class ImageKt {
Nader Jawad1c3daea2020-06-29 13:32:51 -070079 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.Fit, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
80 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.Fit, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
81 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.Fit, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null);
Nick Anthony726179f2020-06-18 11:38:15 -040082 }
83
84 @androidx.compose.Stable public interface Indication {
85 method public androidx.ui.foundation.IndicationInstance createInstance();
86 }
87
88 public interface IndicationInstance {
89 method public void drawIndication(androidx.ui.core.ContentDrawScope, androidx.ui.foundation.InteractionState interactionState);
90 method public default void onDispose();
91 }
92
93 public final class IndicationKt {
94 method public static androidx.compose.ProvidableAmbient<kotlin.jvm.functions.Function0<androidx.ui.foundation.Indication>> getIndicationAmbient();
95 method public static androidx.ui.core.Modifier indication(androidx.ui.core.Modifier, androidx.ui.foundation.InteractionState interactionState, androidx.ui.foundation.Indication? indication = null);
96 }
97
98 public interface Interaction {
99 }
100
101 public static final class Interaction.Dragged implements androidx.ui.foundation.Interaction {
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700102 field public static final androidx.ui.foundation.Interaction.Dragged INSTANCE;
Nick Anthony726179f2020-06-18 11:38:15 -0400103 }
104
105 public static final class Interaction.Pressed implements androidx.ui.foundation.Interaction {
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700106 field public static final androidx.ui.foundation.Interaction.Pressed INSTANCE;
Nick Anthony726179f2020-06-18 11:38:15 -0400107 }
108
109 @androidx.compose.Stable public final class InteractionState implements androidx.compose.State<java.util.Set<? extends androidx.ui.foundation.Interaction>> {
110 ctor public InteractionState();
111 method public void addInteraction(androidx.ui.foundation.Interaction interaction, androidx.ui.geometry.Offset? position = null);
112 method public operator boolean contains(androidx.ui.foundation.Interaction interaction);
113 method public java.util.Set<androidx.ui.foundation.Interaction> getValue();
114 method public androidx.ui.geometry.Offset? interactionPositionFor(androidx.ui.foundation.Interaction interaction);
115 method public void removeInteraction(androidx.ui.foundation.Interaction interaction);
116 property public java.util.Set<androidx.ui.foundation.Interaction> value;
117 }
118
Nikolay Igottic1a50002020-07-09 14:24:58 +0300119 @kotlin.RequiresOptIn(message="This API is internal to library.") @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER}) public @interface InternalFoundationApi {
120 }
121
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100122 public final class ScrollKt {
123 method @Deprecated @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.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> children);
124 method @androidx.compose.Composable public static void ScrollableColumn(androidx.ui.core.Modifier modifier = Modifier, androidx.ui.foundation.ScrollState scrollState = rememberScrollState(0.0), androidx.ui.layout.Arrangement.Vertical verticalArrangement = Arrangement.Top, androidx.ui.core.Alignment.Horizontal horizontalGravity = Alignment.Start, boolean reverseScrollDirection = false, boolean isScrollEnabled = true, androidx.ui.layout.InnerPadding contentPadding = androidx.ui.layout.InnerPadding(0.dp), kotlin.jvm.functions.Function1<? super androidx.ui.layout.ColumnScope,kotlin.Unit> children);
125 method @androidx.compose.Composable public static void ScrollableRow(androidx.ui.core.Modifier modifier = Modifier, androidx.ui.foundation.ScrollState scrollState = rememberScrollState(0.0), androidx.ui.layout.Arrangement.Horizontal horizontalArrangement = Arrangement.Start, androidx.ui.core.Alignment.Vertical verticalGravity = Alignment.Top, boolean reverseScrollDirection = false, boolean isScrollEnabled = true, androidx.ui.layout.InnerPadding contentPadding = androidx.ui.layout.InnerPadding(0.dp), kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> children);
126 method @Deprecated @androidx.compose.Composable public static androidx.ui.foundation.ScrollerPosition ScrollerPosition(float initial = 0f, boolean isReversed = false);
127 method @Deprecated @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.Function1<? super androidx.ui.layout.ColumnScope,kotlin.Unit> children);
128 method public static androidx.ui.core.Modifier horizontalScroll(androidx.ui.core.Modifier, androidx.ui.foundation.ScrollState state, boolean enabled = true, boolean reverseScrolling = false);
129 method @androidx.compose.Composable public static androidx.ui.foundation.ScrollState rememberScrollState(float initial = 0f);
130 method public static androidx.ui.core.Modifier verticalScroll(androidx.ui.core.Modifier, androidx.ui.foundation.ScrollState state, boolean enabled = true, boolean reverseScrolling = false);
Nick Anthony726179f2020-06-18 11:38:15 -0400131 }
132
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100133 @androidx.compose.Stable public final class ScrollState {
134 ctor public ScrollState(float initial, internal androidx.ui.foundation.animation.FlingConfig flingConfig, androidx.animation.AnimationClockObservable animationClock);
135 method public float getMaxValue();
Nick Anthony726179f2020-06-18 11:38:15 -0400136 method public float getValue();
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100137 method public boolean isAnimationRunning();
Nick Anthony726179f2020-06-18 11:38:15 -0400138 method public void scrollBy(float value);
139 method public void scrollTo(float value);
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100140 method public void smoothScrollBy(float value, androidx.animation.AnimationSpec<java.lang.Float> spec = androidx.animation.SpringSpec(), kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
141 method public void smoothScrollTo(float value, androidx.animation.AnimationSpec<java.lang.Float> spec = androidx.animation.SpringSpec(), kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
142 method public void stopAnimation();
143 property public final boolean isAnimationRunning;
144 property public final float maxValue;
Nick Anthony726179f2020-06-18 11:38:15 -0400145 property public final float value;
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100146 field public static final androidx.ui.foundation.ScrollState.Companion Companion;
Nick Anthony726179f2020-06-18 11:38:15 -0400147 }
148
Matvei Malkov235b4fa2020-07-07 21:14:49 +0100149 public static final class ScrollState.Companion {
150 method public androidx.ui.savedinstancestate.Saver<androidx.ui.foundation.ScrollState,?> Saver(androidx.ui.foundation.animation.FlingConfig flingConfig, androidx.animation.AnimationClockObservable animationClock);
151 }
152
153 @Deprecated @androidx.compose.Stable public final class ScrollerPosition {
154 ctor @Deprecated public ScrollerPosition(internal androidx.ui.foundation.animation.FlingConfig flingConfig, float initial, internal boolean isReversed, internal androidx.animation.AnimationClockObservable animationClock);
155 method @Deprecated public float getMaxPosition();
156 method @Deprecated public float getValue();
157 method @Deprecated public void scrollBy(float value);
158 method @Deprecated public void scrollTo(float value);
159 method @Deprecated public void setMaxPosition(float newMax);
160 method @Deprecated public void setValue(float value);
161 method @Deprecated public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
162 method @Deprecated public void smoothScrollTo(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
163 property public final float maxPosition;
164 property public final float value;
165 field @Deprecated public static final androidx.ui.foundation.ScrollerPosition.Companion Companion;
166 }
167
168 @Deprecated public static final class ScrollerPosition.Companion {
169 method @Deprecated @androidx.compose.Composable public androidx.ui.savedinstancestate.Saver<androidx.ui.foundation.ScrollerPosition,?> Saver(androidx.ui.foundation.animation.FlingConfig flingConfig, boolean isReversed, androidx.animation.AnimationClockObservable animationClock);
Nick Anthony726179f2020-06-18 11:38:15 -0400170 }
171
172 public final class Strings {
173 method public String getChecked();
174 method public String getInProgress();
175 method public String getIndeterminate();
176 method public String getNotSelected();
177 method public String getSelected();
178 method public String getTemplatePercent();
179 method public String getUnchecked();
180 property public final String Checked;
181 property public final String InProgress;
182 property public final String Indeterminate;
183 property public final String NotSelected;
184 property public final String Selected;
185 property public final String TemplatePercent;
186 property public final String Unchecked;
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700187 field public static final androidx.ui.foundation.Strings INSTANCE;
Nick Anthony726179f2020-06-18 11:38:15 -0400188 }
189
190 public final class TemporaryKt {
191 method @Deprecated @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);
192 }
193
194 public final class TextFieldKt {
Anastasia Soboleva36745332020-07-13 19:00:22 +0100195 method @androidx.compose.Composable public static void TextField-63P0bO0(androidx.ui.input.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.ui.input.TextFieldValue,kotlin.Unit> onValueChange, androidx.ui.core.Modifier modifier = Modifier, 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 androidx.ui.input.ImeAction,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long cursorColor = contentColor());
Nick Anthony726179f2020-06-18 11:38:15 -0400196 method @Deprecated @androidx.compose.Composable public static void TextField-DBcCkQs(androidx.ui.foundation.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.ui.foundation.TextFieldValue,kotlin.Unit> onValueChange, androidx.ui.core.Modifier modifier = Modifier, 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> kotlin.jvm.functions.Function1<? super androidx.ui.input.ImeAction,kotlin.Unit> androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long cursorColor = contentColor());
197 }
198
199 @Deprecated @androidx.compose.Immutable public final class TextFieldValue {
200 ctor @Deprecated public TextFieldValue(String text, androidx.ui.text.TextRange selection);
201 ctor @Deprecated public TextFieldValue();
202 method @Deprecated public String component1();
203 method @Deprecated public androidx.ui.text.TextRange component2();
204 method @Deprecated @androidx.compose.Immutable public androidx.ui.foundation.TextFieldValue copy(String text, androidx.ui.text.TextRange selection);
205 method @Deprecated public androidx.ui.text.TextRange getSelection();
206 method @Deprecated public String getText();
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700207 field @Deprecated public static final androidx.ui.foundation.TextFieldValue.Companion Companion;
Nick Anthony726179f2020-06-18 11:38:15 -0400208 }
209
210 @Deprecated public static final class TextFieldValue.Companion {
211 method @Deprecated public androidx.ui.savedinstancestate.Saver<androidx.ui.foundation.TextFieldValue,java.lang.Object> getSaver();
212 property @Deprecated public final androidx.ui.savedinstancestate.Saver<androidx.ui.foundation.TextFieldValue,java.lang.Object> Saver;
213 }
214
215 public final class TextKt {
216 method @androidx.compose.Composable public static void ProvideTextStyle(androidx.ui.text.TextStyle value, kotlin.jvm.functions.Function0<kotlin.Unit> children);
217 method @androidx.compose.Composable public static void Text-0VOI5ok(String text, androidx.ui.core.Modifier modifier = Modifier, long color = Color.Unset, long fontSize = TextUnit.Inherit, androidx.ui.text.font.FontStyle? fontStyle = null, androidx.ui.text.font.FontWeight? fontWeight = null, androidx.ui.text.font.FontFamily? fontFamily = null, long letterSpacing = TextUnit.Inherit, androidx.ui.text.style.TextDecoration? textDecoration = null, androidx.ui.text.style.TextAlign? textAlign = null, long lineHeight = TextUnit.Inherit, androidx.ui.text.style.TextOverflow overflow = TextOverflow.Clip, boolean softWrap = true, int maxLines = 2147483647, java.util.Map<java.lang.String,androidx.ui.text.InlineTextContent> inlineContent = mapOf(), kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> androidx.ui.text.TextStyle style = currentTextStyle());
218 method @androidx.compose.Composable public static void Text-GyNEQHM(androidx.ui.text.AnnotatedString text, androidx.ui.core.Modifier modifier = Modifier, long color = Color.Unset, long fontSize = TextUnit.Inherit, androidx.ui.text.font.FontStyle? fontStyle = null, androidx.ui.text.font.FontWeight? fontWeight = null, androidx.ui.text.font.FontFamily? fontFamily = null, long letterSpacing = TextUnit.Inherit, androidx.ui.text.style.TextDecoration? textDecoration = null, androidx.ui.text.style.TextAlign? textAlign = null, long lineHeight = TextUnit.Inherit, androidx.ui.text.style.TextOverflow overflow = TextOverflow.Clip, boolean softWrap = true, int maxLines = 2147483647, java.util.Map<java.lang.String,androidx.ui.text.InlineTextContent> inlineContent = mapOf(), kotlin.jvm.functions.Function1<? super androidx.ui.text.TextLayoutResult,kotlin.Unit> androidx.ui.text.TextStyle style = currentTextStyle());
219 method @androidx.compose.Composable public static androidx.ui.text.TextStyle currentTextStyle();
220 }
221
222}
223
224package androidx.ui.foundation.animation {
225
Nick Anthony726179f2020-06-18 11:38:15 -0400226 public final class AndroidFlingCalculatorKt {
227 }
228
Nikolay Igottic1a50002020-07-09 14:24:58 +0300229 public final class AndroidFlingConfigKt {
230 }
231
Nick Anthony726179f2020-06-18 11:38:15 -0400232 public final class AndroidFlingDecaySpec implements androidx.animation.FloatDecayAnimationSpec {
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100233 ctor public AndroidFlingDecaySpec(androidx.ui.unit.Density density);
Nick Anthony726179f2020-06-18 11:38:15 -0400234 method public float getAbsVelocityThreshold();
235 method public long getDurationMillis(float start, float startVelocity);
Nick Anthony726179f2020-06-18 11:38:15 -0400236 method public float getTarget(float start, float startVelocity);
237 method public float getValue(long playTime, float start, float startVelocity);
238 method public float getVelocity(long playTime, float start, float startVelocity);
239 property public float absVelocityThreshold;
Nick Anthony726179f2020-06-18 11:38:15 -0400240 }
241
242 public final class AndroidFlingSplineKt {
243 }
244
245 @androidx.compose.Immutable public final class FlingConfig {
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100246 ctor public FlingConfig(androidx.animation.FloatDecayAnimationSpec decayAnimation, kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget);
Nick Anthony726179f2020-06-18 11:38:15 -0400247 method public androidx.animation.FloatDecayAnimationSpec component1();
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100248 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> component2();
249 method @androidx.compose.Immutable public androidx.ui.foundation.animation.FlingConfig copy(androidx.animation.FloatDecayAnimationSpec decayAnimation, kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget);
Nick Anthony726179f2020-06-18 11:38:15 -0400250 method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> getAdjustTarget();
251 method public androidx.animation.FloatDecayAnimationSpec getDecayAnimation();
Nick Anthony726179f2020-06-18 11:38:15 -0400252 }
253
254 public final class FlingConfigKt {
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100255 method public static androidx.ui.foundation.animation.FlingConfig FlingConfig(java.util.List<java.lang.Float> anchors, androidx.animation.AnimationSpec<java.lang.Float> animationSpec = androidx.animation.SpringSpec(), androidx.animation.FloatDecayAnimationSpec decayAnimation = androidx.animation.ExponentialDecay());
256 method @androidx.compose.Composable public static androidx.ui.foundation.animation.FlingConfig defaultFlingConfig(kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget = { return null });
257 method public static void fling(androidx.animation.AnimatedFloat, float startVelocity, androidx.ui.foundation.animation.FlingConfig config, kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? >
Nick Anthony726179f2020-06-18 11:38:15 -0400258 }
259
260}
261
262package androidx.ui.foundation.gestures {
263
Nick Anthony726179f2020-06-18 11:38:15 -0400264 public final class DraggableKt {
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100265 method public static androidx.ui.core.Modifier draggable(androidx.ui.core.Modifier, androidx.ui.core.gesture.scrollorientationlocking.Orientation orientation, boolean enabled = true, boolean reverseDirection = false, androidx.ui.foundation.InteractionState? interactionState = null, boolean startDragImmediately = false, kotlin.jvm.functions.Function1<? super androidx.ui.core.Direction,java.lang.Boolean> canDrag = { return enabled }, kotlin.jvm.functions.Function1<? super androidx.ui.geometry.Offset,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> kotlin.jvm.functions.Function2<? super androidx.ui.unit.Density,? super java.lang.Float,kotlin.Unit> onDrag);
266 }
267
268 public final class ScrollableController {
269 ctor public ScrollableController(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> consumeScrollDelta, androidx.ui.foundation.animation.FlingConfig flingConfig, androidx.animation.AnimationClockObservable animationClock);
270 method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getConsumeScrollDelta();
271 method public androidx.ui.foundation.animation.FlingConfig getFlingConfig();
272 method public boolean isAnimationRunning();
273 method public void smoothScrollBy(float value, androidx.animation.AnimationSpec<java.lang.Float> spec = androidx.animation.SpringSpec(), kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> });
274 method public void stopAnimation();
275 property public final boolean isAnimationRunning;
Nick Anthony726179f2020-06-18 11:38:15 -0400276 }
277
278 public final class ScrollableKt {
Matvei Malkov710fb4f2020-07-03 15:53:10 +0100279 method @androidx.compose.Composable public static androidx.ui.foundation.gestures.ScrollableController rememberScrollableController(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> consumeScrollDelta);
280 method public static androidx.ui.core.Modifier scrollable(androidx.ui.core.Modifier, androidx.ui.core.gesture.scrollorientationlocking.Orientation orientation, androidx.ui.foundation.gestures.ScrollableController controller, boolean enabled = true, boolean reverseDirection = false, kotlin.jvm.functions.Function1<? super androidx.ui.core.Direction,java.lang.Boolean> canScroll = { return enabled }, kotlin.jvm.functions.Function1<? super androidx.ui.geometry.Offset,kotlin.Unit> kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> >
Nick Anthony726179f2020-06-18 11:38:15 -0400281 }
282
283 public final class ZoomableKt {
284 method @androidx.compose.Composable public static androidx.ui.foundation.gestures.ZoomableState ZoomableState(kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onZoomDelta);
285 method @androidx.compose.Composable public static androidx.ui.core.Modifier zoomable(androidx.ui.core.Modifier, androidx.ui.foundation.gestures.ZoomableState zoomableState, kotlin.jvm.functions.Function0<kotlin.Unit>? >
286 method @androidx.compose.Composable public static androidx.ui.core.Modifier zoomable(androidx.ui.core.Modifier, kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onZoomDelta);
287 }
288
289 public final class ZoomableState {
290 ctor public ZoomableState(kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onZoomDelta, androidx.animation.AnimationClockObservable animationClock);
291 method public kotlin.jvm.functions.Function1<java.lang.Float,kotlin.Unit> getOnZoomDelta();
292 method public void smoothScaleBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit>? >
293 }
294
295}
296
297package androidx.ui.foundation.lazy {
298
299 public final class LazyItemsKt {
Andrey Kulikovb49c9982020-07-15 12:56:02 +0100300 method @androidx.compose.Composable public static <T> void LazyColumnItems(java.util.List<? extends T> items, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.layout.InnerPadding contentPadding = androidx.ui.layout.InnerPadding(0.dp), kotlin.jvm.functions.Function1<? super T,kotlin.Unit> itemContent);
301 method @androidx.compose.Composable public static <T> void LazyRowItems(java.util.List<? extends T> items, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.layout.InnerPadding contentPadding = androidx.ui.layout.InnerPadding(0.dp), kotlin.jvm.functions.Function1<? super T,kotlin.Unit> itemContent);
Nick Anthony726179f2020-06-18 11:38:15 -0400302 }
303
304}
305
306package androidx.ui.foundation.selection {
307
308 public final class SelectableKt {
Nick Anthony726179f2020-06-18 11:38:15 -0400309 method @androidx.compose.Composable public static androidx.ui.core.Modifier selectable(androidx.ui.core.Modifier, boolean selected, boolean enabled = true, boolean inMutuallyExclusiveGroup = true, androidx.ui.foundation.InteractionState interactionState = remember({
310 return <init>()
311}), androidx.ui.foundation.Indication? indication = IndicationAmbient.invoke(), kotlin.jvm.functions.Function0<kotlin.Unit> onClick);
312 }
313
314 public final class ToggleableKt {
Nick Anthony726179f2020-06-18 11:38:15 -0400315 method public static androidx.ui.foundation.selection.ToggleableState ToggleableState(boolean value);
Nick Anthony726179f2020-06-18 11:38:15 -0400316 method @androidx.compose.Composable public static androidx.ui.core.Modifier toggleable(androidx.ui.core.Modifier, boolean value, boolean enabled = true, androidx.ui.foundation.InteractionState interactionState = remember({
317 return <init>()
318}), androidx.ui.foundation.Indication? indication = IndicationAmbient.invoke(), kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onValueChange);
319 method @androidx.compose.Composable public static androidx.ui.core.Modifier triStateToggleable(androidx.ui.core.Modifier, androidx.ui.foundation.selection.ToggleableState state, boolean enabled = true, androidx.ui.foundation.InteractionState interactionState = remember({
320 return <init>()
321}), androidx.ui.foundation.Indication? indication = IndicationAmbient.invoke(), kotlin.jvm.functions.Function0<kotlin.Unit> onClick);
322 }
323
324 public enum ToggleableState {
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700325 method public static androidx.ui.foundation.selection.ToggleableState valueOf(String name) throws java.lang.IllegalArgumentException;
326 method public static androidx.ui.foundation.selection.ToggleableState[] values();
Nick Anthony726179f2020-06-18 11:38:15 -0400327 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Indeterminate;
328 enum_constant public static final androidx.ui.foundation.selection.ToggleableState Off;
329 enum_constant public static final androidx.ui.foundation.selection.ToggleableState On;
330 }
331
332}
333
334package androidx.ui.foundation.semantics {
335
336 public final class FoundationSemanticsProperties {
337 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getInMutuallyExclusiveGroup();
Alexandre Eliasc60f33e2020-07-10 16:23:09 -0700338 method public androidx.ui.semantics.SemanticsPropertyKey<kotlin.Unit> getIsDialog();
Nick Anthony726179f2020-06-18 11:38:15 -0400339 method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getSelected();
340 method public androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> getToggleableState();
341 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> InMutuallyExclusiveGroup;
Alexandre Eliasc60f33e2020-07-10 16:23:09 -0700342 property public final androidx.ui.semantics.SemanticsPropertyKey<kotlin.Unit> IsDialog;
Nick Anthony726179f2020-06-18 11:38:15 -0400343 property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> Selected;
344 property public final androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> ToggleableState;
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700345 field public static final androidx.ui.foundation.semantics.FoundationSemanticsProperties INSTANCE;
Nick Anthony726179f2020-06-18 11:38:15 -0400346 }
347
348 public final class FoundationSemanticsPropertiesKt {
Alexandre Eliasc60f33e2020-07-10 16:23:09 -0700349 method public static void dialog(androidx.ui.semantics.SemanticsPropertyReceiver);
Nick Anthony726179f2020-06-18 11:38:15 -0400350 method public static boolean getInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver);
351 method public static boolean getSelected(androidx.ui.semantics.SemanticsPropertyReceiver);
352 method public static androidx.ui.foundation.selection.ToggleableState getToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver);
Nick Anthony726179f2020-06-18 11:38:15 -0400353 method public static void setInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
354 method public static void setSelected(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p);
355 method public static void setToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver, androidx.ui.foundation.selection.ToggleableState p);
356 }
357
358}
359
360package androidx.ui.foundation.shape {
361
362 public final class GenericShape implements androidx.ui.graphics.Shape {
363 ctor public GenericShape(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.geometry.Size,kotlin.Unit> builder);
364 method public androidx.ui.foundation.shape.GenericShape copy(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.geometry.Size,kotlin.Unit> builder);
Jim Sprocha88c07a2020-06-25 13:00:03 -0700365 method public androidx.ui.graphics.Outline createOutline-SwJi8iY(long size, androidx.ui.unit.Density density);
Nick Anthony726179f2020-06-18 11:38:15 -0400366 }
367
368}
369
370package androidx.ui.foundation.shape.corner {
371
372 public abstract class CornerBasedShape implements androidx.ui.graphics.Shape {
373 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);
374 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);
375 method public final androidx.ui.foundation.shape.corner.CornerBasedShape copy(androidx.ui.foundation.shape.corner.CornerSize all);
Jim Sprocha88c07a2020-06-25 13:00:03 -0700376 method public abstract androidx.ui.graphics.Outline createOutline-0bCqP4M(long size, float topLeft, float topRight, float bottomRight, float bottomLeft);
377 method public final androidx.ui.graphics.Outline createOutline-SwJi8iY(long size, androidx.ui.unit.Density density);
Nick Anthony726179f2020-06-18 11:38:15 -0400378 method public final androidx.ui.foundation.shape.corner.CornerSize getBottomLeft();
379 method public final androidx.ui.foundation.shape.corner.CornerSize getBottomRight();
380 method public final androidx.ui.foundation.shape.corner.CornerSize getTopLeft();
381 method public final androidx.ui.foundation.shape.corner.CornerSize getTopRight();
382 }
383
384 @androidx.compose.Immutable public interface CornerSize {
Jim Sprocha88c07a2020-06-25 13:00:03 -0700385 method public float toPx-SwJi8iY(long shapeSize, androidx.ui.unit.Density density);
Nick Anthony726179f2020-06-18 11:38:15 -0400386 }
387
388 public final class CornerSizeKt {
389 method @androidx.compose.Stable public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(float size);
Andrey Kulikov39609aa2020-07-02 19:24:50 +0100390 method @androidx.compose.Stable public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@IntRange(from=0, to=100) int percent);
Nick Anthony726179f2020-06-18 11:38:15 -0400391 method @androidx.compose.Stable public static androidx.ui.foundation.shape.corner.CornerSize CornerSize-ipo6vVg(float size);
392 method public static androidx.ui.foundation.shape.corner.CornerSize getZeroCornerSize();
393 }
394
395 public final class CutCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
396 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);
397 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);
Jim Sprocha88c07a2020-06-25 13:00:03 -0700398 method public androidx.ui.graphics.Outline createOutline-0bCqP4M(long size, float topLeft, float topRight, float bottomRight, float bottomLeft);
Nick Anthony726179f2020-06-18 11:38:15 -0400399 }
400
401 public final class CutCornerShapeKt {
402 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
403 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(float size);
404 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(int percent);
405 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(float topLeft = 0.0f, float topRight = 0.0f, float bottomRight = 0.0f, float bottomLeft = 0.0f);
Andrey Kulikov39609aa2020-07-02 19:24:50 +0100406 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(@IntRange(from=0, to=100) int topLeftPercent = 0, @IntRange(from=0, to=100) int topRightPercent = 0, @IntRange(from=0, to=100) int bottomRightPercent = 0, @IntRange(from=0, to=100) int bottomLeftPercent = 0);
Nick Anthony726179f2020-06-18 11:38:15 -0400407 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape-ipo6vVg(float size);
408 method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape-rIHlIKc(float topLeft = 0.dp, float topRight = 0.dp, float bottomRight = 0.dp, float bottomLeft = 0.dp);
409 }
410
411 public final class RoundedCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape {
412 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);
413 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);
Jim Sprocha88c07a2020-06-25 13:00:03 -0700414 method public androidx.ui.graphics.Outline createOutline-0bCqP4M(long size, float topLeft, float topRight, float bottomRight, float bottomLeft);
Nick Anthony726179f2020-06-18 11:38:15 -0400415 }
416
417 public final class RoundedCornerShapeKt {
418 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner);
419 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(float size);
420 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(int percent);
421 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(float topLeft = 0.0f, float topRight = 0.0f, float bottomRight = 0.0f, float bottomLeft = 0.0f);
Andrey Kulikov39609aa2020-07-02 19:24:50 +0100422 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(@IntRange(from=0, to=100) int topLeftPercent = 0, @IntRange(from=0, to=100) int topRightPercent = 0, @IntRange(from=0, to=100) int bottomRightPercent = 0, @IntRange(from=0, to=100) int bottomLeftPercent = 0);
Nick Anthony726179f2020-06-18 11:38:15 -0400423 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape-ipo6vVg(float size);
424 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape-rIHlIKc(float topLeft = 0.dp, float topRight = 0.dp, float bottomRight = 0.dp, float bottomLeft = 0.dp);
425 method public static androidx.ui.foundation.shape.corner.RoundedCornerShape getCircleShape();
426 }
427
428}
429