Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Louis Pullen-Freilich | 623e405 | 2020-07-19 20:24:03 +0100 | [diff] [blame] | 2 | package androidx.compose.foundation.layout { |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 3 | |
Mihai Popa | 60263e2 | 2019-08-27 18:57:41 +0100 | [diff] [blame] | 4 | public final class AlignmentLineKt { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 5 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier paddingFrom(androidx.compose.ui.Modifier, androidx.compose.ui.layout.AlignmentLine alignmentLine, optional float before, optional float after); |
| 6 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier paddingFrom(androidx.compose.ui.Modifier, androidx.compose.ui.layout.AlignmentLine alignmentLine, optional long before, optional long after); |
| 7 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier paddingFromBaseline(androidx.compose.ui.Modifier, optional float top, optional float bottom); |
| 8 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier paddingFromBaseline(androidx.compose.ui.Modifier, optional long top, optional long bottom); |
Mihai Popa | 60263e2 | 2019-08-27 18:57:41 +0100 | [diff] [blame] | 9 | } |
| 10 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 11 | @androidx.compose.runtime.Immutable public final class Arrangement { |
Mihai Popa | 54dc436 | 2020-11-18 16:16:03 +0000 | [diff] [blame] | 12 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Horizontal aligned(androidx.compose.ui.Alignment.Horizontal alignment); |
| 13 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Vertical aligned(androidx.compose.ui.Alignment.Vertical alignment); |
Mihai Popa | bc17985 | 2020-08-06 16:07:18 +0100 | [diff] [blame] | 14 | method public androidx.compose.foundation.layout.Arrangement.Vertical getBottom(); |
| 15 | method public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical getCenter(); |
| 16 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getEnd(); |
| 17 | method public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical getSpaceAround(); |
| 18 | method public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical getSpaceBetween(); |
| 19 | method public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical getSpaceEvenly(); |
| 20 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getStart(); |
| 21 | method public androidx.compose.foundation.layout.Arrangement.Vertical getTop(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 22 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical spacedBy(float space); |
| 23 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Horizontal spacedBy(float space, androidx.compose.ui.Alignment.Horizontal alignment); |
| 24 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Vertical spacedBy(float space, androidx.compose.ui.Alignment.Vertical alignment); |
Mihai Popa | bc17985 | 2020-08-06 16:07:18 +0100 | [diff] [blame] | 25 | property public final androidx.compose.foundation.layout.Arrangement.Vertical Bottom; |
| 26 | property public final androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical Center; |
| 27 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal End; |
| 28 | property public final androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical SpaceAround; |
| 29 | property public final androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical SpaceBetween; |
| 30 | property public final androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical SpaceEvenly; |
| 31 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal Start; |
| 32 | property public final androidx.compose.foundation.layout.Arrangement.Vertical Top; |
Louis Pullen-Freilich | 623e405 | 2020-07-19 20:24:03 +0100 | [diff] [blame] | 33 | field public static final androidx.compose.foundation.layout.Arrangement INSTANCE; |
Anastasia Soboleva | 34e8db3 | 2019-11-20 12:08:58 +0000 | [diff] [blame] | 34 | } |
| 35 | |
Mihai Popa | adbf9b1 | 2020-11-18 16:36:02 +0000 | [diff] [blame] | 36 | @androidx.compose.runtime.Immutable public static final class Arrangement.Absolute { |
| 37 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Horizontal aligned(androidx.compose.ui.Alignment.Horizontal alignment); |
| 38 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getCenter(); |
| 39 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getLeft(); |
| 40 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getRight(); |
| 41 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getSpaceAround(); |
| 42 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getSpaceBetween(); |
| 43 | method public androidx.compose.foundation.layout.Arrangement.Horizontal getSpaceEvenly(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 44 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.HorizontalOrVertical spacedBy(float space); |
| 45 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Horizontal spacedBy(float space, androidx.compose.ui.Alignment.Horizontal alignment); |
| 46 | method @androidx.compose.runtime.Stable public androidx.compose.foundation.layout.Arrangement.Vertical spacedBy(float space, androidx.compose.ui.Alignment.Vertical alignment); |
Mihai Popa | adbf9b1 | 2020-11-18 16:36:02 +0000 | [diff] [blame] | 47 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal Center; |
| 48 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal Left; |
| 49 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal Right; |
| 50 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal SpaceAround; |
| 51 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal SpaceBetween; |
| 52 | property public final androidx.compose.foundation.layout.Arrangement.Horizontal SpaceEvenly; |
| 53 | field public static final androidx.compose.foundation.layout.Arrangement.Absolute INSTANCE; |
| 54 | } |
| 55 | |
Mihai Popa | e9734fb | 2021-06-08 22:26:19 +0100 | [diff] [blame] | 56 | @androidx.compose.runtime.Stable public static interface Arrangement.Horizontal { |
Mihai Popa | a1a08e1 | 2021-01-15 17:06:56 +0000 | [diff] [blame] | 57 | method public void arrange(androidx.compose.ui.unit.Density, int totalSize, int[] sizes, androidx.compose.ui.unit.LayoutDirection layoutDirection, int[] outPositions); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 58 | method public default float getSpacing(); |
Mihai Popa | bc17985 | 2020-08-06 16:07:18 +0100 | [diff] [blame] | 59 | property public default float spacing; |
Anastasia Soboleva | 33403ab | 2020-02-02 23:16:23 +0000 | [diff] [blame] | 60 | } |
| 61 | |
Mihai Popa | e9734fb | 2021-06-08 22:26:19 +0100 | [diff] [blame] | 62 | @androidx.compose.runtime.Stable public static interface Arrangement.HorizontalOrVertical extends androidx.compose.foundation.layout.Arrangement.Horizontal androidx.compose.foundation.layout.Arrangement.Vertical { |
Mihai Popa | bc17985 | 2020-08-06 16:07:18 +0100 | [diff] [blame] | 63 | property public default float spacing; |
Anastasia Soboleva | 33403ab | 2020-02-02 23:16:23 +0000 | [diff] [blame] | 64 | } |
| 65 | |
Mihai Popa | e9734fb | 2021-06-08 22:26:19 +0100 | [diff] [blame] | 66 | @androidx.compose.runtime.Stable public static interface Arrangement.Vertical { |
Mihai Popa | a1a08e1 | 2021-01-15 17:06:56 +0000 | [diff] [blame] | 67 | method public void arrange(androidx.compose.ui.unit.Density, int totalSize, int[] sizes, int[] outPositions); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 68 | method public default float getSpacing(); |
Mihai Popa | bc17985 | 2020-08-06 16:07:18 +0100 | [diff] [blame] | 69 | property public default float spacing; |
Anastasia Soboleva | 34e8db3 | 2019-11-20 12:08:58 +0000 | [diff] [blame] | 70 | } |
| 71 | |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 72 | public final class AspectRatioKt { |
George Mount | a4da1bb | 2021-01-07 17:12:05 +0000 | [diff] [blame] | 73 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier aspectRatio(androidx.compose.ui.Modifier, float ratio, optional boolean matchHeightConstraintsFirst); |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 74 | } |
| 75 | |
Mihai Popa | 60a90cc | 2020-09-15 12:17:41 +0100 | [diff] [blame] | 76 | public final class BoxKt { |
Mihai Popa | 7d4765b | 2020-12-15 15:02:11 +0000 | [diff] [blame] | 77 | method @androidx.compose.runtime.Composable public static inline void Box(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment contentAlignment, optional boolean propagateMinConstraints, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit> content); |
Mihai Popa | 60a90cc | 2020-09-15 12:17:41 +0100 | [diff] [blame] | 78 | method @androidx.compose.runtime.Composable public static void Box(androidx.compose.ui.Modifier modifier); |
Mihai Popa | 4958475 | 2021-01-25 12:38:07 +0000 | [diff] [blame] | 79 | method @androidx.compose.runtime.Composable @kotlin.PublishedApi internal static androidx.compose.ui.layout.MeasurePolicy rememberBoxMeasurePolicy(androidx.compose.ui.Alignment alignment, boolean propagateMinConstraints); |
Mihai Popa | 60a90cc | 2020-09-15 12:17:41 +0100 | [diff] [blame] | 80 | } |
| 81 | |
| 82 | @androidx.compose.foundation.layout.LayoutScopeMarker @androidx.compose.runtime.Immutable public interface BoxScope { |
Mihai Popa | 8a82c8bd | 2021-03-04 16:28:39 +0000 | [diff] [blame] | 83 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier align(androidx.compose.ui.Modifier, androidx.compose.ui.Alignment alignment); |
| 84 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier matchParentSize(androidx.compose.ui.Modifier); |
Mihai Popa | 60a90cc | 2020-09-15 12:17:41 +0100 | [diff] [blame] | 85 | } |
| 86 | |
Mihai Popa | 4a7bdad | 2021-01-18 13:08:13 +0000 | [diff] [blame] | 87 | public final class BoxWithConstraintsKt { |
| 88 | method @androidx.compose.runtime.Composable public static void BoxWithConstraints(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment contentAlignment, optional boolean propagateMinConstraints, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxWithConstraintsScope,kotlin.Unit> content); |
| 89 | } |
| 90 | |
| 91 | @androidx.compose.runtime.Stable public interface BoxWithConstraintsScope extends androidx.compose.foundation.layout.BoxScope { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 92 | method public long getConstraints(); |
| 93 | method public float getMaxHeight(); |
| 94 | method public float getMaxWidth(); |
| 95 | method public float getMinHeight(); |
| 96 | method public float getMinWidth(); |
Mihai Popa | 4a7bdad | 2021-01-18 13:08:13 +0000 | [diff] [blame] | 97 | property public abstract long constraints; |
| 98 | property public abstract float maxHeight; |
| 99 | property public abstract float maxWidth; |
| 100 | property public abstract float minHeight; |
| 101 | property public abstract float minWidth; |
| 102 | } |
| 103 | |
Mihai Popa | 53db327 | 2020-03-16 17:06:47 +0000 | [diff] [blame] | 104 | public final class ColumnKt { |
Louis Pullen-Freilich | dc68dd50 | 2020-11-13 02:10:48 +0000 | [diff] [blame] | 105 | method @androidx.compose.runtime.Composable public static inline void Column(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, optional androidx.compose.ui.Alignment.Horizontal horizontalAlignment, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.ColumnScope,kotlin.Unit> content); |
Mihai Popa | 4958475 | 2021-01-25 12:38:07 +0000 | [diff] [blame] | 106 | method @androidx.compose.runtime.Composable @kotlin.PublishedApi internal static androidx.compose.ui.layout.MeasurePolicy columnMeasurePolicy(androidx.compose.foundation.layout.Arrangement.Vertical verticalArrangement, androidx.compose.ui.Alignment.Horizontal horizontalAlignment); |
| 107 | field @kotlin.PublishedApi internal static final androidx.compose.ui.layout.MeasurePolicy DefaultColumnMeasurePolicy; |
Mihai Popa | 53db327 | 2020-03-16 17:06:47 +0000 | [diff] [blame] | 108 | } |
| 109 | |
Mihai Popa | c8deeac | 2020-09-07 12:16:36 +0100 | [diff] [blame] | 110 | @androidx.compose.foundation.layout.LayoutScopeMarker @androidx.compose.runtime.Immutable public interface ColumnScope { |
Mihai Popa | 8a82c8bd | 2021-03-04 16:28:39 +0000 | [diff] [blame] | 111 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier align(androidx.compose.ui.Modifier, androidx.compose.ui.Alignment.Horizontal alignment); |
| 112 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier alignBy(androidx.compose.ui.Modifier, androidx.compose.ui.layout.VerticalAlignmentLine alignmentLine); |
| 113 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier alignBy(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.Measured,java.lang.Integer> alignmentLineBlock); |
| 114 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier weight(androidx.compose.ui.Modifier, float weight, optional boolean fill); |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame] | 115 | } |
| 116 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 117 | public final class IntrinsicKt { |
Mihai Popa | b7b238f | 2021-02-11 13:35:20 +0000 | [diff] [blame] | 118 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier height(androidx.compose.ui.Modifier, androidx.compose.foundation.layout.IntrinsicSize intrinsicSize); |
Mihai Popa | b2d00cb | 2021-02-11 13:16:51 +0000 | [diff] [blame] | 119 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredHeight(androidx.compose.ui.Modifier, androidx.compose.foundation.layout.IntrinsicSize intrinsicSize); |
| 120 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredWidth(androidx.compose.ui.Modifier, androidx.compose.foundation.layout.IntrinsicSize intrinsicSize); |
Mihai Popa | b7b238f | 2021-02-11 13:35:20 +0000 | [diff] [blame] | 121 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier width(androidx.compose.ui.Modifier, androidx.compose.foundation.layout.IntrinsicSize intrinsicSize); |
Mihai Popa | 8b5b06b | 2020-03-27 14:34:39 +0000 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | public enum IntrinsicSize { |
Louis Pullen-Freilich | 623e405 | 2020-07-19 20:24:03 +0100 | [diff] [blame] | 125 | enum_constant public static final androidx.compose.foundation.layout.IntrinsicSize Max; |
| 126 | enum_constant public static final androidx.compose.foundation.layout.IntrinsicSize Min; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 127 | } |
| 128 | |
Mihai Popa | a5bdece | 2019-11-11 19:03:40 +0000 | [diff] [blame] | 129 | @kotlin.DslMarker public @interface LayoutScopeMarker { |
| 130 | } |
| 131 | |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 132 | public final class OffsetKt { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 133 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier absoluteOffset(androidx.compose.ui.Modifier, optional float x, optional float y); |
Mihai Popa | c7d40e2 | 2020-11-24 14:24:08 +0000 | [diff] [blame] | 134 | method public static androidx.compose.ui.Modifier absoluteOffset(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Density,androidx.compose.ui.unit.IntOffset> offset); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 135 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier offset(androidx.compose.ui.Modifier, optional float x, optional float y); |
Mihai Popa | c7d40e2 | 2020-11-24 14:24:08 +0000 | [diff] [blame] | 136 | method public static androidx.compose.ui.Modifier offset(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Density,androidx.compose.ui.unit.IntOffset> offset); |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 137 | } |
| 138 | |
| 139 | public final class PaddingKt { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 140 | method @androidx.compose.runtime.Stable public static androidx.compose.foundation.layout.PaddingValues PaddingValues(float all); |
| 141 | method @androidx.compose.runtime.Stable public static androidx.compose.foundation.layout.PaddingValues PaddingValues(optional float horizontal, optional float vertical); |
| 142 | method @androidx.compose.runtime.Stable public static androidx.compose.foundation.layout.PaddingValues PaddingValues(optional float start, optional float top, optional float end, optional float bottom); |
| 143 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier absolutePadding(androidx.compose.ui.Modifier, optional float left, optional float top, optional float right, optional float bottom); |
Mihai Popa | 53f5bac | 2021-01-20 18:48:00 +0000 | [diff] [blame] | 144 | method @androidx.compose.runtime.Stable public static float calculateEndPadding(androidx.compose.foundation.layout.PaddingValues, androidx.compose.ui.unit.LayoutDirection layoutDirection); |
| 145 | method @androidx.compose.runtime.Stable public static float calculateStartPadding(androidx.compose.foundation.layout.PaddingValues, androidx.compose.ui.unit.LayoutDirection layoutDirection); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 146 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier padding(androidx.compose.ui.Modifier, optional float start, optional float top, optional float end, optional float bottom); |
| 147 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier padding(androidx.compose.ui.Modifier, optional float horizontal, optional float vertical); |
| 148 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier padding(androidx.compose.ui.Modifier, float all); |
Mihai Popa | f7ec8ce | 2021-04-16 12:19:07 +0100 | [diff] [blame] | 149 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier padding(androidx.compose.ui.Modifier, androidx.compose.foundation.layout.PaddingValues paddingValues); |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 150 | } |
| 151 | |
Chris Banes | 8ecbd54 | 2021-05-13 10:33:36 +0100 | [diff] [blame] | 152 | @androidx.compose.runtime.Stable public interface PaddingValues { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 153 | method public float calculateBottomPadding(); |
| 154 | method public float calculateLeftPadding(androidx.compose.ui.unit.LayoutDirection layoutDirection); |
| 155 | method public float calculateRightPadding(androidx.compose.ui.unit.LayoutDirection layoutDirection); |
| 156 | method public float calculateTopPadding(); |
Mihai Popa | 53f5bac | 2021-01-20 18:48:00 +0000 | [diff] [blame] | 157 | } |
| 158 | |
| 159 | @androidx.compose.runtime.Immutable public static final class PaddingValues.Absolute implements androidx.compose.foundation.layout.PaddingValues { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 160 | ctor public PaddingValues.Absolute(optional @androidx.compose.runtime.Stable float left, optional @androidx.compose.runtime.Stable float top, optional @androidx.compose.runtime.Stable float right, optional @androidx.compose.runtime.Stable float bottom); |
| 161 | method public float calculateBottomPadding(); |
| 162 | method public float calculateLeftPadding(androidx.compose.ui.unit.LayoutDirection layoutDirection); |
| 163 | method public float calculateRightPadding(androidx.compose.ui.unit.LayoutDirection layoutDirection); |
| 164 | method public float calculateTopPadding(); |
Mihai Popa | 2a4260e | 2020-09-03 16:46:24 +0100 | [diff] [blame] | 165 | } |
| 166 | |
Mihai Popa | 53db327 | 2020-03-16 17:06:47 +0000 | [diff] [blame] | 167 | public final class RowColumnImplKt { |
Mihai Popa | 9fcfaeb | 2020-03-09 17:50:28 +0000 | [diff] [blame] | 168 | } |
| 169 | |
Mihai Popa | 53db327 | 2020-03-16 17:06:47 +0000 | [diff] [blame] | 170 | public final class RowKt { |
Louis Pullen-Freilich | dc68dd50 | 2020-11-13 02:10:48 +0000 | [diff] [blame] | 171 | method @androidx.compose.runtime.Composable public static inline void Row(optional androidx.compose.ui.Modifier modifier, optional androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, optional androidx.compose.ui.Alignment.Vertical verticalAlignment, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> content); |
Mihai Popa | 4958475 | 2021-01-25 12:38:07 +0000 | [diff] [blame] | 172 | method @androidx.compose.runtime.Composable @kotlin.PublishedApi internal static androidx.compose.ui.layout.MeasurePolicy rowMeasurePolicy(androidx.compose.foundation.layout.Arrangement.Horizontal horizontalArrangement, androidx.compose.ui.Alignment.Vertical verticalAlignment); |
| 173 | field @kotlin.PublishedApi internal static final androidx.compose.ui.layout.MeasurePolicy DefaultRowMeasurePolicy; |
Mihai Popa | 53db327 | 2020-03-16 17:06:47 +0000 | [diff] [blame] | 174 | } |
| 175 | |
Mihai Popa | c8deeac | 2020-09-07 12:16:36 +0100 | [diff] [blame] | 176 | @androidx.compose.foundation.layout.LayoutScopeMarker @androidx.compose.runtime.Immutable public interface RowScope { |
Mihai Popa | 8a82c8bd | 2021-03-04 16:28:39 +0000 | [diff] [blame] | 177 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier align(androidx.compose.ui.Modifier, androidx.compose.ui.Alignment.Vertical alignment); |
| 178 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier alignBy(androidx.compose.ui.Modifier, androidx.compose.ui.layout.HorizontalAlignmentLine alignmentLine); |
| 179 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier alignBy(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1<? super androidx.compose.ui.layout.Measured,java.lang.Integer> alignmentLineBlock); |
| 180 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier alignByBaseline(androidx.compose.ui.Modifier); |
| 181 | method @androidx.compose.runtime.Stable public androidx.compose.ui.Modifier weight(androidx.compose.ui.Modifier, float weight, optional boolean fill); |
Anastasia Soboleva | 29bef5e | 2019-10-22 16:50:15 +0100 | [diff] [blame] | 182 | } |
| 183 | |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 184 | public final class SizeKt { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 185 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier defaultMinSize(androidx.compose.ui.Modifier, optional float minWidth, optional float minHeight); |
George Mount | a4da1bb | 2021-01-07 17:12:05 +0000 | [diff] [blame] | 186 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier fillMaxHeight(androidx.compose.ui.Modifier, optional float fraction); |
| 187 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier fillMaxSize(androidx.compose.ui.Modifier, optional float fraction); |
| 188 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier fillMaxWidth(androidx.compose.ui.Modifier, optional float fraction); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 189 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier height(androidx.compose.ui.Modifier, float height); |
| 190 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier heightIn(androidx.compose.ui.Modifier, optional float min, optional float max); |
| 191 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredHeight(androidx.compose.ui.Modifier, float height); |
| 192 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredHeightIn(androidx.compose.ui.Modifier, optional float min, optional float max); |
| 193 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredSize(androidx.compose.ui.Modifier, float size); |
| 194 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredSize(androidx.compose.ui.Modifier, float width, float height); |
George Mount | f4829e3 | 2021-08-04 13:10:33 -0700 | [diff] [blame] | 195 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredSize(androidx.compose.ui.Modifier, long size); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 196 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredSizeIn(androidx.compose.ui.Modifier, optional float minWidth, optional float minHeight, optional float maxWidth, optional float maxHeight); |
| 197 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredWidth(androidx.compose.ui.Modifier, float width); |
| 198 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier requiredWidthIn(androidx.compose.ui.Modifier, optional float min, optional float max); |
| 199 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier size(androidx.compose.ui.Modifier, float size); |
| 200 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier size(androidx.compose.ui.Modifier, float width, float height); |
George Mount | f4829e3 | 2021-08-04 13:10:33 -0700 | [diff] [blame] | 201 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier size(androidx.compose.ui.Modifier, long size); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 202 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier sizeIn(androidx.compose.ui.Modifier, optional float minWidth, optional float minHeight, optional float maxWidth, optional float maxHeight); |
| 203 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier width(androidx.compose.ui.Modifier, float width); |
| 204 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier widthIn(androidx.compose.ui.Modifier, optional float min, optional float max); |
Mihai Popa | 5836ac4 | 2020-11-06 10:36:03 +0000 | [diff] [blame] | 205 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier wrapContentHeight(androidx.compose.ui.Modifier, optional androidx.compose.ui.Alignment.Vertical align, optional boolean unbounded); |
| 206 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier wrapContentSize(androidx.compose.ui.Modifier, optional androidx.compose.ui.Alignment align, optional boolean unbounded); |
| 207 | method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier wrapContentWidth(androidx.compose.ui.Modifier, optional androidx.compose.ui.Alignment.Horizontal align, optional boolean unbounded); |
| 208 | } |
| 209 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 210 | public final class SpacerKt { |
Jon Boekenoogen | 8ee5485 | 2022-01-18 08:29:17 -0800 | [diff] [blame^] | 211 | method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void Spacer(androidx.compose.ui.Modifier modifier); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 212 | } |
| 213 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 214 | } |
| 215 | |