Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.material { |
| 3 | |
| 4 | 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 = null, kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> confirmButton, kotlin.jvm.functions.Function0<kotlin.Unit>? dismissButton = null, androidx.ui.material.AlertDialogButtonLayout buttonLayout = androidx.ui.material.AlertDialogButtonLayout.SideBySide); |
Louis Pullen-Freilich | ae04d66 | 2019-11-20 17:05:34 +0000 | [diff] [blame] | 12 | method public static void AlertDialog(kotlin.jvm.functions.Function0<kotlin.Unit> onCloseRequest, kotlin.jvm.functions.Function0<kotlin.Unit>? title = null, kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit> buttons); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | public final class AppBarKt { |
| 16 | ctor public AppBarKt(); |
| 17 | method public static void AppBarIcon(androidx.ui.graphics.Image icon, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 18 | method public static <T> void BottomAppBar(androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null, androidx.ui.material.BottomAppBar.FabConfiguration? fabConfiguration = null, java.util.List<? extends T> actionData = emptyList(), kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action = {}); |
| 19 | method public static void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null); |
| 20 | method public static <T> void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, java.util.List<? extends T> actionData, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | public final class BottomAppBar { |
| 24 | field public static final androidx.ui.material.BottomAppBar! INSTANCE; |
| 25 | } |
| 26 | |
| 27 | public static final class BottomAppBar.FabConfiguration { |
| 28 | 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); |
| 29 | 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); |
| 30 | } |
| 31 | |
| 32 | public enum BottomAppBar.FabPosition { |
| 33 | enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition Center; |
| 34 | enum_constant public static final androidx.ui.material.BottomAppBar.FabPosition End; |
| 35 | } |
| 36 | |
| 37 | public final class ButtonKt { |
| 38 | ctor public ButtonKt(); |
Anastasia Soboleva | 734ba5c | 2019-11-13 14:05:26 +0000 | [diff] [blame] | 39 | method public static void Button(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle(), kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 40 | method public static void Button(String text, androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.material.ButtonStyle style = ContainedButtonStyle()); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 41 | method public static androidx.ui.material.ButtonStyle ContainedButtonStyle(androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, androidx.ui.engine.geometry.Shape shape = button, androidx.ui.core.Dp elevation = 2.dp, androidx.ui.graphics.Color? rippleColor = null); |
| 42 | method public static androidx.ui.material.ButtonStyle OutlinedButtonStyle(androidx.ui.foundation.shape.border.Border border = Border((+MaterialTheme.colors()).onSurface.copy(OutlinedStrokeOpacity), 1.dp), androidx.ui.graphics.Color color = (+MaterialTheme.colors()).surface, androidx.ui.engine.geometry.Shape shape = button, androidx.ui.core.Dp elevation = 0.dp, androidx.ui.graphics.Color? contentColor = (+MaterialTheme.colors()).primary); |
| 43 | method public static androidx.ui.material.ButtonStyle TextButtonStyle(androidx.ui.engine.geometry.Shape shape = button, androidx.ui.graphics.Color? contentColor = (+MaterialTheme.colors()).primary); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 44 | } |
| 45 | |
| 46 | public final class ButtonStyle { |
| 47 | 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); |
| 48 | method public androidx.ui.graphics.Color component1(); |
| 49 | method public androidx.ui.engine.geometry.Shape component2(); |
| 50 | method public androidx.ui.foundation.shape.border.Border? component3(); |
| 51 | method public androidx.ui.core.Dp component4(); |
| 52 | method public androidx.ui.layout.EdgeInsets component5(); |
| 53 | method public androidx.ui.text.TextStyle? component6(); |
| 54 | method public androidx.ui.graphics.Color? component7(); |
| 55 | 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); |
| 56 | method public androidx.ui.foundation.shape.border.Border? getBorder(); |
| 57 | method public androidx.ui.graphics.Color getColor(); |
| 58 | method public androidx.ui.core.Dp getElevation(); |
| 59 | method public androidx.ui.layout.EdgeInsets getPaddings(); |
| 60 | method public androidx.ui.graphics.Color? getRippleColor(); |
| 61 | method public androidx.ui.engine.geometry.Shape getShape(); |
| 62 | method public androidx.ui.text.TextStyle? getTextStyle(); |
| 63 | } |
| 64 | |
| 65 | public final class CheckboxKt { |
| 66 | ctor public CheckboxKt(); |
Mihai Popa | cc60834 | 2019-11-13 21:47:58 +0000 | [diff] [blame] | 67 | method public static void Checkbox(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).secondary); |
| 68 | method public static void TriStateCheckbox(androidx.ui.foundation.selection.ToggleableState value, kotlin.jvm.functions.Function0<kotlin.Unit>? onClick, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).secondary); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | public final class ColorKt { |
| 72 | ctor public ColorKt(); |
Louis Pullen-Freilich | e7ac85a | 2019-11-26 17:52:03 +0000 | [diff] [blame] | 73 | method public static androidx.ui.graphics.Color? contentColorFor(androidx.ui.material.ColorPalette, androidx.ui.graphics.Color color); |
Louis Pullen-Freilich | 37fab45 | 2019-11-22 14:50:03 +0000 | [diff] [blame] | 74 | method public static androidx.ui.material.ColorPalette darkColorPalette(androidx.ui.graphics.Color primary = Color(4290479868), androidx.ui.graphics.Color primaryVariant = Color(4281794739), androidx.ui.graphics.Color secondary = Color(4278442694), androidx.ui.graphics.Color background = Color(4279374354), androidx.ui.graphics.Color surface = Color(4279374354), androidx.ui.graphics.Color error = Color(4291782265), androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color > |
| 75 | method public static androidx.ui.material.ColorPalette lightColorPalette(androidx.ui.graphics.Color primary = Color(4284612846), androidx.ui.graphics.Color primaryVariant = Color(4281794739), androidx.ui.graphics.Color secondary = Color(4278442694), androidx.ui.graphics.Color secondaryVariant = Color(4278290310), androidx.ui.graphics.Color background = Color.White, androidx.ui.graphics.Color surface = Color.White, androidx.ui.graphics.Color error = Color(4289724448), androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color androidx.ui.graphics.Color > |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 76 | } |
| 77 | |
| 78 | public interface ColorPalette { |
| 79 | method public androidx.ui.graphics.Color getBackground(); |
| 80 | method public androidx.ui.graphics.Color getError(); |
| 81 | method public androidx.ui.graphics.Color getOnBackground(); |
| 82 | method public androidx.ui.graphics.Color getOnError(); |
| 83 | method public androidx.ui.graphics.Color getOnPrimary(); |
| 84 | method public androidx.ui.graphics.Color getOnSecondary(); |
| 85 | method public androidx.ui.graphics.Color getOnSurface(); |
| 86 | method public androidx.ui.graphics.Color getPrimary(); |
| 87 | method public androidx.ui.graphics.Color getPrimaryVariant(); |
| 88 | method public androidx.ui.graphics.Color getSecondary(); |
| 89 | method public androidx.ui.graphics.Color getSecondaryVariant(); |
| 90 | method public androidx.ui.graphics.Color getSurface(); |
Louis Pullen-Freilich | 37fab45 | 2019-11-22 14:50:03 +0000 | [diff] [blame] | 91 | method public boolean isLight(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 92 | property public abstract androidx.ui.graphics.Color background; |
| 93 | property public abstract androidx.ui.graphics.Color error; |
Louis Pullen-Freilich | 37fab45 | 2019-11-22 14:50:03 +0000 | [diff] [blame] | 94 | property public abstract boolean isLight; |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 95 | property public abstract androidx.ui.graphics.Color onBackground; |
| 96 | property public abstract androidx.ui.graphics.Color onError; |
| 97 | property public abstract androidx.ui.graphics.Color onPrimary; |
| 98 | property public abstract androidx.ui.graphics.Color onSecondary; |
| 99 | property public abstract androidx.ui.graphics.Color onSurface; |
| 100 | property public abstract androidx.ui.graphics.Color primary; |
| 101 | property public abstract androidx.ui.graphics.Color primaryVariant; |
| 102 | property public abstract androidx.ui.graphics.Color secondary; |
| 103 | property public abstract androidx.ui.graphics.Color secondaryVariant; |
| 104 | property public abstract androidx.ui.graphics.Color surface; |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 105 | } |
| 106 | |
| 107 | public final class DataTableChildren { |
| 108 | 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); |
| 109 | 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>? > |
| 110 | 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); |
| 111 | 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>? > |
| 112 | } |
| 113 | |
| 114 | public final class DataTableKt { |
| 115 | ctor public DataTableKt(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 116 | 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 = (+MaterialTheme.colors()).primary.copy(0.08), androidx.ui.material.DataTablePagination? pagination = null, androidx.ui.material.DataTableSorting? sorting = null, kotlin.jvm.functions.Function1<? super androidx.ui.material.DataTableChildren,kotlin.Unit> block); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 117 | method public static androidx.ui.material.DataTablePagination DefaultDataTablePagination(int initialPage = 0, int initialRowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage); |
| 118 | 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); |
| 119 | } |
| 120 | |
| 121 | public final class DataTablePagination { |
| 122 | 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); |
| 123 | method public int component1(); |
| 124 | method public int component2(); |
| 125 | method public java.util.List<java.lang.Integer> component3(); |
| 126 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component4(); |
| 127 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component5(); |
| 128 | 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); |
| 129 | method public java.util.List<java.lang.Integer> getAvailableRowsPerPage(); |
| 130 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnPageChange(); |
| 131 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnRowsPerPageChange(); |
| 132 | method public int getPage(); |
| 133 | method public int getRowsPerPage(); |
| 134 | } |
| 135 | |
| 136 | public final class DataTableSorting { |
| 137 | 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); |
| 138 | method public Integer? component1(); |
| 139 | method public boolean component2(); |
| 140 | method public java.util.Set<java.lang.Integer> component3(); |
| 141 | method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> component4(); |
| 142 | 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); |
| 143 | method public boolean getAscending(); |
| 144 | method public Integer? getColumn(); |
| 145 | method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> getOnSortChange(); |
| 146 | method public java.util.Set<java.lang.Integer> getSortableColumns(); |
| 147 | } |
| 148 | |
| 149 | public final class DividerKt { |
| 150 | ctor public DividerKt(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 151 | method public static void Divider(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).surface, androidx.ui.core.Dp height = 1.dp, androidx.ui.core.Dp indent = 0.dp); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 152 | } |
| 153 | |
| 154 | public final class DrawerKt { |
| 155 | ctor public DrawerKt(); |
| 156 | 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); |
| 157 | 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); |
| 158 | method public static void StaticDrawer(kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent); |
| 159 | } |
| 160 | |
| 161 | public enum DrawerState { |
| 162 | enum_constant public static final androidx.ui.material.DrawerState Closed; |
| 163 | enum_constant public static final androidx.ui.material.DrawerState Opened; |
| 164 | } |
| 165 | |
| 166 | public final class FloatingActionButtonKt { |
| 167 | ctor public FloatingActionButtonKt(); |
Louis Pullen-Freilich | b695a20 | 2019-12-02 14:29:05 +0000 | [diff] [blame] | 168 | method public static void FloatingActionButton(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.core.Dp minSize = androidx.ui.material.FloatingActionButtonKt.FabSize, androidx.ui.engine.geometry.Shape shape = CircleShape, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, androidx.ui.core.Dp elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Anastasia Soboleva | 0c0eb13 | 2019-11-13 15:04:23 +0000 | [diff] [blame] | 169 | method public static void FloatingActionButton(androidx.ui.graphics.Image icon, androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.engine.geometry.Shape shape = CircleShape, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, androidx.ui.core.Dp elevation = 6.dp); |
| 170 | method public static void FloatingActionButton(String text, androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Image? icon = null, androidx.ui.text.TextStyle? textStyle = null, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary, androidx.ui.core.Dp elevation = 6.dp); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 171 | } |
| 172 | |
| 173 | public final class ListItemKt { |
| 174 | ctor public ListItemKt(); |
| 175 | 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>? > |
| 176 | method public static void ListItem(kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit>? icon = null, kotlin.jvm.functions.Function0<kotlin.Unit>? secondaryText = null, boolean singleLineSecondaryText = true, kotlin.jvm.functions.Function0<kotlin.Unit>? overlineText = null, kotlin.jvm.functions.Function0<kotlin.Unit>? trailing = null, kotlin.jvm.functions.Function0<kotlin.Unit>? > |
| 177 | } |
| 178 | |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 179 | public final class MaterialTheme { |
| 180 | method public androidx.compose.Effect<androidx.ui.material.ColorPalette> colors(); |
| 181 | method public androidx.compose.Effect<androidx.ui.material.Shapes> shapes(); |
| 182 | method public androidx.compose.Effect<androidx.ui.material.Typography> typography(); |
| 183 | field public static final androidx.ui.material.MaterialTheme! INSTANCE; |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | public final class MaterialThemeKt { |
| 187 | ctor public MaterialThemeKt(); |
Louis Pullen-Freilich | 37fab45 | 2019-11-22 14:50:03 +0000 | [diff] [blame] | 188 | method public static void MaterialTheme(androidx.ui.material.ColorPalette colors = lightColorPalette(), androidx.ui.material.Typography typography = androidx.ui.material.Typography(), kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 189 | } |
| 190 | |
| 191 | public final class ProgressIndicatorKt { |
| 192 | ctor public ProgressIndicatorKt(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 193 | method public static void CircularProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary); |
| 194 | method public static void CircularProgressIndicator(androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary); |
| 195 | method public static void LinearProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary); |
| 196 | method public static void LinearProgressIndicator(androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 197 | } |
| 198 | |
| 199 | public final class RadioButtonKt { |
| 200 | ctor public RadioButtonKt(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 201 | method public static void RadioButton(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit>? onSelect, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).secondary); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 202 | method public static void RadioGroup(kotlin.jvm.functions.Function1<? super androidx.ui.material.RadioGroupScope,kotlin.Unit> children); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 203 | 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 = (+MaterialTheme.colors()).secondary, androidx.ui.text.TextStyle? textStyle = null); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 204 | } |
| 205 | |
| 206 | public final class RadioGroupScope { |
| 207 | method public void RadioGroupItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 208 | method public void RadioGroupTextItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, String text, androidx.ui.graphics.Color radioColor = (+MaterialTheme.colors()).secondary, androidx.ui.text.TextStyle? textStyle = null); |
| 209 | } |
| 210 | |
| 211 | public final class ShapeKt { |
| 212 | ctor public ShapeKt(); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 213 | } |
| 214 | |
| 215 | public final class Shapes { |
| 216 | ctor public Shapes(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 217 | ctor public Shapes(); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 218 | method public androidx.ui.engine.geometry.Shape component1(); |
| 219 | method public androidx.ui.engine.geometry.Shape component2(); |
| 220 | method public androidx.ui.material.Shapes copy(androidx.ui.engine.geometry.Shape button, androidx.ui.engine.geometry.Shape card); |
| 221 | method public androidx.ui.engine.geometry.Shape getButton(); |
| 222 | method public androidx.ui.engine.geometry.Shape getCard(); |
| 223 | } |
| 224 | |
Matvei Malkov | 65757d1 | 2019-11-11 18:35:45 +0000 | [diff] [blame] | 225 | public final class SliderKt { |
| 226 | ctor public SliderKt(); |
| 227 | method public static void Slider(androidx.ui.material.SliderPosition position, kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit> position.value = it }, androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit> androidx.ui.graphics.Color color = (+MaterialTheme.colors()).primary); |
| 228 | } |
| 229 | |
| 230 | public final class SliderPosition { |
| 231 | ctor public SliderPosition(float initial, kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange, @IntRange(from=null) int steps); |
| 232 | ctor public SliderPosition(); |
| 233 | method public float getValue(); |
| 234 | method public kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> getValueRange(); |
| 235 | method public void setValue(float value); |
| 236 | property public final float value; |
| 237 | } |
| 238 | |
Matvei Malkov | b814df0 | 2019-11-21 15:58:03 +0000 | [diff] [blame] | 239 | public final class SnackbarKt { |
| 240 | ctor public SnackbarKt(); |
| 241 | method public static void Snackbar(String text, String? actionText = null, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.core.Modifier modifier = Modifier.None, boolean actionOnNewLine = false); |
| 242 | method public static void Snackbar(kotlin.jvm.functions.Function0<kotlin.Unit> text, kotlin.jvm.functions.Function0<kotlin.Unit>? action = null, androidx.ui.core.Modifier modifier = Modifier.None, boolean actionOnNewLine = false); |
| 243 | } |
| 244 | |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 245 | public final class SwitchKt { |
| 246 | ctor public SwitchKt(); |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 247 | method public static void Switch(boolean checked, kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit>? onCheckedChange, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).secondaryVariant); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | public final class TabKt { |
| 251 | ctor public TabKt(); |
| 252 | method public static void Tab(String? text = null, androidx.ui.graphics.Image? icon = null, boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected); |
| 253 | 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, { |
| 254 | TabRow.Indicator() |
| 255 | }) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab); |
| 256 | } |
| 257 | |
| 258 | public final class TabRow { |
| 259 | method public void Indicator(); |
| 260 | method public void IndicatorContainer(java.util.List<androidx.ui.material.TabRow.TabPosition> tabPositions, int selectedIndex, kotlin.jvm.functions.Function0<kotlin.Unit> indicator); |
| 261 | field public static final androidx.ui.material.TabRow! INSTANCE; |
| 262 | } |
| 263 | |
| 264 | public static final class TabRow.TabPosition { |
| 265 | method public androidx.ui.core.IntPx component1(); |
| 266 | method public androidx.ui.core.IntPx component2(); |
| 267 | method public androidx.ui.material.TabRow.TabPosition copy(androidx.ui.core.IntPx left, androidx.ui.core.IntPx width); |
| 268 | method public androidx.ui.core.IntPx getLeft(); |
| 269 | method public androidx.ui.core.IntPx getRight(); |
| 270 | method public androidx.ui.core.IntPx getWidth(); |
| 271 | property public final androidx.ui.core.IntPx right; |
| 272 | } |
| 273 | |
| 274 | public final class TextKt { |
| 275 | ctor public TextKt(); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 276 | method public static androidx.ui.text.TextStyle withOpacity(androidx.ui.text.TextStyle, @FloatRange(from=0.0, to=1.0) float opacity); |
| 277 | } |
| 278 | |
Louis Pullen-Freilich | 52a2b7f | 2019-11-08 18:08:38 +0000 | [diff] [blame] | 279 | public final class Typography { |
| 280 | ctor public Typography(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); |
| 281 | ctor public Typography(); |
| 282 | method public androidx.ui.text.TextStyle component1(); |
| 283 | method public androidx.ui.text.TextStyle component10(); |
| 284 | method public androidx.ui.text.TextStyle component11(); |
| 285 | method public androidx.ui.text.TextStyle component12(); |
| 286 | method public androidx.ui.text.TextStyle component13(); |
| 287 | method public androidx.ui.text.TextStyle component2(); |
| 288 | method public androidx.ui.text.TextStyle component3(); |
| 289 | method public androidx.ui.text.TextStyle component4(); |
| 290 | method public androidx.ui.text.TextStyle component5(); |
| 291 | method public androidx.ui.text.TextStyle component6(); |
| 292 | method public androidx.ui.text.TextStyle component7(); |
| 293 | method public androidx.ui.text.TextStyle component8(); |
| 294 | method public androidx.ui.text.TextStyle component9(); |
| 295 | method public androidx.ui.material.Typography copy(androidx.ui.text.TextStyle h1, androidx.ui.text.TextStyle h2, androidx.ui.text.TextStyle h3, androidx.ui.text.TextStyle h4, androidx.ui.text.TextStyle h5, androidx.ui.text.TextStyle h6, androidx.ui.text.TextStyle subtitle1, androidx.ui.text.TextStyle subtitle2, androidx.ui.text.TextStyle body1, androidx.ui.text.TextStyle body2, androidx.ui.text.TextStyle button, androidx.ui.text.TextStyle caption, androidx.ui.text.TextStyle overline); |
| 296 | method public androidx.ui.text.TextStyle getBody1(); |
| 297 | method public androidx.ui.text.TextStyle getBody2(); |
| 298 | method public androidx.ui.text.TextStyle getButton(); |
| 299 | method public androidx.ui.text.TextStyle getCaption(); |
| 300 | method public androidx.ui.text.TextStyle getH1(); |
| 301 | method public androidx.ui.text.TextStyle getH2(); |
| 302 | method public androidx.ui.text.TextStyle getH3(); |
| 303 | method public androidx.ui.text.TextStyle getH4(); |
| 304 | method public androidx.ui.text.TextStyle getH5(); |
| 305 | method public androidx.ui.text.TextStyle getH6(); |
| 306 | method public androidx.ui.text.TextStyle getOverline(); |
| 307 | method public androidx.ui.text.TextStyle getSubtitle1(); |
| 308 | method public androidx.ui.text.TextStyle getSubtitle2(); |
| 309 | } |
| 310 | |
| 311 | public final class TypographyKt { |
| 312 | ctor public TypographyKt(); |
| 313 | } |
| 314 | |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 315 | } |
| 316 | |
| 317 | package androidx.ui.material.internal { |
| 318 | |
| 319 | public final class StateDraggableKt { |
| 320 | ctor public StateDraggableKt(); |
| 321 | } |
| 322 | |
| 323 | } |
| 324 | |
| 325 | package androidx.ui.material.ripple { |
| 326 | |
| 327 | public final class DefaultRippleEffectFactory implements androidx.ui.material.ripple.RippleEffectFactory { |
| 328 | 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); |
| 329 | field public static final androidx.ui.material.ripple.DefaultRippleEffectFactory! INSTANCE; |
| 330 | } |
| 331 | |
| 332 | public final class DefaultRippleEffectKt { |
| 333 | ctor public DefaultRippleEffectKt(); |
| 334 | } |
| 335 | |
| 336 | public interface RippleEffect { |
| 337 | method public void dispose(); |
| 338 | method public void draw(androidx.ui.graphics.Canvas canvas, androidx.ui.graphics.Color color); |
| 339 | method public void finish(boolean canceled); |
| 340 | } |
| 341 | |
| 342 | public interface RippleEffectFactory { |
| 343 | 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); |
| 344 | } |
| 345 | |
| 346 | public final class RippleKt { |
| 347 | ctor public RippleKt(); |
| 348 | 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); |
| 349 | } |
| 350 | |
| 351 | public final class RippleTheme { |
| 352 | ctor public RippleTheme(androidx.ui.material.ripple.RippleEffectFactory factory, androidx.compose.Effect<androidx.ui.graphics.Color> defaultColor, androidx.compose.Effect<java.lang.Float> opacity); |
| 353 | method public androidx.ui.material.ripple.RippleEffectFactory component1(); |
| 354 | method public androidx.compose.Effect<androidx.ui.graphics.Color> component2(); |
| 355 | method public androidx.compose.Effect<java.lang.Float> component3(); |
| 356 | 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); |
| 357 | method public androidx.compose.Effect<androidx.ui.graphics.Color> getDefaultColor(); |
| 358 | method public androidx.ui.material.ripple.RippleEffectFactory getFactory(); |
| 359 | method public androidx.compose.Effect<java.lang.Float> getOpacity(); |
| 360 | } |
| 361 | |
| 362 | public final class RippleThemeKt { |
| 363 | ctor public RippleThemeKt(); |
| 364 | method public static androidx.compose.Ambient<androidx.ui.material.ripple.RippleTheme> getCurrentRippleTheme(); |
| 365 | } |
| 366 | |
| 367 | } |
| 368 | |
| 369 | package androidx.ui.material.surface { |
| 370 | |
| 371 | public final class CardKt { |
| 372 | ctor public CardKt(); |
Louis Pullen-Freilich | e7ac85a | 2019-11-26 17:52:03 +0000 | [diff] [blame] | 373 | method public static void Card(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.engine.geometry.Shape shape = card, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).surface, androidx.ui.graphics.Color contentColor = elvis { |
| 374 | @null var var1e11522: androidx.ui.graphics.Color = (+MaterialTheme.colors()).contentColorFor(color) |
| 375 | if (var1e11522 != null) var1e11522 else contentColor() |
| 376 | }, androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 1.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 377 | } |
| 378 | |
| 379 | public final class SurfaceKt { |
| 380 | ctor public SurfaceKt(); |
Louis Pullen-Freilich | e7ac85a | 2019-11-26 17:52:03 +0000 | [diff] [blame] | 381 | method public static void Surface(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.engine.geometry.Shape shape = RectangleShape, androidx.ui.graphics.Color color = (+MaterialTheme.colors()).surface, androidx.ui.graphics.Color contentColor = elvis { |
| 382 | @null var varcd50b103: androidx.ui.graphics.Color = (+MaterialTheme.colors()).contentColorFor(color) |
| 383 | if (varcd50b103 != null) varcd50b103 else contentColor() |
| 384 | }, androidx.ui.foundation.shape.border.Border? border = null, androidx.ui.core.Dp elevation = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Nick Anthony | 78b080b | 2019-10-22 17:29:38 -0400 | [diff] [blame] | 385 | } |
| 386 | |
| 387 | } |
| 388 | |