Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.material { |
| 3 | |
| 4 | public enum AlertDialogButtonLayout { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 5 | method public static androidx.ui.material.AlertDialogButtonLayout valueOf(String name) throws java.lang.IllegalArgumentException; |
| 6 | method public static androidx.ui.material.AlertDialogButtonLayout[] values(); |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 7 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 12 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | public final class AppBarKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 16 | 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 Liutikas | a1fc67c | 2019-11-20 09:56:24 -0800 | [diff] [blame] | 19 | }), 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 20 | 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 Liutikas | a1fc67c | 2019-11-20 09:56:24 -0800 | [diff] [blame] | 22 | }), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = (kotlin.jvm.functions.Function0<? extends kotlin.Unit>)null); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 23 | 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 Liutikas | a1fc67c | 2019-11-20 09:56:24 -0800 | [diff] [blame] | 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); |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | public final class BottomAppBar { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 29 | field public static final androidx.ui.material.BottomAppBar INSTANCE; |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 30 | } |
| 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 Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 38 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 40 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 45 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 47 | method public static androidx.ui.material.ButtonStyle ContainedButtonStyle(androidx.ui.graphics.Color color = +themeColor({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 48 | return primary |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 49 | }), androidx.ui.engine.geometry.Shape shape = +themeShape({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 50 | return button |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 51 | }), 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 53 | return onSurface.copy(OutlinedStrokeOpacity) |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 54 | }), 1.dp), androidx.ui.graphics.Color color = +themeColor({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 55 | return surface |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 56 | }), androidx.ui.engine.geometry.Shape shape = +themeShape({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 57 | return button |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 58 | }), androidx.ui.core.Dp elevation = 0.dp, androidx.ui.graphics.Color? contentColor = +themeColor({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 59 | return primary |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 60 | })); |
| 61 | method public static androidx.ui.material.ButtonStyle TextButtonStyle(androidx.ui.engine.geometry.Shape shape = +themeShape({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 62 | return button |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 63 | }), androidx.ui.graphics.Color? contentColor = +themeColor({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 64 | return primary |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 65 | })); |
| 66 | } |
| 67 | |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 68 | @androidx.compose.Immutable public final class ButtonStyle { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 69 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 77 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 78 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 88 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 90 | })); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 91 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 93 | })); |
| 94 | } |
| 95 | |
Mihai Popa | 814240a | 2019-10-11 14:18:08 +0100 | [diff] [blame] | 96 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 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 = { return null }, boolean selected = false, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? > |
Mihai Popa | 814240a | 2019-10-11 14:18:08 +0100 | [diff] [blame] | 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); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 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 = { return null }, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? > |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 101 | } |
| 102 | |
| 103 | public final class DataTableKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 104 | 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 Popa | 814240a | 2019-10-11 14:18:08 +0100 | [diff] [blame] | 106 | }), 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 110 | |
Mihai Popa | 814240a | 2019-10-11 14:18:08 +0100 | [diff] [blame] | 111 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 137 | } |
| 138 | |
| 139 | public final class DividerKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 140 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 142 | }), androidx.ui.core.Dp height = 1.dp, androidx.ui.core.Dp indent = 0.dp); |
| 143 | } |
| 144 | |
| 145 | public final class DrawerKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 146 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 149 | } |
| 150 | |
| 151 | public enum DrawerState { |
Aurimas Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 152 | method public static androidx.ui.material.DrawerState valueOf(String name) throws java.lang.IllegalArgumentException; |
| 153 | method public static androidx.ui.material.DrawerState[] values(); |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 154 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 159 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 161 | }), androidx.ui.core.Dp elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 162 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 164 | }), androidx.ui.core.Dp elevation = 6.dp); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 165 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 167 | }), 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 175 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 177 | } |
| 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 210 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 212 | 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 253 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 255 | })); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 256 | method @androidx.compose.Composable public static void CircularProgressIndicator(androidx.ui.graphics.Color color = +themeColor({ |
| 257 | return primary |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 258 | })); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 259 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 261 | })); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 262 | method @androidx.compose.Composable public static void LinearProgressIndicator(androidx.ui.graphics.Color color = +themeColor({ |
| 263 | return primary |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 264 | })); |
| 265 | } |
| 266 | |
| 267 | public final class RadioButtonKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 268 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 270 | })); |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 271 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 274 | }), androidx.ui.text.TextStyle? textStyle = null); |
| 275 | } |
| 276 | |
| 277 | public final class RadioGroupScope { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 278 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 281 | }), 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 294 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 296 | })); |
| 297 | } |
| 298 | |
| 299 | public final class TabKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 300 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 302 | TabRow.Indicator() |
| 303 | }) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab); |
| 304 | } |
| 305 | |
| 306 | public final class TabRow { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 307 | 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 Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 309 | field public static final androidx.ui.material.TabRow INSTANCE; |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 310 | } |
| 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 323 | 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 | |
| 329 | package androidx.ui.material.internal { |
| 330 | |
Matvei Malkov | 4b88db8 | 2019-10-11 13:10:00 +0100 | [diff] [blame] | 331 | public final class StateDraggableKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 332 | } |
| 333 | |
| 334 | } |
| 335 | |
| 336 | package 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 Liutikas | a47310e | 2020-06-22 15:11:35 -0700 | [diff] [blame] | 340 | field public static final androidx.ui.material.ripple.DefaultRippleEffectFactory INSTANCE; |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 341 | } |
| 342 | |
| 343 | public final class DefaultRippleEffectKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 344 | } |
| 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 357 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 358 | } |
| 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 372 | method public static androidx.compose.Ambient<androidx.ui.material.ripple.RippleTheme> getCurrentRippleTheme(); |
| 373 | } |
| 374 | |
| 375 | } |
| 376 | |
| 377 | package androidx.ui.material.surface { |
| 378 | |
| 379 | public final class CardKt { |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 380 | method @androidx.compose.Composable public static void Card(androidx.ui.engine.geometry.Shape shape = +themeShape({ |
| 381 | return card |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 382 | }), androidx.ui.graphics.Color color = +themeColor({ |
Aurimas Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 383 | return surface |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 384 | }), 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 Liutikas | 9291f14 | 2020-05-28 19:59:17 -0700 | [diff] [blame] | 388 | 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 Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 390 | }), 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 | |