[go: nahoru, domu]

blob: 4bc07d5bf1fae5934647e8975e6b7af17a27bff9 [file] [log] [blame]
Mihai Popa936dad02020-05-21 18:40:39 +01001// Signature format: 3.0
2package androidx.ui.material {
3
4 public enum AlertDialogButtonLayout {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -07005 method public static androidx.ui.material.AlertDialogButtonLayout valueOf(String name) throws java.lang.IllegalArgumentException;
6 method public static androidx.ui.material.AlertDialogButtonLayout[] values();
Mihai Popa936dad02020-05-21 18:40:39 +01007 enum_constant public static final androidx.ui.material.AlertDialogButtonLayout SideBySide;
8 enum_constant public static final androidx.ui.material.AlertDialogButtonLayout Stacked;
9 }
10
11 public final class AlertDialogKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070012 method @androidx.compose.Composable public static void AlertDialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit>? title = null, kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> confirmButton, kotlin.jvm.functions.Function0<kotlin.Unit>? dismissButton = null, androidx.ui.material.AlertDialogButtonLayout buttonLayout = androidx.ui.material.AlertDialogButtonLayout.SideBySide, androidx.ui.graphics.Shape shape = medium);
13 method @androidx.compose.Composable public static void AlertDialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit>? title = null, kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> buttons, androidx.ui.graphics.Shape shape = medium);
Mihai Popa936dad02020-05-21 18:40:39 +010014 }
15
16 public final class AppBarKt {
Matvei Malkov6cfba722020-05-19 17:57:07 +010017 method @androidx.compose.Composable public static void BottomAppBar-RAvbXkg(androidx.ui.core.Modifier modifier = Modifier, long backgroundColor = MaterialTheme.colors.primarySurface, long contentColor = contentColorFor(backgroundColor), androidx.ui.graphics.Shape? cutoutShape = null, kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> content);
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070018 method @androidx.compose.Composable public static void TopAppBar-FikZsjU(kotlin.jvm.functions.Function0<kotlin.Unit> title, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null, kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> actions = {}, long backgroundColor = MaterialTheme.colors.primarySurface, long contentColor = contentColorFor(backgroundColor), float elevation = androidx.ui.material.AppBarKt.TopAppBarElevation);
19 method @androidx.compose.Composable public static void TopAppBar-oP-1cd0(androidx.ui.core.Modifier modifier = Modifier, long backgroundColor = MaterialTheme.colors.primarySurface, long contentColor = contentColorFor(backgroundColor), float elevation = androidx.ui.material.AppBarKt.TopAppBarElevation, kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +010020 }
21
Mihai Popa936dad02020-05-21 18:40:39 +010022 public final class BottomNavigationKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070023 method @androidx.compose.Composable public static void BottomNavigation-oP-1cd0(androidx.ui.core.Modifier modifier = Modifier, long backgroundColor = MaterialTheme.colors.primarySurface, long contentColor = contentColorFor(backgroundColor), float elevation = androidx.ui.material.BottomNavigationKt.BottomNavigationElevation, kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> content);
24 method @androidx.compose.Composable public static void BottomNavigationItem-dOPBtLY(kotlin.jvm.functions.Function0<kotlin.Unit> icon, kotlin.jvm.functions.Function0<kotlin.Unit> text = emptyContent(), boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected, androidx.ui.core.Modifier modifier = Modifier, boolean alwaysShowLabels = true, long activeColor = contentColor(), long inactiveColor = EmphasisAmbient.current.medium.applyEmphasis(activeColor));
Mihai Popa936dad02020-05-21 18:40:39 +010025 }
26
27 public final class Button {
28 method public long getDefaultDisabledBackgroundColor();
29 method public long getDefaultDisabledContentColor();
30 method public androidx.ui.layout.InnerPadding getDefaultInnerPadding();
Andrey Kulikov1cf595c2020-06-15 20:04:53 +010031 method public float getDefaultMinHeight();
32 method public float getDefaultMinWidth();
Mihai Popa936dad02020-05-21 18:40:39 +010033 property public final androidx.ui.layout.InnerPadding DefaultInnerPadding;
Andrey Kulikov1cf595c2020-06-15 20:04:53 +010034 property public final float DefaultMinHeight;
35 property public final float DefaultMinWidth;
Mihai Popa936dad02020-05-21 18:40:39 +010036 property public final long defaultDisabledBackgroundColor;
37 property public final long defaultDisabledContentColor;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -070038 field public static final androidx.ui.material.Button INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +010039 }
40
41 public final class ButtonKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070042 method @androidx.compose.Composable public static void Button-YWYas6U(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, float elevation = 2.dp, float disabledElevation = 0.dp, androidx.ui.graphics.Shape shape = small, androidx.ui.foundation.Border? border = null, long backgroundColor = MaterialTheme.colors.primary, long disabledBackgroundColor = Button.defaultDisabledBackgroundColor, long contentColor = contentColorFor(backgroundColor), long disabledContentColor = Button.defaultDisabledContentColor, androidx.ui.layout.InnerPadding padding = Button.DefaultInnerPadding, kotlin.jvm.functions.Function0<kotlin.Unit> text);
Aurimas Liutikasa47310e2020-06-22 15:11:35 -070043 method @androidx.compose.Composable public static inline void OutlinedButton-5tjLhF8(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, float elevation = 0.dp, androidx.ui.graphics.Shape shape = small, androidx.ui.foundation.Border? border = Border(1.dp, MaterialTheme.colors.onSurface.copy(OutlinedStrokeOpacity)), long backgroundColor = MaterialTheme.colors.surface, long contentColor = contentColorFor(backgroundColor), long disabledContentColor = Button.defaultDisabledContentColor, androidx.ui.layout.InnerPadding padding = Button.DefaultInnerPadding, kotlin.jvm.functions.Function0<kotlin.Unit> text);
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070044 method @androidx.compose.Composable public static inline void TextButton-5tjLhF8(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, float elevation = 0.dp, androidx.ui.graphics.Shape shape = small, androidx.ui.foundation.Border? border = null, long backgroundColor = Color.Transparent, long contentColor = MaterialTheme.colors.primary, long disabledContentColor = Button.defaultDisabledContentColor, androidx.ui.layout.InnerPadding padding = TextButton.DefaultInnerPadding, kotlin.jvm.functions.Function0<kotlin.Unit> text);
Mihai Popa936dad02020-05-21 18:40:39 +010045 field @kotlin.PublishedApi internal static final float OutlinedStrokeOpacity = 0.12f;
46 }
47
48 public final class CardKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070049 method @androidx.compose.Composable public static void Card-r7cpYJI(androidx.ui.core.Modifier modifier = Modifier, androidx.ui.graphics.Shape shape = medium, long color = MaterialTheme.colors.surface, long contentColor = contentColorFor(color), androidx.ui.foundation.Border? border = null, float elevation = 1.dp, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +010050 }
51
52 public final class CheckboxKt {
Matvei Malkovc5839b32020-06-04 16:50:15 +010053 method @androidx.compose.Composable public static void Checkbox-9ViTWCU(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, boolean enabled = true, androidx.ui.core.Modifier modifier = Modifier, long checkedColor = MaterialTheme.colors.secondary, long uncheckedColor = MaterialTheme.colors.onSurface, long disabledColor = MaterialTheme.colors.onSurface, long checkMarkColor = MaterialTheme.colors.surface);
54 method @androidx.compose.Composable public static void TriStateCheckbox-4vNNdMw(androidx.ui.foundation.selection.ToggleableState state, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, boolean enabled = true, androidx.ui.core.Modifier modifier = Modifier, long checkedColor = MaterialTheme.colors.secondary, long uncheckedColor = MaterialTheme.colors.onSurface, long disabledColor = MaterialTheme.colors.onSurface, long checkMarkColor = MaterialTheme.colors.surface);
Mihai Popa936dad02020-05-21 18:40:39 +010055 }
56
57 public final class ColorKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070058 method @androidx.compose.Composable public static long contentColorFor-QEYXlZo(long color);
Mihai Popa936dad02020-05-21 18:40:39 +010059 method public static long contentColorFor-ZITCLTE(androidx.ui.material.ColorPalette, long color);
60 method public static androidx.ui.material.ColorPalette darkColorPalette-bz757pg(long primary = Color(4290479868), long primaryVariant = Color(4281794739), long secondary = Color(4278442694), long background = Color(4279374354), long surface = Color(4279374354), long error = Color(4291782265), long long long long long >
61 method public static androidx.ui.material.ColorPalette lightColorPalette-eO6A0Mk(long primary = Color(4284612846), long primaryVariant = Color(4281794739), long secondary = Color(4278442694), long secondaryVariant = Color(4278290310), long background = Color.White, long surface = Color.White, long error = Color(4289724448), long long long long long >
62 }
63
64 public interface ColorPalette {
65 method public long getBackground();
66 method public long getError();
67 method public long getOnBackground();
68 method public long getOnError();
69 method public long getOnPrimary();
70 method public long getOnSecondary();
71 method public long getOnSurface();
72 method public long getPrimary();
73 method public long getPrimaryVariant();
74 method public long getSecondary();
75 method public long getSecondaryVariant();
76 method public long getSurface();
77 method public boolean isLight();
78 property public abstract long background;
79 property public abstract long error;
80 property public abstract boolean isLight;
81 property public abstract long onBackground;
82 property public abstract long onError;
83 property public abstract long onPrimary;
84 property public abstract long onSecondary;
85 property public abstract long onSurface;
86 property public abstract long primary;
87 property public abstract long primaryVariant;
88 property public abstract long secondary;
89 property public abstract long secondaryVariant;
90 property public abstract long surface;
91 }
92
93 public final class DividerKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -070094 method @androidx.compose.Composable public static void Divider-5sN9_mQ(androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.onSurface.copy(DividerAlpha), float thickness = 1.dp, float startIndent = 0.dp);
Mihai Popa936dad02020-05-21 18:40:39 +010095 }
96
97 public final class DrawerConstants {
98 method public float getDefaultElevation();
99 property public final float DefaultElevation;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700100 field public static final androidx.ui.material.DrawerConstants INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100101 }
102
103 public final class DrawerKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700104 method @androidx.compose.Composable public static void BottomDrawerLayout-s-rmCOo(androidx.ui.material.DrawerState drawerState, kotlin.jvm.functions.Function1<? super androidx.ui.material.DrawerState,kotlin.Unit> onStateChange, boolean gesturesEnabled = true, androidx.ui.graphics.Shape drawerShape = large, float drawerElevation = DrawerConstants.DefaultElevation, kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent, kotlin.jvm.functions.Function0<kotlin.Unit> bodyContent);
105 method @androidx.compose.Composable public static void ModalDrawerLayout-s-rmCOo(androidx.ui.material.DrawerState drawerState, kotlin.jvm.functions.Function1<? super androidx.ui.material.DrawerState,kotlin.Unit> onStateChange, boolean gesturesEnabled = true, androidx.ui.graphics.Shape drawerShape = large, float drawerElevation = DrawerConstants.DefaultElevation, kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent, kotlin.jvm.functions.Function0<kotlin.Unit> bodyContent);
Mihai Popa936dad02020-05-21 18:40:39 +0100106 }
107
108 public enum DrawerState {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700109 method public static androidx.ui.material.DrawerState valueOf(String name) throws java.lang.IllegalArgumentException;
110 method public static androidx.ui.material.DrawerState[] values();
Mihai Popa936dad02020-05-21 18:40:39 +0100111 enum_constant public static final androidx.ui.material.DrawerState Closed;
112 enum_constant public static final androidx.ui.material.DrawerState Opened;
113 }
114
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700115 @androidx.compose.Immutable public interface Emphasis {
Mihai Popa936dad02020-05-21 18:40:39 +0100116 method public long applyEmphasis-QEYXlZo(long color);
117 }
118
119 public final class EmphasisKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700120 method @androidx.compose.Composable public static void ProvideEmphasis(androidx.ui.material.Emphasis emphasis, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +0100121 method public static androidx.compose.Ambient<androidx.ui.material.EmphasisLevels> getEmphasisAmbient();
122 }
123
124 public interface EmphasisLevels {
125 method public androidx.ui.material.Emphasis getDisabled();
126 method public androidx.ui.material.Emphasis getHigh();
127 method public androidx.ui.material.Emphasis getMedium();
128 property public abstract androidx.ui.material.Emphasis disabled;
129 property public abstract androidx.ui.material.Emphasis high;
130 property public abstract androidx.ui.material.Emphasis medium;
131 }
132
133 public final class FloatingActionButtonKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700134 method @androidx.compose.Composable public static void ExtendedFloatingActionButton-r9QhOOE(kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit>? icon = null, androidx.ui.graphics.Shape shape = MaterialTheme.shapes.small.copy(CornerSize(50)), long backgroundColor = MaterialTheme.colors.secondary, long contentColor = contentColorFor(backgroundColor), float elevation = 6.dp);
135 method @androidx.compose.Composable public static void FloatingActionButton-rf6Y9PE(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.graphics.Shape shape = MaterialTheme.shapes.small.copy(CornerSize(50)), long backgroundColor = MaterialTheme.colors.secondary, long contentColor = contentColorFor(backgroundColor), float elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> icon);
Mihai Popa936dad02020-05-21 18:40:39 +0100136 }
137
138 public final class IconButtonKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700139 method @androidx.compose.Composable public static void IconButton(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> icon);
140 method @androidx.compose.Composable public static void IconToggleButton(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, boolean enabled = true, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> icon);
Mihai Popa936dad02020-05-21 18:40:39 +0100141 }
142
143 public final class ListItemKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700144 method @androidx.compose.Composable public static void ListItem(String text, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.ImageAsset? icon = null, String? secondaryText = null, boolean singleLineSecondaryText = true, String? overlineText = null, String? metaText = null);
145 method @androidx.compose.Composable public static void ListItem(androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit>? kotlin.jvm.functions.Function0<kotlin.Unit>? icon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? secondaryText = null, boolean singleLineSecondaryText = true, kotlin.jvm.functions.Function0<kotlin.Unit>? overlineText = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailing = null, kotlin.jvm.functions.Function0<kotlin.Unit> text);
Mihai Popa936dad02020-05-21 18:40:39 +0100146 }
147
148 public final class MaterialTheme {
149 method public androidx.ui.material.ColorPalette getColors();
150 method public androidx.ui.material.Shapes getShapes();
151 method public androidx.ui.material.Typography getTypography();
152 property public final androidx.ui.material.ColorPalette colors;
153 property public final androidx.ui.material.Shapes shapes;
154 property public final androidx.ui.material.Typography typography;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700155 field public static final androidx.ui.material.MaterialTheme INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100156 }
157
158 public final class MaterialThemeKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700159 method @androidx.compose.Composable public static void MaterialTheme(androidx.ui.material.ColorPalette colors = MaterialTheme.colors, androidx.ui.material.Typography typography = MaterialTheme.typography, androidx.ui.material.Shapes shapes = MaterialTheme.shapes, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +0100160 }
161
162 public final class MenuKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700163 method @androidx.compose.Composable public static void DropdownMenu-1DTJxuk(kotlin.jvm.functions.Function0<kotlin.Unit> toggle, boolean expanded, kotlin.jvm.functions.Function0<kotlin.Unit> onDismissRequest, androidx.ui.core.Modifier toggleModifier = Modifier, long dropdownOffset = Position(0.dp, 0.dp), androidx.ui.core.Modifier dropdownModifier = Modifier, kotlin.jvm.functions.Function1<? super androidx.ui.layout.ColumnScope,kotlin.Unit> dropdownContent);
164 method @androidx.compose.Composable public static void DropdownMenuItem(kotlin.jvm.functions.Function0<kotlin.Unit> onClick, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +0100165 }
166
167 public final class ProgressIndicatorConstants {
168 method public float getDefaultStrokeWidth();
169 property public final float DefaultStrokeWidth;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700170 field public static final androidx.ui.material.ProgressIndicatorConstants INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100171 }
172
173 public final class ProgressIndicatorKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700174 method @androidx.compose.Composable public static void CircularProgressIndicator-EMuwvL0(androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.primary, float strokeWidth = ProgressIndicatorConstants.DefaultStrokeWidth);
175 method @androidx.compose.Composable public static void CircularProgressIndicator-it0oM4E(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.primary, float strokeWidth = ProgressIndicatorConstants.DefaultStrokeWidth);
176 method @androidx.compose.Composable public static void LinearProgressIndicator-e8O-MNM(androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.primary);
177 method @androidx.compose.Composable public static void LinearProgressIndicator-kB8eKMs(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.primary);
Mihai Popa936dad02020-05-21 18:40:39 +0100178 }
179
Matvei Malkov7046b042020-06-12 13:17:46 +0100180 public final class RadioButtonKt {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700181 method @androidx.compose.Composable public static void RadioButton-HeBYgfA(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit>? onSelect, androidx.ui.core.Modifier modifier = Modifier, long color = MaterialTheme.colors.secondary);
182 method @androidx.compose.Composable public static void RadioGroup(kotlin.jvm.functions.Function1<? super androidx.ui.material.RadioGroupScope,kotlin.Unit> content);
183 method @androidx.compose.Composable public static void RadioGroup-HJ2D5H4(java.util.List<java.lang.String> options, String? selectedOption, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onSelectedChange, androidx.ui.core.Modifier modifier = Modifier, long radioColor = MaterialTheme.colors.secondary, androidx.ui.text.TextStyle? textStyle = null);
Matvei Malkov7046b042020-06-12 13:17:46 +0100184 }
185
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700186 @androidx.compose.Stable public final class RadioGroupScope {
187 method @androidx.compose.Composable public void RadioGroupItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> content);
188 method @androidx.compose.Composable public void RadioGroupTextItem-JJAyy3w(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, String text, androidx.ui.core.Modifier modifier = Modifier, long radioColor = MaterialTheme.colors.secondary, androidx.ui.text.TextStyle? textStyle = null);
Mihai Popa936dad02020-05-21 18:40:39 +0100189 }
190
191 public final class Scaffold {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700192 field public static final androidx.ui.material.Scaffold INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100193 }
194
195 public enum Scaffold.FabPosition {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700196 method public static androidx.ui.material.Scaffold.FabPosition valueOf(String name) throws java.lang.IllegalArgumentException;
197 method public static androidx.ui.material.Scaffold.FabPosition[] values();
Mihai Popa936dad02020-05-21 18:40:39 +0100198 enum_constant public static final androidx.ui.material.Scaffold.FabPosition Center;
Mihai Popa936dad02020-05-21 18:40:39 +0100199 enum_constant public static final androidx.ui.material.Scaffold.FabPosition End;
Mihai Popa936dad02020-05-21 18:40:39 +0100200 }
201
202 public final class ScaffoldKt {
Matvei Malkov6cfba722020-05-19 17:57:07 +0100203 method @androidx.compose.Composable public static void Scaffold-1z1vkZI(androidx.ui.material.ScaffoldState scaffoldState = remember({
Mihai Popa936dad02020-05-21 18:40:39 +0100204 return <init>()
Matvei Malkov6cfba722020-05-19 17:57:07 +0100205}), kotlin.jvm.functions.Function0<kotlin.Unit>? topBar = null, kotlin.jvm.functions.Function0<kotlin.Unit>? bottomBar = null, kotlin.jvm.functions.Function0<kotlin.Unit>? floatingActionButton = null, androidx.ui.material.Scaffold.FabPosition floatingActionButtonPosition = androidx.ui.material.Scaffold.FabPosition.End, boolean isFloatingActionButtonDocked = false, kotlin.jvm.functions.Function0<kotlin.Unit>? drawerContent = null, androidx.ui.graphics.Shape drawerShape = large, float drawerElevation = DrawerConstants.DefaultElevation, long backgroundColor = MaterialTheme.colors.background, kotlin.jvm.functions.Function1<? super androidx.ui.layout.InnerPadding,kotlin.Unit> bodyContent);
Mihai Popa936dad02020-05-21 18:40:39 +0100206 }
207
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700208 @androidx.compose.Stable public final class ScaffoldState {
Mihai Popa936dad02020-05-21 18:40:39 +0100209 ctor public ScaffoldState(androidx.ui.material.DrawerState drawerState, boolean isDrawerGesturesEnabled);
210 ctor public ScaffoldState();
Nader Jawadf94c64e2020-06-01 20:17:50 -0700211 method public androidx.ui.geometry.Size? getBottomBarSize();
Mihai Popa936dad02020-05-21 18:40:39 +0100212 method public androidx.ui.material.DrawerState getDrawerState();
Nader Jawadf94c64e2020-06-01 20:17:50 -0700213 method public androidx.ui.geometry.Size? getFloatingActionButtonSize();
214 method public androidx.ui.geometry.Size? getTopBarSize();
Mihai Popa936dad02020-05-21 18:40:39 +0100215 method public boolean isDrawerGesturesEnabled();
216 method public void setDrawerGesturesEnabled(boolean p);
217 method public void setDrawerState(androidx.ui.material.DrawerState p);
Nader Jawadf94c64e2020-06-01 20:17:50 -0700218 property public final androidx.ui.geometry.Size? bottomBarSize;
Mihai Popa936dad02020-05-21 18:40:39 +0100219 property public final androidx.ui.material.DrawerState drawerState;
Nader Jawadf94c64e2020-06-01 20:17:50 -0700220 property public final androidx.ui.geometry.Size? floatingActionButtonSize;
Mihai Popa936dad02020-05-21 18:40:39 +0100221 property public final boolean isDrawerGesturesEnabled;
Nader Jawadf94c64e2020-06-01 20:17:50 -0700222 property public final androidx.ui.geometry.Size? topBarSize;
Mihai Popa936dad02020-05-21 18:40:39 +0100223 }
224
225 public final class Shapes {
226 ctor public Shapes(androidx.ui.foundation.shape.corner.CornerBasedShape small, androidx.ui.foundation.shape.corner.CornerBasedShape medium, androidx.ui.foundation.shape.corner.CornerBasedShape large);
227 ctor public Shapes();
228 method public androidx.ui.foundation.shape.corner.CornerBasedShape component1();
229 method public androidx.ui.foundation.shape.corner.CornerBasedShape component2();
230 method public androidx.ui.foundation.shape.corner.CornerBasedShape component3();
231 method public androidx.ui.material.Shapes copy(androidx.ui.foundation.shape.corner.CornerBasedShape small, androidx.ui.foundation.shape.corner.CornerBasedShape medium, androidx.ui.foundation.shape.corner.CornerBasedShape large);
232 method public androidx.ui.foundation.shape.corner.CornerBasedShape getLarge();
233 method public androidx.ui.foundation.shape.corner.CornerBasedShape getMedium();
234 method public androidx.ui.foundation.shape.corner.CornerBasedShape getSmall();
235 }
236
237 public final class ShapesKt {
238 }
239
240 public final class SliderKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700241 method @androidx.compose.Composable public static void Slider-NGIokMc(float value, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> onValueChange, androidx.ui.core.Modifier modifier = Modifier, kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange = 0.0 .. 1.0, @IntRange(from=0) int steps = 0, kotlin.jvm.functions.Function0<kotlin.Unit> long color = MaterialTheme.colors.primary);
Mihai Popa936dad02020-05-21 18:40:39 +0100242 }
243
244 public final class SnackbarKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700245 method @androidx.compose.Composable public static void Snackbar-bRoLwi0(kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit>? action = null, androidx.ui.core.Modifier modifier = Modifier, boolean actionOnNewLine = false, androidx.ui.graphics.Shape shape = small, float elevation = 6.dp);
Mihai Popa936dad02020-05-21 18:40:39 +0100246 method public static long snackbarPrimaryColorFor(androidx.ui.material.ColorPalette colors);
247 }
248
249 public final class SurfaceKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700250 method @androidx.compose.Composable public static void Surface-r7cpYJI(androidx.ui.core.Modifier modifier = Modifier, androidx.ui.graphics.Shape shape = androidx.ui.graphics.RectangleShapeKt.RectangleShape, long color = MaterialTheme.colors.surface, long contentColor = contentColorFor(color), androidx.ui.foundation.Border? border = null, float elevation = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Mihai Popa936dad02020-05-21 18:40:39 +0100251 method public static long getPrimarySurface(androidx.ui.material.ColorPalette);
252 }
253
254 public final class SwitchKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700255 method @androidx.compose.Composable public static void Switch-Ym7EGpc(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> onCheckedChange, androidx.ui.core.Modifier modifier = Modifier, boolean enabled = true, long color = MaterialTheme.colors.secondaryVariant);
Mihai Popa936dad02020-05-21 18:40:39 +0100256 }
257
258 public final class TabKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700259 method @androidx.compose.Composable public static void Tab(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected, androidx.ui.core.Modifier modifier = Modifier, kotlin.jvm.functions.Function0<kotlin.Unit> content);
260 method @androidx.compose.Composable public static void Tab-5SZ958c(kotlin.jvm.functions.Function0<kotlin.Unit> text = emptyContent(), kotlin.jvm.functions.Function0<kotlin.Unit> icon = emptyContent(), boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected, androidx.ui.core.Modifier modifier = Modifier, long activeColor = contentColor(), long inactiveColor = EmphasisAmbient.current.medium.applyEmphasis(activeColor));
261 method @androidx.compose.Composable public static <T> void TabRow-nOWMzd0(java.util.List<? extends T> items, int selectedIndex, androidx.ui.core.Modifier modifier = Modifier, long backgroundColor = MaterialTheme.colors.primarySurface, long contentColor = contentColorFor(backgroundColor), boolean scrollable = false, kotlin.jvm.functions.Function1<? super java.util.List<androidx.ui.material.TabRow.TabPosition>,kotlin.Unit> indicatorContainer = { tabPositions -> TabRow.IndicatorContainer(tabPositions, selectedIndex, {
Mihai Popa936dad02020-05-21 18:40:39 +0100262 TabRow.Indicator()
263}) }, kotlin.jvm.functions.Function0<kotlin.Unit> divider = { Divider(1.dp, contentColor().copy(DividerOpacity)) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab);
264 }
265
266 public final class TabRow {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700267 method @androidx.compose.Composable public void Indicator-e8O-MNM(androidx.ui.core.Modifier modifier = Modifier, long color = contentColor());
268 method @androidx.compose.Composable public void IndicatorContainer(java.util.List<androidx.ui.material.TabRow.TabPosition> tabPositions, int selectedIndex, kotlin.jvm.functions.Function0<kotlin.Unit> indicator);
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700269 field public static final androidx.ui.material.TabRow INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100270 }
271
Andrey Kulikov858668d2020-06-09 18:49:11 +0100272 @androidx.compose.Immutable public static final class TabRow.TabPosition {
273 method public float component1();
274 method public float component2();
275 method @androidx.compose.Immutable public androidx.ui.material.TabRow.TabPosition copy-98Cn76g(float left, float width);
276 method public float getLeft();
277 method public float getRight();
278 method public float getWidth();
279 property public final float right;
Mihai Popa936dad02020-05-21 18:40:39 +0100280 }
281
282 public final class TextButton {
283 method public androidx.ui.layout.InnerPadding getDefaultInnerPadding();
284 property public final androidx.ui.layout.InnerPadding DefaultInnerPadding;
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700285 field public static final androidx.ui.material.TextButton INSTANCE;
Mihai Popa936dad02020-05-21 18:40:39 +0100286 }
287
288 public final class TextFieldKt {
Siyamed Sinirc2e55592020-06-09 09:37:23 -0700289 method @androidx.compose.Composable public static void FilledTextField-Vmoa5zc(androidx.ui.input.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.ui.input.TextFieldValue,kotlin.Unit> onValueChange, kotlin.jvm.functions.Function0<kotlin.Unit> label, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle textStyle = currentTextStyle(), kotlin.jvm.functions.Function0<kotlin.Unit>? placeholder = null, kotlin.jvm.functions.Function0<kotlin.Unit>? leadingIcon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailingIcon = null, boolean isErrorValue = false, androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function2<? super androidx.ui.input.ImeAction,? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> _, _ -> }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long activeColor = MaterialTheme.colors.primary, long inactiveColor = MaterialTheme.colors.onSurface, long errorColor = MaterialTheme.colors.error, long backgroundColor = MaterialTheme.colors.onSurface, androidx.ui.graphics.Shape shape = MaterialTheme.shapes.small.copy(ZeroCornerSize, ZeroCornerSize));
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700290 method @androidx.compose.Composable public static void FilledTextField-o4GafH0(String value, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onValueChange, kotlin.jvm.functions.Function0<kotlin.Unit> label, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle textStyle = currentTextStyle(), kotlin.jvm.functions.Function0<kotlin.Unit>? placeholder = null, kotlin.jvm.functions.Function0<kotlin.Unit>? leadingIcon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailingIcon = null, boolean isErrorValue = false, androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function2<? super androidx.ui.input.ImeAction,? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> _, _ -> }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long activeColor = MaterialTheme.colors.primary, long inactiveColor = MaterialTheme.colors.onSurface, long errorColor = MaterialTheme.colors.error, long backgroundColor = MaterialTheme.colors.onSurface, androidx.ui.graphics.Shape shape = MaterialTheme.shapes.small.copy(ZeroCornerSize, ZeroCornerSize));
Siyamed Sinirc2e55592020-06-09 09:37:23 -0700291 method @Deprecated @androidx.compose.Composable public static void FilledTextField-u5y5QhY(androidx.ui.foundation.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.ui.foundation.TextFieldValue,kotlin.Unit> onValueChange, kotlin.jvm.functions.Function0<kotlin.Unit> label, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle textStyle = currentTextStyle(), kotlin.jvm.functions.Function0<kotlin.Unit>? placeholder = null, kotlin.jvm.functions.Function0<kotlin.Unit>? leadingIcon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailingIcon = null, boolean isErrorValue = false, androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function2<? super androidx.ui.input.ImeAction,? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> _, _ -> }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long activeColor = MaterialTheme.colors.primary, long inactiveColor = MaterialTheme.colors.onSurface, long errorColor = MaterialTheme.colors.error, long backgroundColor = MaterialTheme.colors.onSurface, androidx.ui.graphics.Shape shape = MaterialTheme.shapes.small.copy(ZeroCornerSize, ZeroCornerSize));
Anastasia Soboleva940afa22020-05-13 15:57:09 +0100292 method @androidx.compose.Composable public static void OutlinedTextField-CVdlBpA(androidx.ui.input.TextFieldValue value, kotlin.jvm.functions.Function1<? super androidx.ui.input.TextFieldValue,kotlin.Unit> onValueChange, kotlin.jvm.functions.Function0<kotlin.Unit> label, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle textStyle = currentTextStyle(), kotlin.jvm.functions.Function0<kotlin.Unit>? placeholder = null, kotlin.jvm.functions.Function0<kotlin.Unit>? leadingIcon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailingIcon = null, boolean isErrorValue = false, androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function2<? super androidx.ui.input.ImeAction,? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> _, _ -> }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long activeColor = MaterialTheme.colors.primary, long inactiveColor = MaterialTheme.colors.onSurface, long errorColor = MaterialTheme.colors.error);
293 method @androidx.compose.Composable public static void OutlinedTextField-wI6llck(String value, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onValueChange, kotlin.jvm.functions.Function0<kotlin.Unit> label, androidx.ui.core.Modifier modifier = Modifier, androidx.ui.text.TextStyle textStyle = currentTextStyle(), kotlin.jvm.functions.Function0<kotlin.Unit>? placeholder = null, kotlin.jvm.functions.Function0<kotlin.Unit>? leadingIcon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailingIcon = null, boolean isErrorValue = false, androidx.ui.input.VisualTransformation visualTransformation = VisualTransformation.None, androidx.ui.input.KeyboardType keyboardType = KeyboardType.Text, androidx.ui.input.ImeAction imeAction = ImeAction.Unspecified, kotlin.jvm.functions.Function2<? super androidx.ui.input.ImeAction,? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> _, _ -> }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> kotlin.jvm.functions.Function1<? super androidx.ui.text.SoftwareKeyboardController,kotlin.Unit> long activeColor = MaterialTheme.colors.primary, long inactiveColor = MaterialTheme.colors.onSurface, long errorColor = MaterialTheme.colors.error);
Mihai Popa936dad02020-05-21 18:40:39 +0100294 }
295
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700296 @androidx.compose.Immutable public final class Typography {
Mihai Popa936dad02020-05-21 18:40:39 +0100297 ctor public Typography(androidx.ui.text.font.FontFamily defaultFontFamily, androidx.ui.text.TextStyle h1, androidx.ui.text.TextStyle h2, androidx.ui.text.TextStyle h3, androidx.ui.text.TextStyle h4, androidx.ui.text.TextStyle h5, androidx.ui.text.TextStyle h6, androidx.ui.text.TextStyle subtitle1, androidx.ui.text.TextStyle subtitle2, androidx.ui.text.TextStyle body1, androidx.ui.text.TextStyle body2, androidx.ui.text.TextStyle button, androidx.ui.text.TextStyle caption, androidx.ui.text.TextStyle overline);
298 method public androidx.ui.text.TextStyle component1();
299 method public androidx.ui.text.TextStyle component10();
300 method public androidx.ui.text.TextStyle component11();
301 method public androidx.ui.text.TextStyle component12();
302 method public androidx.ui.text.TextStyle component13();
303 method public androidx.ui.text.TextStyle component2();
304 method public androidx.ui.text.TextStyle component3();
305 method public androidx.ui.text.TextStyle component4();
306 method public androidx.ui.text.TextStyle component5();
307 method public androidx.ui.text.TextStyle component6();
308 method public androidx.ui.text.TextStyle component7();
309 method public androidx.ui.text.TextStyle component8();
310 method public androidx.ui.text.TextStyle component9();
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700311 method @androidx.compose.Immutable public androidx.ui.material.Typography copy(androidx.ui.text.TextStyle h1, androidx.ui.text.TextStyle h2, androidx.ui.text.TextStyle h3, androidx.ui.text.TextStyle h4, androidx.ui.text.TextStyle h5, androidx.ui.text.TextStyle h6, androidx.ui.text.TextStyle subtitle1, androidx.ui.text.TextStyle subtitle2, androidx.ui.text.TextStyle body1, androidx.ui.text.TextStyle body2, androidx.ui.text.TextStyle button, androidx.ui.text.TextStyle caption, androidx.ui.text.TextStyle overline);
Mihai Popa936dad02020-05-21 18:40:39 +0100312 method public androidx.ui.text.TextStyle getBody1();
313 method public androidx.ui.text.TextStyle getBody2();
314 method public androidx.ui.text.TextStyle getButton();
315 method public androidx.ui.text.TextStyle getCaption();
316 method public androidx.ui.text.TextStyle getH1();
317 method public androidx.ui.text.TextStyle getH2();
318 method public androidx.ui.text.TextStyle getH3();
319 method public androidx.ui.text.TextStyle getH4();
320 method public androidx.ui.text.TextStyle getH5();
321 method public androidx.ui.text.TextStyle getH6();
322 method public androidx.ui.text.TextStyle getOverline();
323 method public androidx.ui.text.TextStyle getSubtitle1();
324 method public androidx.ui.text.TextStyle getSubtitle2();
325 }
326
327 public final class TypographyKt {
328 }
329
330}
331
332package androidx.ui.material.internal {
333
334 public final class StateDraggableKt {
335 }
336
337}
338
339package androidx.ui.material.ripple {
340
Louis Pullen-Freilich5f47f782020-05-21 14:45:05 +0100341 public final class RippleAnimationKt {
Mihai Popa936dad02020-05-21 18:40:39 +0100342 }
343
Louis Pullen-Freilich5f47f782020-05-21 14:45:05 +0100344 @androidx.compose.Stable public final class RippleIndication implements androidx.ui.foundation.Indication {
Mihai Popa936dad02020-05-21 18:40:39 +0100345 method public androidx.ui.foundation.IndicationInstance createInstance();
346 }
347
348 public final class RippleIndicationKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700349 method @androidx.compose.Composable public static androidx.ui.material.ripple.RippleIndication RippleIndication-XC6LiZk(boolean bounded = true, androidx.ui.unit.Dp? radius = null, long color = Color.Unset);
Mihai Popa936dad02020-05-21 18:40:39 +0100350 }
351
352 public final class RippleKt {
Louis Pullen-Freilich5f47f782020-05-21 14:45:05 +0100353 method @Deprecated public static androidx.ui.core.Modifier ripple-Eb40wiw(androidx.ui.core.Modifier, boolean bounded = true, androidx.ui.unit.Dp? radius = null, long color = Color.Unset, boolean enabled = true, androidx.animation.AnimationClockObservable? clock = null);
Mihai Popa936dad02020-05-21 18:40:39 +0100354 }
355
Louis Pullen-Freilich5f47f782020-05-21 14:45:05 +0100356 public interface RippleOpacity {
357 method public float opacityForInteraction(androidx.ui.foundation.Interaction interaction);
358 }
359
360 public interface RippleTheme {
361 method @androidx.compose.Composable public long defaultColor();
362 method @androidx.compose.Composable public androidx.ui.material.ripple.RippleOpacity rippleOpacity();
Mihai Popa936dad02020-05-21 18:40:39 +0100363 }
364
365 public final class RippleThemeKt {
366 method public static androidx.compose.ProvidableAmbient<androidx.ui.material.ripple.RippleTheme> getRippleThemeAmbient();
367 }
368
369}
370