Mihai Popa | 3d1ff1d | 2019-02-25 12:03:23 +0000 | [diff] [blame] | 1 | // Signature format: 3.0 |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 2 | package androidx.ui.layout { |
| 3 | |
| 4 | public final class AlignKt { |
| 5 | ctor public AlignKt(); |
Qingqing Deng | 8c5d038 | 2019-09-16 11:59:16 -0700 | [diff] [blame] | 6 | method public static void Align(androidx.ui.core.Alignment alignment, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 7 | method public static void Center(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 8 | } |
| 9 | |
Mihai Popa | 60263e2 | 2019-08-27 18:57:41 +0100 | [diff] [blame] | 10 | public final class AlignmentLineKt { |
| 11 | ctor public AlignmentLineKt(); |
| 12 | method public static void AlignmentLineOffset(androidx.ui.core.AlignmentLine alignmentLine, androidx.ui.core.Dp before = 0.dp, androidx.ui.core.Dp after = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Mihai Popa | 623dc27 | 2019-08-29 15:36:37 +0100 | [diff] [blame] | 13 | method public static void CenterAlignmentLine(androidx.ui.core.AlignmentLine alignmentLine, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Mihai Popa | 60263e2 | 2019-08-27 18:57:41 +0100 | [diff] [blame] | 14 | } |
| 15 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 16 | public final class AspectRatioKt { |
| 17 | ctor public AspectRatioKt(); |
Anastasia Soboleva | 1de1d10 | 2019-09-30 16:48:31 +0100 | [diff] [blame] | 18 | method public static androidx.ui.core.LayoutModifier AspectRatio(float value); |
Anastasia Soboleva | a02c625 | 2019-10-07 23:16:00 +0100 | [diff] [blame] | 19 | method @Deprecated public static void AspectRatio(float aspectRatio, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 20 | } |
| 21 | |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 22 | public final class ColumnScope extends androidx.ui.layout.FlexScope { |
| 23 | method public androidx.ui.core.LayoutModifier getCenter(androidx.ui.layout.Gravity); |
| 24 | method public androidx.ui.core.LayoutModifier getEnd(androidx.ui.layout.Gravity); |
| 25 | method public androidx.ui.core.LayoutModifier getStart(androidx.ui.layout.Gravity); |
| 26 | property public final androidx.ui.core.LayoutModifier Center; |
| 27 | property public final androidx.ui.core.LayoutModifier End; |
| 28 | property public final androidx.ui.core.LayoutModifier Start; |
| 29 | } |
| 30 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 31 | public final class ConstrainedBoxKt { |
| 32 | ctor public ConstrainedBoxKt(); |
Adam Powell | 384bbaa | 2019-07-11 14:44:14 -0700 | [diff] [blame] | 33 | method public static void ConstrainedBox(androidx.ui.layout.DpConstraints constraints, androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | public final class ContainerKt { |
| 37 | ctor public ContainerKt(); |
Adam Powell | 384bbaa | 2019-07-11 14:44:14 -0700 | [diff] [blame] | 38 | method public static void Container(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.layout.EdgeInsets padding = androidx.ui.layout.EdgeInsets(0.dp), androidx.ui.core.Alignment alignment = Alignment.Center, boolean expanded = false, androidx.ui.layout.DpConstraints constraints = androidx.ui.layout.DpConstraints(), androidx.ui.core.Dp? width = null, androidx.ui.core.Dp? height = null, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 39 | } |
| 40 | |
Mihai Popa | 2dd08e2 | 2019-07-30 19:19:53 +0100 | [diff] [blame] | 41 | public final class CrossAxisAlignment { |
| 42 | field public static final androidx.ui.layout.CrossAxisAlignment.Companion! Companion; |
| 43 | } |
| 44 | |
| 45 | public static final class CrossAxisAlignment.Companion { |
| 46 | method public androidx.ui.layout.CrossAxisAlignment AlignmentLine(androidx.ui.core.AlignmentLine alignmentLine); |
| 47 | method public androidx.ui.layout.CrossAxisAlignment getCenter(); |
| 48 | method public androidx.ui.layout.CrossAxisAlignment getEnd(); |
| 49 | method public androidx.ui.layout.CrossAxisAlignment getStart(); |
| 50 | method public androidx.ui.layout.CrossAxisAlignment getStretch(); |
| 51 | property public final androidx.ui.layout.CrossAxisAlignment Center; |
| 52 | property public final androidx.ui.layout.CrossAxisAlignment End; |
| 53 | property public final androidx.ui.layout.CrossAxisAlignment Start; |
| 54 | property public final androidx.ui.layout.CrossAxisAlignment Stretch; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | public final class DpConstraints { |
| 58 | ctor public DpConstraints(androidx.ui.core.Dp minWidth, androidx.ui.core.Dp maxWidth, androidx.ui.core.Dp minHeight, androidx.ui.core.Dp maxHeight); |
| 59 | ctor public DpConstraints(); |
| 60 | method public androidx.ui.core.Dp component1(); |
| 61 | method public androidx.ui.core.Dp component2(); |
| 62 | method public androidx.ui.core.Dp component3(); |
| 63 | method public androidx.ui.core.Dp component4(); |
| 64 | method public androidx.ui.layout.DpConstraints copy(androidx.ui.core.Dp minWidth, androidx.ui.core.Dp maxWidth, androidx.ui.core.Dp minHeight, androidx.ui.core.Dp maxHeight); |
| 65 | method public androidx.ui.core.Dp getMaxHeight(); |
| 66 | method public androidx.ui.core.Dp getMaxWidth(); |
| 67 | method public androidx.ui.core.Dp getMinHeight(); |
| 68 | method public androidx.ui.core.Dp getMinWidth(); |
| 69 | field public static final androidx.ui.layout.DpConstraints.Companion! Companion; |
| 70 | } |
| 71 | |
| 72 | public static final class DpConstraints.Companion { |
| 73 | method public androidx.ui.layout.DpConstraints tightConstraints(androidx.ui.core.Dp width, androidx.ui.core.Dp height); |
| 74 | method public androidx.ui.layout.DpConstraints tightConstraintsForHeight(androidx.ui.core.Dp height); |
| 75 | method public androidx.ui.layout.DpConstraints tightConstraintsForWidth(androidx.ui.core.Dp width); |
| 76 | } |
| 77 | |
| 78 | public final class DpConstraintsKt { |
| 79 | ctor public DpConstraintsKt(); |
Adam Powell | 384bbaa | 2019-07-11 14:44:14 -0700 | [diff] [blame] | 80 | method public static androidx.ui.core.Constraints Constraints(androidx.ui.core.DensityScope, androidx.ui.layout.DpConstraints dpConstraints); |
| 81 | method public static androidx.ui.layout.DpConstraints DpConstraints(androidx.ui.core.DensityScope, androidx.ui.core.Constraints constraints); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 82 | method public static androidx.ui.layout.DpConstraints enforce(androidx.ui.layout.DpConstraints, androidx.ui.layout.DpConstraints otherConstraints); |
| 83 | method public static boolean getHasBoundedHeight(androidx.ui.layout.DpConstraints); |
| 84 | method public static boolean getHasBoundedWidth(androidx.ui.layout.DpConstraints); |
| 85 | method public static boolean getHasTightHeight(androidx.ui.layout.DpConstraints); |
| 86 | method public static boolean getHasTightWidth(androidx.ui.layout.DpConstraints); |
| 87 | method public static boolean getSatisfiable(androidx.ui.layout.DpConstraints); |
| 88 | method public static boolean isTight(androidx.ui.layout.DpConstraints); |
| 89 | method public static boolean isZero(androidx.ui.layout.DpConstraints); |
| 90 | method public static androidx.ui.layout.DpConstraints looseMax(androidx.ui.layout.DpConstraints); |
| 91 | method public static androidx.ui.layout.DpConstraints looseMin(androidx.ui.layout.DpConstraints); |
| 92 | method public static androidx.ui.layout.DpConstraints offset(androidx.ui.layout.DpConstraints, androidx.ui.core.Dp horizontal = 0.dp, androidx.ui.core.Dp vertical = 0.dp); |
| 93 | method public static androidx.ui.layout.DpConstraints tightMax(androidx.ui.layout.DpConstraints); |
| 94 | method public static androidx.ui.layout.DpConstraints tightMin(androidx.ui.layout.DpConstraints); |
| 95 | method public static androidx.ui.layout.DpConstraints withTight(androidx.ui.layout.DpConstraints, androidx.ui.core.Dp? width = null, androidx.ui.core.Dp? height = null); |
| 96 | } |
| 97 | |
| 98 | public final class EdgeInsets { |
| 99 | ctor public EdgeInsets(androidx.ui.core.Dp left, androidx.ui.core.Dp top, androidx.ui.core.Dp right, androidx.ui.core.Dp bottom); |
| 100 | ctor public EdgeInsets(); |
| 101 | ctor public EdgeInsets(androidx.ui.core.Dp all); |
| 102 | method public androidx.ui.core.Dp component1(); |
| 103 | method public androidx.ui.core.Dp component2(); |
| 104 | method public androidx.ui.core.Dp component3(); |
| 105 | method public androidx.ui.core.Dp component4(); |
| 106 | method public androidx.ui.layout.EdgeInsets copy(androidx.ui.core.Dp left, androidx.ui.core.Dp top, androidx.ui.core.Dp right, androidx.ui.core.Dp bottom); |
| 107 | method public androidx.ui.core.Dp getBottom(); |
| 108 | method public androidx.ui.core.Dp getLeft(); |
| 109 | method public androidx.ui.core.Dp getRight(); |
| 110 | method public androidx.ui.core.Dp getTop(); |
| 111 | } |
| 112 | |
Anastasia Soboleva | 36ee15a | 2019-10-04 18:50:16 +0100 | [diff] [blame] | 113 | public final class ExpandedModifierKt { |
| 114 | ctor public ExpandedModifierKt(); |
| 115 | method public static androidx.ui.core.LayoutModifier getExpanded(); |
| 116 | method public static androidx.ui.core.LayoutModifier getExpandedHeight(); |
| 117 | method public static androidx.ui.core.LayoutModifier getExpandedWidth(); |
| 118 | } |
| 119 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 120 | public final class FlexChildren { |
| 121 | method public void expanded(@FloatRange(from=0.0) float flex, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 122 | method public void flexible(@FloatRange(from=0.0) float flex, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 123 | method public void inflexible(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 124 | } |
| 125 | |
| 126 | public final class FlexKt { |
| 127 | ctor public FlexKt(); |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 128 | method public static void Column(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Start, androidx.ui.layout.LayoutSize crossAxisSize = androidx.ui.layout.LayoutSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.ColumnScope,kotlin.Unit> block); |
Anastasia Soboleva | f5f1fda | 2019-10-18 18:59:10 +0100 | [diff] [blame] | 129 | method public static void FlexColumn(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Start, androidx.ui.layout.LayoutSize crossAxisSize = androidx.ui.layout.LayoutSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.FlexChildren,kotlin.Unit> block); |
| 130 | method public static void FlexRow(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Start, androidx.ui.layout.LayoutSize crossAxisSize = androidx.ui.layout.LayoutSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.FlexChildren,kotlin.Unit> block); |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 131 | method public static void Row(androidx.ui.core.Modifier modifier = Modifier.None, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Start, androidx.ui.layout.LayoutSize crossAxisSize = androidx.ui.layout.LayoutSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.RowScope,kotlin.Unit> block); |
Anastasia Soboleva | 534768f | 2019-10-14 11:17:45 +0100 | [diff] [blame] | 132 | } |
| 133 | |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 134 | public abstract sealed class FlexScope { |
| 135 | method public final androidx.ui.core.LayoutModifier Flexible(float flex, boolean tight = true); |
| 136 | method public final androidx.ui.core.LayoutModifier getInflexible(); |
Anastasia Soboleva | 534768f | 2019-10-14 11:17:45 +0100 | [diff] [blame] | 137 | property public final androidx.ui.core.LayoutModifier Inflexible; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 138 | } |
| 139 | |
Calin Tataru | 940129e | 2019-09-09 17:32:57 +0100 | [diff] [blame] | 140 | public enum FlowCrossAxisAlignment { |
| 141 | enum_constant public static final androidx.ui.layout.FlowCrossAxisAlignment Center; |
| 142 | enum_constant public static final androidx.ui.layout.FlowCrossAxisAlignment End; |
| 143 | enum_constant public static final androidx.ui.layout.FlowCrossAxisAlignment Start; |
| 144 | } |
| 145 | |
| 146 | public final class FlowKt { |
| 147 | ctor public FlowKt(); |
Jeff Gaston | 383ecf8 | 2019-10-16 14:50:13 -0400 | [diff] [blame] | 148 | method public static void FlowColumn(androidx.ui.layout.LayoutSize mainAxisSize = androidx.ui.layout.LayoutSize.Wrap, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.core.Dp mainAxisSpacing = 0.dp, androidx.ui.layout.FlowCrossAxisAlignment crossAxisAlignment = androidx.ui.layout.FlowCrossAxisAlignment.Start, androidx.ui.core.Dp crossAxisSpacing = 0.dp, androidx.ui.layout.MainAxisAlignment lastLineMainAxisAlignment = mainAxisAlignment, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 149 | method public static void FlowRow(androidx.ui.layout.LayoutSize mainAxisSize = androidx.ui.layout.LayoutSize.Wrap, androidx.ui.layout.MainAxisAlignment mainAxisAlignment = androidx.ui.layout.MainAxisAlignment.Start, androidx.ui.core.Dp mainAxisSpacing = 0.dp, androidx.ui.layout.FlowCrossAxisAlignment crossAxisAlignment = androidx.ui.layout.FlowCrossAxisAlignment.Start, androidx.ui.core.Dp crossAxisSpacing = 0.dp, androidx.ui.layout.MainAxisAlignment lastLineMainAxisAlignment = mainAxisAlignment, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 150 | } |
| 151 | |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 152 | public final class Gravity { |
| 153 | field public static final androidx.ui.layout.Gravity! INSTANCE; |
| 154 | } |
| 155 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 156 | public final class IntrinsicKt { |
| 157 | ctor public IntrinsicKt(); |
| 158 | method public static void MaxIntrinsicHeight(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 159 | method public static void MaxIntrinsicWidth(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 160 | method public static void MinIntrinsicHeight(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 161 | method public static void MinIntrinsicWidth(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 162 | } |
| 163 | |
Calin Tataru | 940129e | 2019-09-09 17:32:57 +0100 | [diff] [blame] | 164 | public enum LayoutSize { |
| 165 | enum_constant public static final androidx.ui.layout.LayoutSize Expand; |
| 166 | enum_constant public static final androidx.ui.layout.LayoutSize Wrap; |
| 167 | } |
| 168 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 169 | public enum MainAxisAlignment { |
| 170 | enum_constant public static final androidx.ui.layout.MainAxisAlignment Center; |
| 171 | enum_constant public static final androidx.ui.layout.MainAxisAlignment End; |
| 172 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceAround; |
| 173 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceBetween; |
| 174 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceEvenly; |
| 175 | enum_constant public static final androidx.ui.layout.MainAxisAlignment Start; |
| 176 | } |
| 177 | |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame^] | 178 | public final class RowScope extends androidx.ui.layout.FlexScope { |
| 179 | method public androidx.ui.core.LayoutModifier getBottom(androidx.ui.layout.Gravity); |
| 180 | method public androidx.ui.core.LayoutModifier getCenter(androidx.ui.layout.Gravity); |
| 181 | method public androidx.ui.core.LayoutModifier getTop(androidx.ui.layout.Gravity); |
| 182 | property public final androidx.ui.core.LayoutModifier Bottom; |
| 183 | property public final androidx.ui.core.LayoutModifier Center; |
| 184 | property public final androidx.ui.core.LayoutModifier Top; |
| 185 | } |
| 186 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 187 | public final class SpacerKt { |
| 188 | ctor public SpacerKt(); |
| 189 | method public static void FixedSpacer(androidx.ui.core.Dp width, androidx.ui.core.Dp height); |
| 190 | method public static void HeightSpacer(androidx.ui.core.Dp height); |
| 191 | method public static void WidthSpacer(androidx.ui.core.Dp width); |
| 192 | } |
| 193 | |
Mihai Popa | a797a20 | 2019-10-15 19:33:06 +0100 | [diff] [blame] | 194 | public final class SpacingKt { |
| 195 | ctor public SpacingKt(); |
| 196 | method public static void Padding(androidx.ui.layout.EdgeInsets padding, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 197 | method public static void Padding(androidx.ui.core.Dp left = 0.dp, androidx.ui.core.Dp top = 0.dp, androidx.ui.core.Dp right = 0.dp, androidx.ui.core.Dp bottom = 0.dp, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 198 | method public static void Padding(androidx.ui.core.Dp padding, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 199 | method public static androidx.ui.core.LayoutModifier Spacing(androidx.ui.core.Dp left = 0.dp, androidx.ui.core.Dp top = 0.dp, androidx.ui.core.Dp right = 0.dp, androidx.ui.core.Dp bottom = 0.dp); |
| 200 | method public static androidx.ui.core.LayoutModifier Spacing(androidx.ui.core.Dp all = 0.dp); |
| 201 | } |
| 202 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 203 | public final class StackChildren { |
| 204 | ctor public StackChildren(); |
Qingqing Deng | 8c5d038 | 2019-09-16 11:59:16 -0700 | [diff] [blame] | 205 | method public void aligned(androidx.ui.core.Alignment alignment, boolean loose = true, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 206 | method public void expanded(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Qingqing Deng | 8c5d038 | 2019-09-16 11:59:16 -0700 | [diff] [blame] | 207 | method public void positioned(androidx.ui.core.Dp? leftInset = null, androidx.ui.core.Dp? topInset = null, androidx.ui.core.Dp? rightInset = null, androidx.ui.core.Dp? bottomInset = null, androidx.ui.core.Alignment fallbackAlignment = Alignment.Center, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 208 | } |
| 209 | |
| 210 | public final class StackKt { |
| 211 | ctor public StackKt(); |
Adam Powell | 384bbaa | 2019-07-11 14:44:14 -0700 | [diff] [blame] | 212 | method public static void Stack(androidx.ui.core.Modifier modifier = Modifier.None, kotlin.jvm.functions.Function1<? super androidx.ui.layout.StackChildren,kotlin.Unit> block); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 213 | } |
| 214 | |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 215 | public final class TableChildren { |
Calin Tataru | 3c63b73 | 2019-09-04 11:12:28 +0100 | [diff] [blame] | 216 | method public void tableDecoration(boolean overlay, kotlin.jvm.functions.Function1<? super androidx.ui.layout.TableDecorationChildren,kotlin.Unit> decoration); |
Calin Tataru | 36e1b03 | 2019-09-03 12:14:47 +0100 | [diff] [blame] | 217 | method public void tableRow(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 218 | } |
| 219 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 220 | public abstract class TableColumnWidth { |
Calin Tataru | 4687586 | 2019-09-02 18:35:07 +0100 | [diff] [blame] | 221 | method public androidx.ui.core.IntPx maxIntrinsicWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density, androidx.ui.core.IntPx availableHeight); |
| 222 | method public androidx.ui.core.IntPx minIntrinsicWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density, androidx.ui.core.IntPx availableHeight); |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 223 | method public abstract androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 224 | } |
| 225 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 226 | public static final class TableColumnWidth.Fixed extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 227 | ctor public TableColumnWidth.Fixed(androidx.ui.core.Dp width); |
| 228 | method public androidx.ui.layout.TableColumnWidth.Fixed copy(androidx.ui.core.Dp width); |
| 229 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 230 | } |
| 231 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 232 | public static final class TableColumnWidth.Flex extends androidx.ui.layout.TableColumnWidth { |
| 233 | ctor public TableColumnWidth.Flex(@FloatRange(from=null) float flex); |
| 234 | method public androidx.ui.layout.TableColumnWidth.Flex copy(float flex); |
| 235 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 236 | } |
| 237 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 238 | public static final class TableColumnWidth.Fraction extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 239 | ctor public TableColumnWidth.Fraction(@FloatRange(from=null, to=null) float fraction); |
| 240 | method public androidx.ui.layout.TableColumnWidth.Fraction copy(float fraction); |
| 241 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 242 | } |
| 243 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 244 | public abstract static class TableColumnWidth.Inflexible extends androidx.ui.layout.TableColumnWidth { |
| 245 | ctor public TableColumnWidth.Inflexible(); |
| 246 | method public final androidx.ui.layout.TableColumnWidth flexible(float flex); |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 247 | } |
| 248 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 249 | public static final class TableColumnWidth.Max extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 250 | ctor public TableColumnWidth.Max(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 251 | method public androidx.ui.layout.TableColumnWidth.Max copy(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 252 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 253 | } |
| 254 | |
Calin Tataru | 4687586 | 2019-09-02 18:35:07 +0100 | [diff] [blame] | 255 | public static final class TableColumnWidth.MaxIntrinsic extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 256 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
| 257 | field public static final androidx.ui.layout.TableColumnWidth.MaxIntrinsic! INSTANCE; |
| 258 | } |
| 259 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 260 | public static final class TableColumnWidth.Min extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 261 | ctor public TableColumnWidth.Min(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 262 | method public androidx.ui.layout.TableColumnWidth.Min copy(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 263 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 264 | } |
| 265 | |
Calin Tataru | 4687586 | 2019-09-02 18:35:07 +0100 | [diff] [blame] | 266 | public static final class TableColumnWidth.MinIntrinsic extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 267 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
| 268 | field public static final androidx.ui.layout.TableColumnWidth.MinIntrinsic! INSTANCE; |
| 269 | } |
| 270 | |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 271 | public static final class TableColumnWidth.Wrap extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 272 | method public androidx.ui.core.IntPx preferredWidth(java.util.List<androidx.ui.layout.TableMeasurable> cells, androidx.ui.core.IntPx containerWidth, androidx.ui.core.Density density); |
| 273 | field public static final androidx.ui.layout.TableColumnWidth.Wrap! INSTANCE; |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 274 | } |
| 275 | |
Calin Tataru | 3c63b73 | 2019-09-04 11:12:28 +0100 | [diff] [blame] | 276 | public final class TableDecorationChildren { |
| 277 | method public java.util.List<androidx.ui.core.IntPx> component1(); |
| 278 | method public java.util.List<androidx.ui.core.IntPx> component2(); |
| 279 | method public androidx.ui.layout.TableDecorationChildren copy(java.util.List<androidx.ui.core.IntPx> verticalOffsets, java.util.List<androidx.ui.core.IntPx> horizontalOffsets); |
| 280 | method public java.util.List<androidx.ui.core.IntPx> getHorizontalOffsets(); |
| 281 | method public java.util.List<androidx.ui.core.IntPx> getVerticalOffsets(); |
| 282 | } |
| 283 | |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 284 | public final class TableKt { |
| 285 | ctor public TableKt(); |
Calin Tataru | d783448 | 2019-08-15 17:18:27 +0100 | [diff] [blame] | 286 | method public static void Table(int columns, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends androidx.ui.core.Alignment> alignment = { Alignment.TopLeft }, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends androidx.ui.layout.TableColumnWidth> columnWidth = { TableColumnWidth.<init>(1.0) }, kotlin.jvm.functions.Function1<? super androidx.ui.layout.TableChildren,kotlin.Unit> block); |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 287 | } |
| 288 | |
| 289 | public final class TableMeasurable { |
| 290 | method public kotlin.jvm.functions.Function0<androidx.ui.core.IntPx> component1(); |
Calin Tataru | 4687586 | 2019-09-02 18:35:07 +0100 | [diff] [blame] | 291 | method public kotlin.jvm.functions.Function1<androidx.ui.core.IntPx,androidx.ui.core.IntPx> component2(); |
| 292 | method public kotlin.jvm.functions.Function1<androidx.ui.core.IntPx,androidx.ui.core.IntPx> component3(); |
| 293 | method public androidx.ui.layout.TableMeasurable copy(kotlin.jvm.functions.Function0<androidx.ui.core.IntPx> preferredWidth, kotlin.jvm.functions.Function1<? super androidx.ui.core.IntPx,androidx.ui.core.IntPx> minIntrinsicWidth, kotlin.jvm.functions.Function1<? super androidx.ui.core.IntPx,androidx.ui.core.IntPx> maxIntrinsicWidth); |
| 294 | method public kotlin.jvm.functions.Function1<androidx.ui.core.IntPx,androidx.ui.core.IntPx> getMaxIntrinsicWidth(); |
| 295 | method public kotlin.jvm.functions.Function1<androidx.ui.core.IntPx,androidx.ui.core.IntPx> getMinIntrinsicWidth(); |
Calin Tataru | 84b7aec | 2019-08-09 14:17:47 +0100 | [diff] [blame] | 296 | method public kotlin.jvm.functions.Function0<androidx.ui.core.IntPx> getPreferredWidth(); |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 297 | } |
| 298 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 299 | public final class WrapKt { |
| 300 | ctor public WrapKt(); |
Qingqing Deng | 8c5d038 | 2019-09-16 11:59:16 -0700 | [diff] [blame] | 301 | method public static void Wrap(androidx.ui.core.Alignment alignment = Alignment.TopLeft, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 302 | } |
| 303 | |
| 304 | } |
| 305 | |