Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.foundation { |
| 3 | |
| 4 | public final class ClickableKt { |
| 5 | ctor public ClickableKt(); |
| 6 | method public static void Clickable(kotlin.jvm.functions.Function0<kotlin.Unit>? boolean consumeDownOnStart = false, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 7 | } |
| 8 | |
| 9 | public final class ColoredRectKt { |
| 10 | ctor public ColoredRectKt(); |
Adam Powell | 384bbaa | 2019-07-11 14:44:14 -0700 | [diff] [blame] | 11 | method public static void ColoredRect(androidx.ui.graphics.Brush brush, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.core.Dp? width = null, androidx.ui.core.Dp? height = null); |
| 12 | method public static void ColoredRect(androidx.ui.graphics.Color color, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.core.Dp? width = null, androidx.ui.core.Dp? height = null); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 13 | } |
| 14 | |
Louis Pullen-Freilich | 41ef3c0 | 2019-08-02 20:55:12 +0100 | [diff] [blame] | 15 | public final class DarkThemeKt { |
| 16 | ctor public DarkThemeKt(); |
| 17 | method public static androidx.compose.Effect<java.lang.Boolean> isSystemInDarkTheme(); |
| 18 | } |
| 19 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 20 | public final class DeterminateProgressIndicatorKt { |
| 21 | ctor public DeterminateProgressIndicatorKt(); |
| 22 | method public static void DeterminateProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 23 | } |
| 24 | |
Mihai Burlaciuc | e882b3c | 2019-07-16 18:58:04 +0100 | [diff] [blame] | 25 | public final class DialogKt { |
| 26 | ctor public DialogKt(); |
| 27 | method public static void Dialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 28 | } |
| 29 | |
Calin Tataru | 7e2564a | 2019-08-05 16:51:02 +0100 | [diff] [blame] | 30 | public final class DrawBordersReceiver { |
| 31 | method public void all(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 32 | method public void allHorizontal(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 33 | method public void allVertical(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 34 | method public void bottom(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
Calin Tataru | 7e2564a | 2019-08-05 16:51:02 +0100 | [diff] [blame] | 35 | method public void horizontal(int row, kotlin.ranges.IntRange columns = 0 <other> columnCount, androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 36 | method public void left(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 37 | method public void outer(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 38 | method public void right(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 39 | method public void top(androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 40 | method public void vertical(int column, kotlin.ranges.IntRange rows = 0 <other> rowCount, androidx.ui.foundation.shape.border.Border border = defaultBorder); |
| 41 | } |
| 42 | |
Mihai Burlaciuc | 49000c6 | 2019-09-17 11:15:47 +0100 | [diff] [blame] | 43 | public enum DropDownAlignment { |
| 44 | enum_constant public static final androidx.ui.foundation.DropDownAlignment Left; |
| 45 | enum_constant public static final androidx.ui.foundation.DropDownAlignment Right; |
| 46 | } |
| 47 | |
Andrey Kulikov | 4e1fe9c | 2019-09-27 15:26:52 +0100 | [diff] [blame] | 48 | public final class ImageKt { |
| 49 | ctor public ImageKt(); |
| 50 | method public static void DrawImage(androidx.ui.graphics.Image image, androidx.ui.graphics.Color? tint = null); |
| 51 | method public static void SimpleImage(androidx.ui.graphics.Image image, androidx.ui.graphics.Color? tint = null); |
| 52 | } |
| 53 | |
Mihai Burlaciuc | 478fae6 | 2019-08-08 10:00:06 +0100 | [diff] [blame] | 54 | public final class PopupKt { |
| 55 | ctor public PopupKt(); |
Mihai Burlaciuc | 49000c6 | 2019-09-17 11:15:47 +0100 | [diff] [blame] | 56 | method public static void DropdownPopup(androidx.ui.foundation.DropDownAlignment dropDownAlignment = DropDownAlignment.Left, androidx.ui.core.IntPxPosition offset = IntPxPosition(IntPx.Zero, IntPx.Zero), androidx.ui.foundation.PopupProperties popupProperties = androidx.ui.foundation.PopupProperties(), kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Qingqing Deng | 8c5d038 | 2019-09-16 11:59:16 -0700 | [diff] [blame] | 57 | method public static void Popup(androidx.ui.core.Alignment alignment = Alignment.TopLeft, androidx.ui.core.IntPxPosition offset = IntPxPosition(IntPx.Zero, IntPx.Zero), androidx.ui.foundation.PopupProperties popupProperties = androidx.ui.foundation.PopupProperties(), kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Mihai Burlaciuc | fd38c91 | 2019-09-03 15:26:38 +0100 | [diff] [blame] | 58 | method public static void disposeActivityComposition(android.app.Activity activity); |
Filip Pavlis | bea89ec | 2019-10-02 17:28:06 +0100 | [diff] [blame] | 59 | method public static boolean isPopupLayout(android.view.View view, String? testTag = null); |
Mihai Burlaciuc | 478fae6 | 2019-08-08 10:00:06 +0100 | [diff] [blame] | 60 | } |
| 61 | |
Mihai Burlaciuc | 1c4abb7 | 2019-09-02 13:58:22 +0100 | [diff] [blame] | 62 | public final class PopupProperties { |
| 63 | ctor public PopupProperties(boolean isFocusable, kotlin.jvm.functions.Function0<kotlin.Unit>? onDismissRequest); |
| 64 | ctor public PopupProperties(); |
| 65 | method public boolean component1(); |
| 66 | method public kotlin.jvm.functions.Function0<kotlin.Unit>? component2(); |
| 67 | method public androidx.ui.foundation.PopupProperties copy(boolean isFocusable, kotlin.jvm.functions.Function0<kotlin.Unit>? onDismissRequest); |
| 68 | method public kotlin.jvm.functions.Function0<kotlin.Unit>? getOnDismissRequest(); |
| 69 | method public boolean isFocusable(); |
| 70 | } |
| 71 | |
Matvei Malkov | 1a41de3 | 2019-08-15 16:08:40 +0100 | [diff] [blame] | 72 | public final class ScrollerKt { |
| 73 | ctor public ScrollerKt(); |
| 74 | method public static void HorizontalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = +memo({ |
| 75 | <init>() |
| 76 | }), kotlin.jvm.functions.Function2<? super androidx.ui.core.Px,? super androidx.ui.core.Px,kotlin.Unit> position, _ -> scrollerPosition.value = position }, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child); |
| 77 | method public static void VerticalScroller(androidx.ui.foundation.ScrollerPosition scrollerPosition = +memo({ |
| 78 | <init>() |
| 79 | }), kotlin.jvm.functions.Function2<? super androidx.ui.core.Px,? super androidx.ui.core.Px,kotlin.Unit> position, _ -> scrollerPosition.value = position }, boolean isScrollable = true, kotlin.jvm.functions.Function0<kotlin.Unit> child); |
| 80 | } |
| 81 | |
| 82 | public final class ScrollerPosition { |
| 83 | ctor public ScrollerPosition(); |
| 84 | method public androidx.ui.core.Px getValue(); |
| 85 | method public void scrollBy(androidx.ui.core.Px value); |
| 86 | method public void scrollTo(androidx.ui.core.Px value); |
| 87 | method public void setValue(androidx.ui.core.Px p); |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 88 | method public void smoothScrollBy(androidx.ui.core.Px value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> }); |
| 89 | method public void smoothScrollTo(androidx.ui.core.Px value, kotlin.jvm.functions.Function2<? super androidx.animation.AnimationEndReason,? super java.lang.Float,kotlin.Unit> _, _ -> }); |
Matvei Malkov | 1a41de3 | 2019-08-15 16:08:40 +0100 | [diff] [blame] | 90 | property public final androidx.ui.core.Px value; |
| 91 | } |
| 92 | |
Ryan Mentley | 6cd5719 | 2019-05-29 21:03:18 -0700 | [diff] [blame] | 93 | public final class Strings { |
| 94 | method public String getChecked(); |
| 95 | method public String getIndeterminate(); |
| 96 | method public String getNotSelected(); |
| 97 | method public String getSelected(); |
| 98 | method public String getUnchecked(); |
| 99 | property public final String Checked; |
| 100 | property public final String Indeterminate; |
| 101 | property public final String NotSelected; |
| 102 | property public final String Selected; |
| 103 | property public final String Unchecked; |
| 104 | field public static final androidx.ui.foundation.Strings! INSTANCE; |
| 105 | } |
| 106 | |
Calin Tataru | 7e2564a | 2019-08-05 16:51:02 +0100 | [diff] [blame] | 107 | public final class TableBordersKt { |
| 108 | ctor public TableBordersKt(); |
| 109 | method public static void drawBorders(androidx.ui.layout.TableChildren, androidx.ui.foundation.shape.border.Border defaultBorder = Border(Color.Black, Dp.Hairline), kotlin.jvm.functions.Function1<? super androidx.ui.foundation.DrawBordersReceiver,kotlin.Unit> block); |
| 110 | } |
| 111 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 112 | } |
| 113 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 114 | package androidx.ui.foundation.animation { |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 115 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 116 | public final class AnimatedFloatDragController implements androidx.ui.foundation.gestures.DragValueController { |
Matvei Malkov | 1a41de3 | 2019-08-15 16:08:40 +0100 | [diff] [blame] | 117 | ctor public AnimatedFloatDragController(androidx.animation.AnimatedFloat animatedFloat, androidx.ui.foundation.animation.FlingConfig? flingConfig); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 118 | ctor public AnimatedFloatDragController(float initialValue, androidx.ui.foundation.animation.FlingConfig? flingConfig); |
| 119 | method public androidx.animation.AnimatedFloat getAnimatedFloat(); |
| 120 | method public float getCurrentValue(); |
Matvei Malkov | 6a4796a | 2019-08-23 17:31:32 +0100 | [diff] [blame] | 121 | method public boolean getEnabled(); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 122 | method public void onDrag(float target); |
| 123 | method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled); |
| 124 | method public void setBounds(float min, float max); |
Matvei Malkov | 6a4796a | 2019-08-23 17:31:32 +0100 | [diff] [blame] | 125 | method public void setEnabled(boolean p); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 126 | property public float currentValue; |
Matvei Malkov | 6a4796a | 2019-08-23 17:31:32 +0100 | [diff] [blame] | 127 | property public final boolean enabled; |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 128 | } |
| 129 | |
| 130 | public final class FlingConfig { |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 131 | 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); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 132 | ctor public FlingConfig(); |
| 133 | method public androidx.animation.DecayAnimation component1(); |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 134 | method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? component2(); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 135 | method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> component3(); |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 136 | method public androidx.ui.foundation.animation.FlingConfig copy(androidx.animation.DecayAnimation decayAnimation, kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? onAnimationEnd, kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.animation.TargetAnimation> adjustTarget); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 137 | method public kotlin.jvm.functions.Function1<java.lang.Float,androidx.animation.TargetAnimation> getAdjustTarget(); |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 138 | method public androidx.animation.DecayAnimation getDecayAnimation(); |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 139 | method public kotlin.jvm.functions.Function3<androidx.animation.AnimationEndReason,java.lang.Float,java.lang.Float,kotlin.Unit>? getOnAnimationEnd(); |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 140 | } |
| 141 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 142 | public final class FlingConfigKt { |
| 143 | ctor public FlingConfigKt(); |
Matvei Malkov | 42f48ce | 2019-08-28 16:26:47 +0100 | [diff] [blame] | 144 | method public static androidx.ui.foundation.animation.FlingConfig AnchorsFlingConfig(java.util.List<java.lang.Float> anchors, androidx.animation.AnimationBuilder<java.lang.Float> animationBuilder = PhysicsBuilder(), kotlin.jvm.functions.Function3<? super androidx.animation.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? androidx.animation.DecayAnimation decayAnimation = ExponentialDecay()); |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 145 | method public static void fling(androidx.animation.AnimatedFloat, androidx.ui.foundation.animation.FlingConfig config, float startVelocity); |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 146 | } |
| 147 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 148 | } |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 149 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 150 | package androidx.ui.foundation.gestures { |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 151 | |
| 152 | public abstract sealed class DragDirection { |
| 153 | } |
| 154 | |
| 155 | public static final class DragDirection.Horizontal extends androidx.ui.foundation.gestures.DragDirection { |
| 156 | field public static final androidx.ui.foundation.gestures.DragDirection.Horizontal! INSTANCE; |
| 157 | } |
| 158 | |
| 159 | public static final class DragDirection.Vertical extends androidx.ui.foundation.gestures.DragDirection { |
| 160 | field public static final androidx.ui.foundation.gestures.DragDirection.Vertical! INSTANCE; |
| 161 | } |
| 162 | |
Matvei Malkov | 6488191 | 2019-07-17 16:47:32 +0100 | [diff] [blame] | 163 | public interface DragValueController { |
| 164 | method public float getCurrentValue(); |
| 165 | method public void onDrag(float target); |
| 166 | method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled); |
| 167 | method public void setBounds(float min, float max); |
| 168 | property public abstract float currentValue; |
| 169 | } |
| 170 | |
| 171 | public final class DraggableCallback { |
| 172 | ctor public DraggableCallback(kotlin.jvm.functions.Function0<kotlin.Unit> onDragStarted, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onDragSettled); |
| 173 | ctor public DraggableCallback(); |
| 174 | } |
| 175 | |
| 176 | public final class DraggableKt { |
| 177 | ctor public DraggableKt(); |
| 178 | method public static void Draggable(androidx.ui.foundation.gestures.DragDirection dragDirection, float minValue = Float.MIN_VALUE, float maxValue = Float.MAX_VALUE, androidx.ui.foundation.gestures.DragValueController valueController = +memo(minValue, { |
| 179 | <init>(minValue) |
| 180 | }), androidx.ui.foundation.gestures.DraggableCallback? callback = null, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> children); |
| 181 | } |
| 182 | |
| 183 | public final class FloatDragValueController implements androidx.ui.foundation.gestures.DragValueController { |
| 184 | ctor public FloatDragValueController(float initialValue); |
| 185 | method public float getCurrentValue(); |
| 186 | method public void onDrag(float target); |
| 187 | method public void onDragEnd(float velocity, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueSettled); |
| 188 | method public void setBounds(float min, float max); |
| 189 | property public float currentValue; |
Matvei Malkov | a154668 | 2019-07-08 18:36:08 +0100 | [diff] [blame] | 190 | } |
| 191 | |
| 192 | } |
| 193 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 194 | package androidx.ui.foundation.selection { |
| 195 | |
| 196 | public final class MutuallyExclusiveSetItemKt { |
| 197 | ctor public MutuallyExclusiveSetItemKt(); |
| 198 | method public static void MutuallyExclusiveSetItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 199 | } |
| 200 | |
Qingqing Deng | 35f97ea | 2019-09-18 19:24:37 -0700 | [diff] [blame] | 201 | public final class SelectionContainerKt { |
| 202 | ctor public SelectionContainerKt(); |
| 203 | method public static void SelectionContainer(androidx.ui.core.selection.Selection? selection, kotlin.jvm.functions.Function1<? super androidx.ui.core.selection.Selection,kotlin.Unit> onSelectionChange, androidx.ui.core.selection.SelectionMode mode = SelectionMode.Vertical, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 204 | } |
| 205 | |
| 206 | public final class SelectionHandlesKt { |
| 207 | ctor public SelectionHandlesKt(); |
| 208 | } |
| 209 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 210 | public final class ToggleableKt { |
| 211 | ctor public ToggleableKt(); |
Matvei Malkov | b831555 | 2019-09-24 17:58:45 +0100 | [diff] [blame] | 212 | method public static void Toggleable(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 213 | method public static androidx.ui.foundation.selection.ToggleableState ToggleableState(boolean checked); |
Matvei Malkov | b831555 | 2019-09-24 17:58:45 +0100 | [diff] [blame] | 214 | method public static void TriStateToggleable(androidx.ui.foundation.selection.ToggleableState value = ToggleableState.Checked, kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 215 | } |
| 216 | |
| 217 | public enum ToggleableState { |
| 218 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState Checked; |
| 219 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState Indeterminate; |
| 220 | enum_constant public static final androidx.ui.foundation.selection.ToggleableState Unchecked; |
| 221 | } |
| 222 | |
| 223 | } |
| 224 | |
Ryan Mentley | 6cd5719 | 2019-05-29 21:03:18 -0700 | [diff] [blame] | 225 | package androidx.ui.foundation.semantics { |
| 226 | |
| 227 | public final class FoundationSemanticsProperties { |
| 228 | method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getInMutuallyExclusiveGroup(); |
| 229 | method public androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> getSelected(); |
| 230 | method public androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> getToggleableState(); |
| 231 | property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> InMutuallyExclusiveGroup; |
| 232 | property public final androidx.ui.semantics.SemanticsPropertyKey<java.lang.Boolean> Selected; |
| 233 | property public final androidx.ui.semantics.SemanticsPropertyKey<androidx.ui.foundation.selection.ToggleableState> ToggleableState; |
| 234 | field public static final androidx.ui.foundation.semantics.FoundationSemanticsProperties! INSTANCE; |
| 235 | } |
| 236 | |
| 237 | public final class FoundationSemanticsPropertiesKt { |
| 238 | ctor public FoundationSemanticsPropertiesKt(); |
| 239 | method public static boolean getInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 240 | method public static boolean getSelected(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 241 | method public static androidx.ui.foundation.selection.ToggleableState getToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver); |
| 242 | method public static void setInMutuallyExclusiveGroup(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p); |
| 243 | method public static void setSelected(androidx.ui.semantics.SemanticsPropertyReceiver, boolean p); |
| 244 | method public static void setToggleableState(androidx.ui.semantics.SemanticsPropertyReceiver, androidx.ui.foundation.selection.ToggleableState p); |
| 245 | } |
| 246 | |
| 247 | } |
| 248 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 249 | package androidx.ui.foundation.shape { |
| 250 | |
| 251 | public final class DrawShapeKt { |
| 252 | ctor public DrawShapeKt(); |
| 253 | method public static void DrawShape(androidx.ui.engine.geometry.Shape shape, androidx.ui.graphics.Color color); |
Nader Jawad | eb35c35 | 2019-08-06 15:43:05 -0700 | [diff] [blame] | 254 | method public static void DrawShape(androidx.ui.engine.geometry.Shape shape, androidx.ui.graphics.Brush brush); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 255 | } |
| 256 | |
| 257 | public final class GenericShape implements androidx.ui.engine.geometry.Shape { |
Nader Jawad | ad98353 | 2019-08-29 16:27:37 -0700 | [diff] [blame] | 258 | ctor public GenericShape(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.core.PxSize,kotlin.Unit> builder); |
| 259 | method public androidx.ui.foundation.shape.GenericShape copy(kotlin.jvm.functions.Function2<? super androidx.ui.graphics.Path,? super androidx.ui.core.PxSize,kotlin.Unit> builder); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 260 | method public androidx.ui.engine.geometry.Outline createOutline(androidx.ui.core.PxSize size, androidx.ui.core.Density density); |
| 261 | } |
| 262 | |
| 263 | public final class RectangleShapeKt { |
| 264 | ctor public RectangleShapeKt(); |
| 265 | method public static androidx.ui.engine.geometry.Shape getRectangleShape(); |
| 266 | } |
| 267 | |
| 268 | } |
| 269 | |
| 270 | package androidx.ui.foundation.shape.border { |
| 271 | |
| 272 | public final class Border { |
Nader Jawad | eb35c35 | 2019-08-06 15:43:05 -0700 | [diff] [blame] | 273 | ctor public Border(androidx.ui.graphics.Brush brush, androidx.ui.core.Dp width); |
| 274 | method public androidx.ui.graphics.Brush component1(); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 275 | method public androidx.ui.core.Dp component2(); |
Nader Jawad | eb35c35 | 2019-08-06 15:43:05 -0700 | [diff] [blame] | 276 | method public androidx.ui.foundation.shape.border.Border copy(androidx.ui.graphics.Brush brush, androidx.ui.core.Dp width); |
| 277 | method public androidx.ui.graphics.Brush getBrush(); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 278 | method public androidx.ui.core.Dp getWidth(); |
| 279 | } |
| 280 | |
| 281 | public final class BorderKt { |
| 282 | ctor public BorderKt(); |
| 283 | method public static androidx.ui.foundation.shape.border.Border Border(androidx.ui.graphics.Color color, androidx.ui.core.Dp width); |
| 284 | } |
| 285 | |
| 286 | public final class DrawBorderKt { |
| 287 | ctor public DrawBorderKt(); |
| 288 | method public static void DrawBorder(androidx.ui.engine.geometry.Shape shape, androidx.ui.foundation.shape.border.Border border); |
| 289 | } |
| 290 | |
| 291 | } |
| 292 | |
| 293 | package androidx.ui.foundation.shape.corner { |
| 294 | |
| 295 | public abstract class CornerBasedShape implements androidx.ui.engine.geometry.Shape { |
Andrey Kulikov | 154b6c6 | 2019-08-13 14:53:17 +0100 | [diff] [blame] | 296 | 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); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 297 | method public final androidx.ui.engine.geometry.Outline createOutline(androidx.ui.core.PxSize size, androidx.ui.core.Density density); |
Andrey Kulikov | 154b6c6 | 2019-08-13 14:53:17 +0100 | [diff] [blame] | 298 | method public abstract androidx.ui.engine.geometry.Outline createOutline(androidx.ui.core.PxSize size, androidx.ui.core.Px topLeft, androidx.ui.core.Px topRight, androidx.ui.core.Px bottomRight, androidx.ui.core.Px bottomLeft); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 299 | } |
| 300 | |
| 301 | public interface CornerSize { |
| 302 | method public androidx.ui.core.Px toPx(androidx.ui.core.PxSize shapeSize, androidx.ui.core.Density density); |
| 303 | } |
| 304 | |
| 305 | public final class CornerSizeKt { |
| 306 | ctor public CornerSizeKt(); |
| 307 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.core.Dp size); |
| 308 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(androidx.ui.core.Px size); |
| 309 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@IntRange(from=0, to=50) int percent); |
| 310 | method public static androidx.ui.foundation.shape.corner.CornerSize CornerSize(@FloatRange(from=0.0, to=50.0) float percent); |
| 311 | method public static androidx.ui.foundation.shape.corner.CornerSize getZeroCornerSize(); |
| 312 | } |
| 313 | |
Andrey Kulikov | 468c797 | 2019-09-17 16:57:17 +0100 | [diff] [blame] | 314 | public final class CutCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape { |
| 315 | 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); |
| 316 | method public androidx.ui.foundation.shape.corner.CornerSize component1(); |
| 317 | method public androidx.ui.foundation.shape.corner.CornerSize component2(); |
| 318 | method public androidx.ui.foundation.shape.corner.CornerSize component3(); |
| 319 | method public androidx.ui.foundation.shape.corner.CornerSize component4(); |
| 320 | 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); |
| 321 | method public androidx.ui.engine.geometry.Outline.Generic createOutline(androidx.ui.core.PxSize size, androidx.ui.core.Px topLeft, androidx.ui.core.Px topRight, androidx.ui.core.Px bottomRight, androidx.ui.core.Px bottomLeft); |
| 322 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft(); |
| 323 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight(); |
| 324 | method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft(); |
| 325 | method public androidx.ui.foundation.shape.corner.CornerSize getTopRight(); |
| 326 | } |
| 327 | |
| 328 | public final class CutCornerShapeKt { |
| 329 | ctor public CutCornerShapeKt(); |
| 330 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner); |
| 331 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.core.Dp size); |
| 332 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.core.Px size); |
| 333 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(int percent); |
| 334 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.core.Dp topLeft = 0.dp, androidx.ui.core.Dp topRight = 0.dp, androidx.ui.core.Dp bottomRight = 0.dp, androidx.ui.core.Dp bottomLeft = 0.dp); |
| 335 | method public static androidx.ui.foundation.shape.corner.CutCornerShape CutCornerShape(androidx.ui.core.Px topLeft = 0.px, androidx.ui.core.Px topRight = 0.px, androidx.ui.core.Px bottomRight = 0.px, androidx.ui.core.Px bottomLeft = 0.px); |
| 336 | 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); |
| 337 | } |
| 338 | |
Andrey Kulikov | 154b6c6 | 2019-08-13 14:53:17 +0100 | [diff] [blame] | 339 | public final class RoundedCornerShape extends androidx.ui.foundation.shape.corner.CornerBasedShape { |
| 340 | 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); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 341 | method public androidx.ui.foundation.shape.corner.CornerSize component1(); |
| 342 | method public androidx.ui.foundation.shape.corner.CornerSize component2(); |
| 343 | method public androidx.ui.foundation.shape.corner.CornerSize component3(); |
| 344 | method public androidx.ui.foundation.shape.corner.CornerSize component4(); |
Andrey Kulikov | 154b6c6 | 2019-08-13 14:53:17 +0100 | [diff] [blame] | 345 | 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); |
| 346 | method public androidx.ui.engine.geometry.Outline.Rounded createOutline(androidx.ui.core.PxSize size, androidx.ui.core.Px topLeft, androidx.ui.core.Px topRight, androidx.ui.core.Px bottomRight, androidx.ui.core.Px bottomLeft); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 347 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomLeft(); |
| 348 | method public androidx.ui.foundation.shape.corner.CornerSize getBottomRight(); |
| 349 | method public androidx.ui.foundation.shape.corner.CornerSize getTopLeft(); |
| 350 | method public androidx.ui.foundation.shape.corner.CornerSize getTopRight(); |
| 351 | } |
| 352 | |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 353 | public final class RoundedCornerShapeKt { |
| 354 | ctor public RoundedCornerShapeKt(); |
| 355 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.foundation.shape.corner.CornerSize corner); |
Andrey Kulikov | 154b6c6 | 2019-08-13 14:53:17 +0100 | [diff] [blame] | 356 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.core.Dp size); |
| 357 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.core.Px size); |
| 358 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(int percent); |
| 359 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.core.Dp topLeft = 0.dp, androidx.ui.core.Dp topRight = 0.dp, androidx.ui.core.Dp bottomRight = 0.dp, androidx.ui.core.Dp bottomLeft = 0.dp); |
| 360 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape RoundedCornerShape(androidx.ui.core.Px topLeft = 0.px, androidx.ui.core.Px topRight = 0.px, androidx.ui.core.Px bottomRight = 0.px, androidx.ui.core.Px bottomLeft = 0.px); |
| 361 | 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); |
Clara Bayarri | 0e00c964 | 2019-07-02 13:08:40 +0100 | [diff] [blame] | 362 | method public static androidx.ui.foundation.shape.corner.RoundedCornerShape getCircleShape(); |
| 363 | } |
| 364 | |
| 365 | } |
| 366 | |