[go: nahoru, domu]

blob: f338f22a5e21793d71fa3069ac71fdbfed08de2e [file] [log] [blame]
Jeff Gaston5ccafb92019-01-28 19:50:25 -05001// Signature format: 3.0
Clara Bayarri893acf52019-01-14 17:23:49 +00002package androidx.ui.material {
3
Mihai Burlaciuc05d51de2019-08-07 14:40:39 +01004 public enum AlertDialogButtonLayout {
5 enum_constant public static final androidx.ui.material.AlertDialogButtonLayout SideBySide;
6 enum_constant public static final androidx.ui.material.AlertDialogButtonLayout Stacked;
7 }
8
9 public final class AlertDialogKt {
10 ctor public AlertDialogKt();
11 method 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 = AlertDialogButtonLayout.SideBySide);
12 }
13
Clara Bayarrifa6262c2019-05-14 16:51:47 +010014 public final class AppBarKt {
15 ctor public AppBarKt();
Nader Jawadad983532019-08-29 16:27:37 -070016 method public static void AppBarIcon(androidx.ui.graphics.Image icon, kotlin.jvm.functions.Function0<kotlin.Unit> onClick);
Louis Pullen-Freilich8828d9b2019-07-02 21:11:10 +010017 method public static <T> void BottomAppBar(androidx.ui.graphics.Color color = +themeColor({
Clara Bayarrifa6262c2019-05-14 16:51:47 +010018 primary
Louis Pullen-Freilichc78d3f72019-10-02 19:13:18 +010019}), 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 = {});
20 method public static void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, androidx.ui.graphics.Color color = +themeColor({
Clara Bayarriedcdd8c2019-05-31 18:03:28 +010021 primary
Louis Pullen-Freilichc78d3f72019-10-02 19:13:18 +010022}), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null);
23 method 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 primary
25}), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
Louis Pullen-Freilich8828d9b2019-07-02 21:11:10 +010026 }
27
28 public final class BottomAppBar {
29 field public static final androidx.ui.material.BottomAppBar! INSTANCE;
30 }
31
Louis Pullen-Freilichc11605e2019-08-22 16:33:38 +010032 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
Louis Pullen-Freilich8828d9b2019-07-02 21:11:10 +010037 public enum BottomAppBar.FabPosition {
38 enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition Center;
Louis Pullen-Freilich8828d9b2019-07-02 21:11:10 +010039 enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition End;
Clara Bayarrifa6262c2019-05-14 16:51:47 +010040 }
41
Andrey Kulikovd4f91b32019-03-25 19:02:09 +000042 public final class ButtonKt {
43 ctor public ButtonKt();
Andrey Kulikov401f7552019-07-31 19:58:06 +010044 method public static void Button(kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle(), kotlin.jvm.functions.Function0<kotlin.Unit> children);
45 method public static void Button(String text, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle());
46 method public static androidx.ui.material.ButtonStyle ContainedButtonStyle(androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +010047 primary
Andrey Kulikov401f7552019-07-31 19:58:06 +010048}), androidx.ui.engine.geometry.Shape shape = +themeShape({
Andrey Kulikov628c6e22019-05-30 13:50:37 +010049 button
Andrey Kulikovae569f32019-10-01 13:11:59 +010050}), androidx.ui.core.Dp elevation = 2.dp, androidx.ui.graphics.Color? rippleColor = null);
Andrey Kulikov401f7552019-07-31 19:58:06 +010051 method public static androidx.ui.material.ButtonStyle OutlinedButtonStyle(androidx.ui.foundation.shape.border.Border border = Border(+themeColor({
52 onSurface.copy(OutlinedStrokeOpacity)
53}), 1.dp), androidx.ui.graphics.Color color = +themeColor({
54 surface
55}), androidx.ui.engine.geometry.Shape shape = +themeShape({
56 button
Andrey Kulikovae569f32019-10-01 13:11:59 +010057}), androidx.ui.core.Dp elevation = 0.dp, androidx.ui.graphics.Color? contentColor = +themeColor({
58 primary
59}));
Andrey Kulikov401f7552019-07-31 19:58:06 +010060 method public static androidx.ui.material.ButtonStyle TextButtonStyle(androidx.ui.engine.geometry.Shape shape = +themeShape({
61 button
Andrey Kulikovae569f32019-10-01 13:11:59 +010062}), androidx.ui.graphics.Color? contentColor = +themeColor({
63 primary
Andrey Kulikov401f7552019-07-31 19:58:06 +010064}));
65 }
66
67 public final class ButtonStyle {
Andrey Kulikovae569f32019-10-01 13:11:59 +010068 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);
Andrey Kulikov401f7552019-07-31 19:58:06 +010069 method public androidx.ui.graphics.Color component1();
70 method public androidx.ui.engine.geometry.Shape component2();
71 method public androidx.ui.foundation.shape.border.Border? component3();
72 method public androidx.ui.core.Dp component4();
73 method public androidx.ui.layout.EdgeInsets component5();
74 method public androidx.ui.text.TextStyle? component6();
Andrey Kulikovae569f32019-10-01 13:11:59 +010075 method public androidx.ui.graphics.Color? component7();
76 method 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);
Andrey Kulikov401f7552019-07-31 19:58:06 +010077 method public androidx.ui.foundation.shape.border.Border? getBorder();
78 method public androidx.ui.graphics.Color getColor();
79 method public androidx.ui.core.Dp getElevation();
80 method public androidx.ui.layout.EdgeInsets getPaddings();
Andrey Kulikovae569f32019-10-01 13:11:59 +010081 method public androidx.ui.graphics.Color? getRippleColor();
Andrey Kulikov401f7552019-07-31 19:58:06 +010082 method public androidx.ui.engine.geometry.Shape getShape();
83 method public androidx.ui.text.TextStyle? getTextStyle();
Andrey Kulikovd4f91b32019-03-25 19:02:09 +000084 }
85
Clara Bayarri893acf52019-01-14 17:23:49 +000086 public final class CheckboxKt {
87 ctor public CheckboxKt();
Matvei Malkov9ba187a2019-05-28 16:44:43 -070088 method public static void Checkbox(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +010089 secondary
90}));
Clara Bayarri0e00c9642019-07-02 13:08:40 +010091 method public static void TriStateCheckbox(androidx.ui.foundation.selection.ToggleableState value, kotlin.jvm.functions.Function0<kotlin.Unit>? onClick, androidx.ui.graphics.Color color = +themeColor({
Matvei Malkov9ba187a2019-05-28 16:44:43 -070092 secondary
93}));
Clara Bayarri893acf52019-01-14 17:23:49 +000094 }
95
Calin Tataru377a6682019-09-04 13:25:25 +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);
98 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 = { null }, boolean selected = false, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? >
99 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);
100 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 = { null }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? >
Calin Tatarud7834482019-08-15 17:18:27 +0100101 }
102
103 public final class DataTableKt {
104 ctor public DataTableKt();
Calin Tataru377a6682019-09-04 13:25:25 +0100105 method public static void DataTable(int columns, kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Boolean> numeric = { 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({
Calin Tatarud7834482019-08-15 17:18:27 +0100106 primary.copy(0.08)
Calin Tataru377a6682019-09-04 13:25:25 +0100107}), androidx.ui.material.DataTablePagination? pagination = null, androidx.ui.material.DataTableSorting? sorting = null, kotlin.jvm.functions.Function1<? super androidx.ui.material.DataTableChildren,kotlin.Unit> block);
Calin Tataru3d382002019-09-18 12:54:32 +0100108 method public static androidx.ui.material.DataTablePagination DefaultDataTablePagination(int initialPage = 0, int initialRowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage);
Calin Tataru33e3eef2019-09-20 15:54:27 +0100109 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);
Calin Tataru3d382002019-09-18 12:54:32 +0100110 }
111
112 public final class DataTablePagination {
113 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);
114 method public int component1();
115 method public int component2();
116 method public java.util.List<java.lang.Integer> component3();
117 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component4();
118 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component5();
119 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);
120 method public java.util.List<java.lang.Integer> getAvailableRowsPerPage();
121 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnPageChange();
122 method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnRowsPerPageChange();
123 method public int getPage();
124 method public int getRowsPerPage();
Calin Tatarud7834482019-08-15 17:18:27 +0100125 }
126
Calin Tataru33e3eef2019-09-20 15:54:27 +0100127 public final class DataTableSorting {
128 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);
129 method public Integer? component1();
130 method public boolean component2();
131 method public java.util.Set<java.lang.Integer> component3();
132 method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> component4();
133 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);
134 method public boolean getAscending();
135 method public Integer? getColumn();
136 method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> getOnSortChange();
137 method public java.util.Set<java.lang.Integer> getSortableColumns();
138 }
139
Matvei Malkovd33df452019-04-08 18:51:00 +0100140 public final class DividerKt {
141 ctor public DividerKt();
Adam Powell384bbaa2019-07-11 14:44:14 -0700142 method public static void Divider(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100143 onSurface
144}), androidx.ui.core.Dp height = 1.dp, androidx.ui.core.Dp indent = 0.dp);
Matvei Malkovd33df452019-04-08 18:51:00 +0100145 }
146
Matvei Malkov02094232019-06-12 16:04:20 +0100147 public final class DrawerKt {
148 ctor public DrawerKt();
Matvei Malkov6a4796a2019-08-23 17:31:32 +0100149 method 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);
150 method 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);
Matvei Malkov02094232019-06-12 16:04:20 +0100151 method public static void StaticDrawer(kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent);
152 }
153
154 public enum DrawerState {
155 enum_constant public static final androidx.ui.material.DrawerState Closed;
156 enum_constant public static final androidx.ui.material.DrawerState Opened;
157 }
158
Andrey Kulikov857d50e2019-04-10 17:54:38 +0100159 public final class FloatingActionButtonKt {
160 ctor public FloatingActionButtonKt();
Andrey Kulikov4423eb22019-07-01 20:46:54 +0100161 method public static void FloatingActionButton(kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.core.Dp minSize = FabSize, androidx.ui.engine.geometry.Shape shape = CircleShape, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100162 primary
Andrey Kulikov2764fd32019-08-13 18:35:02 +0100163}), androidx.ui.core.Dp elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Nader Jawadad983532019-08-29 16:27:37 -0700164 method public static void FloatingActionButton(androidx.ui.graphics.Image icon, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.engine.geometry.Shape shape = CircleShape, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100165 primary
Andrey Kulikov2764fd32019-08-13 18:35:02 +0100166}), androidx.ui.core.Dp elevation = 6.dp);
Nader Jawadad983532019-08-29 16:27:37 -0700167 method 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({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100168 primary
Andrey Kulikov2764fd32019-08-13 18:35:02 +0100169}), androidx.ui.core.Dp elevation = 6.dp);
Andrey Kulikov857d50e2019-04-10 17:54:38 +0100170 method public static androidx.ui.core.Dp getExtendedFabHeight();
171 method public static androidx.ui.core.Dp getExtendedFabIconPadding();
172 method public static androidx.ui.core.Dp getExtendedFabTextPadding();
173 method public static androidx.ui.core.Dp getFabSize();
174 }
175
Mihai Popa4395bd82019-07-24 11:08:10 +0100176 public final class ListItemKt {
177 ctor public ListItemKt();
178 method 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>? >
179 method 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>? >
180 }
181
Clara Bayarri893acf52019-01-14 17:23:49 +0000182 public final class MaterialColors {
George Mounta3145782019-05-02 10:08:03 -0700183 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);
Clara Bayarri893acf52019-01-14 17:23:49 +0000184 ctor public MaterialColors();
George Mounta3145782019-05-02 10:08:03 -0700185 method public androidx.ui.graphics.Color component1();
186 method public androidx.ui.graphics.Color component10();
187 method public androidx.ui.graphics.Color component11();
188 method public androidx.ui.graphics.Color component12();
189 method public androidx.ui.graphics.Color component2();
190 method public androidx.ui.graphics.Color component3();
191 method public androidx.ui.graphics.Color component4();
192 method public androidx.ui.graphics.Color component5();
193 method public androidx.ui.graphics.Color component6();
194 method public androidx.ui.graphics.Color component7();
195 method public androidx.ui.graphics.Color component8();
196 method public androidx.ui.graphics.Color component9();
197 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);
198 method public androidx.ui.graphics.Color getBackground();
199 method public androidx.ui.graphics.Color getError();
200 method public androidx.ui.graphics.Color getOnBackground();
201 method public androidx.ui.graphics.Color getOnError();
202 method public androidx.ui.graphics.Color getOnPrimary();
203 method public androidx.ui.graphics.Color getOnSecondary();
204 method public androidx.ui.graphics.Color getOnSurface();
205 method public androidx.ui.graphics.Color getPrimary();
206 method public androidx.ui.graphics.Color getPrimaryVariant();
207 method public androidx.ui.graphics.Color getSecondary();
208 method public androidx.ui.graphics.Color getSecondaryVariant();
209 method public androidx.ui.graphics.Color getSurface();
Clara Bayarri893acf52019-01-14 17:23:49 +0000210 }
211
Clara Bayarri893acf52019-01-14 17:23:49 +0000212 public final class MaterialThemeKt {
213 ctor public MaterialThemeKt();
Chris Michael303e9162019-09-23 09:00:13 +0100214 method public static void MaterialShapeTheme(kotlin.jvm.functions.Function0<kotlin.Unit> children);
Andrey Kulikovd4f91b32019-03-25 19:02:09 +0000215 method 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);
Leland Richardson6cab6e32019-05-02 11:52:13 -0700216 method public static androidx.compose.Ambient<androidx.ui.material.MaterialColors> getColors();
217 method public static androidx.compose.Ambient<androidx.ui.material.Shapes> getCurrentShapeAmbient();
218 method public static androidx.compose.Ambient<androidx.ui.material.MaterialTypography> getTypography();
Jeff Gaston6edd4a42019-04-12 20:19:05 -0400219 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);
Andrey Kulikov4423eb22019-07-01 20:46:54 +0100220 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);
Siyamed Sinirff51df92019-07-02 15:35:20 -0700221 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);
Clara Bayarri893acf52019-01-14 17:23:49 +0000222 }
223
224 public final class MaterialTypography {
Siyamed Sinirff51df92019-07-02 15:35:20 -0700225 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);
Clara Bayarri893acf52019-01-14 17:23:49 +0000226 ctor public MaterialTypography();
Siyamed Sinirff51df92019-07-02 15:35:20 -0700227 method public androidx.ui.text.TextStyle component1();
228 method public androidx.ui.text.TextStyle component10();
229 method public androidx.ui.text.TextStyle component11();
230 method public androidx.ui.text.TextStyle component12();
231 method public androidx.ui.text.TextStyle component13();
232 method public androidx.ui.text.TextStyle component2();
233 method public androidx.ui.text.TextStyle component3();
234 method public androidx.ui.text.TextStyle component4();
235 method public androidx.ui.text.TextStyle component5();
236 method public androidx.ui.text.TextStyle component6();
237 method public androidx.ui.text.TextStyle component7();
238 method public androidx.ui.text.TextStyle component8();
239 method public androidx.ui.text.TextStyle component9();
240 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);
241 method public androidx.ui.text.TextStyle getBody1();
242 method public androidx.ui.text.TextStyle getBody2();
243 method public androidx.ui.text.TextStyle getButton();
244 method public androidx.ui.text.TextStyle getCaption();
245 method public androidx.ui.text.TextStyle getH1();
246 method public androidx.ui.text.TextStyle getH2();
247 method public androidx.ui.text.TextStyle getH3();
248 method public androidx.ui.text.TextStyle getH4();
249 method public androidx.ui.text.TextStyle getH5();
250 method public androidx.ui.text.TextStyle getH6();
251 method public androidx.ui.text.TextStyle getOverline();
252 method public androidx.ui.text.TextStyle getSubtitle1();
253 method public androidx.ui.text.TextStyle getSubtitle2();
Clara Bayarri893acf52019-01-14 17:23:49 +0000254 }
255
Louis Pullen-Freilicha75d7042019-06-25 18:32:49 +0100256 public final class ProgressIndicatorKt {
257 ctor public ProgressIndicatorKt();
258 method public static void CircularProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = +themeColor({
259 primary
260}));
261 method public static void CircularProgressIndicator(androidx.ui.graphics.Color color = +themeColor({
262 primary
263}));
264 method public static void LinearProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = +themeColor({
265 primary
266}));
267 method public static void LinearProgressIndicator(androidx.ui.graphics.Color color = +themeColor({
268 primary
269}));
270 }
271
Matvei Malkov9aa26d32019-02-18 12:41:52 +0000272 public final class RadioButtonKt {
273 ctor public RadioButtonKt();
Matvei Malkov516fa2a2019-05-23 19:21:39 -0700274 method public static void RadioButton(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit>? onSelect, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100275 secondary
276}));
Matvei Malkov7f204de2019-04-04 17:31:57 +0100277 method public static void RadioGroup(kotlin.jvm.functions.Function1<? super androidx.ui.material.RadioGroupScope,kotlin.Unit> children);
Matvei Malkov516fa2a2019-05-23 19:21:39 -0700278 method 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({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100279 secondary
Siyamed Sinirff51df92019-07-02 15:35:20 -0700280}), androidx.ui.text.TextStyle? textStyle = null);
Matvei Malkov9aa26d32019-02-18 12:41:52 +0000281 }
282
Matvei Malkovbf7f55a2019-03-18 16:19:33 +0000283 public final class RadioGroupScope {
Matvei Malkov516fa2a2019-05-23 19:21:39 -0700284 method public void RadioGroupItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, kotlin.jvm.functions.Function0<kotlin.Unit> children);
285 method public void RadioGroupTextItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, String text, androidx.ui.graphics.Color radioColor = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100286 secondary
Siyamed Sinirff51df92019-07-02 15:35:20 -0700287}), androidx.ui.text.TextStyle? textStyle = null);
Matvei Malkov9aa26d32019-02-18 12:41:52 +0000288 }
289
Andrey Kulikovd4f91b32019-03-25 19:02:09 +0000290 public final class Shapes {
Chris Michael303e9162019-09-23 09:00:13 +0100291 ctor public Shapes(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card);
Andrey Kulikov4423eb22019-07-01 20:46:54 +0100292 method public androidx.ui.engine.geometry.Shape component1();
Chris Michael303e9162019-09-23 09:00:13 +0100293 method public androidx.ui.engine.geometry.Shape component2();
294 method public androidx.ui.material.Shapes copy(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card);
Andrey Kulikov4423eb22019-07-01 20:46:54 +0100295 method public androidx.ui.engine.geometry.Shape getButton();
Chris Michael303e9162019-09-23 09:00:13 +0100296 method public androidx.ui.engine.geometry.Shape getCard();
Andrey Kulikovd4f91b32019-03-25 19:02:09 +0000297 }
298
Matvei Malkov9aa26d32019-02-18 12:41:52 +0000299 public final class SwitchKt {
300 ctor public SwitchKt();
Matvei Malkov8429d272019-05-23 19:39:11 -0700301 method public static void Switch(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100302 secondaryVariant
303}));
Matvei Malkov9aa26d32019-02-18 12:41:52 +0000304 }
305
Louis Pullen-Freilichf9515b12019-06-03 19:52:29 +0100306 public final class TabKt {
307 ctor public TabKt();
Nader Jawadad983532019-08-29 16:27:37 -0700308 method public static void Tab(String? text = null, androidx.ui.graphics.Image? icon = null, boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected);
Louis Pullen-Freilichb3f8bce2019-09-04 18:50:22 +0100309 method 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, {
Louis Pullen-Freilich14bbf892019-07-16 17:08:25 +0100310 TabRow.Indicator()
311}) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab);
312 }
313
314 public final class TabRow {
315 method public void Indicator();
316 method public void IndicatorContainer(java.util.List<androidx.ui.material.TabRow.TabPosition> tabPositions, int selectedIndex, kotlin.jvm.functions.Function0<kotlin.Unit> indicator);
317 field public static final androidx.ui.material.TabRow! INSTANCE;
318 }
319
320 public static final class TabRow.TabPosition {
Louis Pullen-Freilichb3f8bce2019-09-04 18:50:22 +0100321 method public androidx.ui.core.IntPx component1();
322 method public androidx.ui.core.IntPx component2();
323 method public androidx.ui.material.TabRow.TabPosition copy(androidx.ui.core.IntPx left, androidx.ui.core.IntPx width);
324 method public androidx.ui.core.IntPx getLeft();
325 method public androidx.ui.core.IntPx getRight();
326 method public androidx.ui.core.IntPx getWidth();
327 property public final androidx.ui.core.IntPx right;
Louis Pullen-Freilichf9515b12019-06-03 19:52:29 +0100328 }
329
Jim Sa2bcad952019-02-24 12:29:28 -0800330 public final class TextKt {
331 ctor public TextKt();
George Mounta3145782019-05-02 10:08:03 -0700332 method public static androidx.compose.Effect<androidx.ui.graphics.Color> textColorForBackground(androidx.ui.graphics.Color background);
Andrey Kulikove493fb52019-09-20 15:38:22 +0100333 method public static androidx.ui.text.TextStyle withOpacity(androidx.ui.text.TextStyle, @FloatRange(from=0.0, to=1.0) float opacity);
Jim Sa2bcad952019-02-24 12:29:28 -0800334 }
335
Clara Bayarri893acf52019-01-14 17:23:49 +0000336}
337
Matvei Malkov64881912019-07-17 16:47:32 +0100338package androidx.ui.material.internal {
339
340 public final class AnchoredControllerByStateKt {
341 ctor public AnchoredControllerByStateKt();
342 }
343
344}
345
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000346package androidx.ui.material.ripple {
347
Andrey Kulikov6a357ef2019-05-28 19:22:56 +0100348 public final class DefaultRippleEffectFactory implements androidx.ui.material.ripple.RippleEffectFactory {
Andrey Kulikova0c2bec2019-09-26 14:04:14 +0100349 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);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000350 field public static final androidx.ui.material.ripple.DefaultRippleEffectFactory! INSTANCE;
351 }
352
353 public final class DefaultRippleEffectKt {
354 ctor public DefaultRippleEffectKt();
355 }
356
Andrey Kulikova0c2bec2019-09-26 14:04:14 +0100357 public interface RippleEffect {
358 method public void dispose();
359 method public void draw(androidx.ui.graphics.Canvas canvas, androidx.ui.graphics.Color color);
Andrey Kulikove06f82f2019-03-15 16:31:33 +0000360 method public void finish(boolean canceled);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000361 }
362
Andrey Kulikov6a357ef2019-05-28 19:22:56 +0100363 public interface RippleEffectFactory {
Andrey Kulikova0c2bec2019-09-26 14:04:14 +0100364 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);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000365 }
366
Andrey Kulikov3487f962019-03-06 16:18:00 +0000367 public final class RippleKt {
368 ctor public RippleKt();
Andrey Kulikove331b2602019-10-02 12:55:14 +0100369 method 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);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000370 }
371
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000372 public final class RippleTheme {
Andrey Kulikovae569f32019-10-01 13:11:59 +0100373 ctor public RippleTheme(androidx.ui.material.ripple.RippleEffectFactory factory, androidx.compose.Effect<androidx.ui.graphics.Color> defaultColor, androidx.compose.Effect<java.lang.Float> opacity);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000374 method public androidx.ui.material.ripple.RippleEffectFactory component1();
Andrey Kulikovae569f32019-10-01 13:11:59 +0100375 method public androidx.compose.Effect<androidx.ui.graphics.Color> component2();
376 method public androidx.compose.Effect<java.lang.Float> component3();
377 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);
378 method public androidx.compose.Effect<androidx.ui.graphics.Color> getDefaultColor();
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000379 method public androidx.ui.material.ripple.RippleEffectFactory getFactory();
Andrey Kulikovae569f32019-10-01 13:11:59 +0100380 method public androidx.compose.Effect<java.lang.Float> getOpacity();
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000381 }
382
383 public final class RippleThemeKt {
384 ctor public RippleThemeKt();
Leland Richardson6cab6e32019-05-02 11:52:13 -0700385 method public static androidx.compose.Ambient<androidx.ui.material.ripple.RippleTheme> getCurrentRippleTheme();
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000386 }
387
388}
389
390package androidx.ui.material.surface {
391
392 public final class CardKt {
393 ctor public CardKt();
Chris Michael303e9162019-09-23 09:00:13 +0100394 method public static void Card(androidx.ui.engine.geometry.Shape shape = +themeShape({
395 card
396}), androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100397 surface
Andrey Kulikov2764fd32019-08-13 18:35:02 +0100398}), androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 1.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000399 }
400
Andrey Kulikov3f41fb12019-01-31 17:59:45 +0000401 public final class SurfaceKt {
402 ctor public SurfaceKt();
Andrey Kulikov4423eb22019-07-01 20:46:54 +0100403 method public static void Surface(androidx.ui.engine.geometry.Shape shape = RectangleShape, androidx.ui.graphics.Color color = +themeColor({
Andrey Kulikov628c6e22019-05-30 13:50:37 +0100404 surface
Clara Bayarri0e00c9642019-07-02 13:08:40 +0100405}), androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Andrey Kulikova0c2bec2019-09-26 14:04:14 +0100406 method public static androidx.compose.Ambient<androidx.ui.graphics.Color> getCurrentBackground();
Andrey Kulikov3d6c1be2019-01-14 15:49:07 +0000407 }
408
409}
410