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(); |
| 6 | method public static void Align(androidx.ui.layout.Alignment alignment, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 7 | method public static void Center(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 8 | } |
| 9 | |
| 10 | public enum Alignment { |
| 11 | method public final androidx.ui.core.IntPxPosition align(androidx.ui.core.IntPxSize size); |
| 12 | enum_constant public static final androidx.ui.layout.Alignment BottomCenter; |
| 13 | enum_constant public static final androidx.ui.layout.Alignment BottomLeft; |
| 14 | enum_constant public static final androidx.ui.layout.Alignment BottomRight; |
| 15 | enum_constant public static final androidx.ui.layout.Alignment Center; |
| 16 | enum_constant public static final androidx.ui.layout.Alignment CenterLeft; |
| 17 | enum_constant public static final androidx.ui.layout.Alignment CenterRight; |
| 18 | enum_constant public static final androidx.ui.layout.Alignment TopCenter; |
| 19 | enum_constant public static final androidx.ui.layout.Alignment TopLeft; |
| 20 | enum_constant public static final androidx.ui.layout.Alignment TopRight; |
| 21 | } |
| 22 | |
Mihai Popa | 60263e2 | 2019-08-27 18:57:41 +0100 | [diff] [blame^] | 23 | public final class AlignmentLineKt { |
| 24 | ctor public AlignmentLineKt(); |
| 25 | 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); |
| 26 | } |
| 27 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 28 | public final class AspectRatioKt { |
| 29 | ctor public AspectRatioKt(); |
| 30 | method public static void AspectRatio(float aspectRatio, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 31 | } |
| 32 | |
| 33 | public final class ConstrainedBoxKt { |
| 34 | ctor public ConstrainedBoxKt(); |
| 35 | method public static void ConstrainedBox(androidx.ui.layout.DpConstraints constraints, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 36 | } |
| 37 | |
| 38 | public final class ContainerKt { |
| 39 | ctor public ContainerKt(); |
| 40 | method public static void Container(androidx.ui.layout.EdgeInsets padding = androidx.ui.layout.EdgeInsets(0.dp), androidx.ui.layout.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); |
| 41 | } |
| 42 | |
Mihai Popa | 2dd08e2 | 2019-07-30 19:19:53 +0100 | [diff] [blame] | 43 | public final class CrossAxisAlignment { |
| 44 | field public static final androidx.ui.layout.CrossAxisAlignment.Companion! Companion; |
| 45 | } |
| 46 | |
| 47 | public static final class CrossAxisAlignment.Companion { |
| 48 | method public androidx.ui.layout.CrossAxisAlignment AlignmentLine(androidx.ui.core.AlignmentLine alignmentLine); |
| 49 | method public androidx.ui.layout.CrossAxisAlignment getCenter(); |
| 50 | method public androidx.ui.layout.CrossAxisAlignment getEnd(); |
| 51 | method public androidx.ui.layout.CrossAxisAlignment getStart(); |
| 52 | method public androidx.ui.layout.CrossAxisAlignment getStretch(); |
| 53 | property public final androidx.ui.layout.CrossAxisAlignment Center; |
| 54 | property public final androidx.ui.layout.CrossAxisAlignment End; |
| 55 | property public final androidx.ui.layout.CrossAxisAlignment Start; |
| 56 | property public final androidx.ui.layout.CrossAxisAlignment Stretch; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 57 | } |
| 58 | |
| 59 | public final class DpConstraints { |
| 60 | ctor public DpConstraints(androidx.ui.core.Dp minWidth, androidx.ui.core.Dp maxWidth, androidx.ui.core.Dp minHeight, androidx.ui.core.Dp maxHeight); |
| 61 | ctor public DpConstraints(); |
| 62 | method public androidx.ui.core.Dp component1(); |
| 63 | method public androidx.ui.core.Dp component2(); |
| 64 | method public androidx.ui.core.Dp component3(); |
| 65 | method public androidx.ui.core.Dp component4(); |
| 66 | 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); |
| 67 | method public androidx.ui.core.Dp getMaxHeight(); |
| 68 | method public androidx.ui.core.Dp getMaxWidth(); |
| 69 | method public androidx.ui.core.Dp getMinHeight(); |
| 70 | method public androidx.ui.core.Dp getMinWidth(); |
| 71 | field public static final androidx.ui.layout.DpConstraints.Companion! Companion; |
| 72 | } |
| 73 | |
| 74 | public static final class DpConstraints.Companion { |
| 75 | method public androidx.ui.layout.DpConstraints tightConstraints(androidx.ui.core.Dp width, androidx.ui.core.Dp height); |
| 76 | method public androidx.ui.layout.DpConstraints tightConstraintsForHeight(androidx.ui.core.Dp height); |
| 77 | method public androidx.ui.layout.DpConstraints tightConstraintsForWidth(androidx.ui.core.Dp width); |
| 78 | } |
| 79 | |
| 80 | public final class DpConstraintsKt { |
| 81 | ctor public DpConstraintsKt(); |
| 82 | method public static androidx.ui.core.Constraints Constraints(androidx.ui.core.DensityReceiver, androidx.ui.layout.DpConstraints dpConstraints); |
| 83 | method public static androidx.ui.layout.DpConstraints DpConstraints(androidx.ui.core.DensityReceiver, androidx.ui.core.Constraints constraints); |
| 84 | method public static androidx.ui.layout.DpConstraints enforce(androidx.ui.layout.DpConstraints, androidx.ui.layout.DpConstraints otherConstraints); |
| 85 | method public static boolean getHasBoundedHeight(androidx.ui.layout.DpConstraints); |
| 86 | method public static boolean getHasBoundedWidth(androidx.ui.layout.DpConstraints); |
| 87 | method public static boolean getHasTightHeight(androidx.ui.layout.DpConstraints); |
| 88 | method public static boolean getHasTightWidth(androidx.ui.layout.DpConstraints); |
| 89 | method public static boolean getSatisfiable(androidx.ui.layout.DpConstraints); |
| 90 | method public static boolean isTight(androidx.ui.layout.DpConstraints); |
| 91 | method public static boolean isZero(androidx.ui.layout.DpConstraints); |
| 92 | method public static androidx.ui.layout.DpConstraints looseMax(androidx.ui.layout.DpConstraints); |
| 93 | method public static androidx.ui.layout.DpConstraints looseMin(androidx.ui.layout.DpConstraints); |
| 94 | 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); |
| 95 | method public static androidx.ui.layout.DpConstraints tightMax(androidx.ui.layout.DpConstraints); |
| 96 | method public static androidx.ui.layout.DpConstraints tightMin(androidx.ui.layout.DpConstraints); |
| 97 | method public static androidx.ui.layout.DpConstraints withTight(androidx.ui.layout.DpConstraints, androidx.ui.core.Dp? width = null, androidx.ui.core.Dp? height = null); |
| 98 | } |
| 99 | |
| 100 | public final class EdgeInsets { |
| 101 | ctor public EdgeInsets(androidx.ui.core.Dp left, androidx.ui.core.Dp top, androidx.ui.core.Dp right, androidx.ui.core.Dp bottom); |
| 102 | ctor public EdgeInsets(); |
| 103 | ctor public EdgeInsets(androidx.ui.core.Dp all); |
| 104 | method public androidx.ui.core.Dp component1(); |
| 105 | method public androidx.ui.core.Dp component2(); |
| 106 | method public androidx.ui.core.Dp component3(); |
| 107 | method public androidx.ui.core.Dp component4(); |
| 108 | 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); |
| 109 | method public androidx.ui.core.Dp getBottom(); |
| 110 | method public androidx.ui.core.Dp getLeft(); |
| 111 | method public androidx.ui.core.Dp getRight(); |
| 112 | method public androidx.ui.core.Dp getTop(); |
| 113 | } |
| 114 | |
| 115 | public final class FlexChildren { |
| 116 | method public void expanded(@FloatRange(from=0.0) float flex, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 117 | method public void flexible(@FloatRange(from=0.0) float flex, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 118 | method public void inflexible(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 119 | } |
| 120 | |
| 121 | public final class FlexKt { |
| 122 | ctor public FlexKt(); |
Mihai Popa | 72457a6 | 2019-08-27 16:29:52 +0100 | [diff] [blame] | 123 | method public static void Column(androidx.ui.layout.MainAxisAlignment mainAxisAlignment = MainAxisAlignment.Start, androidx.ui.layout.FlexSize mainAxisSize = FlexSize.Expand, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Center, androidx.ui.layout.FlexSize crossAxisSize = FlexSize.Wrap, kotlin.jvm.functions.Function0<kotlin.Unit> block); |
| 124 | method public static void FlexColumn(androidx.ui.layout.MainAxisAlignment mainAxisAlignment = MainAxisAlignment.Start, androidx.ui.layout.FlexSize mainAxisSize = FlexSize.Expand, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Center, androidx.ui.layout.FlexSize crossAxisSize = FlexSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.FlexChildren,kotlin.Unit> block); |
| 125 | method public static void FlexRow(androidx.ui.layout.MainAxisAlignment mainAxisAlignment = MainAxisAlignment.Start, androidx.ui.layout.FlexSize mainAxisSize = FlexSize.Expand, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Center, androidx.ui.layout.FlexSize crossAxisSize = FlexSize.Wrap, kotlin.jvm.functions.Function1<? super androidx.ui.layout.FlexChildren,kotlin.Unit> block); |
| 126 | method public static void Row(androidx.ui.layout.MainAxisAlignment mainAxisAlignment = MainAxisAlignment.Start, androidx.ui.layout.FlexSize mainAxisSize = FlexSize.Expand, androidx.ui.layout.CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.Center, androidx.ui.layout.FlexSize crossAxisSize = FlexSize.Wrap, kotlin.jvm.functions.Function0<kotlin.Unit> block); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 127 | } |
| 128 | |
| 129 | public enum FlexSize { |
Mihai Popa | 72457a6 | 2019-08-27 16:29:52 +0100 | [diff] [blame] | 130 | enum_constant public static final androidx.ui.layout.FlexSize Expand; |
| 131 | enum_constant public static final androidx.ui.layout.FlexSize Wrap; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | public final class IntrinsicKt { |
| 135 | ctor public IntrinsicKt(); |
| 136 | method public static void MaxIntrinsicHeight(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 137 | method public static void MaxIntrinsicWidth(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 138 | method public static void MinIntrinsicHeight(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 139 | method public static void MinIntrinsicWidth(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 140 | } |
| 141 | |
| 142 | public enum MainAxisAlignment { |
| 143 | enum_constant public static final androidx.ui.layout.MainAxisAlignment Center; |
| 144 | enum_constant public static final androidx.ui.layout.MainAxisAlignment End; |
| 145 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceAround; |
| 146 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceBetween; |
| 147 | enum_constant public static final androidx.ui.layout.MainAxisAlignment SpaceEvenly; |
| 148 | enum_constant public static final androidx.ui.layout.MainAxisAlignment Start; |
| 149 | } |
| 150 | |
| 151 | public final class PaddingKt { |
| 152 | ctor public PaddingKt(); |
| 153 | method public static void Padding(androidx.ui.layout.EdgeInsets padding, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 154 | 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); |
| 155 | method public static void Padding(androidx.ui.core.Dp padding, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 156 | } |
| 157 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 158 | public final class SpacerKt { |
| 159 | ctor public SpacerKt(); |
| 160 | method public static void FixedSpacer(androidx.ui.core.Dp width, androidx.ui.core.Dp height); |
| 161 | method public static void HeightSpacer(androidx.ui.core.Dp height); |
| 162 | method public static void WidthSpacer(androidx.ui.core.Dp width); |
| 163 | } |
| 164 | |
| 165 | public final class StackChildren { |
| 166 | ctor public StackChildren(); |
| 167 | method public void aligned(androidx.ui.layout.Alignment alignment, boolean loose = true, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 168 | method public void expanded(kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 169 | 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.layout.Alignment fallbackAlignment = Alignment.Center, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 170 | } |
| 171 | |
| 172 | public final class StackKt { |
| 173 | ctor public StackKt(); |
| 174 | method public static void Stack(kotlin.jvm.functions.Function1<? super androidx.ui.layout.StackChildren,kotlin.Unit> block); |
| 175 | } |
| 176 | |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 177 | public final class TableChildren { |
Calin Tataru | 7e2564a | 2019-08-05 16:51:02 +0100 | [diff] [blame] | 178 | method public void addDecoration(kotlin.jvm.functions.Function2<? super androidx.ui.core.IntPx[],? super androidx.ui.core.IntPx[],kotlin.Unit> decoration); |
Calin Tataru | c55bb11 | 2019-08-05 17:47:44 +0100 | [diff] [blame] | 179 | method public void tableRow(kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit> children); |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 180 | } |
| 181 | |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 182 | public abstract sealed class TableColumnWidth { |
| 183 | } |
| 184 | |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 185 | public static final class TableColumnWidth.Flexible extends androidx.ui.layout.TableColumnWidth { |
| 186 | ctor public TableColumnWidth.Flexible(internal float flex); |
| 187 | method public androidx.ui.layout.TableColumnWidth.Flexible copy(float flex); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 188 | } |
| 189 | |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 190 | public abstract static sealed class TableColumnWidth.Inflexible extends androidx.ui.layout.TableColumnWidth { |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 191 | } |
| 192 | |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 193 | public static final class TableColumnWidth.Inflexible.Fixed extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 194 | ctor public TableColumnWidth.Inflexible.Fixed(internal androidx.ui.core.Dp width); |
| 195 | method public androidx.ui.layout.TableColumnWidth.Inflexible.Fixed copy(androidx.ui.core.Dp width); |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 196 | } |
| 197 | |
Calin Tataru | 16d7eb4 | 2019-07-24 11:43:09 +0100 | [diff] [blame] | 198 | public static final class TableColumnWidth.Inflexible.Fraction extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 199 | ctor public TableColumnWidth.Inflexible.Fraction(@FloatRange(from=null, to=null) internal float fraction); |
| 200 | method public androidx.ui.layout.TableColumnWidth.Inflexible.Fraction copy(float fraction); |
| 201 | } |
| 202 | |
| 203 | public static final class TableColumnWidth.Inflexible.Max extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 204 | ctor public TableColumnWidth.Inflexible.Max(internal androidx.ui.layout.TableColumnWidth.Inflexible a, internal androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 205 | method public androidx.ui.layout.TableColumnWidth.Inflexible.Max copy(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 206 | } |
| 207 | |
| 208 | public static final class TableColumnWidth.Inflexible.Min extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 209 | ctor public TableColumnWidth.Inflexible.Min(internal androidx.ui.layout.TableColumnWidth.Inflexible a, internal androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 210 | method public androidx.ui.layout.TableColumnWidth.Inflexible.Min copy(androidx.ui.layout.TableColumnWidth.Inflexible a, androidx.ui.layout.TableColumnWidth.Inflexible b); |
| 211 | } |
| 212 | |
| 213 | public static final class TableColumnWidth.Inflexible.Wrap extends androidx.ui.layout.TableColumnWidth.Inflexible { |
| 214 | field public static final androidx.ui.layout.TableColumnWidth.Inflexible.Wrap! INSTANCE; |
Calin Tataru | fc68cce | 2019-07-15 18:47:16 +0100 | [diff] [blame] | 215 | } |
| 216 | |
Calin Tataru | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 217 | public final class TableKt { |
| 218 | ctor public TableKt(); |
Calin Tataru | c55bb11 | 2019-08-05 17:47:44 +0100 | [diff] [blame] | 219 | method public static void Table(int columnCount, androidx.ui.layout.Alignment childAlignment = 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 | ebf4dcc | 2019-07-10 15:34:28 +0100 | [diff] [blame] | 220 | } |
| 221 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 222 | public final class WrapKt { |
| 223 | ctor public WrapKt(); |
| 224 | method public static void Wrap(androidx.ui.layout.Alignment alignment = Alignment.TopLeft, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 225 | } |
| 226 | |
| 227 | } |
| 228 | |