blob: 80cbcbf6c28b304c82b29845765ece15aa06162a [file] [log] [blame]
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -08001// Signature format: 3.0
2package androidx.compose {
3
Leland Richardson19285b12020-06-18 13:37:21 -07004 @androidx.compose.ExperimentalComposeApi public abstract class AbstractApplier<T> implements androidx.compose.Applier<T> {
5 ctor public AbstractApplier(T! root);
6 method public void down(T? node);
7 method public T! getCurrent();
8 method public final T! getRoot();
9 method protected final void move(java.util.List<T>, int from, int to, int count);
10 method protected final void remove(java.util.List<T>, int index, int count);
11 method public void reset();
12 method public void setCurrent(T! p);
13 method public void up();
14 property public T! current;
15 }
16
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080017 public final class ActualAndroidKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080018 }
19
20 public final class ActualJvmKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080021 }
22
Leland Richardson66237d82020-06-19 11:06:37 -070023 @androidx.compose.Stable public abstract sealed class Ambient<T> {
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -080024 method public final inline T! getCurrent();
25 property public final inline T! current;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080026 }
27
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -080028 public final class AmbientKt {
29 method @androidx.compose.Composable public static void Providers(androidx.compose.ProvidedValue<?>![] values, kotlin.jvm.functions.Function0<kotlin.Unit> children);
Chuck Jazdzewskieef6de42020-01-29 11:01:33 -080030 method public static <T> androidx.compose.ProvidableAmbient<T> ambientOf(kotlin.jvm.functions.Function2<? super T,? super T,java.lang.Boolean> areEquivalent = ReferentiallyEqual, kotlin.jvm.functions.Function0<? extends T>? defaultFactory = null);
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -080031 method public static <T> androidx.compose.ProvidableAmbient<T> staticAmbientOf(kotlin.jvm.functions.Function0<? extends T>? defaultFactory = null);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080032 }
33
Leland Richardson656c1132020-06-03 09:12:42 -070034 @androidx.compose.InternalComposeApi public final class Anchor {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080035 ctor public Anchor(internal int loc);
36 method public boolean getValid();
37 method public int location(androidx.compose.SlotTable slots);
38 property public final boolean valid;
39 }
40
Leland Richardson19285b12020-06-18 13:37:21 -070041 @androidx.compose.ExperimentalComposeApi public interface Applier<N> {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080042 method public void down(N? node);
43 method public N! getCurrent();
44 method public void insert(int index, N? instance);
45 method public void move(int from, int to, int count);
46 method public void remove(int index, int count);
47 method public void reset();
48 method public void up();
Leland Richardson19285b12020-06-18 13:37:21 -070049 property public abstract N! current;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080050 }
51
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -070052 public final class BitwiseOperatorsKt {
53 }
54
Chuck Jazdzewskic9794002020-04-08 10:40:42 -070055 public final class BuildableMap<K, V> implements kotlin.jvm.internal.markers.KMappedMarker java.util.Map<K,V> {
56 ctor public BuildableMap(kotlinx.collections.immutable.PersistentMap<K,? extends V> map);
57 method public kotlinx.collections.immutable.PersistentMap<K,V> component1();
58 method public boolean containsKey(Object! key);
59 method public boolean containsValue(Object! value);
60 method public androidx.compose.BuildableMap<K,V> copy(kotlinx.collections.immutable.PersistentMap<K,? extends V> map);
61 method public V? get(Object! key);
62 method public java.util.Set<java.util.Map.Entry<K,V>> getEntries();
63 method public java.util.Set<K> getKeys();
64 method public kotlinx.collections.immutable.PersistentMap<K,V> getMap();
65 method public int getSize();
66 method public java.util.Collection<V> getValues();
67 method public boolean isEmpty();
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -080068 }
69
Leland Richardson7f848ab2019-12-12 13:43:41 -080070 public interface CommitScope {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080071 method public void onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> callback);
72 }
73
Leland Richardson40bcf3c2020-06-19 10:53:27 -070074 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY}) public @interface Composable {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080075 }
76
Leland Richardson72046832020-06-02 13:13:10 -070077 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY}) public @interface ComposableContract {
78 method public abstract boolean readonly() default false;
79 method public abstract boolean restartable() default true;
80 }
81
Leland Richardson656c1132020-06-03 09:12:42 -070082 @kotlin.RequiresOptIn(level=RequiresOptIn.Level.WARNING, message="This API is intended to be targeted by the Compose Compiler Plugin and not called " + "directly.") @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.TYPEALIAS}) public @interface ComposeCompilerApi {
83 }
84
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080085 public final class ComposeKt {
Leland Richardson47df77f2020-05-21 09:15:40 -070086 method @androidx.compose.Stable public static kotlin.jvm.functions.Function0<kotlin.Unit> emptyContent();
Louis Pullen-Freiliche46bcf02020-02-12 16:06:21 +000087 method public static inline kotlin.jvm.functions.Function0<kotlin.Unit> orEmpty(kotlin.jvm.functions.Function0<kotlin.Unit>?);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080088 }
89
Leland Richardson19285b12020-06-18 13:37:21 -070090 public final class Composer<N> {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080091 ctor public Composer(androidx.compose.SlotTable slotTable, androidx.compose.Applier<N> applier, androidx.compose.Recomposer recomposer);
Leland Richardson19285b12020-06-18 13:37:21 -070092 method @androidx.compose.InternalComposeApi public void applyChanges();
93 method @Deprecated public inline void call(Object key, kotlin.jvm.functions.Function1<? super androidx.compose.ComposerValidator,java.lang.Boolean> invalid, kotlin.jvm.functions.Function0<kotlin.Unit> block);
94 method @androidx.compose.ComposeCompilerApi public boolean changed(Object? value);
95 method @androidx.compose.ComposeCompilerApi public boolean changed(char value);
96 method @androidx.compose.ComposeCompilerApi public boolean changed(byte value);
97 method @androidx.compose.ComposeCompilerApi public boolean changed(short value);
98 method @androidx.compose.ComposeCompilerApi public boolean changed(boolean value);
99 method @androidx.compose.ComposeCompilerApi public boolean changed(float value);
100 method @androidx.compose.ComposeCompilerApi public boolean changed(long value);
101 method @androidx.compose.ComposeCompilerApi public boolean changed(double value);
102 method @androidx.compose.ComposeCompilerApi public boolean changed(int value);
103 method @androidx.compose.InternalComposeApi public void collectKeySourceInformation();
104 method @androidx.compose.InternalComposeApi public void composeRoot(kotlin.jvm.functions.Function0<kotlin.Unit> block);
105 method @androidx.compose.ComposeCompilerApi public <T extends N> void createNode(kotlin.jvm.functions.Function0<? extends T> factory);
106 method @androidx.compose.ComposeCompilerApi public void emitNode(Object node);
107 method @androidx.compose.ComposeCompilerApi public void endDefaults();
108 method @androidx.compose.ComposeCompilerApi public void endMovableGroup();
109 method @androidx.compose.ComposeCompilerApi public void endNode();
110 method @androidx.compose.ComposeCompilerApi public void endReplaceableGroup();
111 method @androidx.compose.ComposeCompilerApi public androidx.compose.ScopeUpdateScope? endRestartGroup();
112 method public androidx.compose.Applier<N> getApplier();
113 method public int getCurrentCompoundKeyHash();
114 method public boolean getDefaultsInvalid();
115 method public boolean getInserting();
116 method public androidx.compose.Recomposer getRecomposer();
117 method public boolean getSkipping();
118 method public androidx.compose.SlotTable getSlotTable();
119 method @androidx.compose.ComposeCompilerApi public Object joinKey(Object? left, Object? right);
120 method @androidx.compose.ComposeCompilerApi public Object? nextSlot();
121 method @androidx.compose.InternalComposeApi public boolean recompose();
122 method @androidx.compose.ComposeCompilerApi public void skipCurrentGroup();
123 method @androidx.compose.ComposeCompilerApi public void skipToGroupEnd();
124 method @androidx.compose.ComposeCompilerApi public void startDefaults();
125 method @androidx.compose.ComposeCompilerApi public void startMovableGroup(int key, Object? dataKey);
126 method @androidx.compose.ComposeCompilerApi public void startNode();
127 method @androidx.compose.ComposeCompilerApi public void startReplaceableGroup(int key);
128 method @androidx.compose.ComposeCompilerApi public void startRestartGroup(int key);
129 method @androidx.compose.ComposeCompilerApi public N! useNode();
Andrey Kulikov1e06a872020-02-28 15:52:00 +0000130 property public final int currentCompoundKeyHash;
Leland Richardson797bd0cd2020-05-07 15:16:51 -0700131 property public final boolean defaultsInvalid;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800132 property public final boolean inserting;
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800133 property public final boolean skipping;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800134 }
135
136 public final class ComposerKt {
Leland Richardson19285b12020-06-18 13:37:21 -0700137 method @Deprecated public static inline <T> T! escapeCompose(kotlin.jvm.functions.Function1<? super androidx.compose.NullCompilationScope,? extends T> block);
138 method @Deprecated public static androidx.compose.Composer<?> getComposer();
Leland Richardson985ef592020-02-14 15:18:10 -0800139 method public static androidx.compose.Composer<?> getCurrentComposer();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800140 }
141
Leland Richardson656c1132020-06-03 09:12:42 -0700142 @Deprecated public interface ComposerValidator {
143 method @Deprecated public boolean changed(int value);
144 method @Deprecated public <T> boolean changed(T? value);
Leland Richardson534a3462020-02-05 23:26:02 -0800145 }
146
Andrey Kulikovd13aefe2020-03-16 13:52:22 +0000147 public interface Composition {
Fedor Kudasov87322c72020-01-30 17:57:14 +0000148 method public void dispose();
Andrey Kulikovd13aefe2020-03-16 13:52:22 +0000149 method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> content);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800150 }
151
Adam Powell28b24c32020-06-15 17:08:49 -0700152 public abstract class CompositionCoroutineScope implements kotlinx.coroutines.CoroutineScope androidx.compose.dispatch.MonotonicFrameClock {
Adam Powell85b14d02020-05-19 11:39:03 -0700153 ctor public CompositionCoroutineScope();
154 method @Deprecated public final suspend Object? awaitFrame(kotlin.coroutines.Continuation<? super java.lang.Long> p);
155 }
156
Adam Powell28b24c32020-06-15 17:08:49 -0700157 @Deprecated public interface CompositionFrameClock extends androidx.compose.dispatch.MonotonicFrameClock {
Adam Powelle6bbf202020-06-05 16:19:08 -0700158 method @Deprecated public default suspend <R> Object? awaitFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
Adam Powell85b14d02020-05-19 11:39:03 -0700159 }
160
161 public final class CompositionFrameClockKt {
Adam Powelle6bbf202020-06-05 16:19:08 -0700162 method @Deprecated public static suspend inline <R> Object? awaitFrameMillis(androidx.compose.CompositionFrameClock, kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
163 method @Deprecated public static suspend Object? awaitFrameMillis(androidx.compose.CompositionFrameClock, kotlin.coroutines.Continuation<? super java.lang.Long> p);
164 method @Deprecated public static suspend Object? awaitFrameNanos(androidx.compose.CompositionFrameClock, kotlin.coroutines.Continuation<? super java.lang.Long> p);
Adam Powell28b24c32020-06-15 17:08:49 -0700165 method @Deprecated public static suspend inline <R> Object? withFrameMillis(androidx.compose.CompositionFrameClock, kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
Adam Powell85b14d02020-05-19 11:39:03 -0700166 }
167
Leland Richardson76600e32020-01-15 17:22:29 -0800168 public final class CompositionKt {
Leland Richardson19285b12020-06-18 13:37:21 -0700169 method @Deprecated public static androidx.compose.Composition compositionFor(Object container, androidx.compose.Recomposer recomposer, androidx.compose.CompositionReference? parent = null, kotlin.jvm.functions.Function2<? super androidx.compose.SlotTable,? super androidx.compose.Recomposer,? extends androidx.compose.Composer<?>> composerFactory);
Adam Powellc9167422020-04-08 16:50:37 -0700170 method @Deprecated public static androidx.compose.Composition compositionFor(Object container, androidx.compose.CompositionReference? parent = null, kotlin.jvm.functions.Function2<? super androidx.compose.SlotTable,? super androidx.compose.Recomposer,? extends androidx.compose.Composer<?>> composerFactory);
Leland Richardson19285b12020-06-18 13:37:21 -0700171 method @androidx.compose.ExperimentalComposeApi public static androidx.compose.Composition compositionFor(Object key, androidx.compose.Applier<?> applier, androidx.compose.Recomposer recomposer, androidx.compose.CompositionReference? parent = null, kotlin.jvm.functions.Function0<kotlin.Unit> onCreated = {});
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800172 }
173
174 public interface CompositionLifecycleObserver {
175 method public void onEnter();
176 method public void onLeave();
177 }
178
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700179 public abstract class CompositionReference {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800180 }
181
Leland Richardson72046832020-06-02 13:13:10 -0700182 @Deprecated @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=AnnotationTarget.FUNCTION) public @interface Direct {
Leland Richardson444fc3b2020-03-26 13:40:28 -0700183 }
184
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800185 public final class EffectsKt {
Leland Richardson7f848ab2019-12-12 13:43:41 -0800186 method @androidx.compose.Composable public static androidx.compose.CompositionReference compositionReference();
Leland Richardson7f848ab2019-12-12 13:43:41 -0800187 method public static kotlin.jvm.functions.Function0<kotlin.Unit> getInvalidate();
188 method @androidx.compose.Composable public static void onActive(kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
Chuck Jazdzewski8a3c04d2020-02-11 11:10:24 -0800189 method @androidx.compose.Composable public static inline void onCommit(kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
Leland Richardson7f848ab2019-12-12 13:43:41 -0800190 method @androidx.compose.Composable public static <V1> void onCommit(V1? v1, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
191 method @androidx.compose.Composable public static <V1, V2> void onCommit(V1? v1, V2? v2, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
192 method @androidx.compose.Composable public static void onCommit(Object![]? inputs, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
193 method @androidx.compose.Composable public static void onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> callback);
Chuck Jazdzewski8a3c04d2020-02-11 11:10:24 -0800194 method @androidx.compose.Composable public static inline void onPreCommit(kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
Leland Richardson7f848ab2019-12-12 13:43:41 -0800195 method @androidx.compose.Composable public static <V1> void onPreCommit(V1? v1, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
196 method @androidx.compose.Composable public static <V1, V2> void onPreCommit(V1? v1, V2? v2, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
197 method @androidx.compose.Composable public static void onPreCommit(Object![]? inputs, kotlin.jvm.functions.Function1<? super androidx.compose.CommitScope,kotlin.Unit> callback);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800198 }
199
Leland Richardson19285b12020-06-18 13:37:21 -0700200 public final class EmitKt {
201 method @androidx.compose.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.Applier<?>> void emit(kotlin.jvm.functions.Function0<? extends T> ctor, kotlin.jvm.functions.Function1<? super androidx.compose.Updater<T>,? extends kotlin.Unit> update);
202 method @androidx.compose.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.Applier<?>> void emit(kotlin.jvm.functions.Function0<? extends T> ctor, kotlin.jvm.functions.Function1<? super androidx.compose.Updater<T>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function0<? extends kotlin.Unit> children);
203 }
204
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800205 public final class ExpectKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800206 }
207
Leland Richardson656c1132020-06-03 09:12:42 -0700208 @kotlin.RequiresOptIn(level=RequiresOptIn.Level.ERROR, message="This is an experimental API for Compose and is likely to change before becoming " + "stable.") @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY}) public @interface ExperimentalComposeApi {
209 }
210
Andrey Kulikovb13d14e2020-04-16 20:07:14 +0100211 public final class FlowAdapterKt {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700212 method @androidx.compose.Composable @kotlinx.coroutines.ExperimentalCoroutinesApi public static inline <T> androidx.compose.State<T> collectAsState(kotlinx.coroutines.flow.StateFlow<? extends T>, kotlin.coroutines.CoroutineContext context = Dispatchers.Main);
Zach Klippenstein79be8422020-05-28 14:02:20 -0700213 method @Deprecated @androidx.compose.Composable public static inline <T> androidx.compose.State<T> collectAsState(kotlinx.coroutines.flow.Flow<? extends T>, kotlin.coroutines.CoroutineContext context = Dispatchers.Main);
214 method @androidx.compose.Composable public static <T extends R, R> androidx.compose.State<R> collectAsState(kotlinx.coroutines.flow.Flow<? extends T>, R? initial, kotlin.coroutines.CoroutineContext context = Dispatchers.Main);
Andrey Kulikovb13d14e2020-04-16 20:07:14 +0100215 }
216
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800217 public final class FrameManager {
218 method public void ensureStarted();
219 method public <T> T! framed(kotlin.jvm.functions.Function0<? extends T> block);
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700220 method @org.jetbrains.annotations.TestOnly public <T> T! isolated(kotlin.jvm.functions.Function0<? extends T> block);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800221 method public void nextFrame();
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700222 method @org.jetbrains.annotations.TestOnly public <T> T! unframed(kotlin.jvm.functions.Function0<? extends T> block);
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700223 field public static final androidx.compose.FrameManager INSTANCE;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800224 }
225
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800226 @androidx.compose.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=AnnotationTarget.CLASS) public @interface Immutable {
227 }
228
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700229 @kotlin.RequiresOptIn(level=RequiresOptIn.Level.ERROR, message="This is internal API for Compose modules that may change frequently " + "and without warning.") @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY}) public @interface InternalComposeApi {
Adam Powell85b14d02020-05-19 11:39:03 -0700230 }
231
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800232 public final class JoinedKeyKt {
Leland Richardson656c1132020-06-03 09:12:42 -0700233 method @androidx.compose.InternalComposeApi public static boolean isJoinedKey(Object? key);
234 method @androidx.compose.InternalComposeApi public static Object? joinedKeyLeft(Object? key);
235 method @androidx.compose.InternalComposeApi public static Object? joinedKeyRight(Object? key);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800236 }
237
Leland Richardson656c1132020-06-03 09:12:42 -0700238 @androidx.compose.InternalComposeApi public final class KeyInfo {
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700239 method public Object? getDataKey();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800240 method public int getIndex();
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700241 method public int getKey();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800242 method public int getLocation();
243 method public int getNodes();
244 }
245
246 public final class KeyKt {
Leland Richardson797bd0cd2020-05-07 15:16:51 -0700247 method @androidx.compose.Composable public static inline <T> T! key(Object![]? inputs, kotlin.jvm.functions.Function0<? extends T> block);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800248 }
249
250 public final class KeySourceInfoKt {
Leland Richardson656c1132020-06-03 09:12:42 -0700251 method @androidx.compose.InternalComposeApi public static String? keySourceInfoOf(Object key);
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700252 method @androidx.compose.InternalComposeApi public static void resetSourceInfo();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800253 }
254
Chuck Jazdzewski89ecd7b2020-01-07 15:20:39 -0800255 @androidx.compose.Stable public interface MutableState<T> extends androidx.compose.State<T> {
Leland Richardson9494a432019-12-12 21:15:41 -0800256 method public operator T! component1();
257 method public operator kotlin.jvm.functions.Function1<T,kotlin.Unit> component2();
Leland Richardson9494a432019-12-12 21:15:41 -0800258 method public void setValue(T! p);
Leland Richardson9494a432019-12-12 21:15:41 -0800259 property public abstract T! value;
260 }
261
262 public final class MutableStateKt {
Louis Pullen-Freilich17f6bdc2020-03-11 23:49:18 +0000263 method public static kotlin.jvm.functions.Function2<java.lang.Object,java.lang.Object,java.lang.Boolean> getNeverEqual();
Louis Pullen-Freilichb3831a52020-01-02 15:05:01 +0000264 method public static kotlin.jvm.functions.Function2<java.lang.Object,java.lang.Object,java.lang.Boolean> getReferentiallyEqual();
265 method public static kotlin.jvm.functions.Function2<java.lang.Object,java.lang.Object,java.lang.Boolean> getStructurallyEqual();
Adam Powell5f07ae82020-03-30 14:36:42 -0700266 method public static inline operator <T> T! getValue(androidx.compose.State<T>, Object? thisObj, kotlin.reflect.KProperty<?> property);
Louis Pullen-Freilichb3831a52020-01-02 15:05:01 +0000267 method public static <T> androidx.compose.MutableState<T> mutableStateOf(T? value, kotlin.jvm.functions.Function2<? super T,? super T,java.lang.Boolean> areEquivalent = ReferentiallyEqual);
Adam Powell5f07ae82020-03-30 14:36:42 -0700268 method public static inline operator <T> void setValue(androidx.compose.MutableState<T>, Object? thisObj, kotlin.reflect.KProperty<?> property, T? value);
Louis Pullen-Freilichb3831a52020-01-02 15:05:01 +0000269 method @androidx.compose.Composable public static inline <T> androidx.compose.MutableState<T> state(kotlin.jvm.functions.Function2<? super T,? super T,java.lang.Boolean> areEquivalent = ReferentiallyEqual, kotlin.jvm.functions.Function0<? extends T> init);
Leland Richardsonc23ed9c2019-12-17 11:32:21 -0800270 method @androidx.compose.Composable public static inline <T, V1> androidx.compose.MutableState<T> stateFor(V1? v1, kotlin.jvm.functions.Function0<? extends T> init);
Leland Richardsonc23ed9c2019-12-17 11:32:21 -0800271 method @androidx.compose.Composable public static inline <T> androidx.compose.MutableState<T> stateFor(Object![]? inputs, kotlin.jvm.functions.Function0<? extends T> init);
Louis Pullen-Freilich10b53cd2020-04-30 12:35:30 +0100272 method @androidx.compose.Composable public static inline <T, reified V1, reified V2> androidx.compose.MutableState<T>! stateFor(V1? v1, V2? v2, kotlin.jvm.functions.Function0<? extends T> init);
Leland Richardson9494a432019-12-12 21:15:41 -0800273 }
274
Leland Richardson19285b12020-06-18 13:37:21 -0700275 @Deprecated public final class NullCompilationScope {
276 method @Deprecated public kotlin.Unit getComposer();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800277 property public final kotlin.Unit composer;
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700278 field @Deprecated public static final androidx.compose.NullCompilationScope INSTANCE;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800279 }
280
281 public final class ObserveKt {
Leland Richardson64515d52020-06-02 20:51:46 -0700282 method @Deprecated @androidx.compose.Composable public static void Observe(kotlin.jvm.functions.Function0<kotlin.Unit> body);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800283 }
284
285 public final class ObserverMap<K, V> {
286 ctor public ObserverMap();
287 method public void add(K key, V value);
288 method public void clear();
289 method public void clearValues(kotlin.jvm.functions.Function1<? super V,java.lang.Boolean> predicate);
290 method public boolean contains(K key, V value);
291 method public operator java.util.List<V> get(Iterable<? extends K> keys);
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800292 method public java.util.List<V> getValueOf(K key);
George Mounteaf58492019-12-06 09:24:47 -0800293 method public void remove(K key);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800294 method public void remove(K key, V value);
George Mount6623eb42019-12-04 14:38:44 -0800295 method public void removeValue(V value);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800296 }
297
Leland Richardson66237d82020-06-19 11:06:37 -0700298 @androidx.compose.Stable public abstract class ProvidableAmbient<T> extends androidx.compose.Ambient<T> {
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800299 method public final infix androidx.compose.ProvidedValue<T> provides(T? value);
300 }
301
302 public final class ProvidedValue<T> {
303 method public androidx.compose.Ambient<T> getAmbient();
304 method public T! getValue();
305 }
306
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800307 public final class RecomposeKt {
Leland Richardson4aa8aa82020-06-02 21:15:15 -0700308 method @Deprecated @androidx.compose.Composable public static void Recompose(kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> body);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800309 }
310
Adam Powell11d00c72020-04-15 09:28:13 -0700311 public final class Recomposer {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800312 ctor public Recomposer();
Adam Powell11d00c72020-04-15 09:28:13 -0700313 method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit> p);
Adam Powell28b24c32020-06-15 17:08:49 -0700314 method public androidx.compose.dispatch.MonotonicFrameClock getFrameClock();
Adam Powell11d00c72020-04-15 09:28:13 -0700315 method public boolean hasPendingChanges();
Adam Powell28b24c32020-06-15 17:08:49 -0700316 method public suspend Object? recomposeAndApplyChanges(kotlinx.coroutines.CoroutineScope applyCoroutineScope, androidx.compose.dispatch.MonotonicFrameClock frameClock, long frameCount, kotlin.coroutines.Continuation<? super kotlin.Unit> p);
317 method public suspend Object? runRecomposeAndApplyChanges(androidx.compose.dispatch.MonotonicFrameClock frameClock, kotlin.coroutines.Continuation<?> p);
318 property public final androidx.compose.dispatch.MonotonicFrameClock frameClock;
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700319 field public static final androidx.compose.Recomposer.Companion Companion;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800320 }
321
322 public static final class Recomposer.Companion {
Aurimas Liutikas3ec16722020-05-27 13:08:04 -0700323 method @org.jetbrains.annotations.TestOnly public androidx.compose.Recomposer current();
Adam Powellc9167422020-04-08 16:50:37 -0700324 method @Deprecated public boolean hasPendingChanges();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800325 }
326
Adam Powell11d00c72020-04-15 09:28:13 -0700327 public final class RecomposerKt {
Adam Powell28b24c32020-06-15 17:08:49 -0700328 method public static suspend Object? withRunningRecomposer(androidx.compose.dispatch.MonotonicFrameClock frameClock, kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super androidx.compose.Recomposer,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block, kotlin.coroutines.Continuation<? super kotlin.Unit> p);
Adam Powell11d00c72020-04-15 09:28:13 -0700329 }
330
Leland Richardson7f848ab2019-12-12 13:43:41 -0800331 public final class RememberKt {
Leland Richardsonc23ed9c2019-12-17 11:32:21 -0800332 method @androidx.compose.Composable public static inline <T> T! remember(kotlin.jvm.functions.Function0<? extends T> calculation);
333 method @androidx.compose.Composable public static inline <T, V1> T! remember(V1? v1, kotlin.jvm.functions.Function0<? extends T> calculation);
334 method @androidx.compose.Composable public static inline <T, V1, V2> T! remember(V1? v1, V2? v2, kotlin.jvm.functions.Function0<? extends T> calculation);
335 method @androidx.compose.Composable public static inline <T, V1, V2, V3> T! remember(V1? v1, V2? v2, V3? v3, kotlin.jvm.functions.Function0<? extends T> calculation);
336 method @androidx.compose.Composable public static inline <V> V! remember(Object![]? inputs, kotlin.jvm.functions.Function0<? extends V> block);
Leland Richardson7f848ab2019-12-12 13:43:41 -0800337 }
338
Leland Richardson656c1132020-06-03 09:12:42 -0700339 @androidx.compose.ComposeCompilerApi public interface ScopeUpdateScope {
Leland Richardson797bd0cd2020-05-07 15:16:51 -0700340 method public void updateScope(kotlin.jvm.functions.Function3<? super androidx.compose.Composer<?>,? super java.lang.Integer,? super java.lang.Integer,kotlin.Unit> block);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800341 }
342
Leland Richardson656c1132020-06-03 09:12:42 -0700343 @androidx.compose.InternalComposeApi public final class SlotReader {
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700344 ctor public SlotReader(androidx.compose.SlotTable table);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800345 method public void beginEmpty();
346 method public void close();
347 method public void endEmpty();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700348 method public void endGroup();
349 method public void endNode();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800350 method public java.util.List<androidx.compose.KeyInfo> extractKeys();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700351 method public Object? get(androidx.compose.Anchor anchor);
352 method public Object? get(int index);
353 method public int getCurrent();
354 method public int getCurrentEnd();
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700355 method public Object! getGroupData();
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700356 method public Object! getGroupDataKey();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700357 method public int getGroupEnd();
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700358 method public int getGroupKey();
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700359 method public Object! getGroupNode();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700360 method public int getGroupSize();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800361 method public boolean getInEmpty();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700362 method public int getNodeIndex();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700363 method public int getParentLocation();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700364 method public int getParentNodes();
Chuck Jazdzewskid7aa6bd2020-04-17 16:33:56 -0700365 method public int getParentSlots();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700366 method public androidx.compose.SlotTable getTable();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700367 method public int groupEnd(int index);
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700368 method public int groupKey(int index);
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700369 method public int groupSize(int index);
370 method public boolean isGroup();
371 method public boolean isGroup(int index);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800372 method public boolean isGroupEnd();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700373 method public boolean isNode();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700374 method public boolean isNode(int location);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800375 method public Object? next();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700376 method public void reposition(int value);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800377 method public int skipGroup();
378 method public int skipNode();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700379 method public void skipToGroupEnd();
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700380 method public void startDataGroup();
381 method public void startGroup();
382 method public void startNode();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700383 property public final int current;
384 property public final int currentEnd;
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700385 property public final Object! groupData;
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700386 property public final Object! groupDataKey;
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700387 property public final int groupEnd;
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700388 property public final int groupKey;
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700389 property public final Object! groupNode;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700390 property public final int groupSize;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800391 property public final boolean inEmpty;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700392 property public final boolean isGroup;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800393 property public final boolean isGroupEnd;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700394 property public final boolean isNode;
395 property public final int nodeIndex;
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700396 property public final int parentLocation;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700397 property public final int parentNodes;
Chuck Jazdzewskid7aa6bd2020-04-17 16:33:56 -0700398 property public final int parentSlots;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800399 }
400
401 public final class SlotTable {
402 ctor public SlotTable(internal Object![] slots);
403 ctor public SlotTable();
404 method public int getSize();
Leland Richardson656c1132020-06-03 09:12:42 -0700405 method @androidx.compose.InternalComposeApi public java.util.List<java.lang.Integer> groupPathTo(int location);
406 method @androidx.compose.InternalComposeApi public androidx.compose.SlotReader openReader();
407 method @androidx.compose.InternalComposeApi public androidx.compose.SlotWriter openWriter();
408 method @androidx.compose.InternalComposeApi public <T> T! read(kotlin.jvm.functions.Function1<? super androidx.compose.SlotReader,? extends T> block);
409 method @androidx.compose.InternalComposeApi @org.jetbrains.annotations.TestOnly public void verifyWellFormed();
410 method @androidx.compose.InternalComposeApi public <T> T! write(kotlin.jvm.functions.Function1<? super androidx.compose.SlotWriter,? extends T> block);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800411 property public final int size;
Aurimas Liutikasafd4a792020-06-22 13:35:25 -0700412 field public static final androidx.compose.SlotTable.Companion Companion;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800413 }
414
Leland Richardson656c1132020-06-03 09:12:42 -0700415 @androidx.compose.InternalComposeApi public static final class SlotTable.Companion {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800416 method public Object getEMPTY();
417 property public final Object EMPTY;
418 }
419
420 public final class SlotTableKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800421 }
422
Leland Richardson656c1132020-06-03 09:12:42 -0700423 @androidx.compose.InternalComposeApi public final class SlotWriter {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800424 method public androidx.compose.Anchor anchor(int index = current);
425 method public void beginInsert();
426 method public void close();
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700427 method public int endData();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800428 method public int endGroup();
429 method public void endInsert();
430 method public int endNode();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700431 method public void ensureStarted(int location);
432 method public void ensureStarted(androidx.compose.Anchor anchor);
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700433 method public Object? get(androidx.compose.Anchor anchor);
434 method public Object? get(int index);
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700435 method public boolean getClosed();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700436 method public int getCurrent();
437 method public int getGroupSize();
438 method public int getNodeIndex();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700439 method public int getParentLocation();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700440 method public int getParentNodes();
441 method public androidx.compose.SlotTable getTable();
442 method public int groupSize(int index);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800443 method public java.util.Iterator<java.lang.Object> groupSlots();
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700444 method public boolean isGroup();
445 method public boolean isGroup(int index);
446 method public boolean isNode();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700447 method public java.util.List<androidx.compose.Anchor> moveFrom(androidx.compose.SlotTable table, int location);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800448 method public void moveGroup(int offset);
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700449 method public int parentIndex(androidx.compose.Anchor anchor);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800450 method public boolean removeGroup();
451 method public void set(Object? value);
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700452 method public void setCurrent(int p);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800453 method public Object? skip();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700454 method public void skip(int amount);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800455 method public int skipGroup();
456 method public int skipNode();
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700457 method public void skipToGroupEnd();
Chuck Jazdzewskibb0fab242020-05-08 14:11:33 -0700458 method public void startData(int key, Object? dataKey, Object? data);
459 method public void startGroup();
460 method public void startGroup(int key);
461 method public void startGroup(int key, Object? dataKey);
462 method public void startNode();
463 method public void startNode(Object? key);
464 method public void startNode(Object? key, Object? node);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800465 method public Object? update(Object? value);
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -0700466 method public void updateData(Object? value);
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700467 property public final boolean closed;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700468 property public final int current;
469 property public final int groupSize;
470 property public final boolean isGroup;
471 property public final boolean isNode;
472 property public final int nodeIndex;
Chuck Jazdzewski60cdc462020-03-30 09:12:15 -0700473 property public final int parentLocation;
Chuck Jazdzewski088e5252020-03-16 16:40:02 -0700474 property public final int parentNodes;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800475 }
476
Leland Richardson47df77f2020-05-21 09:15:40 -0700477 @androidx.compose.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY}) public @interface Stable {
Anastasia Sobolevaa7fd11f2019-12-12 18:43:07 +0000478 }
479
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800480 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS}) public @interface StableMarker {
481 }
482
Chuck Jazdzewski89ecd7b2020-01-07 15:20:39 -0800483 @androidx.compose.Stable public interface State<T> {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800484 method public T! getValue();
Leland Richardson9494a432019-12-12 21:15:41 -0800485 property public abstract T! value;
Leland Richardson7f848ab2019-12-12 13:43:41 -0800486 }
487
Adam Powell85b14d02020-05-19 11:39:03 -0700488 public final class SuspendingEffectsKt {
489 method public static suspend Object? awaitDispose(androidx.compose.CompositionCoroutineScope, kotlin.jvm.functions.Function0<kotlin.Unit> onDispose = {}, kotlin.coroutines.Continuation<?> p = {});
490 method @androidx.compose.Composable public static void launchInComposition(kotlin.jvm.functions.Function2<? super androidx.compose.CompositionCoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
491 method @androidx.compose.Composable public static void launchInComposition(Object? v1, kotlin.jvm.functions.Function2<? super androidx.compose.CompositionCoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
492 method @androidx.compose.Composable public static void launchInComposition(Object? v1, Object? v2, kotlin.jvm.functions.Function2<? super androidx.compose.CompositionCoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
493 method @androidx.compose.Composable public static void launchInComposition(Object? v1, Object? v2, Object? v3, kotlin.jvm.functions.Function2<? super androidx.compose.CompositionCoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
494 method @androidx.compose.Composable public static void launchInComposition(Object![]? keys, kotlin.jvm.functions.Function2<? super androidx.compose.CompositionCoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
495 }
496
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800497 public final class TraceKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800498 }
499
Leland Richardson656c1132020-06-03 09:12:42 -0700500 @androidx.compose.ExperimentalComposeApi @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER}) public @interface UnionType {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800501 method public abstract Class<?>[] types();
502 }
503
Leland Richardson656c1132020-06-03 09:12:42 -0700504 @androidx.compose.ExperimentalComposeApi @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=AnnotationTarget.FUNCTION) public @interface Untracked {
Chuck Jazdzewski8a3c04d2020-02-11 11:10:24 -0800505 }
506
Leland Richardson19285b12020-06-18 13:37:21 -0700507 public final class Updater<T> {
508 ctor public Updater(androidx.compose.Composer<?> composer, T! node);
509 method public androidx.compose.Composer<?> getComposer();
510 method public T! getNode();
511 method public inline void reconcile(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block);
512 method public inline void set(int value, kotlin.jvm.functions.Function2<? super T,? super java.lang.Integer,kotlin.Unit> block);
513 method public inline <reified V> void set(V? value, kotlin.jvm.functions.Function2<? super T,? super V,? extends kotlin.Unit> block);
514 method public inline void update(int value, kotlin.jvm.functions.Function2<? super T,? super java.lang.Integer,kotlin.Unit> block);
515 method public inline <reified V> void update(V? value, kotlin.jvm.functions.Function2<? super T,? super V,? extends kotlin.Unit> block);
516 }
517
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800518}
519
520package androidx.compose.frames {
521
522 public abstract class AbstractRecord implements androidx.compose.frames.Record {
523 ctor public AbstractRecord();
524 method public int getFrameId();
525 method public androidx.compose.frames.Record? getNext();
526 method public void setFrameId(int p);
527 method public void setNext(androidx.compose.frames.Record? p);
528 property public int frameId;
529 property public androidx.compose.frames.Record? next;
530 }
531
532 public final class Frame {
533 method public int getId();
534 method public boolean getReadonly();
535 method public boolean hasPendingChanges();
536 property public final boolean readonly;
537 }
538
539 public final class FrameAborted extends java.lang.RuntimeException {
540 ctor public FrameAborted(androidx.compose.frames.Frame frame);
541 method public androidx.compose.frames.Frame getFrame();
542 }
543
544 public final class FrameContainersKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800545 method public static <T> androidx.compose.frames.ModelList<T> modelListOf();
546 method public static <T> androidx.compose.frames.ModelList<T> modelListOf(T? element);
547 method public static <T> androidx.compose.frames.ModelList<T> modelListOf(T?... elements);
548 method public static <K, V> androidx.compose.frames.ModelMap<K,V> modelMapOf();
549 method public static <K, V> androidx.compose.frames.ModelMap<K,V> modelMapOf(kotlin.Pair<? extends K,? extends V>... pairs);
550 }
551
552 public final class FrameIdSetKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800553 }
554
555 public interface Framed {
556 method public androidx.compose.frames.Record getFirstFrameRecord();
557 method public void prependFrameRecord(androidx.compose.frames.Record value);
558 property public abstract androidx.compose.frames.Record firstFrameRecord;
559 }
560
561 public final class FramesKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800562 method public static kotlin.Unit? _created(androidx.compose.frames.Framed framed);
563 method public static androidx.compose.frames.Record _readable(androidx.compose.frames.Record r, androidx.compose.frames.Framed framed);
564 method public static androidx.compose.frames.Record _writable(androidx.compose.frames.Record r, androidx.compose.frames.Framed framed);
565 method public static void abort();
566 method public static void abort(androidx.compose.frames.Frame frame);
567 method public static void abortHandler();
568 method public static void abortHandler(androidx.compose.frames.Frame frame);
569 method public static void commit();
570 method public static void commit(androidx.compose.frames.Frame frame);
571 method public static kotlin.Unit? commitHandler();
572 method public static androidx.compose.frames.Frame currentFrame();
573 method public static boolean getInFrame();
574 method public static void observeAllReads(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit> readObserver, kotlin.jvm.functions.Function0<kotlin.Unit> block);
575 method public static androidx.compose.frames.Frame open(boolean readOnly = false);
Chuck Jazdzewskic145e8f2020-02-03 11:24:23 -0800576 method public static androidx.compose.frames.Frame open(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver = null, kotlin.jvm.functions.Function2<java.lang.Object,? super java.lang.Boolean,kotlin.Unit>? writeObserver = null);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800577 method public static <T extends androidx.compose.frames.Record> T readable(T, androidx.compose.frames.Framed framed);
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800578 method public static kotlin.jvm.functions.Function0<kotlin.Unit> registerCommitObserver(kotlin.jvm.functions.Function2<? super java.util.Set<?>,? super androidx.compose.frames.Frame,kotlin.Unit> observer);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800579 method public static void restore(androidx.compose.frames.Frame frame);
580 method public static androidx.compose.frames.Frame suspend();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800581 method public static boolean wasModified(Object value);
Louis Pullen-Freilichb3831a52020-01-02 15:05:01 +0000582 method public static inline <T extends androidx.compose.frames.Record> void withCurrent(T, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800583 method public static <T extends androidx.compose.frames.Record> T writable(T, androidx.compose.frames.Framed framed);
584 method public static <T extends androidx.compose.frames.Record> T writable(T, androidx.compose.frames.Framed framed, androidx.compose.frames.Frame frame);
585 }
586
587 public final class ModelList<T> implements androidx.compose.frames.Framed kotlin.jvm.internal.markers.KMutableList java.util.List<T> {
588 ctor public ModelList();
589 method public boolean add(T? element);
590 method public void add(int index, T? element);
591 method public boolean addAll(int index, java.util.Collection<? extends T> elements);
592 method public boolean addAll(java.util.Collection<? extends T> elements);
593 method public void clear();
594 method public boolean contains(Object? element);
595 method public boolean containsAll(java.util.Collection<?> elements);
596 method public T! get(int index);
597 method public androidx.compose.frames.Record getFirstFrameRecord();
598 method public int getSize();
599 method public int indexOf(Object? element);
600 method public boolean isEmpty();
601 method public java.util.Iterator<T> iterator();
602 method public int lastIndexOf(Object? element);
603 method public java.util.ListIterator<T> listIterator();
604 method public java.util.ListIterator<T> listIterator(int index);
605 method public void prependFrameRecord(androidx.compose.frames.Record value);
606 method public boolean remove(Object? element);
607 method public boolean removeAll(java.util.Collection<?> elements);
608 method public T! removeAt(int index);
609 method public boolean retainAll(java.util.Collection<?> elements);
610 method public T! set(int index, T? element);
611 method public java.util.List<T> subList(int fromIndex, int toIndex);
612 property public androidx.compose.frames.Record firstFrameRecord;
613 property public int size;
614 }
615
616 public final class ModelMap<K, V> implements androidx.compose.frames.Framed kotlin.jvm.internal.markers.KMutableMap java.util.Map<K,V> {
617 ctor public ModelMap();
618 method public void clear();
619 method public boolean containsKey(Object? key);
620 method public boolean containsValue(Object? value);
621 method public V? get(Object? key);
622 method public java.util.Set<java.util.Map.Entry<K,V>> getEntries();
623 method public androidx.compose.frames.Record getFirstFrameRecord();
624 method public java.util.Set<K> getKeys();
625 method public int getSize();
626 method public java.util.Collection<V> getValues();
627 method public boolean isEmpty();
628 method public void prependFrameRecord(androidx.compose.frames.Record value);
629 method public V? put(K? key, V? value);
630 method public void putAll(java.util.Map<? extends K,? extends V> from);
631 method public V? remove(Object? key);
632 property public java.util.Set<java.util.Map.Entry<K,V>> entries;
633 property public androidx.compose.frames.Record firstFrameRecord;
634 property public java.util.Set<K> keys;
635 property public int size;
636 property public java.util.Collection<V> values;
637 }
638
639 public interface Record {
640 method public void assign(androidx.compose.frames.Record value);
641 method public androidx.compose.frames.Record create();
642 method public int getFrameId();
643 method public androidx.compose.frames.Record? getNext();
644 method public void setFrameId(int p);
645 method public void setNext(androidx.compose.frames.Record? p);
646 property public abstract int frameId;
647 property public abstract androidx.compose.frames.Record? next;
648 }
649
650}
651
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800652package androidx.compose.internal {
653
Leland Richardson62480d92020-06-19 15:12:08 -0700654 @androidx.compose.ComposeCompilerApi @androidx.compose.Stable public final class ComposableLambda<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, R> implements kotlin.jvm.functions.Function10<P1,P2,P3,P4,P5,P6,P7,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function11<P1,P2,P3,P4,P5,P6,P7,P8,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function12<P1,P2,P3,P4,P5,P6,P7,P8,P9,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function13<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function14<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function15<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function16<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function17<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function18<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function20<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function21<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function22<P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function3<androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function4<P1,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function5<P1,P2,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function6<P1,P2,P3,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function7<P1,P2,P3,P4,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function8<P1,P2,P3,P4,P5,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> kotlin.jvm.functions.Function9<P1,P2,P3,P4,P5,P6,androidx.compose.Composer<?>,java.lang.Integer,java.lang.Integer,R> {
655 ctor public ComposableLambda(int key, boolean tracked);
Chuck Jazdzewski0f26b682020-03-18 11:42:25 -0700656 method public int getKey();
Leland Richardson797bd0cd2020-05-07 15:16:51 -0700657 method public operator R! invoke(androidx.compose.Composer<?> c, int k, int changed);
658 method public operator R! invoke(P1? p1, androidx.compose.Composer<?> c, int k, int changed);
659 method public operator R! invoke(P1? p1, P2? p2, androidx.compose.Composer<?> c, int k, int changed);
660 method public operator R! invoke(P1? p1, P2? p2, P3? p3, androidx.compose.Composer<?> c, int k, int changed);
661 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, androidx.compose.Composer<?> c, int k, int changed);
662 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, androidx.compose.Composer<?> c, int k, int changed);
663 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, androidx.compose.Composer<?> c, int k, int changed);
664 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, androidx.compose.Composer<?> c, int k, int changed);
665 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, androidx.compose.Composer<?> c, int k, int changed);
666 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, androidx.compose.Composer<?> c, int k, int changed);
667 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, androidx.compose.Composer<?> c, int k, int changed);
668 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, androidx.compose.Composer<?> c, int k, int changed);
669 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, androidx.compose.Composer<?> c, int k, int changed);
670 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, androidx.compose.Composer<?> c, int k, int changed);
671 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, P14? p14, androidx.compose.Composer<?> c, int k, int changed);
672 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, P14? p14, P15? p15, androidx.compose.Composer<?> c, int k, int changed);
673 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, P14? p14, P15? p15, P16? p16, androidx.compose.Composer<?> c, int k, int changed, int changed1);
674 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, P14? p14, P15? p15, P16? p16, P17? p17, androidx.compose.Composer<?> c, int k, int changed, int changed1);
675 method public operator R! invoke(P1? p1, P2? p2, P3? p3, P4? p4, P5? p5, P6? p6, P7? p7, P8? p8, P9? p9, P10? p10, P11? p11, P12? p12, P13? p13, P14? p14, P15? p15, P16? p16, P17? p17, P18? p18, androidx.compose.Composer<?> c, int k, int changed, int changed1);
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800676 method public void update(Object block);
677 }
678
Leland Richardson62480d92020-06-19 15:12:08 -0700679 public final class ComposableLambdaKt {
680 method @androidx.compose.ComposeCompilerApi public static androidx.compose.internal.ComposableLambda<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object> composableLambda(androidx.compose.Composer<?> composer, int key, boolean tracked, Object block);
681 method @androidx.compose.ComposeCompilerApi public static androidx.compose.internal.ComposableLambda<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object> composableLambdaInstance(int key, boolean tracked, Object block);
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800682 }
683
Leland Richardson62480d92020-06-19 15:12:08 -0700684 @androidx.compose.ComposeCompilerApi @androidx.compose.Stable public final class ComposableLambdaN<R> implements kotlin.jvm.functions.FunctionN<R> {
685 ctor public ComposableLambdaN(int key, boolean tracked, int arity);
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800686 method public int getArity();
Chuck Jazdzewski0f26b682020-03-18 11:42:25 -0700687 method public int getKey();
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800688 method public R! invoke(java.lang.Object?... args);
689 method public void update(Object block);
690 }
691
Leland Richardson62480d92020-06-19 15:12:08 -0700692 public final class ComposableLambdaNKt {
693 method @androidx.compose.ComposeCompilerApi public static androidx.compose.internal.ComposableLambdaN<?> composableLambdaN(androidx.compose.Composer<?> composer, int key, boolean tracked, int arity, Object block);
694 method @androidx.compose.ComposeCompilerApi public static androidx.compose.internal.ComposableLambdaN<?> composableLambdaNInstance(int key, boolean tracked, int arity, Object block);
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800695 }
696
697}
698
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700699package androidx.compose.tooling {
700
701 public final class InspectionTablesKt {
702 method public static androidx.compose.ProvidableAmbient<java.util.Set<androidx.compose.SlotTable>> getInspectionTables();
703 }
704
705}
706