[go: nahoru, domu]

blob: 847d16e413423e021dea340c7931b983786b2ef0 [file] [log] [blame]
Nick Anthonyec79ac62019-10-09 15:04:05 -04001// 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();
Nick Anthonyec79ac62019-10-09 15:04:05 -04007 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 Liutikas9291f142020-05-28 19:59:17 -070012 method @androidx.compose.Composable public static void AlertDialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit>? title = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> confirmButton, kotlin.jvm.functions.Function0<kotlin.Unit>? dismissButton = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, androidx.ui.material.AlertDialogButtonLayout buttonLayout = androidx.ui.material.AlertDialogButtonLayout.SideBySide);
Nick Anthonyec79ac62019-10-09 15:04:05 -040013 }
14
15 public final class AppBarKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070016 method @androidx.compose.Composable public static void AppBarIcon(androidx.ui.graphics.Image icon, kotlin.jvm.functions.Function0<kotlin.Unit> onClick);
17 method @androidx.compose.Composable public static <T> void BottomAppBar(androidx.ui.graphics.Color color = +themeColor({
18 return primary
Aurimas Liutikasa1fc67c2019-11-20 09:56:24 -080019}), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, androidx.ui.material.BottomAppBar.FabConfiguration? fabConfiguration = null, java.util.List<? extends T> actionData = emptyList(), kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action = {});
Aurimas Liutikas9291f142020-05-28 19:59:17 -070020 method @androidx.compose.Composable public static void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, androidx.ui.graphics.Color color = +themeColor({
21 return primary
Aurimas Liutikasa1fc67c2019-11-20 09:56:24 -080022}), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null);
Aurimas Liutikas9291f142020-05-28 19:59:17 -070023 method @androidx.compose.Composable public static <T> void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, java.util.List<? extends T> actionData, androidx.ui.graphics.Color color = +themeColor({
24 return primary
Aurimas Liutikasa1fc67c2019-11-20 09:56:24 -080025}), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
Nick Anthonyec79ac62019-10-09 15:04:05 -040026 }
27
28 public final class BottomAppBar {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -070029 field public static final androidx.ui.material.BottomAppBar INSTANCE;
Nick Anthonyec79ac62019-10-09 15:04:05 -040030 }
31
32 public static final class BottomAppBar.FabConfiguration {
33 ctor public BottomAppBar.FabConfiguration(internal androidx.ui.material.BottomAppBar.FabPosition fabPosition, internal androidx.ui.engine.geometry.Shape? cutoutShape, internal kotlin.jvm.functions.Function0<kotlin.Unit> fab);
34 method public androidx.ui.material.BottomAppBar.FabConfiguration copy(androidx.ui.material.BottomAppBar.FabPosition fabPosition, androidx.ui.engine.geometry.Shape? cutoutShape, kotlin.jvm.functions.Function0<kotlin.Unit> fab);
35 }
36
37 public enum BottomAppBar.FabPosition {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -070038 method public static androidx.ui.material.BottomAppBar.FabPosition valueOf(String name) throws java.lang.IllegalArgumentException;
39 method public static androidx.ui.material.BottomAppBar.FabPosition[] values();
Nick Anthonyec79ac62019-10-09 15:04:05 -040040 enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition Center;
41 enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition End;
42 }
43
44 public final class ButtonKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070045 method @androidx.compose.Composable public static void Button(kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle(), kotlin.jvm.functions.Function0<kotlin.Unit> children);
46 method @androidx.compose.Composable public static void Button(String text, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle());
Nick Anthonyec79ac62019-10-09 15:04:05 -040047 method public static androidx.ui.material.ButtonStyle ContainedButtonStyle(androidx.ui.graphics.Color color = +themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070048 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -040049}), androidx.ui.engine.geometry.Shape shape = +themeShape({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070050 return button
Nick Anthonyec79ac62019-10-09 15:04:05 -040051}), androidx.ui.core.Dp elevation = 2.dp, androidx.ui.graphics.Color? rippleColor = null);
52 method public static androidx.ui.material.ButtonStyle OutlinedButtonStyle(androidx.ui.foundation.shape.border.Border border = Border(+themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070053 return onSurface.copy(OutlinedStrokeOpacity)
Nick Anthonyec79ac62019-10-09 15:04:05 -040054}), 1.dp), androidx.ui.graphics.Color color = +themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070055 return surface
Nick Anthonyec79ac62019-10-09 15:04:05 -040056}), androidx.ui.engine.geometry.Shape shape = +themeShape({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070057 return button
Nick Anthonyec79ac62019-10-09 15:04:05 -040058}), androidx.ui.core.Dp elevation = 0.dp, androidx.ui.graphics.Color? contentColor = +themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070059 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -040060}));
61 method public static androidx.ui.material.ButtonStyle TextButtonStyle(androidx.ui.engine.geometry.Shape shape = +themeShape({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070062 return button
Nick Anthonyec79ac62019-10-09 15:04:05 -040063}), androidx.ui.graphics.Color? contentColor = +themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -070064 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -040065}));
66 }
67
Aurimas Liutikas9291f142020-05-28 19:59:17 -070068 @androidx.compose.Immutable public final class ButtonStyle {
Nick Anthonyec79ac62019-10-09 15:04:05 -040069 ctor public ButtonStyle(androidx.ui.graphics.Color color, androidx.ui.engine.geometry.Shape shape, androidx.ui.foundation.shape.border.Border? border, androidx.ui.core.Dp elevation, androidx.ui.layout.EdgeInsets paddings, androidx.ui.text.TextStyle? textStyle, androidx.ui.graphics.Color? rippleColor);
70 method public androidx.ui.graphics.Color component1();
71 method public androidx.ui.engine.geometry.Shape component2();
72 method public androidx.ui.foundation.shape.border.Border? component3();
73 method public androidx.ui.core.Dp component4();
74 method public androidx.ui.layout.EdgeInsets component5();
75 method public androidx.ui.text.TextStyle? component6();
76 method public androidx.ui.graphics.Color? component7();
Aurimas Liutikas9291f142020-05-28 19:59:17 -070077 method @androidx.compose.Immutable public androidx.ui.material.ButtonStyle copy(androidx.ui.graphics.Color color, androidx.ui.engine.geometry.Shape shape, androidx.ui.foundation.shape.border.Border? border, androidx.ui.core.Dp elevation, androidx.ui.layout.EdgeInsets paddings, androidx.ui.text.TextStyle? textStyle, androidx.ui.graphics.Color? rippleColor);
Nick Anthonyec79ac62019-10-09 15:04:05 -040078 method public androidx.ui.foundation.shape.border.Border? getBorder();
79 method public androidx.ui.graphics.Color getColor();
80 method public androidx.ui.core.Dp getElevation();
81 method public androidx.ui.layout.EdgeInsets getPaddings();
82 method public androidx.ui.graphics.Color? getRippleColor();
83 method public androidx.ui.engine.geometry.Shape getShape();
84 method public androidx.ui.text.TextStyle? getTextStyle();
85 }
86
87 public final class CheckboxKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -070088 method @androidx.compose.Composable public static void Checkbox(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.graphics.Color color = +themeColor({
89 return secondary
Nick Anthonyec79ac62019-10-09 15:04:05 -040090}));
Aurimas Liutikas9291f142020-05-28 19:59:17 -070091 method @androidx.compose.Composable public static void TriStateCheckbox(androidx.ui.foundation.selection.ToggleableState value, kotlin.jvm.functions.Function0<kotlin.Unit>? onClick, androidx.ui.graphics.Color color = +themeColor({
92 return secondary
Nick Anthonyec79ac62019-10-09 15:04:05 -040093}));
94 }
95
Mihai Popa814240a2019-10-11 14:18:08 +010096 public final class DataTableChildren {
97 method public void dataRow(boolean selected = false, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> children);
Aurimas Liutikas9291f142020-05-28 19:59:17 -070098 method public void dataRow(kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.String> text, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends androidx.ui.graphics.Image> icon = { return null }, boolean selected = false, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? >
Mihai Popa814240a2019-10-11 14:18:08 +010099 method public void headerRow(kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> children);
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700100 method public void headerRow(kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.String> text, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends androidx.ui.graphics.Image> icon = { return null }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? >
Nick Anthonyec79ac62019-10-09 15:04:05 -0400101 }
102
103 public final class DataTableKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700104 method @androidx.compose.Composable public static void DataTable(int columns, kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Boolean> numeric = { return false }, androidx.ui.core.Dp dataRowHeight = androidx.ui.material.DataTableKt.DataRowHeight, androidx.ui.core.Dp headerRowHeight = androidx.ui.material.DataTableKt.HeaderRowHeight, androidx.ui.layout.EdgeInsets cellSpacing = androidx.ui.material.DataTableKt.CellSpacing, androidx.ui.foundation.shape.border.Border border = Border(BorderColor, BorderWidth), androidx.ui.graphics.Color selectedColor = +themeColor({
105 return primary.copy(0.08)
Mihai Popa814240a2019-10-11 14:18:08 +0100106}), androidx.ui.material.DataTablePagination? pagination = null, androidx.ui.material.DataTableSorting? sorting = null, kotlin.jvm.functions.Function1<? super androidx.ui.material.DataTableChildren,kotlin.Unit> block);
107 method public static androidx.ui.material.DataTablePagination DefaultDataTablePagination(int initialPage = 0, int initialRowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage);
108 method public static androidx.ui.material.DataTableSorting DefaultDataTableSorting(Integer? initialColumn = null, boolean initialAscending = true, java.util.Set<java.lang.Integer> sortableColumns, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super java.lang.Boolean,kotlin.Unit> onSortRequest);
109 }
Nick Anthonyec79ac62019-10-09 15:04:05 -0400110
Mihai Popa814240a2019-10-11 14:18:08 +0100111 public final class DataTablePagination {
112 ctor public DataTablePagination(int page, int rowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onPageChange, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onRowsPerPageChange);
113 method public int component1();
114 method public int component2();
115 method public java.util.List<java.lang.Integer> component3();
116 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component4();
117 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component5();
118 method public androidx.ui.material.DataTablePagination copy(int page, int rowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onPageChange, kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> onRowsPerPageChange);
119 method public java.util.List<java.lang.Integer> getAvailableRowsPerPage();
120 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnPageChange();
121 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnRowsPerPageChange();
122 method public int getPage();
123 method public int getRowsPerPage();
124 }
125
126 public final class DataTableSorting {
127 ctor public DataTableSorting(Integer? column, boolean ascending, java.util.Set<java.lang.Integer> sortableColumns, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super java.lang.Boolean,kotlin.Unit> onSortChange);
128 method public Integer? component1();
129 method public boolean component2();
130 method public java.util.Set<java.lang.Integer> component3();
131 method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> component4();
132 method public androidx.ui.material.DataTableSorting copy(Integer? column, boolean ascending, java.util.Set<java.lang.Integer> sortableColumns, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super java.lang.Boolean,kotlin.Unit> onSortChange);
133 method public boolean getAscending();
134 method public Integer? getColumn();
135 method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> getOnSortChange();
136 method public java.util.Set<java.lang.Integer> getSortableColumns();
Nick Anthonyec79ac62019-10-09 15:04:05 -0400137 }
138
139 public final class DividerKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700140 method @androidx.compose.Composable public static void Divider(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = +themeColor({
141 return onSurface
Nick Anthonyec79ac62019-10-09 15:04:05 -0400142}), androidx.ui.core.Dp height = 1.dp, androidx.ui.core.Dp indent = 0.dp);
143 }
144
145 public final class DrawerKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700146 method @androidx.compose.Composable public static void BottomDrawerLayout(androidx.ui.material.DrawerState drawerState, kotlin.jvm.functions.Function1<? super androidx.ui.material.DrawerState,kotlin.Unit> onStateChange, boolean gesturesEnabled = true, kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent, kotlin.jvm.functions.Function0<kotlin.Unit> bodyContent);
147 method @androidx.compose.Composable public static void ModalDrawerLayout(androidx.ui.material.DrawerState drawerState, kotlin.jvm.functions.Function1<? super androidx.ui.material.DrawerState,kotlin.Unit> onStateChange, boolean gesturesEnabled = true, kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent, kotlin.jvm.functions.Function0<kotlin.Unit> bodyContent);
148 method @androidx.compose.Composable public static void StaticDrawer(kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent);
Nick Anthonyec79ac62019-10-09 15:04:05 -0400149 }
150
151 public enum DrawerState {
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700152 method public static androidx.ui.material.DrawerState valueOf(String name) throws java.lang.IllegalArgumentException;
153 method public static androidx.ui.material.DrawerState[] values();
Nick Anthonyec79ac62019-10-09 15:04:05 -0400154 enum_constant public static final androidx.ui.material.DrawerState Closed;
155 enum_constant public static final androidx.ui.material.DrawerState Opened;
156 }
157
158 public final class FloatingActionButtonKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700159 method @androidx.compose.Composable public static void FloatingActionButton(kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.core.Dp minSize = FabSize, androidx.ui.engine.geometry.Shape shape = androidx.ui.foundation.shape.corner.RoundedCornerShapeKt.CircleShape, androidx.ui.graphics.Color color = +themeColor({
160 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400161}), androidx.ui.core.Dp elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700162 method @androidx.compose.Composable public static void FloatingActionButton(androidx.ui.graphics.Image icon, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.engine.geometry.Shape shape = androidx.ui.foundation.shape.corner.RoundedCornerShapeKt.CircleShape, androidx.ui.graphics.Color color = +themeColor({
163 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400164}), androidx.ui.core.Dp elevation = 6.dp);
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700165 method @androidx.compose.Composable public static void FloatingActionButton(String text, androidx.ui.graphics.Image? icon = null, androidx.ui.text.TextStyle? textStyle = null, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.Color color = +themeColor({
166 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400167}), androidx.ui.core.Dp elevation = 6.dp);
168 method public static androidx.ui.core.Dp getExtendedFabHeight();
169 method public static androidx.ui.core.Dp getExtendedFabIconPadding();
170 method public static androidx.ui.core.Dp getExtendedFabTextPadding();
171 method public static androidx.ui.core.Dp getFabSize();
172 }
173
174 public final class ListItemKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700175 method @androidx.compose.Composable public static void ListItem(String text, androidx.ui.graphics.Image? icon = null, String? secondaryText = null, boolean singleLineSecondaryText = true, String? overlineText = null, String? metaText = null, kotlin.jvm.functions.Function0<kotlin.Unit>? >
176 method @androidx.compose.Composable public static void ListItem(kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit>? icon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function0<kotlin.Unit>? secondaryText = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, boolean singleLineSecondaryText = true, kotlin.jvm.functions.Function0<kotlin.Unit>? overlineText = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailing = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function0<kotlin.Unit>? >
Nick Anthonyec79ac62019-10-09 15:04:05 -0400177 }
178
179 public final class MaterialColors {
180 ctor public MaterialColors(androidx.ui.graphics.Color primary, androidx.ui.graphics.Color primaryVariant, androidx.ui.graphics.Color secondary, androidx.ui.graphics.Color secondaryVariant, androidx.ui.graphics.Color background, androidx.ui.graphics.Color surface, androidx.ui.graphics.Color error, androidx.ui.graphics.Color onPrimary, androidx.ui.graphics.Color onSecondary, androidx.ui.graphics.Color onBackground, androidx.ui.graphics.Color onSurface, androidx.ui.graphics.Color onError);
181 ctor public MaterialColors();
182 method public androidx.ui.graphics.Color component1();
183 method public androidx.ui.graphics.Color component10();
184 method public androidx.ui.graphics.Color component11();
185 method public androidx.ui.graphics.Color component12();
186 method public androidx.ui.graphics.Color component2();
187 method public androidx.ui.graphics.Color component3();
188 method public androidx.ui.graphics.Color component4();
189 method public androidx.ui.graphics.Color component5();
190 method public androidx.ui.graphics.Color component6();
191 method public androidx.ui.graphics.Color component7();
192 method public androidx.ui.graphics.Color component8();
193 method public androidx.ui.graphics.Color component9();
194 method public androidx.ui.material.MaterialColors copy(androidx.ui.graphics.Color primary, androidx.ui.graphics.Color primaryVariant, androidx.ui.graphics.Color secondary, androidx.ui.graphics.Color secondaryVariant, androidx.ui.graphics.Color background, androidx.ui.graphics.Color surface, androidx.ui.graphics.Color error, androidx.ui.graphics.Color onPrimary, androidx.ui.graphics.Color onSecondary, androidx.ui.graphics.Color onBackground, androidx.ui.graphics.Color onSurface, androidx.ui.graphics.Color onError);
195 method public androidx.ui.graphics.Color getBackground();
196 method public androidx.ui.graphics.Color getError();
197 method public androidx.ui.graphics.Color getOnBackground();
198 method public androidx.ui.graphics.Color getOnError();
199 method public androidx.ui.graphics.Color getOnPrimary();
200 method public androidx.ui.graphics.Color getOnSecondary();
201 method public androidx.ui.graphics.Color getOnSurface();
202 method public androidx.ui.graphics.Color getPrimary();
203 method public androidx.ui.graphics.Color getPrimaryVariant();
204 method public androidx.ui.graphics.Color getSecondary();
205 method public androidx.ui.graphics.Color getSecondaryVariant();
206 method public androidx.ui.graphics.Color getSurface();
207 }
208
209 public final class MaterialThemeKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700210 method @androidx.compose.Composable public static void MaterialShapeTheme(kotlin.jvm.functions.Function0<kotlin.Unit> children);
211 method @androidx.compose.Composable public static void MaterialTheme(androidx.ui.material.MaterialColors colors = androidx.ui.material.MaterialColors(), androidx.ui.material.MaterialTypography typography = androidx.ui.material.MaterialTypography(), kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthonyec79ac62019-10-09 15:04:05 -0400212 method public static androidx.compose.Ambient<androidx.ui.material.MaterialColors> getColors();
213 method public static androidx.compose.Ambient<androidx.ui.material.Shapes> getCurrentShapeAmbient();
214 method public static androidx.compose.Ambient<androidx.ui.material.MaterialTypography> getTypography();
215 method @CheckResult(suggest="+") public static androidx.compose.Effect<androidx.ui.graphics.Color> themeColor(kotlin.jvm.functions.Function1<? super androidx.ui.material.MaterialColors,androidx.ui.graphics.Color> choosingBlock);
216 method @CheckResult(suggest="+") public static androidx.compose.Effect<androidx.ui.engine.geometry.Shape> themeShape(kotlin.jvm.functions.Function1<? super androidx.ui.material.Shapes,? extends androidx.ui.engine.geometry.Shape> choosingBlock);
217 method @CheckResult(suggest="+") public static androidx.compose.Effect<androidx.ui.text.TextStyle> themeTextStyle(kotlin.jvm.functions.Function1<? super androidx.ui.material.MaterialTypography,androidx.ui.text.TextStyle> choosingBlock);
218 }
219
220 public final class MaterialTypography {
221 ctor public MaterialTypography(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);
222 ctor public MaterialTypography();
223 method public androidx.ui.text.TextStyle component1();
224 method public androidx.ui.text.TextStyle component10();
225 method public androidx.ui.text.TextStyle component11();
226 method public androidx.ui.text.TextStyle component12();
227 method public androidx.ui.text.TextStyle component13();
228 method public androidx.ui.text.TextStyle component2();
229 method public androidx.ui.text.TextStyle component3();
230 method public androidx.ui.text.TextStyle component4();
231 method public androidx.ui.text.TextStyle component5();
232 method public androidx.ui.text.TextStyle component6();
233 method public androidx.ui.text.TextStyle component7();
234 method public androidx.ui.text.TextStyle component8();
235 method public androidx.ui.text.TextStyle component9();
236 method public androidx.ui.material.MaterialTypography 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);
237 method public androidx.ui.text.TextStyle getBody1();
238 method public androidx.ui.text.TextStyle getBody2();
239 method public androidx.ui.text.TextStyle getButton();
240 method public androidx.ui.text.TextStyle getCaption();
241 method public androidx.ui.text.TextStyle getH1();
242 method public androidx.ui.text.TextStyle getH2();
243 method public androidx.ui.text.TextStyle getH3();
244 method public androidx.ui.text.TextStyle getH4();
245 method public androidx.ui.text.TextStyle getH5();
246 method public androidx.ui.text.TextStyle getH6();
247 method public androidx.ui.text.TextStyle getOverline();
248 method public androidx.ui.text.TextStyle getSubtitle1();
249 method public androidx.ui.text.TextStyle getSubtitle2();
250 }
251
252 public final class ProgressIndicatorKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700253 method @androidx.compose.Composable public static void CircularProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = +themeColor({
254 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400255}));
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700256 method @androidx.compose.Composable public static void CircularProgressIndicator(androidx.ui.graphics.Color color = +themeColor({
257 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400258}));
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700259 method @androidx.compose.Composable public static void LinearProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = +themeColor({
260 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400261}));
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700262 method @androidx.compose.Composable public static void LinearProgressIndicator(androidx.ui.graphics.Color color = +themeColor({
263 return primary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400264}));
265 }
266
267 public final class RadioButtonKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700268 method @androidx.compose.Composable public static void RadioButton(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit>? onSelect, androidx.ui.graphics.Color color = +themeColor({
269 return secondary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400270}));
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700271 method @androidx.compose.Composable public static void RadioGroup(kotlin.jvm.functions.Function1<? super androidx.ui.material.RadioGroupScope,kotlin.Unit> children);
272 method @androidx.compose.Composable public static void RadioGroup(java.util.List<java.lang.String> options, String? selectedOption, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> onSelectedChange, androidx.ui.graphics.Color radioColor = +themeColor({
273 return secondary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400274}), androidx.ui.text.TextStyle? textStyle = null);
275 }
276
277 public final class RadioGroupScope {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700278 method @androidx.compose.Composable public void RadioGroupItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, kotlin.jvm.functions.Function0<kotlin.Unit> children);
279 method @androidx.compose.Composable public void RadioGroupTextItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, String text, androidx.ui.graphics.Color radioColor = +themeColor({
280 return secondary
Nick Anthonyec79ac62019-10-09 15:04:05 -0400281}), androidx.ui.text.TextStyle? textStyle = null);
282 }
283
284 public final class Shapes {
285 ctor public Shapes(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card);
286 method public androidx.ui.engine.geometry.Shape component1();
287 method public androidx.ui.engine.geometry.Shape component2();
288 method public androidx.ui.material.Shapes copy(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card);
289 method public androidx.ui.engine.geometry.Shape getButton();
290 method public androidx.ui.engine.geometry.Shape getCard();
291 }
292
293 public final class SwitchKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700294 method @androidx.compose.Composable public static void Switch(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.graphics.Color color = +themeColor({
295 return secondaryVariant
Nick Anthonyec79ac62019-10-09 15:04:05 -0400296}));
297 }
298
299 public final class TabKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700300 method @androidx.compose.Composable public static void Tab(String? text = null, androidx.ui.graphics.Image? icon = null, boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected);
301 method @androidx.compose.Composable public static <T> void TabRow(java.util.List<? extends T> items, int selectedIndex, boolean scrollable = false, kotlin.jvm.functions.Function1<? super java.util.List<androidx.ui.material.TabRow.TabPosition>,kotlin.Unit> indicatorContainer = { tabPositions -> TabRow.IndicatorContainer(tabPositions, selectedIndex, {
Nick Anthonyec79ac62019-10-09 15:04:05 -0400302 TabRow.Indicator()
303}) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab);
304 }
305
306 public final class TabRow {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700307 method @androidx.compose.Composable public void Indicator();
308 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 -0700309 field public static final androidx.ui.material.TabRow INSTANCE;
Nick Anthonyec79ac62019-10-09 15:04:05 -0400310 }
311
312 public static final class TabRow.TabPosition {
313 method public androidx.ui.core.IntPx component1();
314 method public androidx.ui.core.IntPx component2();
315 method public androidx.ui.material.TabRow.TabPosition copy(androidx.ui.core.IntPx left, androidx.ui.core.IntPx width);
316 method public androidx.ui.core.IntPx getLeft();
317 method public androidx.ui.core.IntPx getRight();
318 method public androidx.ui.core.IntPx getWidth();
319 property public final androidx.ui.core.IntPx right;
320 }
321
322 public final class TextKt {
Nick Anthonyec79ac62019-10-09 15:04:05 -0400323 method public static androidx.compose.Effect<androidx.ui.graphics.Color> textColorForBackground(androidx.ui.graphics.Color background);
324 method public static androidx.ui.text.TextStyle withOpacity(androidx.ui.text.TextStyle, @FloatRange(from=0.0, to=1.0) float opacity);
325 }
326
327}
328
329package androidx.ui.material.internal {
330
Matvei Malkov4b88db82019-10-11 13:10:00 +0100331 public final class StateDraggableKt {
Nick Anthonyec79ac62019-10-09 15:04:05 -0400332 }
333
334}
335
336package androidx.ui.material.ripple {
337
338 public final class DefaultRippleEffectFactory implements androidx.ui.material.ripple.RippleEffectFactory {
339 method public androidx.ui.material.ripple.RippleEffect create(androidx.ui.core.LayoutCoordinates coordinates, androidx.ui.core.PxPosition startPosition, androidx.ui.core.Density density, androidx.ui.core.Dp? radius, boolean clipped, kotlin.jvm.functions.Function0<kotlin.Unit> requestRedraw, kotlin.jvm.functions.Function1<? super androidx.ui.material.ripple.RippleEffect,kotlin.Unit> onAnimationFinished);
Aurimas Liutikasa47310e2020-06-22 15:11:35 -0700340 field public static final androidx.ui.material.ripple.DefaultRippleEffectFactory INSTANCE;
Nick Anthonyec79ac62019-10-09 15:04:05 -0400341 }
342
343 public final class DefaultRippleEffectKt {
Nick Anthonyec79ac62019-10-09 15:04:05 -0400344 }
345
346 public interface RippleEffect {
347 method public void dispose();
348 method public void draw(androidx.ui.graphics.Canvas canvas, androidx.ui.graphics.Color color);
349 method public void finish(boolean canceled);
350 }
351
352 public interface RippleEffectFactory {
353 method public androidx.ui.material.ripple.RippleEffect create(androidx.ui.core.LayoutCoordinates coordinates, androidx.ui.core.PxPosition startPosition, androidx.ui.core.Density density, androidx.ui.core.Dp? radius, boolean clipped, kotlin.jvm.functions.Function0<kotlin.Unit> requestRedraw, kotlin.jvm.functions.Function1<? super androidx.ui.material.ripple.RippleEffect,kotlin.Unit> onAnimationFinished);
354 }
355
356 public final class RippleKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700357 method @androidx.compose.Composable public static void Ripple(boolean bounded, androidx.ui.core.Dp? radius = null, androidx.ui.graphics.Color? color = null, boolean enabled = true, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nick Anthonyec79ac62019-10-09 15:04:05 -0400358 }
359
360 public final class RippleTheme {
361 ctor public RippleTheme(androidx.ui.material.ripple.RippleEffectFactory factory, androidx.compose.Effect<androidx.ui.graphics.Color> defaultColor, androidx.compose.Effect<java.lang.Float> opacity);
362 method public androidx.ui.material.ripple.RippleEffectFactory component1();
363 method public androidx.compose.Effect<androidx.ui.graphics.Color> component2();
364 method public androidx.compose.Effect<java.lang.Float> component3();
365 method public androidx.ui.material.ripple.RippleTheme copy(androidx.ui.material.ripple.RippleEffectFactory factory, androidx.compose.Effect<androidx.ui.graphics.Color> defaultColor, androidx.compose.Effect<java.lang.Float> opacity);
366 method public androidx.compose.Effect<androidx.ui.graphics.Color> getDefaultColor();
367 method public androidx.ui.material.ripple.RippleEffectFactory getFactory();
368 method public androidx.compose.Effect<java.lang.Float> getOpacity();
369 }
370
371 public final class RippleThemeKt {
Nick Anthonyec79ac62019-10-09 15:04:05 -0400372 method public static androidx.compose.Ambient<androidx.ui.material.ripple.RippleTheme> getCurrentRippleTheme();
373 }
374
375}
376
377package androidx.ui.material.surface {
378
379 public final class CardKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700380 method @androidx.compose.Composable public static void Card(androidx.ui.engine.geometry.Shape shape = +themeShape({
381 return card
Nick Anthonyec79ac62019-10-09 15:04:05 -0400382}), androidx.ui.graphics.Color color = +themeColor({
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700383 return surface
Nick Anthonyec79ac62019-10-09 15:04:05 -0400384}), androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 1.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
385 }
386
387 public final class SurfaceKt {
Aurimas Liutikas9291f142020-05-28 19:59:17 -0700388 method @androidx.compose.Composable public static void Surface(androidx.ui.engine.geometry.Shape shape = androidx.ui.foundation.shape.RectangleShapeKt.RectangleShape, androidx.ui.graphics.Color color = +themeColor({
389 return surface
Nick Anthonyec79ac62019-10-09 15:04:05 -0400390}), androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
391 method public static androidx.compose.Ambient<androidx.ui.graphics.Color> getCurrentBackground();
392 }
393
394}
395