George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [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 | 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); |
| 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> buttons); |
| 12 | } |
| 13 | |
| 14 | public final class AppBarKt { |
Ryan Mentley | 6beaa42 | 2020-02-24 19:43:43 -0800 | [diff] [blame] | 15 | method public static void AppBarIcon(androidx.ui.graphics.painter.Painter icon, kotlin.jvm.functions.Function0<kotlin.Unit> onClick); |
| 16 | method public static <T> void BottomAppBar(androidx.ui.graphics.Color color = MaterialTheme.colors().primarySurface, androidx.ui.graphics.Color contentColor = contentColorFor(color), kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null, androidx.ui.material.BottomAppBar.FabConfiguration? fabConfiguration = null, androidx.ui.graphics.Shape? cutoutShape = null, java.util.List<? extends T> actionData = emptyList(), kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action = {}); |
| 17 | method public static void TopAppBar(kotlin.jvm.functions.Function0<kotlin.Unit> title, androidx.ui.graphics.Color color = MaterialTheme.colors().primarySurface, androidx.ui.graphics.Color contentColor = contentColorFor(color), androidx.ui.unit.Dp elevation = androidx.ui.material.AppBarKt.TopAppBarElevation, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null); |
| 18 | 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().primarySurface, androidx.ui.graphics.Color contentColor = contentColorFor(color), androidx.ui.unit.Dp elevation = androidx.ui.material.AppBarKt.TopAppBarElevation, kotlin.jvm.functions.Function0<kotlin.Unit>? navigationIcon = null, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | public final class BottomAppBar { |
| 22 | field public static final androidx.ui.material.BottomAppBar! INSTANCE; |
| 23 | } |
| 24 | |
| 25 | public static final class BottomAppBar.FabConfiguration { |
| 26 | ctor public BottomAppBar.FabConfiguration(internal androidx.ui.unit.IntPxSize fabSize, internal androidx.ui.unit.PxPosition fabTopLeftPosition, internal androidx.ui.material.BottomAppBar.FabDockedPosition fabDockedPosition); |
| 27 | method public androidx.ui.material.BottomAppBar.FabConfiguration copy(androidx.ui.unit.IntPxSize fabSize, androidx.ui.unit.PxPosition fabTopLeftPosition, androidx.ui.material.BottomAppBar.FabDockedPosition fabDockedPosition); |
| 28 | } |
| 29 | |
| 30 | public enum BottomAppBar.FabDockedPosition { |
| 31 | enum_constant public static final androidx.ui.material.BottomAppBar.FabDockedPosition Center; |
| 32 | enum_constant public static final androidx.ui.material.BottomAppBar.FabDockedPosition End; |
| 33 | } |
| 34 | |
| 35 | public final class ButtonKt { |
Louis Pullen-Freilich | e386f97dd | 2020-01-31 17:32:33 +0000 | [diff] [blame] | 36 | method public static void Button(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.Color backgroundColor = MaterialTheme.colors().primary, androidx.ui.graphics.Color contentColor = contentColorFor(backgroundColor), androidx.ui.graphics.Shape shape = button, androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp elevation = 2.dp, androidx.ui.layout.EdgeInsets paddings = ButtonPaddings, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 37 | method public static inline void OutlinedButton(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.Color backgroundColor = MaterialTheme.colors().surface, androidx.ui.graphics.Color contentColor = MaterialTheme.colors().primary, androidx.ui.graphics.Shape shape = button, androidx.ui.foundation.Border? border = Border(1.dp, MaterialTheme.colors().onSurface.copy(OutlinedStrokeOpacity)), androidx.ui.unit.Dp elevation = 0.dp, androidx.ui.layout.EdgeInsets paddings = ButtonPaddings, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 38 | method public static inline void TextButton(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.graphics.Color backgroundColor = Color.Transparent, androidx.ui.graphics.Color contentColor = MaterialTheme.colors().primary, androidx.ui.graphics.Shape shape = button, androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp elevation = 0.dp, androidx.ui.layout.EdgeInsets paddings = TextButtonPaddings, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | public final class CheckboxKt { |
| 42 | 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); |
| 43 | 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); |
| 44 | } |
| 45 | |
| 46 | public final class ColorKt { |
| 47 | method public static androidx.ui.graphics.Color? contentColorFor(androidx.ui.material.ColorPalette, androidx.ui.graphics.Color color); |
| 48 | method public static androidx.ui.graphics.Color contentColorFor(androidx.ui.graphics.Color color); |
| 49 | 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 > |
| 50 | 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 > |
| 51 | } |
| 52 | |
| 53 | public interface ColorPalette { |
| 54 | method public androidx.ui.graphics.Color getBackground(); |
| 55 | method public androidx.ui.graphics.Color getError(); |
| 56 | method public androidx.ui.graphics.Color getOnBackground(); |
| 57 | method public androidx.ui.graphics.Color getOnError(); |
| 58 | method public androidx.ui.graphics.Color getOnPrimary(); |
| 59 | method public androidx.ui.graphics.Color getOnSecondary(); |
| 60 | method public androidx.ui.graphics.Color getOnSurface(); |
| 61 | method public androidx.ui.graphics.Color getPrimary(); |
| 62 | method public androidx.ui.graphics.Color getPrimaryVariant(); |
| 63 | method public androidx.ui.graphics.Color getSecondary(); |
| 64 | method public androidx.ui.graphics.Color getSecondaryVariant(); |
| 65 | method public androidx.ui.graphics.Color getSurface(); |
| 66 | method public boolean isLight(); |
| 67 | property public abstract androidx.ui.graphics.Color background; |
| 68 | property public abstract androidx.ui.graphics.Color error; |
| 69 | property public abstract boolean isLight; |
| 70 | property public abstract androidx.ui.graphics.Color onBackground; |
| 71 | property public abstract androidx.ui.graphics.Color onError; |
| 72 | property public abstract androidx.ui.graphics.Color onPrimary; |
| 73 | property public abstract androidx.ui.graphics.Color onSecondary; |
| 74 | property public abstract androidx.ui.graphics.Color onSurface; |
| 75 | property public abstract androidx.ui.graphics.Color primary; |
| 76 | property public abstract androidx.ui.graphics.Color primaryVariant; |
| 77 | property public abstract androidx.ui.graphics.Color secondary; |
| 78 | property public abstract androidx.ui.graphics.Color secondaryVariant; |
| 79 | property public abstract androidx.ui.graphics.Color surface; |
| 80 | } |
| 81 | |
| 82 | public final class DataTableChildren { |
| 83 | 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); |
| 84 | 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>? > |
| 85 | 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); |
| 86 | 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>? > |
| 87 | } |
| 88 | |
| 89 | public final class DataTableKt { |
Matvei Malkov | d4471aa | 2020-01-30 17:28:31 +0000 | [diff] [blame] | 90 | method public static void DataTable(int columns, kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Boolean> numeric = { false }, androidx.ui.unit.Dp dataRowHeight = androidx.ui.material.DataTableKt.DataRowHeight, androidx.ui.unit.Dp headerRowHeight = androidx.ui.material.DataTableKt.HeaderRowHeight, androidx.ui.layout.EdgeInsets cellSpacing = androidx.ui.material.DataTableKt.CellSpacing, androidx.ui.foundation.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); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 91 | method public static androidx.ui.material.DataTablePagination DefaultDataTablePagination(int initialPage = 0, int initialRowsPerPage, java.util.List<java.lang.Integer> availableRowsPerPage); |
| 92 | 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); |
| 93 | } |
| 94 | |
| 95 | public final class DataTablePagination { |
| 96 | 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); |
| 97 | method public int component1(); |
| 98 | method public int component2(); |
| 99 | method public java.util.List<java.lang.Integer> component3(); |
| 100 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component4(); |
| 101 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> component5(); |
| 102 | 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); |
| 103 | method public java.util.List<java.lang.Integer> getAvailableRowsPerPage(); |
| 104 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnPageChange(); |
| 105 | method public kotlin.jvm.functions.Function1<java.lang.Integer,kotlin.Unit> getOnRowsPerPageChange(); |
| 106 | method public int getPage(); |
| 107 | method public int getRowsPerPage(); |
| 108 | } |
| 109 | |
| 110 | public final class DataTableSorting { |
| 111 | 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); |
| 112 | method public Integer? component1(); |
| 113 | method public boolean component2(); |
| 114 | method public java.util.Set<java.lang.Integer> component3(); |
| 115 | method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> component4(); |
| 116 | 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); |
| 117 | method public boolean getAscending(); |
| 118 | method public Integer? getColumn(); |
| 119 | method public kotlin.jvm.functions.Function2<java.lang.Integer,java.lang.Boolean,kotlin.Unit> getOnSortChange(); |
| 120 | method public java.util.Set<java.lang.Integer> getSortableColumns(); |
| 121 | } |
| 122 | |
| 123 | public final class DividerKt { |
| 124 | method public static void Divider(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = MaterialTheme.colors().surface, androidx.ui.unit.Dp height = 1.dp, androidx.ui.unit.Dp indent = 0.dp); |
| 125 | } |
| 126 | |
| 127 | public final class DrawerKt { |
| 128 | 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); |
| 129 | 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); |
| 130 | method public static void StaticDrawer(kotlin.jvm.functions.Function0<kotlin.Unit> drawerContent); |
| 131 | } |
| 132 | |
| 133 | public enum DrawerState { |
| 134 | enum_constant public static final androidx.ui.material.DrawerState Closed; |
| 135 | enum_constant public static final androidx.ui.material.DrawerState Opened; |
| 136 | } |
| 137 | |
| 138 | public interface Emphasis { |
| 139 | method public androidx.ui.graphics.Color emphasize(androidx.ui.graphics.Color color); |
| 140 | } |
| 141 | |
| 142 | public final class EmphasisKt { |
| 143 | method public static void ProvideEmphasis(androidx.ui.material.Emphasis emphasis, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 144 | method public static androidx.compose.ProvidableAmbient<androidx.ui.material.EmphasisLevels> getEmphasisAmbient(); |
| 145 | } |
| 146 | |
| 147 | public final class EmphasisLevels { |
| 148 | ctor public EmphasisLevels(androidx.ui.material.Emphasis high, androidx.ui.material.Emphasis medium, androidx.ui.material.Emphasis disabled); |
| 149 | ctor public EmphasisLevels(); |
| 150 | method public androidx.ui.material.Emphasis component1(); |
| 151 | method public androidx.ui.material.Emphasis component2(); |
| 152 | method public androidx.ui.material.Emphasis component3(); |
| 153 | method public androidx.ui.material.EmphasisLevels copy(androidx.ui.material.Emphasis high, androidx.ui.material.Emphasis medium, androidx.ui.material.Emphasis disabled); |
| 154 | method public androidx.ui.material.Emphasis getDisabled(); |
| 155 | method public androidx.ui.material.Emphasis getHigh(); |
| 156 | method public androidx.ui.material.Emphasis getMedium(); |
| 157 | } |
| 158 | |
| 159 | public final class FloatingActionButtonKt { |
| 160 | method public static void FloatingActionButton(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit>? androidx.ui.unit.Dp minSize = androidx.ui.material.FloatingActionButtonKt.FabSize, androidx.ui.graphics.Shape shape = CircleShape, androidx.ui.graphics.Color color = MaterialTheme.colors().primary, androidx.ui.unit.Dp elevation = 6.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 161 | 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.graphics.Shape shape = CircleShape, androidx.ui.graphics.Color color = MaterialTheme.colors().primary, androidx.ui.unit.Dp elevation = 6.dp); |
| 162 | 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.unit.Dp elevation = 6.dp); |
| 163 | } |
| 164 | |
| 165 | public final class ListItemKt { |
| 166 | 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>? > |
| 167 | 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>? > |
| 168 | } |
| 169 | |
| 170 | public final class MaterialTheme { |
| 171 | method public androidx.ui.material.ColorPalette colors(); |
| 172 | method public androidx.ui.material.EmphasisLevels emphasisLevels(); |
| 173 | method public androidx.ui.material.Shapes shapes(); |
| 174 | method public androidx.ui.material.Typography typography(); |
| 175 | field public static final androidx.ui.material.MaterialTheme! INSTANCE; |
| 176 | } |
| 177 | |
| 178 | public final class MaterialThemeKt { |
| 179 | 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); |
| 180 | } |
| 181 | |
| 182 | public final class ProgressIndicatorKt { |
| 183 | method public static void CircularProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = MaterialTheme.colors().primary); |
| 184 | method public static void CircularProgressIndicator(androidx.ui.graphics.Color color = MaterialTheme.colors().primary); |
| 185 | method public static void LinearProgressIndicator(@FloatRange(from=0.0, to=1.0) float progress, androidx.ui.graphics.Color color = MaterialTheme.colors().primary); |
| 186 | method public static void LinearProgressIndicator(androidx.ui.graphics.Color color = MaterialTheme.colors().primary); |
| 187 | } |
| 188 | |
| 189 | public final class RadioButtonKt { |
| 190 | method public static void RadioButton(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit>? onSelect, androidx.ui.graphics.Color color = MaterialTheme.colors().secondary); |
| 191 | method public static void RadioGroup(kotlin.jvm.functions.Function1<? super androidx.ui.material.RadioGroupScope,kotlin.Unit> children); |
| 192 | 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); |
| 193 | } |
| 194 | |
| 195 | public final class RadioGroupScope { |
| 196 | method public void RadioGroupItem(boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelect, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 197 | 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); |
| 198 | } |
| 199 | |
| 200 | public final class Scaffold { |
| 201 | field public static final androidx.ui.material.Scaffold! INSTANCE; |
| 202 | } |
| 203 | |
| 204 | public enum Scaffold.FabPosition { |
| 205 | enum_constant public static final androidx.ui.material.Scaffold.FabPosition Center; |
| 206 | enum_constant public static final androidx.ui.material.Scaffold.FabPosition CenterDocked; |
| 207 | enum_constant public static final androidx.ui.material.Scaffold.FabPosition End; |
| 208 | enum_constant public static final androidx.ui.material.Scaffold.FabPosition EndDocked; |
| 209 | } |
| 210 | |
| 211 | public final class ScaffoldKt { |
| 212 | method public static void Scaffold(androidx.ui.material.ScaffoldState scaffoldState = remember({ |
| 213 | <init>() |
| 214 | }), kotlin.jvm.functions.Function0<kotlin.Unit>? topAppBar = null, kotlin.jvm.functions.Function1<? super androidx.ui.material.BottomAppBar.FabConfiguration,kotlin.Unit>? bottomAppBar = null, kotlin.jvm.functions.Function0<kotlin.Unit>? floatingActionButton = null, androidx.ui.material.Scaffold.FabPosition floatingActionButtonPosition = androidx.ui.material.Scaffold.FabPosition.End, kotlin.jvm.functions.Function0<kotlin.Unit>? drawerContent = null, kotlin.jvm.functions.Function1<? super androidx.ui.core.Modifier,kotlin.Unit> bodyContent); |
| 215 | } |
| 216 | |
| 217 | public final class ScaffoldState { |
| 218 | ctor public ScaffoldState(androidx.ui.material.DrawerState drawerState, boolean isDrawerGesturesEnabled); |
| 219 | ctor public ScaffoldState(); |
| 220 | method public androidx.ui.material.DrawerState getDrawerState(); |
| 221 | method public boolean isDrawerGesturesEnabled(); |
| 222 | method public void setDrawerGesturesEnabled(boolean p); |
| 223 | method public void setDrawerState(androidx.ui.material.DrawerState p); |
| 224 | } |
| 225 | |
| 226 | public final class ShapeKt { |
| 227 | } |
| 228 | |
| 229 | public final class Shapes { |
| 230 | ctor public Shapes(androidx.ui.graphics.Shape button, androidx.ui.graphics.Shape card); |
| 231 | ctor public Shapes(); |
| 232 | method public androidx.ui.graphics.Shape component1(); |
| 233 | method public androidx.ui.graphics.Shape component2(); |
| 234 | method public androidx.ui.material.Shapes copy(androidx.ui.graphics.Shape button, androidx.ui.graphics.Shape card); |
| 235 | method public androidx.ui.graphics.Shape getButton(); |
| 236 | method public androidx.ui.graphics.Shape getCard(); |
| 237 | } |
| 238 | |
| 239 | public final class SliderKt { |
| 240 | 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); |
| 241 | } |
| 242 | |
| 243 | public final class SliderPosition { |
Matvei Malkov | c09bc56 | 2020-02-05 18:13:34 -0800 | [diff] [blame] | 244 | ctor public SliderPosition(float initial, kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> valueRange, @IntRange(from=null) int steps, androidx.animation.AnimationClockObservable animatedClock); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 245 | ctor public SliderPosition(); |
| 246 | method public float getValue(); |
| 247 | method public kotlin.ranges.ClosedFloatingPointRange<java.lang.Float> getValueRange(); |
| 248 | method public void setValue(float value); |
| 249 | property public final float value; |
| 250 | } |
| 251 | |
| 252 | public final class SnackbarKt { |
| 253 | 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); |
| 254 | 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); |
| 255 | } |
| 256 | |
| 257 | public final class SwitchKt { |
| 258 | 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); |
| 259 | } |
| 260 | |
| 261 | public final class TabKt { |
Louis Pullen-Freilich | 30f5669 | 2020-01-30 19:06:30 +0000 | [diff] [blame] | 262 | method public static void Tab(String? text = null, androidx.ui.graphics.Image? icon = null, boolean selected, kotlin.jvm.functions.Function0<kotlin.Unit> onSelected, androidx.ui.graphics.Color activeColor = contentColor(), androidx.ui.graphics.Color inactiveColor = MaterialTheme.emphasisLevels().medium.emphasize(activeColor)); |
| 263 | method public static <T> void TabRow(java.util.List<? extends T> items, int selectedIndex, androidx.ui.graphics.Color color = MaterialTheme.colors().primarySurface, androidx.ui.graphics.Color contentColor = contentColorFor(color), boolean scrollable = false, kotlin.jvm.functions.Function1<? super java.util.List<androidx.ui.material.TabRow.TabPosition>,kotlin.Unit> indicatorContainer = { tabPositions -> TabRow.IndicatorContainer(tabPositions, selectedIndex, { |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 264 | TabRow.Indicator() |
Louis Pullen-Freilich | 7a4e6547 | 2020-02-07 15:44:08 +0000 | [diff] [blame] | 265 | }) }, kotlin.jvm.functions.Function0<kotlin.Unit> divider = { Divider(1.dp, contentColor().copy(DividerOpacity)) }, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> tab); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 266 | } |
| 267 | |
| 268 | public final class TabRow { |
Louis Pullen-Freilich | 30f5669 | 2020-01-30 19:06:30 +0000 | [diff] [blame] | 269 | method public void Indicator(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Color color = contentColor()); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 270 | method public void IndicatorContainer(java.util.List<androidx.ui.material.TabRow.TabPosition> tabPositions, int selectedIndex, kotlin.jvm.functions.Function0<kotlin.Unit> indicator); |
| 271 | field public static final androidx.ui.material.TabRow! INSTANCE; |
| 272 | } |
| 273 | |
| 274 | public static final class TabRow.TabPosition { |
| 275 | method public androidx.ui.unit.IntPx component1(); |
| 276 | method public androidx.ui.unit.IntPx component2(); |
| 277 | method public androidx.ui.material.TabRow.TabPosition copy(androidx.ui.unit.IntPx left, androidx.ui.unit.IntPx width); |
| 278 | method public androidx.ui.unit.IntPx getLeft(); |
| 279 | method public androidx.ui.unit.IntPx getRight(); |
| 280 | method public androidx.ui.unit.IntPx getWidth(); |
| 281 | property public final androidx.ui.unit.IntPx right; |
| 282 | } |
| 283 | |
| 284 | public final class Typography { |
| 285 | 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); |
| 286 | ctor public Typography(); |
| 287 | method public androidx.ui.text.TextStyle component1(); |
| 288 | method public androidx.ui.text.TextStyle component10(); |
| 289 | method public androidx.ui.text.TextStyle component11(); |
| 290 | method public androidx.ui.text.TextStyle component12(); |
| 291 | method public androidx.ui.text.TextStyle component13(); |
| 292 | method public androidx.ui.text.TextStyle component2(); |
| 293 | method public androidx.ui.text.TextStyle component3(); |
| 294 | method public androidx.ui.text.TextStyle component4(); |
| 295 | method public androidx.ui.text.TextStyle component5(); |
| 296 | method public androidx.ui.text.TextStyle component6(); |
| 297 | method public androidx.ui.text.TextStyle component7(); |
| 298 | method public androidx.ui.text.TextStyle component8(); |
| 299 | method public androidx.ui.text.TextStyle component9(); |
| 300 | 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); |
| 301 | method public androidx.ui.text.TextStyle getBody1(); |
| 302 | method public androidx.ui.text.TextStyle getBody2(); |
| 303 | method public androidx.ui.text.TextStyle getButton(); |
| 304 | method public androidx.ui.text.TextStyle getCaption(); |
| 305 | method public androidx.ui.text.TextStyle getH1(); |
| 306 | method public androidx.ui.text.TextStyle getH2(); |
| 307 | method public androidx.ui.text.TextStyle getH3(); |
| 308 | method public androidx.ui.text.TextStyle getH4(); |
| 309 | method public androidx.ui.text.TextStyle getH5(); |
| 310 | method public androidx.ui.text.TextStyle getH6(); |
| 311 | method public androidx.ui.text.TextStyle getOverline(); |
| 312 | method public androidx.ui.text.TextStyle getSubtitle1(); |
| 313 | method public androidx.ui.text.TextStyle getSubtitle2(); |
| 314 | } |
| 315 | |
| 316 | public final class TypographyKt { |
| 317 | } |
| 318 | |
| 319 | } |
| 320 | |
| 321 | package androidx.ui.material.internal { |
| 322 | |
| 323 | public final class StateDraggableKt { |
| 324 | } |
| 325 | |
| 326 | } |
| 327 | |
| 328 | package androidx.ui.material.ripple { |
| 329 | |
| 330 | public final class DefaultRippleEffectFactory implements androidx.ui.material.ripple.RippleEffectFactory { |
Patrick Hum | 14d3712 | 2020-01-13 15:27:31 -0800 | [diff] [blame] | 331 | method public androidx.ui.material.ripple.RippleEffect create(androidx.ui.core.LayoutCoordinates coordinates, androidx.ui.unit.PxPosition startPosition, androidx.ui.unit.Density density, androidx.ui.unit.Dp? radius, boolean clipped, androidx.animation.AnimationClockObservable clock, kotlin.jvm.functions.Function0<kotlin.Unit> requestRedraw, kotlin.jvm.functions.Function1<? super androidx.ui.material.ripple.RippleEffect,kotlin.Unit> onAnimationFinished); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 332 | field public static final androidx.ui.material.ripple.DefaultRippleEffectFactory! INSTANCE; |
| 333 | } |
| 334 | |
| 335 | public final class DefaultRippleEffectKt { |
| 336 | } |
| 337 | |
| 338 | public interface RippleEffect { |
| 339 | method public void dispose(); |
| 340 | method public void draw(androidx.ui.graphics.Canvas canvas, androidx.ui.graphics.Color color); |
| 341 | method public void finish(boolean canceled); |
| 342 | } |
| 343 | |
| 344 | public interface RippleEffectFactory { |
Patrick Hum | 14d3712 | 2020-01-13 15:27:31 -0800 | [diff] [blame] | 345 | method public androidx.ui.material.ripple.RippleEffect create(androidx.ui.core.LayoutCoordinates coordinates, androidx.ui.unit.PxPosition startPosition, androidx.ui.unit.Density density, androidx.ui.unit.Dp? radius, boolean clipped, androidx.animation.AnimationClockObservable clock, kotlin.jvm.functions.Function0<kotlin.Unit> requestRedraw, kotlin.jvm.functions.Function1<? super androidx.ui.material.ripple.RippleEffect,kotlin.Unit> onAnimationFinished); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 346 | } |
| 347 | |
| 348 | public final class RippleKt { |
Patrick Hum | 14d3712 | 2020-01-13 15:27:31 -0800 | [diff] [blame] | 349 | method public static void Ripple(boolean bounded, androidx.ui.unit.Dp? radius = null, androidx.ui.graphics.Color? color = null, boolean enabled = true, androidx.animation.AnimationClockObservable clock = AnimationClockAmbient.current, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 350 | } |
| 351 | |
| 352 | public final class RippleTheme { |
| 353 | ctor public RippleTheme(androidx.ui.material.ripple.RippleEffectFactory factory, kotlin.jvm.functions.Function0<androidx.ui.graphics.Color> defaultColor, kotlin.jvm.functions.Function0<java.lang.Float> opacity); |
| 354 | method public androidx.ui.material.ripple.RippleEffectFactory component1(); |
| 355 | method public kotlin.jvm.functions.Function0<androidx.ui.graphics.Color> component2(); |
| 356 | method public kotlin.jvm.functions.Function0<java.lang.Float> component3(); |
| 357 | method public androidx.ui.material.ripple.RippleTheme copy(androidx.ui.material.ripple.RippleEffectFactory factory, kotlin.jvm.functions.Function0<androidx.ui.graphics.Color> defaultColor, kotlin.jvm.functions.Function0<java.lang.Float> opacity); |
| 358 | method public kotlin.jvm.functions.Function0<androidx.ui.graphics.Color> getDefaultColor(); |
| 359 | method public androidx.ui.material.ripple.RippleEffectFactory getFactory(); |
| 360 | method public kotlin.jvm.functions.Function0<java.lang.Float> getOpacity(); |
| 361 | } |
| 362 | |
| 363 | public final class RippleThemeKt { |
| 364 | method public static androidx.compose.ProvidableAmbient<androidx.ui.material.ripple.RippleTheme> getRippleThemeAmbient(); |
| 365 | } |
| 366 | |
| 367 | } |
| 368 | |
| 369 | package androidx.ui.material.surface { |
| 370 | |
| 371 | public final class CardKt { |
Matvei Malkov | d4471aa | 2020-01-30 17:28:31 +0000 | [diff] [blame] | 372 | method public static void Card(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Shape shape = card, androidx.ui.graphics.Color color = MaterialTheme.colors().surface, androidx.ui.graphics.Color contentColor = contentColorFor(color), androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp elevation = 1.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 373 | } |
| 374 | |
| 375 | public final class SurfaceKt { |
Matvei Malkov | d4471aa | 2020-01-30 17:28:31 +0000 | [diff] [blame] | 376 | method public static void Surface(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.graphics.Shape shape = RectangleShape, androidx.ui.graphics.Color color = MaterialTheme.colors().surface, androidx.ui.graphics.Color contentColor = contentColorFor(color), androidx.ui.foundation.Border? border = null, androidx.ui.unit.Dp elevation = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Louis Pullen-Freilich | 30f5669 | 2020-01-30 19:06:30 +0000 | [diff] [blame] | 377 | method public static androidx.ui.graphics.Color getPrimarySurface(androidx.ui.material.ColorPalette); |
George Mount | 1630be2 | 2020-01-29 15:10:28 -0800 | [diff] [blame] | 378 | } |
| 379 | |
| 380 | } |
| 381 | |