Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.foundation { |
| 3 | |
| 4 | public final class AdapterListKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 5 | method @androidx.compose.Composable 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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 6 | } |
| 7 | |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 8 | @androidx.compose.Immutable public final class Border { |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 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(); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 12 | method @androidx.compose.Immutable public androidx.ui.foundation.Border copy(androidx.ui.unit.Dp size, androidx.ui.graphics.Brush brush); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 13 | method public androidx.ui.graphics.Brush getBrush(); |
| 14 | method public androidx.ui.unit.Dp getSize(); |
| 15 | } |
| 16 | |
| 17 | public final class BorderKt { |
| 18 | method public static androidx.ui.foundation.Border Border(androidx.ui.unit.Dp size, androidx.ui.graphics.Color color); |
| 19 | } |
| 20 | |
| 21 | public final class BoxKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 22 | method @androidx.compose.Composable 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 { |
| 23 | var var411905cf: androidx.ui.unit.Dp = border?.size |
Anastasia Soboleva | 5eaee2e | 2020-03-02 18:25:20 +0000 | [diff] [blame] | 24 | if (var411905cf != null) var411905cf else 0.dp |
| 25 | }, 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()); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | public final class CanvasKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 29 | method @androidx.compose.Composable public static void Canvas(androidx.ui.core.Modifier modifier, kotlin.jvm.functions.Function1<? super androidx.ui.foundation.CanvasScope,kotlin.Unit> onCanvas); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 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 | |
| 37 | public final class ClickableKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 38 | method @androidx.compose.Composable public static void Clickable(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, boolean enabled = true, String? boolean consumeDownOnStart = false, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Louis Pullen-Freilich | b72b705 | 2020-03-17 14:16:41 +0000 | [diff] [blame] | 39 | } |
| 40 | |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 41 | public final class ColoredRectKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 42 | method @androidx.compose.Composable 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 @androidx.compose.Composable 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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | public final class ContentColorKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 47 | method @androidx.compose.Composable public static void ProvideContentColor(androidx.ui.graphics.Color color, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 48 | method @androidx.compose.Composable public static androidx.ui.graphics.Color contentColor(); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | public final class DarkThemeKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 52 | method @androidx.compose.Composable public static boolean isSystemInDarkTheme(); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | public final class DeterminateProgressIndicatorKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 56 | 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 Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 57 | } |
| 58 | |
| 59 | public final class DialogKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 60 | method @androidx.compose.Composable public static void Dialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | 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 { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 69 | method @androidx.compose.Composable public static androidx.ui.foundation.DrawBackground DrawBackground(androidx.ui.graphics.Color color, androidx.ui.graphics.Shape shape = RectangleShape); |
| 70 | method @androidx.compose.Composable public static androidx.ui.foundation.DrawBackground DrawBackground(androidx.ui.graphics.Brush brush, androidx.ui.graphics.Shape shape = RectangleShape); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | 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 { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 78 | method @androidx.compose.Composable public static androidx.ui.foundation.DrawBorder DrawBorder(androidx.ui.foundation.Border border, androidx.ui.graphics.Shape shape = RectangleShape); |
| 79 | method @androidx.compose.Composable 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 @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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | public final class DrawBordersReceiver { |
| 84 | 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); |
| 94 | } |
| 95 | |
| 96 | public final class IconKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 97 | method @androidx.compose.Composable public static void Icon(androidx.ui.graphics.vector.VectorAsset icon, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color tint = contentColor()); |
| 98 | method @androidx.compose.Composable public static void Icon(androidx.ui.graphics.painter.Painter icon, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color tint = contentColor()); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | public final class ImageKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 102 | method @androidx.compose.Composable public static void Image(androidx.ui.graphics.ImageAsset image, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.core.Alignment alignment = Alignment.Center, androidx.ui.graphics.ScaleFit scaleFit = ScaleFit.Fit, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null); |
| 103 | method @androidx.compose.Composable public static void Image(androidx.ui.graphics.painter.Painter painter, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.core.Alignment alignment = Alignment.Center, androidx.ui.graphics.ScaleFit scaleFit = ScaleFit.Fit, float alpha = 1.0f, androidx.ui.graphics.ColorFilter? colorFilter = null); |
| 104 | method @Deprecated @androidx.compose.Composable public static void SimpleImage(androidx.ui.graphics.ImageAsset image, androidx.ui.graphics.Color? tint = null); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 105 | } |
| 106 | |
| 107 | public final class ScrollerKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 108 | method @androidx.compose.Composable 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); |
| 109 | method @androidx.compose.Composable public static androidx.ui.foundation.ScrollerPosition ScrollerPosition(float initial = 0f); |
| 110 | method @androidx.compose.Composable 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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 111 | } |
| 112 | |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 113 | @androidx.compose.Model public final class ScrollerPosition { |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 114 | ctor public ScrollerPosition(androidx.ui.foundation.animation.FlingConfig flingConfig, float initial, androidx.animation.AnimationClockObservable animationClock); |
| 115 | method public float getMaxPosition(); |
| 116 | method public float getValue(); |
| 117 | method public boolean isAnimating(); |
| 118 | method public void scrollBy(float value); |
| 119 | method public void scrollTo(float value); |
| 120 | method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> }); |
| 121 | method public void smoothScrollTo(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> }); |
| 122 | property public final boolean isAnimating; |
| 123 | property public final float maxPosition; |
| 124 | property public final float value; |
| 125 | } |
| 126 | |
| 127 | public final class Strings { |
| 128 | method public String getChecked(); |
| 129 | method public String getIndeterminate(); |
| 130 | method public String getNotSelected(); |
| 131 | method public String getSelected(); |
| 132 | method public String getUnchecked(); |
| 133 | property public final String Checked; |
| 134 | property public final String Indeterminate; |
| 135 | property public final String NotSelected; |
| 136 | property public final String Selected; |
| 137 | property public final String Unchecked; |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 138 | field public static final androidx.ui.foundation.Strings INSTANCE; |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 139 | } |
| 140 | |
| 141 | public final class TableBordersKt { |
| 142 | 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); |
| 143 | } |
| 144 | |
| 145 | } |
| 146 | |
| 147 | package androidx.ui.foundation.animation { |
| 148 | |
| 149 | public final class AndroidFlingCalculator { |
| 150 | ctor public AndroidFlingCalculator(androidx.ui.unit.Density density); |
| 151 | method public float flingDistance(float velocity); |
| 152 | method public long flingDuration(float velocity); |
| 153 | method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo flingInfo(float velocity); |
| 154 | method public androidx.ui.unit.Density getDensity(); |
| 155 | } |
| 156 | |
| 157 | public static final class AndroidFlingCalculator.FlingInfo { |
| 158 | ctor public AndroidFlingCalculator.FlingInfo(float initialVelocity, float distance, long duration); |
| 159 | method public float component1(); |
| 160 | method public float component2(); |
| 161 | method public long component3(); |
| 162 | method public androidx.ui.foundation.animation.AndroidFlingCalculator.FlingInfo copy(float initialVelocity, float distance, long duration); |
| 163 | method public float getDistance(); |
| 164 | method public long getDuration(); |
| 165 | method public float getInitialVelocity(); |
| 166 | method public float position(long time); |
| 167 | method public float velocity(long time); |
| 168 | } |
| 169 | |
| 170 | public final class AndroidFlingCalculatorKt { |
| 171 | } |
| 172 | |
| 173 | public final class AndroidFlingDecayAnimation implements androidx.animation.DecayAnimation { |
| 174 | ctor public AndroidFlingDecayAnimation(androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator); |
| 175 | method public float getAbsVelocityThreshold(); |
Patrick Hum | 7a781dd | 2020-03-02 14:41:58 -0800 | [diff] [blame] | 176 | method public long getDurationMillis(float start, float startVelocity); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 177 | method public androidx.ui.foundation.animation.AndroidFlingCalculator getFlingCalculator(); |
| 178 | method public float getTarget(float start, float startVelocity); |
| 179 | method public float getValue(long playTime, float start, float startVelocity); |
| 180 | method public float getVelocity(long playTime, float start, float startVelocity); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 181 | property public float absVelocityThreshold; |
| 182 | property public final androidx.ui.foundation.animation.AndroidFlingCalculator flingCalculator; |
| 183 | } |
| 184 | |
| 185 | public final class AndroidFlingSpline { |
| 186 | method public double deceleration(float velocity, float friction); |
| 187 | method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult flingPosition(float time); |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 188 | field public static final androidx.ui.foundation.animation.AndroidFlingSpline INSTANCE; |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 189 | } |
| 190 | |
| 191 | public static final class AndroidFlingSpline.FlingResult { |
| 192 | ctor public AndroidFlingSpline.FlingResult(float distanceCoefficient, float velocityCoefficient); |
| 193 | method public float component1(); |
| 194 | method public float component2(); |
| 195 | method public androidx.ui.foundation.animation.AndroidFlingSpline.FlingResult copy(float distanceCoefficient, float velocityCoefficient); |
| 196 | method public float getDistanceCoefficient(); |
| 197 | method public float getVelocityCoefficient(); |
| 198 | } |
| 199 | |
| 200 | public final class AndroidFlingSplineKt { |
| 201 | } |
| 202 | |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 203 | @androidx.compose.Immutable public final class FlingConfig { |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 204 | 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); |
| 205 | method public androidx.animation.DecayAnimation component1(); |
| 206 | method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? component2(); |
| 207 | method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> component3(); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 208 | 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 Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 209 | method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> getAdjustTarget(); |
| 210 | method public androidx.animation.DecayAnimation getDecayAnimation(); |
| 211 | method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? getOnAnimationEnd(); |
| 212 | } |
| 213 | |
| 214 | public final class FlingConfigKt { |
| 215 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 216 | 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 Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 217 | method public static void fling(androidx.animation.AnimatedFloat, androidx.ui.foundation.animation.FlingConfig config, float startVelocity); |
| 218 | } |
| 219 | |
| 220 | } |
| 221 | |
| 222 | package androidx.ui.foundation.gestures { |
| 223 | |
| 224 | public abstract sealed class DragDirection { |
| 225 | } |
| 226 | |
| 227 | public static final class DragDirection.Horizontal extends androidx.ui.foundation.gestures.DragDirection { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 228 | field public static final androidx.ui.foundation.gestures.DragDirection.Horizontal INSTANCE; |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 229 | } |
| 230 | |
| 231 | public static final class DragDirection.Vertical extends androidx.ui.foundation.gestures.DragDirection { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 232 | field public static final androidx.ui.foundation.gestures.DragDirection.Vertical INSTANCE; |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 233 | } |
| 234 | |
| 235 | public interface DragValueController { |
| 236 | method public float getCurrentValue(); |
| 237 | method public void onDrag(float target); |
| 238 | method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled); |
| 239 | method public void setBounds(float min, float max); |
| 240 | property public abstract float currentValue; |
| 241 | } |
| 242 | |
| 243 | public final class DraggableKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 244 | method @androidx.compose.Composable 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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 245 | } |
| 246 | |
| 247 | public final class FloatDragValueController implements androidx.ui.foundation.gestures.DragValueController { |
| 248 | ctor public FloatDragValueController(float initialValue); |
| 249 | method public float getCurrentValue(); |
| 250 | method public void onDrag(float target); |
| 251 | method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled); |
| 252 | method public void setBounds(float min, float max); |
| 253 | property public float currentValue; |
| 254 | } |
| 255 | |
| 256 | public final class ScrollableKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 257 | method @androidx.compose.Composable 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); |
| 258 | method @androidx.compose.Composable public static androidx.ui.foundation.gestures.ScrollableState ScrollableState(kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> onScrollDeltaConsumptionRequested); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 259 | } |
| 260 | |
| 261 | public final class ScrollableState { |
| 262 | 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); |
| 263 | method public androidx.ui.foundation.animation.FlingConfig getFlingConfig(); |
| 264 | method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getOnScrollDeltaConsumptionRequested(); |
| 265 | method public boolean isAnimating(); |
| 266 | method public void smoothScrollBy(float value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> }); |
| 267 | method public void stopAnimation(); |
| 268 | property public final boolean isAnimating; |
| 269 | } |
| 270 | |
| 271 | } |
| 272 | |
| 273 | package androidx.ui.foundation.selection { |
| 274 | |
| 275 | public final class MutuallyExclusiveSetItemKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 276 | method @androidx.compose.Composable public static void MutuallyExclusiveSetItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 277 | } |
| 278 | |
| 279 | public final class ToggleableKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 280 | method @androidx.compose.Composable public static void Toggleable(boolean value, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 281 | method public static androidx.ui.foundation.selection.ToggleableState ToggleableState(boolean value); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 282 | method @androidx.compose.Composable 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); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 283 | } |
| 284 | |
| 285 | public enum ToggleableState { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 286 | method public static androidx.ui.foundation.selection.ToggleableState valueOf(String name) throws java.lang.IllegalArgumentException; |
| 287 | method public static androidx.ui.foundation.selection.ToggleableState[] values(); |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 288 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState Indeterminate; |
| 289 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState Off; |
| 290 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState On; |
| 291 | } |
| 292 | |
| 293 | } |
| 294 | |
| 295 | package androidx.ui.foundation.semantics { |
| 296 | |
| 297 | public final class FoundationSemanticsProperties { |
| 298 | method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getInMutuallyExclusiveGroup(); |
| 299 | method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getSelected(); |
| 300 | method public androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> getToggleableState(); |
| 301 | property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> InMutuallyExclusiveGroup; |
| 302 | property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> Selected; |
| 303 | property public final androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> ToggleableState; |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 304 | field public static final androidx.ui.foundation.semantics.FoundationSemanticsProperties INSTANCE; |
Nick Anthony | fa77d59 | 2020-02-27 11:28:34 -0500 | [diff] [blame] | 305 | } |
| 306 | |
| 307 | public final class FoundationSemanticsPropertiesKt { |
| 308 | method public static boolean getInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 309 | method public static boolean getSelected(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 310 | method public static androidx.ui.foundation.selection.ToggleableState getToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 311 | method public static void setInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p); |
| 312 | method public static void setSelected(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p); |
| 313 | method public static void setToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver, androidx.ui.foundation.selection.ToggleableState p); |
| 314 | } |
| 315 | |
| 316 | } |
| 317 | |
| 318 | package androidx.ui.foundation.shape { |
| 319 | |
| 320 | public final class GenericShape implements androidx.ui.graphics.Shape { |
| 321 | ctor public GenericShape(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.unit.PxSize,kotlin.Unit> builder); |
| 322 | 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); |
| 323 | method public androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density); |
| 324 | } |
| 325 | |
| 326 | public final class RectangleShapeKt { |
| 327 | method public static androidx.ui.graphics.Shape getRectangleShape(); |
| 328 | } |
| 329 | |
| 330 | } |
| 331 | |
| 332 | package androidx.ui.foundation.shape.corner { |
| 333 | |
| 334 | public abstract class CornerBasedShape implements androidx.ui.graphics.Shape { |
| 335 | 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); |
| 336 | method public final androidx.ui.graphics.Outline createOutline(androidx.ui.unit.PxSize size, androidx.ui.unit.Density density); |
| 337 | 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); |
| 338 | } |
| 339 | |
| 340 | public interface CornerSize { |
| 341 | method public androidx.ui.unit.Px toPx(androidx.ui.unit.PxSize shapeSize, androidx.ui.unit.Density density); |
| 342 | } |
| 343 | |
| 344 | public final class CornerSizeKt { |
| 345 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.unit.Dp size); |
| 346 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.unit.Px size); |
| 347 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@IntRange(from=0, to=50) int percent); |
| 348 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@FloatRange(from=0.0, to=50.0) float percent); |
| 349 | method public static androidx.ui.foundation.shape.corner.CornerSize getZeroCornerSize(); |
| 350 | } |
| 351 | |
| 352 | public final class CutCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape { |
| 353 | 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); |
| 354 | method public androidx.ui.foundation.shape.corner.CornerSize component1(); |
| 355 | method public androidx.ui.foundation.shape.corner.CornerSize component2(); |
| 356 | method public androidx.ui.foundation.shape.corner.CornerSize component3(); |
| 357 | method public androidx.ui.foundation.shape.corner.CornerSize component4(); |
| 358 | 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); |
| 359 | 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); |
| 360 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft(); |
| 361 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight(); |
| 362 | method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft(); |
| 363 | method public androidx.ui.foundation.shape.corner.CornerSize getTopRight(); |
| 364 | } |
| 365 | |
| 366 | public final class CutCornerShapeKt { |
| 367 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner); |
| 368 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Dp size); |
| 369 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.unit.Px size); |
| 370 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(int percent); |
| 371 | 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); |
| 372 | 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); |
| 373 | 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); |
| 374 | } |
| 375 | |
| 376 | public final class RoundedCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape { |
| 377 | 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); |
| 378 | method public androidx.ui.foundation.shape.corner.CornerSize component1(); |
| 379 | method public androidx.ui.foundation.shape.corner.CornerSize component2(); |
| 380 | method public androidx.ui.foundation.shape.corner.CornerSize component3(); |
| 381 | method public androidx.ui.foundation.shape.corner.CornerSize component4(); |
| 382 | 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); |
| 383 | 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); |
| 384 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft(); |
| 385 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight(); |
| 386 | method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft(); |
| 387 | method public androidx.ui.foundation.shape.corner.CornerSize getTopRight(); |
| 388 | } |
| 389 | |
| 390 | public final class RoundedCornerShapeKt { |
| 391 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner); |
| 392 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Dp size); |
| 393 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.unit.Px size); |
| 394 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(int percent); |
| 395 | 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); |
| 396 | 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); |
| 397 | 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); |
| 398 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape getCircleShape(); |
| 399 | } |
| 400 | |
| 401 | } |
| 402 | |