George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.unit { |
| 3 | |
| 4 | public final class Bounds { |
| 5 | ctor public Bounds(androidx.ui.unit.Dp left, androidx.ui.unit.Dp top, androidx.ui.unit.Dp right, androidx.ui.unit.Dp bottom); |
| 6 | method public androidx.ui.unit.Dp component1(); |
| 7 | method public androidx.ui.unit.Dp component2(); |
| 8 | method public androidx.ui.unit.Dp component3(); |
| 9 | method public androidx.ui.unit.Dp component4(); |
| 10 | method public androidx.ui.unit.Bounds copy(androidx.ui.unit.Dp left, androidx.ui.unit.Dp top, androidx.ui.unit.Dp right, androidx.ui.unit.Dp bottom); |
| 11 | method public androidx.ui.unit.Dp getBottom(); |
| 12 | method public androidx.ui.unit.Dp getLeft(); |
| 13 | method public androidx.ui.unit.Dp getRight(); |
| 14 | method public androidx.ui.unit.Dp getTop(); |
| 15 | } |
| 16 | |
Andrey Kulikov | 47f0e1a | 2020-01-28 13:52:46 +0000 | [diff] [blame] | 17 | public interface Density { |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 18 | method public float getDensity(); |
| 19 | method public float getFontScale(); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 20 | method public default androidx.ui.unit.Dp toDp(androidx.ui.unit.TextUnit); |
| 21 | method public default androidx.ui.unit.Dp toDp(androidx.ui.unit.Px); |
| 22 | method public default androidx.ui.unit.Dp toDp(androidx.ui.unit.IntPx); |
| 23 | method public default androidx.ui.unit.Dp toDp(float); |
| 24 | method public default androidx.ui.unit.Dp toDp(int); |
| 25 | method public default androidx.ui.unit.IntPx toIntPx(androidx.ui.unit.Dp); |
| 26 | method public default androidx.ui.unit.IntPx toIntPx(androidx.ui.unit.TextUnit); |
| 27 | method public default androidx.ui.unit.Px toPx(androidx.ui.unit.Dp); |
| 28 | method public default androidx.ui.unit.Px toPx(androidx.ui.unit.TextUnit); |
| 29 | method public default androidx.ui.unit.PxSize toPx-kAYDl8w(long); |
| 30 | method public default androidx.ui.geometry.Rect toRect(androidx.ui.unit.Bounds); |
| 31 | method public default androidx.ui.unit.TextUnit toSp(androidx.ui.unit.Dp); |
| 32 | method public default androidx.ui.unit.TextUnit toSp(androidx.ui.unit.Px); |
| 33 | method public default androidx.ui.unit.TextUnit toSp(androidx.ui.unit.IntPx); |
| 34 | method public default androidx.ui.unit.TextUnit toSp(float); |
| 35 | method public default androidx.ui.unit.TextUnit toSp(int); |
Andrey Kulikov | 47f0e1a | 2020-01-28 13:52:46 +0000 | [diff] [blame] | 36 | property public abstract float density; |
| 37 | property public abstract float fontScale; |
| 38 | } |
| 39 | |
| 40 | public final class DensityKt { |
| 41 | method public static androidx.ui.unit.Density Density(android.content.Context context); |
| 42 | method public static androidx.ui.unit.Density Density(float density, float fontScale = 1f); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | public final class Dp implements java.lang.Comparable<androidx.ui.unit.Dp> { |
| 46 | ctor public Dp(float value); |
| 47 | method public operator int compareTo(androidx.ui.unit.Dp other); |
| 48 | method public float component1(); |
| 49 | method public androidx.ui.unit.Dp copy(float value); |
| 50 | method public inline operator androidx.ui.unit.Dp div(float other); |
| 51 | method public inline operator androidx.ui.unit.Dp div(int other); |
| 52 | method public inline operator float div(androidx.ui.unit.Dp other); |
| 53 | method public inline operator float div-x8crYZs(float other); |
| 54 | method public float getValue(); |
| 55 | method public inline operator androidx.ui.unit.Dp minus(androidx.ui.unit.Dp other); |
| 56 | method public inline operator androidx.ui.unit.Dp plus(androidx.ui.unit.Dp other); |
| 57 | method public inline operator androidx.ui.unit.Dp times(float other); |
| 58 | method public inline operator androidx.ui.unit.Dp times(int other); |
| 59 | method public inline operator float times(androidx.ui.unit.Dp other); |
| 60 | method public inline operator float times-x8crYZs(float other); |
| 61 | method public inline operator androidx.ui.unit.Dp unaryMinus(); |
| 62 | field public static final androidx.ui.unit.Dp.Companion! Companion; |
| 63 | } |
| 64 | |
| 65 | public static final class Dp.Companion { |
| 66 | method public androidx.ui.unit.Dp getHairline(); |
| 67 | method public androidx.ui.unit.Dp getInfinity(); |
Matvei Malkov | d08b02d | 2020-01-22 18:23:49 +0000 | [diff] [blame^] | 68 | method public androidx.ui.unit.Dp getUnspecified(); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 69 | property public final androidx.ui.unit.Dp Hairline; |
| 70 | property public final androidx.ui.unit.Dp Infinity; |
Matvei Malkov | d08b02d | 2020-01-22 18:23:49 +0000 | [diff] [blame^] | 71 | property public final androidx.ui.unit.Dp Unspecified; |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | public final inline class DpCubed implements java.lang.Comparable<androidx.ui.unit.DpCubed> { |
| 75 | ctor public DpCubed(); |
| 76 | method public operator int compareTo-JDqhs2g(float p); |
| 77 | method public static operator int compareTo-JDqhs2g(float $this, float other); |
| 78 | method public static float constructor-impl(float value); |
| 79 | method public static inline operator float div-JDqhs2g(float $this, float other); |
| 80 | method public static inline operator float div-impl(float $this, float other); |
| 81 | method public static inline operator float div-impl(float $this, androidx.ui.unit.Dp other); |
| 82 | method public static inline operator androidx.ui.unit.Dp div-x8crYZs(float $this, float other); |
| 83 | method public static boolean equals-impl(float p, Object? p1); |
| 84 | method public static boolean equals-impl0(float p1, float p2); |
| 85 | method public float getValue(); |
| 86 | method public static int hashCode-impl(float p); |
| 87 | method public static inline operator float minus-JDqhs2g(float $this, float dimension); |
| 88 | method public static inline operator float plus-JDqhs2g(float $this, float dimension); |
| 89 | method public static inline operator float times-impl(float $this, float other); |
| 90 | method public static String toString-impl(float $this); |
| 91 | } |
| 92 | |
| 93 | public final inline class DpInverse implements java.lang.Comparable<androidx.ui.unit.DpInverse> { |
| 94 | ctor public DpInverse(); |
| 95 | method public operator int compareTo-_K2iRR8(float p); |
| 96 | method public static operator int compareTo-_K2iRR8(float $this, float other); |
| 97 | method public static float constructor-impl(float value); |
| 98 | method public static inline operator float div-impl(float $this, float other); |
| 99 | method public static boolean equals-impl(float p, Object? p1); |
| 100 | method public static boolean equals-impl0(float p1, float p2); |
| 101 | method public float getValue(); |
| 102 | method public static int hashCode-impl(float p); |
| 103 | method public static inline operator float minus-_K2iRR8(float $this, float dimension); |
| 104 | method public static inline operator float plus-_K2iRR8(float $this, float dimension); |
| 105 | method public static inline operator float times-JDqhs2g(float $this, float other); |
| 106 | method public static inline operator float times-impl(float $this, float other); |
| 107 | method public static inline operator float times-impl(float $this, androidx.ui.unit.Dp other); |
| 108 | method public static inline operator androidx.ui.unit.Dp times-x8crYZs(float $this, float other); |
| 109 | method public static String toString-impl(float $this); |
| 110 | } |
| 111 | |
| 112 | public final class DpKt { |
| 113 | method public static inline long Position(androidx.ui.unit.Dp x, androidx.ui.unit.Dp y); |
| 114 | method public static inline long Size(androidx.ui.unit.Dp width, androidx.ui.unit.Dp height); |
| 115 | method public static long center-kAYDl8w(long); |
| 116 | method public static inline androidx.ui.unit.Dp coerceAtLeast(androidx.ui.unit.Dp, androidx.ui.unit.Dp minimumValue); |
| 117 | method public static inline androidx.ui.unit.Dp coerceAtMost(androidx.ui.unit.Dp, androidx.ui.unit.Dp maximumValue); |
| 118 | method public static inline androidx.ui.unit.Dp coerceIn(androidx.ui.unit.Dp, androidx.ui.unit.Dp minimumValue, androidx.ui.unit.Dp maximumValue); |
| 119 | method public static inline operator float div(float, androidx.ui.unit.Dp other); |
| 120 | method public static inline operator float div(double, androidx.ui.unit.Dp other); |
| 121 | method public static inline operator float div(int, androidx.ui.unit.Dp other); |
| 122 | method public static androidx.ui.unit.Dp getDistance-T8eBu-w(long); |
| 123 | method public static inline androidx.ui.unit.Dp getDp(int); |
| 124 | method public static inline androidx.ui.unit.Dp getDp(double); |
| 125 | method public static inline androidx.ui.unit.Dp getDp(float); |
| 126 | method public static inline androidx.ui.unit.Dp getHeight(androidx.ui.unit.Bounds); |
| 127 | method public static inline androidx.ui.unit.Dp getWidth(androidx.ui.unit.Bounds); |
| 128 | method public static inline boolean isFinite(androidx.ui.unit.Dp); |
| 129 | method public static androidx.ui.unit.Dp lerp(androidx.ui.unit.Dp start, androidx.ui.unit.Dp stop, float fraction); |
| 130 | method public static long lerp-d5NHFfI(long start, long stop, float fraction); |
| 131 | method public static inline androidx.ui.unit.Dp max(androidx.ui.unit.Dp a, androidx.ui.unit.Dp b); |
| 132 | method public static inline androidx.ui.unit.Dp min(androidx.ui.unit.Dp a, androidx.ui.unit.Dp b); |
| 133 | method public static inline operator androidx.ui.unit.Dp times(float, androidx.ui.unit.Dp other); |
| 134 | method public static inline operator androidx.ui.unit.Dp times(double, androidx.ui.unit.Dp other); |
| 135 | method public static inline operator androidx.ui.unit.Dp times(int, androidx.ui.unit.Dp other); |
| 136 | method public static inline operator long times--D0i1nw(float, long size); |
| 137 | method public static inline operator long times-DdskrAE(int, long size); |
| 138 | method public static inline operator long times-l9Tz9ww(double, long size); |
| 139 | method public static androidx.ui.unit.Bounds toBounds-kAYDl8w(long); |
| 140 | method public static inline long toSize(androidx.ui.unit.Bounds); |
| 141 | } |
| 142 | |
| 143 | public final inline class DpSquared implements java.lang.Comparable<androidx.ui.unit.DpSquared> { |
| 144 | ctor public DpSquared(); |
| 145 | method public operator int compareTo-x8crYZs(float p); |
| 146 | method public static operator int compareTo-x8crYZs(float $this, float other); |
| 147 | method public static float constructor-impl(float value); |
| 148 | method public static inline operator float div-JDqhs2g(float $this, float other); |
| 149 | method public static inline operator float div-impl(float $this, float other); |
| 150 | method public static inline operator androidx.ui.unit.Dp div-impl(float $this, androidx.ui.unit.Dp other); |
| 151 | method public static inline operator float div-x8crYZs(float $this, float other); |
| 152 | method public static boolean equals-impl(float p, Object? p1); |
| 153 | method public static boolean equals-impl0(float p1, float p2); |
| 154 | method public float getValue(); |
| 155 | method public static int hashCode-impl(float p); |
| 156 | method public static inline operator float minus-x8crYZs(float $this, float other); |
| 157 | method public static inline operator float plus-x8crYZs(float $this, float other); |
| 158 | method public static inline operator float times-impl(float $this, float other); |
| 159 | method public static inline operator float times-impl(float $this, androidx.ui.unit.Dp other); |
| 160 | method public static String toString-impl(float $this); |
| 161 | } |
| 162 | |
| 163 | public final class Duration implements java.lang.Comparable<androidx.ui.unit.Duration> { |
| 164 | ctor public Duration(long nanoseconds); |
| 165 | method public int compareTo(androidx.ui.unit.Duration other); |
| 166 | method public long component1(); |
| 167 | method public androidx.ui.unit.Duration copy(long nanoseconds); |
| 168 | method public operator androidx.ui.unit.Duration div(int quotient); |
| 169 | method public operator androidx.ui.unit.Duration div(double quotient); |
| 170 | method public long getNanoseconds(); |
| 171 | method public operator androidx.ui.unit.Duration minus(androidx.ui.unit.Duration other); |
| 172 | method public operator androidx.ui.unit.Duration plus(androidx.ui.unit.Duration other); |
| 173 | method public operator androidx.ui.unit.Duration times(int factor); |
| 174 | method public operator androidx.ui.unit.Duration times(double factor); |
| 175 | field public static final androidx.ui.unit.Duration.Companion! Companion; |
| 176 | } |
| 177 | |
| 178 | public static final class Duration.Companion { |
| 179 | method public androidx.ui.unit.Duration getZero(); |
| 180 | property public final androidx.ui.unit.Duration Zero; |
| 181 | } |
| 182 | |
| 183 | public final class Durations { |
| 184 | method public static androidx.ui.unit.Duration Duration(long days = 0, long hours = 0, long minutes = 0, long seconds = 0, long milliseconds = 0, long microseconds = 0, long nanoseconds = 0); |
| 185 | method public static androidx.ui.unit.Duration getDays(long); |
| 186 | method public static androidx.ui.unit.Duration getDays(int); |
| 187 | method public static androidx.ui.unit.Duration getHours(long); |
| 188 | method public static androidx.ui.unit.Duration getHours(int); |
| 189 | method public static androidx.ui.unit.Duration getMicroseconds(long); |
| 190 | method public static androidx.ui.unit.Duration getMicroseconds(int); |
| 191 | method public static androidx.ui.unit.Duration getMilliseconds(long); |
| 192 | method public static androidx.ui.unit.Duration getMilliseconds(int); |
| 193 | method public static androidx.ui.unit.Duration getMinutes(long); |
| 194 | method public static androidx.ui.unit.Duration getMinutes(int); |
| 195 | method public static androidx.ui.unit.Duration getNanoseconds(long); |
| 196 | method public static androidx.ui.unit.Duration getNanoseconds(int); |
| 197 | method public static long getNanosecondsPerDay(); |
| 198 | method public static long getNanosecondsPerHour(); |
| 199 | method public static long getNanosecondsPerMillisecond(); |
| 200 | method public static long getNanosecondsPerMinute(); |
| 201 | method public static long getNanosecondsPerSecond(); |
| 202 | method public static androidx.ui.unit.Duration getSeconds(long); |
| 203 | method public static androidx.ui.unit.Duration getSeconds(int); |
| 204 | method public static long inDays(androidx.ui.unit.Duration); |
| 205 | method public static long inHours(androidx.ui.unit.Duration); |
| 206 | method public static long inMicroseconds(androidx.ui.unit.Duration); |
| 207 | method public static long inMilliseconds(androidx.ui.unit.Duration); |
| 208 | method public static long inMinutes(androidx.ui.unit.Duration); |
| 209 | method public static long inSeconds(androidx.ui.unit.Duration); |
| 210 | field public static final long HoursPerDay = 24L; // 0x18L |
| 211 | field public static final long MicrosecondsPerMillisecond = 1000L; // 0x3e8L |
| 212 | field public static final long MillisecondsPerSecond = 1000L; // 0x3e8L |
| 213 | field public static final long MinutesPerHour = 60L; // 0x3cL |
| 214 | field public static final long NanosecondsPerMicrosecond = 1000L; // 0x3e8L |
| 215 | field public static final long SecondsPerMinute = 60L; // 0x3cL |
| 216 | } |
| 217 | |
| 218 | public final class IntPx implements java.lang.Comparable<androidx.ui.unit.IntPx> { |
| 219 | ctor public IntPx(int value); |
| 220 | method public operator int compareTo(androidx.ui.unit.IntPx other); |
| 221 | method public inline operator int compareTo(androidx.ui.unit.Px other); |
| 222 | method public int component1(); |
| 223 | method public androidx.ui.unit.IntPx copy(int value); |
| 224 | method public operator androidx.ui.unit.IntPx div(float other); |
| 225 | method public operator androidx.ui.unit.IntPx div(double other); |
| 226 | method public operator androidx.ui.unit.IntPx div(int other); |
| 227 | method public int getValue(); |
| 228 | method public operator androidx.ui.unit.IntPx minus(androidx.ui.unit.IntPx other); |
| 229 | method public operator androidx.ui.unit.IntPx plus(androidx.ui.unit.IntPx other); |
| 230 | method public inline operator androidx.ui.unit.IntPx rem(int other); |
| 231 | method public operator androidx.ui.unit.IntPx times(float other); |
| 232 | method public operator androidx.ui.unit.IntPx times(double other); |
| 233 | method public operator androidx.ui.unit.IntPx times(int other); |
| 234 | method public operator androidx.ui.unit.IntPx unaryMinus(); |
| 235 | field public static final androidx.ui.unit.IntPx.Companion! Companion; |
| 236 | } |
| 237 | |
| 238 | public static final class IntPx.Companion { |
| 239 | method public androidx.ui.unit.IntPx getInfinity(); |
| 240 | method public androidx.ui.unit.IntPx getZero(); |
| 241 | property public final androidx.ui.unit.IntPx Infinity; |
| 242 | property public final androidx.ui.unit.IntPx Zero; |
| 243 | } |
| 244 | |
| 245 | public final class IntPxBounds { |
| 246 | ctor public IntPxBounds(androidx.ui.unit.IntPx left, androidx.ui.unit.IntPx top, androidx.ui.unit.IntPx right, androidx.ui.unit.IntPx bottom); |
| 247 | method public androidx.ui.unit.IntPx component1(); |
| 248 | method public androidx.ui.unit.IntPx component2(); |
| 249 | method public androidx.ui.unit.IntPx component3(); |
| 250 | method public androidx.ui.unit.IntPx component4(); |
| 251 | method public androidx.ui.unit.IntPxBounds copy(androidx.ui.unit.IntPx left, androidx.ui.unit.IntPx top, androidx.ui.unit.IntPx right, androidx.ui.unit.IntPx bottom); |
| 252 | method public androidx.ui.unit.IntPx getBottom(); |
| 253 | method public androidx.ui.unit.IntPx getLeft(); |
| 254 | method public androidx.ui.unit.IntPx getRight(); |
| 255 | method public androidx.ui.unit.IntPx getTop(); |
| 256 | } |
| 257 | |
| 258 | public final class IntPxKt { |
| 259 | method public static inline androidx.ui.unit.IntPxPosition IntPxPosition(androidx.ui.unit.IntPx x, androidx.ui.unit.IntPx y); |
| 260 | method public static inline androidx.ui.unit.IntPxSize IntPxSize(androidx.ui.unit.IntPx width, androidx.ui.unit.IntPx height); |
| 261 | method public static inline androidx.ui.unit.PxPosition PxPosition(androidx.ui.unit.IntPx x, androidx.ui.unit.IntPx y); |
| 262 | method public static inline androidx.ui.unit.PxSize PxSize(androidx.ui.unit.IntPx width, androidx.ui.unit.IntPx height); |
Seigo Nonaka | d67c78b | 2019-12-12 17:58:31 -0800 | [diff] [blame] | 263 | method public static inline androidx.ui.unit.IntPx ceil(androidx.ui.unit.Px); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 264 | method public static androidx.ui.unit.IntPxPosition center(androidx.ui.unit.IntPxSize); |
| 265 | method public static inline androidx.ui.unit.IntPx coerceAtLeast(androidx.ui.unit.IntPx, androidx.ui.unit.IntPx minimumValue); |
| 266 | method public static inline androidx.ui.unit.IntPx coerceAtMost(androidx.ui.unit.IntPx, androidx.ui.unit.IntPx maximumValue); |
| 267 | method public static inline androidx.ui.unit.IntPx coerceIn(androidx.ui.unit.IntPx, androidx.ui.unit.IntPx minimumValue, androidx.ui.unit.IntPx maximumValue); |
| 268 | method public static inline androidx.ui.unit.IntPx getHeight(androidx.ui.unit.IntPxBounds); |
| 269 | method public static inline androidx.ui.unit.IntPx getIpx(int); |
| 270 | method public static inline androidx.ui.unit.IntPx getWidth(androidx.ui.unit.IntPxBounds); |
| 271 | method public static inline boolean isFinite(androidx.ui.unit.IntPx); |
| 272 | method public static androidx.ui.unit.IntPx lerp(androidx.ui.unit.IntPx start, androidx.ui.unit.IntPx stop, float fraction); |
| 273 | method public static androidx.ui.unit.IntPxPosition lerp(androidx.ui.unit.IntPxPosition start, androidx.ui.unit.IntPxPosition stop, float fraction); |
| 274 | method public static inline androidx.ui.unit.IntPx max(androidx.ui.unit.IntPx a, androidx.ui.unit.IntPx b); |
| 275 | method public static inline androidx.ui.unit.IntPx min(androidx.ui.unit.IntPx a, androidx.ui.unit.IntPx b); |
| 276 | method public static inline androidx.ui.unit.IntPx round(androidx.ui.unit.Px); |
| 277 | method public static inline operator androidx.ui.unit.IntPx times(float, androidx.ui.unit.IntPx other); |
| 278 | method public static inline operator androidx.ui.unit.IntPx times(double, androidx.ui.unit.IntPx other); |
| 279 | method public static inline operator androidx.ui.unit.IntPx times(int, androidx.ui.unit.IntPx other); |
| 280 | method public static inline operator androidx.ui.unit.IntPxSize times(int, androidx.ui.unit.IntPxSize size); |
| 281 | method public static inline androidx.ui.unit.Px toPx(androidx.ui.unit.IntPx); |
| 282 | method public static inline androidx.ui.unit.PxPosition toPxPosition(androidx.ui.unit.IntPxPosition); |
| 283 | method public static inline androidx.ui.unit.PxSize toPxSize(androidx.ui.unit.IntPxSize); |
| 284 | method public static inline androidx.ui.unit.IntPxSize toSize(androidx.ui.unit.IntPxBounds); |
| 285 | } |
| 286 | |
| 287 | public final class IntPxPosition { |
| 288 | method public androidx.ui.unit.IntPxPosition copy(long value); |
| 289 | method public inline androidx.ui.unit.IntPx getX(); |
| 290 | method public inline androidx.ui.unit.IntPx getY(); |
| 291 | method public inline operator androidx.ui.unit.IntPxPosition minus(androidx.ui.unit.IntPxPosition other); |
| 292 | method public inline operator androidx.ui.unit.IntPxPosition plus(androidx.ui.unit.IntPxPosition other); |
| 293 | method public inline operator androidx.ui.unit.IntPxPosition unaryMinus(); |
| 294 | property public final inline androidx.ui.unit.IntPx x; |
| 295 | property public final inline androidx.ui.unit.IntPx y; |
| 296 | field public static final androidx.ui.unit.IntPxPosition.Companion! Companion; |
| 297 | } |
| 298 | |
| 299 | public static final class IntPxPosition.Companion { |
| 300 | method public androidx.ui.unit.IntPxPosition getOrigin(); |
| 301 | property public final androidx.ui.unit.IntPxPosition Origin; |
| 302 | } |
| 303 | |
| 304 | public final class IntPxSize { |
| 305 | method public androidx.ui.unit.IntPxSize copy(long value); |
| 306 | method public inline operator androidx.ui.unit.IntPxSize div(int other); |
| 307 | method public inline androidx.ui.unit.IntPx getHeight(); |
| 308 | method public inline androidx.ui.unit.IntPx getWidth(); |
| 309 | method public inline operator androidx.ui.unit.IntPxSize times(int other); |
| 310 | property public final inline androidx.ui.unit.IntPx height; |
| 311 | property public final inline androidx.ui.unit.IntPx width; |
| 312 | } |
| 313 | |
| 314 | public final inline class Position { |
| 315 | ctor public Position(); |
| 316 | method public static long constructor-impl(internal long value); |
| 317 | method public static boolean equals-impl(long p, Object? p1); |
| 318 | method public static boolean equals-impl0(long p1, long p2); |
| 319 | method public static androidx.ui.unit.Dp getX-impl(long $this); |
| 320 | method public static androidx.ui.unit.Dp getY-impl(long $this); |
| 321 | method public static int hashCode-impl(long p); |
| 322 | method public static inline operator long minus-T8eBu-w(long $this, long other); |
| 323 | method public static inline operator long plus-T8eBu-w(long $this, long other); |
| 324 | method public static String toString-impl(long $this); |
| 325 | } |
| 326 | |
| 327 | public final class Px implements java.lang.Comparable<androidx.ui.unit.Px> { |
| 328 | ctor public Px(float value); |
| 329 | method public operator int compareTo(androidx.ui.unit.Px other); |
| 330 | method public inline operator int compareTo(androidx.ui.unit.IntPx other); |
| 331 | method public float component1(); |
| 332 | method public androidx.ui.unit.Px copy(float value); |
| 333 | method public inline operator androidx.ui.unit.Px div(float other); |
| 334 | method public inline operator androidx.ui.unit.Px div(int other); |
| 335 | method public inline operator float div(androidx.ui.unit.Px other); |
| 336 | method public inline operator float div-RjPF0Mw(float other); |
| 337 | method public float getValue(); |
| 338 | method public inline operator androidx.ui.unit.Px minus(androidx.ui.unit.Px other); |
| 339 | method public inline operator androidx.ui.unit.Px minus(androidx.ui.unit.IntPx other); |
| 340 | method public inline operator androidx.ui.unit.Px plus(androidx.ui.unit.Px other); |
| 341 | method public inline operator androidx.ui.unit.Px plus(androidx.ui.unit.IntPx other); |
| 342 | method public inline operator androidx.ui.unit.Px times(float other); |
| 343 | method public inline operator androidx.ui.unit.Px times(int other); |
| 344 | method public inline operator float times(androidx.ui.unit.Px other); |
| 345 | method public inline operator float times-RjPF0Mw(float other); |
| 346 | method public inline operator androidx.ui.unit.Px unaryMinus(); |
| 347 | field public static final androidx.ui.unit.Px.Companion! Companion; |
| 348 | } |
| 349 | |
| 350 | public static final class Px.Companion { |
| 351 | method public androidx.ui.unit.Px getInfinity(); |
| 352 | method public androidx.ui.unit.Px getZero(); |
| 353 | property public final androidx.ui.unit.Px Infinity; |
| 354 | property public final androidx.ui.unit.Px Zero; |
| 355 | } |
| 356 | |
| 357 | public final class PxBounds { |
| 358 | ctor public PxBounds(androidx.ui.unit.Px left, androidx.ui.unit.Px top, androidx.ui.unit.Px right, androidx.ui.unit.Px bottom); |
| 359 | method public androidx.ui.unit.Px component1(); |
| 360 | method public androidx.ui.unit.Px component2(); |
| 361 | method public androidx.ui.unit.Px component3(); |
| 362 | method public androidx.ui.unit.Px component4(); |
| 363 | method public androidx.ui.unit.PxBounds copy(androidx.ui.unit.Px left, androidx.ui.unit.Px top, androidx.ui.unit.Px right, androidx.ui.unit.Px bottom); |
| 364 | method public androidx.ui.unit.Px getBottom(); |
| 365 | method public androidx.ui.unit.Px getLeft(); |
| 366 | method public androidx.ui.unit.Px getRight(); |
| 367 | method public androidx.ui.unit.Px getTop(); |
| 368 | } |
| 369 | |
| 370 | public final inline class PxCubed implements java.lang.Comparable<androidx.ui.unit.PxCubed> { |
| 371 | ctor public PxCubed(); |
| 372 | method public operator int compareTo-bji3ab4(float p); |
| 373 | method public static operator int compareTo-bji3ab4(float $this, float other); |
| 374 | method public static float constructor-impl(float value); |
| 375 | method public static inline operator androidx.ui.unit.Px div-RjPF0Mw(float $this, float other); |
| 376 | method public static inline operator float div-bji3ab4(float $this, float other); |
| 377 | method public static inline operator float div-impl(float $this, float other); |
| 378 | method public static inline operator float div-impl(float $this, androidx.ui.unit.Px other); |
| 379 | method public static boolean equals-impl(float p, Object? p1); |
| 380 | method public static boolean equals-impl0(float p1, float p2); |
| 381 | method public float getValue(); |
| 382 | method public static int hashCode-impl(float p); |
| 383 | method public static inline operator float minus-bji3ab4(float $this, float dimension); |
| 384 | method public static inline operator float plus-bji3ab4(float $this, float dimension); |
| 385 | method public static inline operator float times-impl(float $this, float other); |
| 386 | method public static String toString-impl(float $this); |
| 387 | } |
| 388 | |
| 389 | public final inline class PxInverse implements java.lang.Comparable<androidx.ui.unit.PxInverse> { |
| 390 | ctor public PxInverse(); |
| 391 | method public operator int compareTo-KGV0gLo(float p); |
| 392 | method public static operator int compareTo-KGV0gLo(float $this, float other); |
| 393 | method public static float constructor-impl(float value); |
| 394 | method public static inline operator float div-impl(float $this, float other); |
| 395 | method public static boolean equals-impl(float p, Object? p1); |
| 396 | method public static boolean equals-impl0(float p1, float p2); |
| 397 | method public float getValue(); |
| 398 | method public static int hashCode-impl(float p); |
| 399 | method public static inline operator float minus-KGV0gLo(float $this, float dimension); |
| 400 | method public static inline operator float plus-KGV0gLo(float $this, float dimension); |
| 401 | method public static inline operator androidx.ui.unit.Px times-RjPF0Mw(float $this, float other); |
| 402 | method public static inline operator float times-bji3ab4(float $this, float other); |
| 403 | method public static inline operator float times-impl(float $this, float other); |
| 404 | method public static inline operator float times-impl(float $this, androidx.ui.unit.Px other); |
| 405 | method public static String toString-impl(float $this); |
| 406 | } |
| 407 | |
| 408 | public final class PxKt { |
Ryan Mentley | 7865a63 | 2019-08-20 20:10:29 -0700 | [diff] [blame] | 409 | method public static inline androidx.ui.unit.PxBounds PxBounds(androidx.ui.unit.PxPosition topLeft, androidx.ui.unit.PxSize size); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 410 | method public static inline androidx.ui.unit.PxPosition PxPosition(androidx.ui.unit.Px x, androidx.ui.unit.Px y); |
| 411 | method public static inline androidx.ui.unit.PxSize PxSize(androidx.ui.unit.Px width, androidx.ui.unit.Px height); |
| 412 | method public static androidx.ui.unit.PxPosition center(androidx.ui.unit.PxSize); |
| 413 | method public static inline androidx.ui.unit.Px coerceAtLeast(androidx.ui.unit.Px, androidx.ui.unit.Px minimumValue); |
| 414 | method public static inline androidx.ui.unit.Px coerceAtMost(androidx.ui.unit.Px, androidx.ui.unit.Px maximumValue); |
| 415 | method public static inline androidx.ui.unit.Px coerceIn(androidx.ui.unit.Px, androidx.ui.unit.Px minimumValue, androidx.ui.unit.Px maximumValue); |
| 416 | method public static inline operator float div(float, androidx.ui.unit.Px other); |
| 417 | method public static inline operator float div(double, androidx.ui.unit.Px other); |
| 418 | method public static inline operator float div(int, androidx.ui.unit.Px other); |
| 419 | method public static androidx.ui.unit.Px getDistance(androidx.ui.unit.PxPosition); |
| 420 | method public static inline androidx.ui.unit.Px getHeight(androidx.ui.unit.PxBounds); |
| 421 | method public static androidx.ui.unit.Px! getMinDimension(androidx.ui.unit.PxSize); |
| 422 | method public static inline androidx.ui.unit.Px getPx(int); |
| 423 | method public static inline androidx.ui.unit.Px getPx(double); |
| 424 | method public static inline androidx.ui.unit.Px getPx(float); |
| 425 | method public static inline androidx.ui.unit.Px getWidth(androidx.ui.unit.PxBounds); |
| 426 | method public static androidx.ui.unit.Px lerp(androidx.ui.unit.Px start, androidx.ui.unit.Px stop, float fraction); |
| 427 | method public static androidx.ui.unit.PxPosition lerp(androidx.ui.unit.PxPosition start, androidx.ui.unit.PxPosition stop, float fraction); |
| 428 | method public static inline androidx.ui.unit.Px max(androidx.ui.unit.Px a, androidx.ui.unit.Px b); |
| 429 | method public static inline androidx.ui.unit.Px min(androidx.ui.unit.Px a, androidx.ui.unit.Px b); |
| 430 | method public static inline androidx.ui.unit.IntPxPosition round(androidx.ui.unit.PxPosition); |
| 431 | method public static inline operator androidx.ui.unit.Px times(float, androidx.ui.unit.Px other); |
| 432 | method public static inline operator androidx.ui.unit.Px times(double, androidx.ui.unit.Px other); |
| 433 | method public static inline operator androidx.ui.unit.Px times(int, androidx.ui.unit.Px other); |
| 434 | method public static inline operator androidx.ui.unit.PxSize times(int, androidx.ui.unit.PxSize size); |
| 435 | method public static inline operator androidx.ui.unit.PxSize times(float, androidx.ui.unit.PxSize size); |
| 436 | method public static inline operator androidx.ui.unit.PxSize times(double, androidx.ui.unit.PxSize size); |
| 437 | method public static androidx.ui.unit.PxBounds toBounds(androidx.ui.unit.PxSize); |
| 438 | method public static inline androidx.ui.geometry.Offset toOffset(androidx.ui.unit.PxPosition); |
| 439 | method public static androidx.ui.geometry.Rect toRect(androidx.ui.unit.PxBounds); |
| 440 | method public static androidx.ui.geometry.Rect toRect(androidx.ui.unit.PxSize); |
| 441 | method public static androidx.ui.unit.PxSize toSize(androidx.ui.unit.PxBounds); |
| 442 | } |
| 443 | |
| 444 | public final class PxPosition { |
| 445 | method public androidx.ui.unit.PxPosition copy(long value); |
| 446 | method public inline androidx.ui.unit.Px getX(); |
| 447 | method public inline androidx.ui.unit.Px getY(); |
| 448 | method public inline operator androidx.ui.unit.PxPosition minus(androidx.ui.unit.PxPosition other); |
| 449 | method public inline operator androidx.ui.unit.PxPosition minus(androidx.ui.unit.IntPxPosition other); |
| 450 | method public inline operator androidx.ui.unit.PxPosition plus(androidx.ui.unit.PxPosition other); |
| 451 | method public inline operator androidx.ui.unit.PxPosition plus(androidx.ui.unit.IntPxPosition other); |
| 452 | method public inline operator androidx.ui.unit.PxPosition unaryMinus(); |
| 453 | property public final inline androidx.ui.unit.Px x; |
| 454 | property public final inline androidx.ui.unit.Px y; |
| 455 | field public static final androidx.ui.unit.PxPosition.Companion! Companion; |
| 456 | } |
| 457 | |
| 458 | public static final class PxPosition.Companion { |
| 459 | method public androidx.ui.unit.PxPosition getOrigin(); |
| 460 | property public final androidx.ui.unit.PxPosition Origin; |
| 461 | } |
| 462 | |
| 463 | public final class PxSize { |
| 464 | method public androidx.ui.unit.PxSize copy(long value); |
| 465 | method public inline operator androidx.ui.unit.PxSize div(int other); |
| 466 | method public inline operator androidx.ui.unit.PxSize div(float other); |
| 467 | method public inline operator androidx.ui.unit.PxSize div(double other); |
| 468 | method public inline androidx.ui.unit.Px getHeight(); |
| 469 | method public inline androidx.ui.unit.Px getWidth(); |
| 470 | method public inline operator androidx.ui.unit.PxSize times(int other); |
| 471 | method public inline operator androidx.ui.unit.PxSize times(float other); |
| 472 | method public inline operator androidx.ui.unit.PxSize times(double other); |
| 473 | property public final inline androidx.ui.unit.Px height; |
| 474 | property public final inline androidx.ui.unit.Px width; |
| 475 | field public static final androidx.ui.unit.PxSize.Companion! Companion; |
| 476 | } |
| 477 | |
| 478 | public static final class PxSize.Companion { |
Nader Jawad | 9413082 | 2020-01-20 20:32:33 -0800 | [diff] [blame] | 479 | method public androidx.ui.unit.PxSize getUnspecifiedSize(); |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 480 | method public androidx.ui.unit.PxSize getZero(); |
Nader Jawad | 9413082 | 2020-01-20 20:32:33 -0800 | [diff] [blame] | 481 | property public final androidx.ui.unit.PxSize UnspecifiedSize; |
George Mount | 842c8c1 | 2020-01-08 16:03:42 -0800 | [diff] [blame] | 482 | property public final androidx.ui.unit.PxSize Zero; |
| 483 | } |
| 484 | |
| 485 | public final inline class PxSquared implements java.lang.Comparable<androidx.ui.unit.PxSquared> { |
| 486 | ctor public PxSquared(); |
| 487 | method public operator int compareTo-RjPF0Mw(float p); |
| 488 | method public static operator int compareTo-RjPF0Mw(float $this, float other); |
| 489 | method public static float constructor-impl(float value); |
| 490 | method public static inline operator float div-RjPF0Mw(float $this, float other); |
| 491 | method public static inline operator float div-bji3ab4(float $this, float other); |
| 492 | method public static inline operator float div-impl(float $this, float other); |
| 493 | method public static inline operator androidx.ui.unit.Px div-impl(float $this, androidx.ui.unit.Px other); |
| 494 | method public static boolean equals-impl(float p, Object? p1); |
| 495 | method public static boolean equals-impl0(float p1, float p2); |
| 496 | method public float getValue(); |
| 497 | method public static int hashCode-impl(float p); |
| 498 | method public static inline operator float minus-RjPF0Mw(float $this, float other); |
| 499 | method public static inline operator float plus-RjPF0Mw(float $this, float other); |
| 500 | method public static inline operator float times-impl(float $this, float other); |
| 501 | method public static inline operator float times-impl(float $this, androidx.ui.unit.Px other); |
| 502 | method public static String toString-impl(float $this); |
| 503 | } |
| 504 | |
| 505 | public final inline class Size { |
| 506 | ctor public Size(); |
| 507 | method public static long constructor-impl(internal long value); |
| 508 | method public static inline operator long div-impl(long $this, int other); |
| 509 | method public static inline operator long div-impl(long $this, float other); |
| 510 | method public static inline operator long div-impl(long $this, double other); |
| 511 | method public static boolean equals-impl(long p, Object? p1); |
| 512 | method public static boolean equals-impl0(long p1, long p2); |
| 513 | method public static androidx.ui.unit.Dp getHeight-impl(long $this); |
| 514 | method public static androidx.ui.unit.Dp getWidth-impl(long $this); |
| 515 | method public static int hashCode-impl(long p); |
| 516 | method public static inline operator long times-impl(long $this, int other); |
| 517 | method public static inline operator long times-impl(long $this, float other); |
| 518 | method public static inline operator long times-impl(long $this, double other); |
| 519 | method public static String toString-impl(long $this); |
| 520 | } |
| 521 | |
| 522 | public final class TextUnit { |
| 523 | ctor public TextUnit(long packedValue); |
| 524 | method public inline operator int compareTo(androidx.ui.unit.TextUnit other); |
| 525 | method public long component1(); |
| 526 | method public androidx.ui.unit.TextUnit copy(long packedValue); |
| 527 | method public inline operator androidx.ui.unit.TextUnit div(float other); |
| 528 | method public inline operator androidx.ui.unit.TextUnit div(double other); |
| 529 | method public inline operator androidx.ui.unit.TextUnit div(int other); |
| 530 | method public inline operator float div(androidx.ui.unit.TextUnit other); |
| 531 | method public long getPackedValue(); |
| 532 | method public androidx.ui.unit.TextUnitType getType(); |
| 533 | method public float getValue(); |
| 534 | method public boolean isEm(); |
| 535 | method public boolean isInherit(); |
| 536 | method public boolean isSp(); |
| 537 | method public inline operator androidx.ui.unit.TextUnit minus(androidx.ui.unit.TextUnit other); |
| 538 | method public inline operator androidx.ui.unit.TextUnit plus(androidx.ui.unit.TextUnit other); |
| 539 | method public inline operator androidx.ui.unit.TextUnit times(float other); |
| 540 | method public inline operator androidx.ui.unit.TextUnit times(double other); |
| 541 | method public inline operator androidx.ui.unit.TextUnit times(int other); |
| 542 | method public inline operator androidx.ui.unit.TextUnit unaryMinus(); |
| 543 | property public final boolean isEm; |
| 544 | property public final boolean isInherit; |
| 545 | property public final boolean isSp; |
| 546 | property public final androidx.ui.unit.TextUnitType type; |
| 547 | property public final float value; |
| 548 | field public static final androidx.ui.unit.TextUnit.Companion! Companion; |
| 549 | } |
| 550 | |
| 551 | public static final class TextUnit.Companion { |
| 552 | method public androidx.ui.unit.TextUnit Em(int value); |
| 553 | method public androidx.ui.unit.TextUnit Em(float value); |
| 554 | method public androidx.ui.unit.TextUnit Em(double value); |
| 555 | method public androidx.ui.unit.TextUnit Sp(int value); |
| 556 | method public androidx.ui.unit.TextUnit Sp(float value); |
| 557 | method public androidx.ui.unit.TextUnit Sp(double value); |
| 558 | method public androidx.ui.unit.TextUnit getInherit(); |
| 559 | property public final androidx.ui.unit.TextUnit Inherit; |
| 560 | } |
| 561 | |
| 562 | public final class TextUnitKt { |
| 563 | method public static inline androidx.ui.unit.TextUnit coerceAtLeast(androidx.ui.unit.TextUnit, androidx.ui.unit.TextUnit minimumValue); |
| 564 | method public static inline androidx.ui.unit.TextUnit coerceAtMost(androidx.ui.unit.TextUnit, androidx.ui.unit.TextUnit maximumValue); |
| 565 | method public static inline androidx.ui.unit.TextUnit coerceIn(androidx.ui.unit.TextUnit, androidx.ui.unit.TextUnit minimumValue, androidx.ui.unit.TextUnit maximumValue); |
| 566 | method public static androidx.ui.unit.TextUnit getEm(float); |
| 567 | method public static androidx.ui.unit.TextUnit getEm(double); |
| 568 | method public static androidx.ui.unit.TextUnit getEm(int); |
| 569 | method public static androidx.ui.unit.TextUnit getSp(float); |
| 570 | method public static androidx.ui.unit.TextUnit getSp(double); |
| 571 | method public static androidx.ui.unit.TextUnit getSp(int); |
| 572 | method public static androidx.ui.unit.TextUnit lerp(androidx.ui.unit.TextUnit a, androidx.ui.unit.TextUnit b, float t); |
| 573 | method public static inline androidx.ui.unit.TextUnit max(androidx.ui.unit.TextUnit a, androidx.ui.unit.TextUnit b); |
| 574 | method public static inline androidx.ui.unit.TextUnit min(androidx.ui.unit.TextUnit a, androidx.ui.unit.TextUnit b); |
| 575 | method public static inline operator androidx.ui.unit.TextUnit times(float, androidx.ui.unit.TextUnit other); |
| 576 | method public static inline operator androidx.ui.unit.TextUnit times(double, androidx.ui.unit.TextUnit other); |
| 577 | method public static inline operator androidx.ui.unit.TextUnit times(int, androidx.ui.unit.TextUnit other); |
| 578 | } |
| 579 | |
| 580 | public enum TextUnitType { |
| 581 | enum_constant public static final androidx.ui.unit.TextUnitType Em; |
| 582 | enum_constant public static final androidx.ui.unit.TextUnitType Inherit; |
| 583 | enum_constant public static final androidx.ui.unit.TextUnitType Sp; |
| 584 | } |
| 585 | |
| 586 | public final class Uptime implements java.lang.Comparable<androidx.ui.unit.Uptime> { |
| 587 | ctor public Uptime(long nanoseconds); |
| 588 | method public int compareTo(androidx.ui.unit.Uptime other); |
| 589 | method public long component1(); |
| 590 | method public androidx.ui.unit.Uptime copy(long nanoseconds); |
| 591 | method public long getNanoseconds(); |
| 592 | method public operator androidx.ui.unit.Uptime minus(androidx.ui.unit.Duration duration); |
| 593 | method public operator androidx.ui.unit.Duration minus(androidx.ui.unit.Uptime other); |
| 594 | method public operator androidx.ui.unit.Uptime plus(androidx.ui.unit.Duration duration); |
| 595 | field public static final androidx.ui.unit.Uptime.Companion! Companion; |
| 596 | } |
| 597 | |
| 598 | public static final class Uptime.Companion { |
| 599 | method public androidx.ui.unit.Uptime getBoot(); |
| 600 | property public final androidx.ui.unit.Uptime Boot; |
| 601 | } |
| 602 | |
| 603 | public final class UptimeKt { |
| 604 | method public static operator androidx.ui.unit.Uptime plus(androidx.ui.unit.Duration, androidx.ui.unit.Uptime uptime); |
| 605 | } |
| 606 | |
| 607 | public final class Velocity { |
| 608 | ctor public Velocity(androidx.ui.unit.PxPosition pixelsPerSecond); |
| 609 | method public androidx.ui.unit.PxPosition component1(); |
| 610 | method public androidx.ui.unit.Velocity copy(androidx.ui.unit.PxPosition pixelsPerSecond); |
| 611 | method public androidx.ui.unit.PxPosition getPixelsPerSecond(); |
| 612 | method public operator androidx.ui.unit.Velocity unaryMinus(); |
| 613 | field public static final androidx.ui.unit.Velocity.Companion! Companion; |
| 614 | } |
| 615 | |
| 616 | public static final class Velocity.Companion { |
| 617 | method public androidx.ui.unit.Velocity getZero(); |
| 618 | property public final androidx.ui.unit.Velocity Zero; |
| 619 | } |
| 620 | |
| 621 | public final class VelocityKt { |
| 622 | method public static operator androidx.ui.unit.Velocity minus(androidx.ui.unit.Velocity, androidx.ui.unit.Velocity other); |
| 623 | method public static operator androidx.ui.unit.Velocity plus(androidx.ui.unit.Velocity, androidx.ui.unit.Velocity other); |
| 624 | } |
| 625 | |
| 626 | } |
| 627 | |