[go: nahoru, domu]

blob: b017db0a8e03b0f0636faa1076d4b8d40e704334 [file] [log] [blame]
Aurimas Liutikas3aa5a202020-10-05 09:42:14 -07001// Signature format: 4.0
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +01002package androidx.compose.runtime {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -08003
Chuck Jazdzewski030d2962020-12-02 16:52:57 -08004 public abstract class AbstractApplier<T> implements androidx.compose.runtime.Applier<T> {
Aurimas Liutikasa3bfa992020-08-05 16:32:56 -07005 ctor public AbstractApplier(T? root);
Adam Powell8dec9b72020-06-19 14:24:14 -07006 method public final void clear();
Leland Richardson19285b12020-06-18 13:37:21 -07007 method public void down(T? node);
8 method public T! getCurrent();
9 method public final T! getRoot();
10 method protected final void move(java.util.List<T>, int from, int to, int count);
Adam Powell8dec9b72020-06-19 14:24:14 -070011 method protected abstract void onClear();
Leland Richardson19285b12020-06-18 13:37:21 -070012 method protected final void remove(java.util.List<T>, int index, int count);
Aurimas Liutikas5790b292021-06-22 12:29:59 -070013 method protected void setCurrent(T! current);
Leland Richardson19285b12020-06-18 13:37:21 -070014 method public void up();
15 property public T! current;
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -070016 property public final T! root;
Leland Richardson19285b12020-06-18 13:37:21 -070017 }
18
Jim Sprochdc1308e2021-02-10 01:45:52 -080019 public final class ActualAndroid_androidKt {
Adam Powell662bf102021-03-15 14:15:32 -070020 method @Deprecated public static androidx.compose.runtime.MonotonicFrameClock getDefaultMonotonicFrameClock();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080021 }
22
Jim Sprochdc1308e2021-02-10 01:45:52 -080023 public final class ActualJvm_jvmKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080024 }
25
Chuck Jazdzewski030d2962020-12-02 16:52:57 -080026 public interface Applier<N> {
Adam Powell8dec9b72020-06-19 14:24:14 -070027 method public void clear();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080028 method public void down(N? node);
29 method public N! getCurrent();
Chuck Jazdzewskibe5d7a8b2020-11-30 08:51:33 -080030 method public void insertBottomUp(int index, N? instance);
31 method public void insertTopDown(int index, N? instance);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080032 method public void move(int from, int to, int count);
Adam Powell437eb8a2020-10-23 16:43:48 -070033 method public default void onBeginChanges();
34 method public default void onEndChanges();
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080035 method public void remove(int index, int count);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080036 method public void up();
Leland Richardson19285b12020-06-18 13:37:21 -070037 property public abstract N! current;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080038 }
39
Chuck Jazdzewskic14dc6e2020-04-13 16:26:35 -070040 public final class BitwiseOperatorsKt {
41 }
42
Adam Powell0d2661ef2021-01-21 17:40:08 -080043 public final class BroadcastFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
Aurimas Liutikasd4a0b672021-02-23 09:05:20 -080044 ctor public BroadcastFrameClock(optional kotlin.jvm.functions.Function0<kotlin.Unit>? onNewAwaiters);
Adam Powell0d2661ef2021-01-21 17:40:08 -080045 method public void cancel(optional java.util.concurrent.CancellationException cancellationException);
46 method public boolean getHasAwaiters();
47 method public void sendFrame(long timeNanos);
48 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
49 property public final boolean hasAwaiters;
50 }
51
Leland Richardsonab9c1012021-02-06 10:52:44 -080052 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface Composable {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -080053 }
54
Leland Richardson0f99bf12021-02-02 20:56:41 -080055 public final class ComposablesKt {
56 method @androidx.compose.runtime.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update);
57 method @androidx.compose.runtime.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content);
Leland Richardson70e46682021-02-09 17:41:44 -080058 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,? extends kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content);
Chuck Jazdzewski0d24d062021-04-14 16:36:57 -070059 method @androidx.compose.runtime.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update);
60 method @androidx.compose.runtime.Composable public static inline <T extends java.lang.Object, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content);
61 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,? extends kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content);
62 method @androidx.compose.runtime.Composable public static inline void ReusableContent(Object? key, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Leland Richardson3a90b712021-02-08 19:14:19 -080063 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.Composer getCurrentComposer();
Chuck Jazdzewskicd05e972021-06-18 11:07:58 -070064 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static int getCurrentCompositeKeyHash();
Leland Richardson0f99bf12021-02-02 20:56:41 -080065 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.RecomposeScope getCurrentRecomposeScope();
66 method @androidx.compose.runtime.Composable public static inline <T> T! key(Object![]? keys, kotlin.jvm.functions.Function0<? extends T> block);
67 method @androidx.compose.runtime.Composable public static inline <T> T! remember(kotlin.jvm.functions.Function0<? extends T> calculation);
68 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, kotlin.jvm.functions.Function0<? extends T> calculation);
69 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, Object? key2, kotlin.jvm.functions.Function0<? extends T> calculation);
70 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function0<? extends T> calculation);
71 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object![]? keys, kotlin.jvm.functions.Function0<? extends T> calculation);
72 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.CompositionContext rememberCompositionContext();
73 }
74
Adam Powell428bcd22021-04-27 12:18:23 -070075 @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ComposeCompilerApi {
76 }
77
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -080078 public interface Composer {
Adam Powell428bcd22021-04-27 12:18:23 -070079 method @androidx.compose.runtime.ComposeCompilerApi public <V, T> void apply(V? value, kotlin.jvm.functions.Function2<? super T,? super V,kotlin.Unit> block);
80 method @androidx.compose.runtime.ComposeCompilerApi public boolean changed(Object? value);
81 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(boolean value);
82 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(char value);
83 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(byte value);
84 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(short value);
85 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(int value);
86 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(float value);
87 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(long value);
88 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(double value);
89 method @androidx.compose.runtime.ComposeCompilerApi public <T> void createNode(kotlin.jvm.functions.Function0<? extends T> factory);
Chuck Jazdzewski0d24d062021-04-14 16:36:57 -070090 method @androidx.compose.runtime.ComposeCompilerApi public void disableReusing();
91 method @androidx.compose.runtime.ComposeCompilerApi public void enableReusing();
Adam Powell428bcd22021-04-27 12:18:23 -070092 method @androidx.compose.runtime.ComposeCompilerApi public void endDefaults();
93 method @androidx.compose.runtime.ComposeCompilerApi public void endMovableGroup();
94 method @androidx.compose.runtime.ComposeCompilerApi public void endNode();
95 method @androidx.compose.runtime.ComposeCompilerApi public void endReplaceableGroup();
96 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.ScopeUpdateScope? endRestartGroup();
Chuck Jazdzewski0d24d062021-04-14 16:36:57 -070097 method @androidx.compose.runtime.ComposeCompilerApi public void endReusableGroup();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -080098 method public androidx.compose.runtime.Applier<?> getApplier();
Chuck Jazdzewskidf659ab2020-10-23 13:16:50 -070099 method @org.jetbrains.annotations.TestOnly public kotlin.coroutines.CoroutineContext getApplyCoroutineContext();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800100 method @org.jetbrains.annotations.TestOnly public androidx.compose.runtime.ControlledComposition getComposition();
Leland Richardson0f99bf12021-02-02 20:56:41 -0800101 method public androidx.compose.runtime.tooling.CompositionData getCompositionData();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800102 method public int getCompoundKeyHash();
Leland Richardson19285b12020-06-18 13:37:21 -0700103 method public boolean getDefaultsInvalid();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800104 method public boolean getInserting();
105 method public androidx.compose.runtime.RecomposeScope? getRecomposeScope();
Leland Richardson19285b12020-06-18 13:37:21 -0700106 method public boolean getSkipping();
Adam Powell428bcd22021-04-27 12:18:23 -0700107 method @androidx.compose.runtime.ComposeCompilerApi public Object joinKey(Object? left, Object? right);
108 method @androidx.compose.runtime.ComposeCompilerApi public Object? rememberedValue();
109 method @androidx.compose.runtime.ComposeCompilerApi public void skipCurrentGroup();
110 method @androidx.compose.runtime.ComposeCompilerApi public void skipToGroupEnd();
Chuck Jazdzewski35fee372021-05-05 14:04:23 -0700111 method public void sourceInformation(String sourceInformation);
112 method public void sourceInformationMarkerEnd();
113 method public void sourceInformationMarkerStart(int key, String sourceInformation);
Adam Powell428bcd22021-04-27 12:18:23 -0700114 method @androidx.compose.runtime.ComposeCompilerApi public void startDefaults();
115 method @androidx.compose.runtime.ComposeCompilerApi public void startMovableGroup(int key, Object? dataKey);
Adam Powell428bcd22021-04-27 12:18:23 -0700116 method @androidx.compose.runtime.ComposeCompilerApi public void startNode();
117 method @androidx.compose.runtime.ComposeCompilerApi public void startReplaceableGroup(int key);
Adam Powell428bcd22021-04-27 12:18:23 -0700118 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.Composer startRestartGroup(int key);
Chuck Jazdzewski0d24d062021-04-14 16:36:57 -0700119 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableGroup(int key, Object? dataKey);
120 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableNode();
Adam Powell428bcd22021-04-27 12:18:23 -0700121 method @androidx.compose.runtime.ComposeCompilerApi public void updateRememberedValue(Object? value);
122 method @androidx.compose.runtime.ComposeCompilerApi public void useNode();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800123 property public abstract androidx.compose.runtime.Applier<?> applier;
124 property @org.jetbrains.annotations.TestOnly public abstract kotlin.coroutines.CoroutineContext applyCoroutineContext;
125 property @org.jetbrains.annotations.TestOnly public abstract androidx.compose.runtime.ControlledComposition composition;
Leland Richardson0f99bf12021-02-02 20:56:41 -0800126 property public abstract androidx.compose.runtime.tooling.CompositionData compositionData;
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800127 property public abstract int compoundKeyHash;
128 property public abstract boolean defaultsInvalid;
129 property public abstract boolean inserting;
130 property public abstract androidx.compose.runtime.RecomposeScope? recomposeScope;
131 property public abstract boolean skipping;
132 field public static final androidx.compose.runtime.Composer.Companion Companion;
133 }
134
135 public static final class Composer.Companion {
136 method public Object getEmpty();
137 property public final Object Empty;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800138 }
139
140 public final class ComposerKt {
Adam Powell428bcd22021-04-27 12:18:23 -0700141 method @androidx.compose.runtime.ComposeCompilerApi public static inline <T> T! cache(androidx.compose.runtime.Composer, boolean invalid, kotlin.jvm.functions.Function0<? extends T> block);
Chuck Jazdzewski35fee372021-05-05 14:04:23 -0700142 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformation(androidx.compose.runtime.Composer composer, String sourceInformation);
143 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerEnd(androidx.compose.runtime.Composer composer);
144 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerStart(androidx.compose.runtime.Composer composer, int key, String sourceInformation);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -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();
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800149 method public boolean getHasInvalidations();
150 method public boolean isDisposed();
Andrey Kulikovd13aefe2020-03-16 13:52:22 +0000151 method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> content);
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800152 property public abstract boolean hasInvalidations;
153 property public abstract boolean isDisposed;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800154 }
155
Adam Powell6da5b522021-02-02 15:21:02 -0800156 public abstract class CompositionContext {
157 }
158
159 public final class CompositionContextKt {
Adam Powell6da5b522021-02-02 15:21:02 -0800160 }
161
Leland Richardson76600e32020-01-15 17:22:29 -0800162 public final class CompositionKt {
Leland Richardson0f99bf12021-02-02 20:56:41 -0800163 method public static androidx.compose.runtime.Composition Composition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent);
Adam Powell6da5b522021-02-02 15:21:02 -0800164 method @org.jetbrains.annotations.TestOnly public static androidx.compose.runtime.ControlledComposition ControlledComposition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent);
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800165 }
166
Louis Pullen-Freilich0a38b162021-01-27 14:25:06 +0000167 @androidx.compose.runtime.Stable public abstract sealed class CompositionLocal<T> {
168 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T! getCurrent();
169 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T! current;
170 }
171
172 public final class CompositionLocalKt {
Leland Richardson0f99bf12021-02-02 20:56:41 -0800173 method @androidx.compose.runtime.Composable public static void CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<?>![] values, kotlin.jvm.functions.Function0<kotlin.Unit> content);
Chuck Jazdzewskiba897032021-02-08 09:12:14 -1000174 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> compositionLocalOf(optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy, kotlin.jvm.functions.Function0<? extends T> defaultFactory);
175 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> staticCompositionLocalOf(kotlin.jvm.functions.Function0<? extends T> defaultFactory);
Louis Pullen-Freilich0a38b162021-01-27 14:25:06 +0000176 }
177
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800178 public interface ControlledComposition extends androidx.compose.runtime.Composition {
179 method public void applyChanges();
180 method public void composeContent(kotlin.jvm.functions.Function0<kotlin.Unit> content);
181 method public boolean getHasPendingChanges();
182 method public void invalidateAll();
183 method public boolean isComposing();
Chuck Jazdzewskide273542021-05-12 10:37:30 -0700184 method public boolean observesAnyOf(java.util.Set<?> values);
185 method public void prepareCompose(kotlin.jvm.functions.Function0<kotlin.Unit> block);
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800186 method public boolean recompose();
187 method public void recordModificationsOf(java.util.Set<?> values);
188 method public void recordReadOf(Object value);
189 method public void recordWriteOf(Object value);
Chuck Jazdzewski6867aa12021-01-12 09:28:08 -0800190 property public abstract boolean hasPendingChanges;
191 property public abstract boolean isComposing;
192 }
193
Leland Richardson5195e3c2021-01-26 12:39:43 -0800194 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface DisallowComposableCalls {
195 }
196
Leland Richardson4e803212021-01-21 12:34:51 -0800197 public interface DisposableEffectResult {
Adam Powell2435c3f2020-10-09 14:40:05 -0700198 method public void dispose();
199 }
200
201 public final class DisposableEffectScope {
202 ctor public DisposableEffectScope();
Leland Richardson4e803212021-01-21 12:34:51 -0800203 method public inline androidx.compose.runtime.DisposableEffectResult onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDisposeEffect);
Adam Powell2435c3f2020-10-09 14:40:05 -0700204 }
205
Leland Richardson0f99bf12021-02-02 20:56:41 -0800206 public final class EffectsKt {
207 method @Deprecated @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect);
208 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect);
209 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, Object? key2, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect);
210 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect);
211 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object![]? keys, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect);
212 method @Deprecated @androidx.compose.runtime.Composable public static void LaunchedEffect(kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
213 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
214 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, Object? key2, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
215 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
216 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object![]? keys, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block);
217 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void SideEffect(kotlin.jvm.functions.Function0<kotlin.Unit> effect);
218 method @androidx.compose.runtime.Composable public static inline kotlinx.coroutines.CoroutineScope rememberCoroutineScope(optional kotlin.jvm.functions.Function0<? extends kotlin.coroutines.CoroutineContext> getContext);
219 }
220
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800221 public final class ExpectKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800222 }
223
Leland Richardson70e46682021-02-09 17:41:44 -0800224 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ExplicitGroupsComposable {
225 }
226
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700227 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface Immutable {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800228 }
229
Adam Powell0d2661ef2021-01-21 17:40:08 -0800230 public interface MonotonicFrameClock extends kotlin.coroutines.CoroutineContext.Element {
231 method public default kotlin.coroutines.CoroutineContext.Key<?> getKey();
232 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
233 property public default kotlin.coroutines.CoroutineContext.Key<?> key;
234 field public static final androidx.compose.runtime.MonotonicFrameClock.Key Key;
235 }
236
237 public static final class MonotonicFrameClock.Key implements kotlin.coroutines.CoroutineContext.Key<androidx.compose.runtime.MonotonicFrameClock> {
238 }
239
240 public final class MonotonicFrameClockKt {
Adam Powell662bf102021-03-15 14:15:32 -0700241 method public static androidx.compose.runtime.MonotonicFrameClock getMonotonicFrameClock(kotlin.coroutines.CoroutineContext);
Adam Powell0d2661ef2021-01-21 17:40:08 -0800242 method public static suspend inline <R> Object? withFrameMillis(androidx.compose.runtime.MonotonicFrameClock, kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
243 method public static suspend <R> Object? withFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
244 method public static suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
245 }
246
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100247 @androidx.compose.runtime.Stable public interface MutableState<T> extends androidx.compose.runtime.State<T> {
Leland Richardson9494a432019-12-12 21:15:41 -0800248 method public operator T! component1();
249 method public operator kotlin.jvm.functions.Function1<T,kotlin.Unit> component2();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700250 method public void setValue(T! value);
Leland Richardson9494a432019-12-12 21:15:41 -0800251 property public abstract T! value;
252 }
253
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700254 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface NoLiveLiterals {
Leland Richardsone49cef8f2020-06-27 11:33:36 -0700255 }
256
Leland Richardson5195e3c2021-01-26 12:39:43 -0800257 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface NonRestartableComposable {
258 }
259
Adam Powell0d2661ef2021-01-21 17:40:08 -0800260 public final class PausableMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
261 ctor public PausableMonotonicFrameClock(androidx.compose.runtime.MonotonicFrameClock frameClock);
Adam Powell91969cd2020-11-09 17:51:49 -0800262 method public boolean isPaused();
263 method public void pause();
264 method public void resume();
265 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
266 property public final boolean isPaused;
267 }
268
Adam Powelld870a402020-08-28 08:17:11 -0700269 public interface ProduceStateScope<T> extends androidx.compose.runtime.MutableState<T> kotlinx.coroutines.CoroutineScope {
270 method public suspend Object? awaitDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDispose, kotlin.coroutines.Continuation<?> p);
271 }
272
Louis Pullen-Freilich0a38b162021-01-27 14:25:06 +0000273 @androidx.compose.runtime.Stable public abstract class ProvidableCompositionLocal<T> extends androidx.compose.runtime.CompositionLocal<T> {
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100274 method public final infix androidx.compose.runtime.ProvidedValue<T> provides(T? value);
Mihai Popaa3ff42b2020-10-29 14:53:57 +0000275 method public final infix androidx.compose.runtime.ProvidedValue<T> providesDefault(T? value);
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800276 }
277
278 public final class ProvidedValue<T> {
Mihai Popaa3ff42b2020-10-29 14:53:57 +0000279 method public boolean getCanOverride();
Louis Pullen-Freilich0a38b162021-01-27 14:25:06 +0000280 method public androidx.compose.runtime.CompositionLocal<T> getCompositionLocal();
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800281 method public T! getValue();
Mihai Popaa3ff42b2020-10-29 14:53:57 +0000282 property public final boolean canOverride;
Louis Pullen-Freilich0a38b162021-01-27 14:25:06 +0000283 property public final androidx.compose.runtime.CompositionLocal<T> compositionLocal;
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700284 property public final T! value;
Chuck Jazdzewskifb6db652019-11-25 08:30:51 -0800285 }
286
Leland Richardson5195e3c2021-01-26 12:39:43 -0800287 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ReadOnlyComposable {
288 }
289
Leland Richardsond1c5b8ba2021-01-13 11:00:47 -0800290 public interface RecomposeScope {
291 method public void invalidate();
292 }
293
Chuck Jazdzewski80fd1b32021-04-15 14:21:03 -0700294 public final class RecomposeScopeImplKt {
295 }
296
Adam Powell6da5b522021-02-02 15:21:02 -0800297 public final class Recomposer extends androidx.compose.runtime.CompositionContext {
Adam Powell4b0374b2020-10-22 10:42:42 -0700298 ctor public Recomposer(kotlin.coroutines.CoroutineContext effectCoroutineContext);
Adam Powell063bc302021-01-07 16:51:31 -0800299 method public androidx.compose.runtime.RecomposerInfo asRecomposerInfo();
Adam Powell11d00c72020-04-15 09:28:13 -0700300 method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit> p);
Adam Powelld7ab72f2021-01-22 17:46:05 -0800301 method public void cancel();
302 method public void close();
Adam Powell063bc302021-01-07 16:51:31 -0800303 method public long getChangeCount();
304 method public boolean getHasPendingWork();
Adam Powellb85447e2020-12-16 12:49:52 -0800305 method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState();
Adam Powell798c8db2020-10-14 12:16:26 -0700306 method public suspend Object? join(kotlin.coroutines.Continuation<? super kotlin.Unit> p);
Adam Powelld7ab72f2021-01-22 17:46:05 -0800307 method public suspend Object? runRecomposeAndApplyChanges(kotlin.coroutines.Continuation<? super kotlin.Unit> p);
Adam Powell063bc302021-01-07 16:51:31 -0800308 property public final long changeCount;
309 property public final boolean hasPendingWork;
Adam Powellb85447e2020-12-16 12:49:52 -0800310 property public final kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state;
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100311 field public static final androidx.compose.runtime.Recomposer.Companion Companion;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800312 }
313
314 public static final class Recomposer.Companion {
Adam Powell063bc302021-01-07 16:51:31 -0800315 method public kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> getRunningRecomposers();
316 property public final kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> runningRecomposers;
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800317 }
318
Adam Powellb85447e2020-12-16 12:49:52 -0800319 public enum Recomposer.State {
320 enum_constant public static final androidx.compose.runtime.Recomposer.State Idle;
321 enum_constant public static final androidx.compose.runtime.Recomposer.State Inactive;
322 enum_constant public static final androidx.compose.runtime.Recomposer.State InactivePendingWork;
323 enum_constant public static final androidx.compose.runtime.Recomposer.State PendingWork;
324 enum_constant public static final androidx.compose.runtime.Recomposer.State ShutDown;
325 enum_constant public static final androidx.compose.runtime.Recomposer.State ShuttingDown;
326 }
327
Adam Powell063bc302021-01-07 16:51:31 -0800328 public interface RecomposerInfo {
329 method public long getChangeCount();
330 method public boolean getHasPendingWork();
331 method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState();
332 property public abstract long changeCount;
333 property public abstract boolean hasPendingWork;
334 property public abstract kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state;
335 }
336
Adam Powell11d00c72020-04-15 09:28:13 -0700337 public final class RecomposerKt {
Adam Powell798c8db2020-10-14 12:16:26 -0700338 method public static suspend <R> Object? withRunningRecomposer(kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super androidx.compose.runtime.Recomposer,? super kotlin.coroutines.Continuation<? super R>,?> block, kotlin.coroutines.Continuation<? super R> p);
Adam Powell11d00c72020-04-15 09:28:13 -0700339 }
340
Chuck Jazdzewskiad4a5c32021-01-13 09:14:40 -0800341 public interface RememberObserver {
342 method public void onAbandoned();
343 method public void onForgotten();
344 method public void onRemembered();
345 }
346
Adam Powell428bcd22021-04-27 12:18:23 -0700347 @androidx.compose.runtime.ComposeCompilerApi public interface ScopeUpdateScope {
348 method public void updateScope(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer,? super java.lang.Integer,kotlin.Unit> block);
349 }
350
Chuck Jazdzewskia5166d62020-12-15 09:27:53 -0800351 public final inline class SkippableUpdater<T> {
352 ctor public SkippableUpdater();
Chuck Jazdzewski178ada52020-08-12 08:51:49 -0700353 }
354
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800355 public final class SlotTableKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800356 }
357
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700358 public interface SnapshotMutationPolicy<T> {
359 method public boolean equivalent(T? a, T? b);
Leland Richardson0f99bf12021-02-02 20:56:41 -0800360 method public default T? merge(T? previous, T? current, T? applied);
361 }
362
363 public final class SnapshotStateKt {
364 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> collectAsState(kotlinx.coroutines.flow.StateFlow<? extends T>, optional kotlin.coroutines.CoroutineContext context);
365 method @androidx.compose.runtime.Composable public static <T extends R, R> androidx.compose.runtime.State<R> collectAsState(kotlinx.coroutines.flow.Flow<? extends T>, R? initial, optional kotlin.coroutines.CoroutineContext context);
366 method public static <T> androidx.compose.runtime.State<T> derivedStateOf(kotlin.jvm.functions.Function0<? extends T> calculation);
Adam Powellf60eb3e2021-05-26 11:08:33 -0700367 method public static inline operator <T> T! getValue(androidx.compose.runtime.State<? extends T>, Object? thisObj, kotlin.reflect.KProperty<?> property);
Leland Richardson0f99bf12021-02-02 20:56:41 -0800368 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf();
369 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf(T?... elements);
370 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf();
371 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf(kotlin.Pair<? extends K,? extends V>... pairs);
372 method public static <T> androidx.compose.runtime.MutableState<T> mutableStateOf(T? value, optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy);
373 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> neverEqualPolicy();
Aurimas Liutikasd4a0b672021-02-23 09:05:20 -0800374 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T? initialValue, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> producer);
375 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T? initialValue, Object? key1, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> producer);
376 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T? initialValue, Object? key1, Object? key2, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> producer);
377 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T? initialValue, Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> producer);
378 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T? initialValue, Object![]? keys, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> producer);
Leland Richardson0f99bf12021-02-02 20:56:41 -0800379 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> referentialEqualityPolicy();
380 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> rememberUpdatedState(T? newValue);
381 method public static inline operator <T> void setValue(androidx.compose.runtime.MutableState<T>, Object? thisObj, kotlin.reflect.KProperty<?> property, T? value);
382 method public static <T> kotlinx.coroutines.flow.Flow<T> snapshotFlow(kotlin.jvm.functions.Function0<? extends T> block);
383 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> structuralEqualityPolicy();
384 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> toMutableStateList(java.util.Collection<? extends T>);
385 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> toMutableStateMap(Iterable<? extends kotlin.Pair<? extends K,? extends V>>);
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700386 }
387
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700388 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface Stable {
Anastasia Sobolevaa7fd11f2019-12-12 18:43:07 +0000389 }
390
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700391 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface StableMarker {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800392 }
393
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100394 @androidx.compose.runtime.Stable public interface State<T> {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800395 method public T! getValue();
Leland Richardson9494a432019-12-12 21:15:41 -0800396 property public abstract T! value;
Leland Richardson7f848ab2019-12-12 13:43:41 -0800397 }
398
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800399 public final class TraceKt {
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800400 }
401
Chuck Jazdzewskia5166d62020-12-15 09:27:53 -0800402 public final inline class Updater<T> {
403 ctor public Updater();
Leland Richardson19285b12020-06-18 13:37:21 -0700404 }
405
Aurimas Liutikas6a3fc482019-12-11 10:13:19 -0800406}
407
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100408package androidx.compose.runtime.collection {
George Mountb96a3a52020-06-19 08:44:30 -0700409
George Mount9a933d62020-11-19 20:07:26 +0000410 public final class MutableVector<T> implements java.util.RandomAccess {
George Mountb96a3a52020-06-19 08:44:30 -0700411 method public boolean add(T? element);
412 method public void add(int index, T? element);
413 method public boolean addAll(int index, java.util.List<? extends T> elements);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100414 method public boolean addAll(int index, androidx.compose.runtime.collection.MutableVector<T> elements);
George Mountb96a3a52020-06-19 08:44:30 -0700415 method public inline boolean addAll(java.util.List<? extends T> elements);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100416 method public inline boolean addAll(androidx.compose.runtime.collection.MutableVector<T> elements);
George Mountb96a3a52020-06-19 08:44:30 -0700417 method public boolean addAll(T![] elements);
George Mountc9cbf462020-06-30 15:01:40 -0700418 method public boolean addAll(int index, java.util.Collection<? extends T> elements);
419 method public boolean addAll(java.util.Collection<? extends T> elements);
George Mountb96a3a52020-06-19 08:44:30 -0700420 method public inline boolean any(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
George Mountc9cbf462020-06-30 15:01:40 -0700421 method public java.util.List<T> asMutableList();
George Mountb96a3a52020-06-19 08:44:30 -0700422 method public void clear();
423 method public operator boolean contains(T? element);
424 method public boolean containsAll(java.util.List<? extends T> elements);
George Mountc9cbf462020-06-30 15:01:40 -0700425 method public boolean containsAll(java.util.Collection<? extends T> elements);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100426 method public boolean containsAll(androidx.compose.runtime.collection.MutableVector<T> elements);
427 method public boolean contentEquals(androidx.compose.runtime.collection.MutableVector<T> other);
George Mountb96a3a52020-06-19 08:44:30 -0700428 method public void ensureCapacity(int capacity);
429 method public T! first();
430 method public inline T! first(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
431 method public inline T? firstOrNull();
432 method public inline T? firstOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
433 method public inline <R> R! fold(R? initial, kotlin.jvm.functions.Function2<? super R,? super T,? extends R> operation);
434 method public inline <R> R! foldIndexed(R? initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super R,? super T,? extends R> operation);
435 method public inline <R> R! foldRight(R? initial, kotlin.jvm.functions.Function2<? super T,? super R,? extends R> operation);
436 method public inline <R> R! foldRightIndexed(R? initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super T,? super R,? extends R> operation);
437 method public inline void forEach(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block);
438 method public inline void forEachIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block);
439 method public inline void forEachReversed(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block);
440 method public inline void forEachReversedIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block);
441 method public inline operator T! get(int index);
442 method public inline kotlin.ranges.IntRange getIndices();
443 method public inline int getLastIndex();
444 method public int getSize();
445 method public int indexOf(T? element);
446 method public inline int indexOfFirst(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
447 method public inline int indexOfLast(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
448 method public boolean isEmpty();
449 method public boolean isNotEmpty();
450 method public T! last();
451 method public inline T! last(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
452 method public int lastIndexOf(T? element);
453 method public inline T? lastOrNull();
454 method public inline T? lastOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
455 method public inline <reified R> R![]! map(kotlin.jvm.functions.Function1<? super T,? extends R> transform);
456 method public inline <reified R> R![]! mapIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100457 method public inline <reified R> androidx.compose.runtime.collection.MutableVector<R>! mapIndexedNotNull(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
458 method public inline <reified R> androidx.compose.runtime.collection.MutableVector<R>! mapNotNull(kotlin.jvm.functions.Function1<? super T,? extends R> transform);
Adam Powell3a1a23d2020-09-30 16:02:58 -0700459 method public inline operator void minusAssign(T? element);
George Mountb96a3a52020-06-19 08:44:30 -0700460 method public inline operator void plusAssign(T? element);
461 method public boolean remove(T? element);
462 method public boolean removeAll(java.util.List<? extends T> elements);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100463 method public boolean removeAll(androidx.compose.runtime.collection.MutableVector<T> elements);
George Mountc9cbf462020-06-30 15:01:40 -0700464 method public boolean removeAll(java.util.Collection<? extends T> elements);
George Mountb96a3a52020-06-19 08:44:30 -0700465 method public T! removeAt(int index);
George Mountdfc9ad72020-07-07 13:03:02 -0700466 method public void removeRange(int start, int end);
George Mountc9cbf462020-06-30 15:01:40 -0700467 method public boolean retainAll(java.util.Collection<? extends T> elements);
Andrey Kulikovfc91b882020-09-24 13:31:29 +0100468 method public inline boolean reversedAny(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
George Mountb96a3a52020-06-19 08:44:30 -0700469 method public operator T! set(int index, T? element);
George Mountdfc9ad72020-07-07 13:03:02 -0700470 method public void sortWith(java.util.Comparator<T> comparator);
George Mountb96a3a52020-06-19 08:44:30 -0700471 method public inline int sumBy(kotlin.jvm.functions.Function1<? super T,java.lang.Integer> selector);
472 property public final inline kotlin.ranges.IntRange indices;
473 property public final inline int lastIndex;
474 property public final int size;
475 }
476
477 public final class MutableVectorKt {
George Mount9a933d62020-11-19 20:07:26 +0000478 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! MutableVector(optional int capacity);
479 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! MutableVector(int size, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends T> init);
480 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! mutableVectorOf();
481 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! mutableVectorOf(T? elements);
George Mountb96a3a52020-06-19 08:44:30 -0700482 }
483
484}
485
Jim Sproch8d601302021-03-23 16:47:15 -0700486package androidx.compose.runtime.external.kotlinx.collections.immutable {
487
488 public final class ExtensionsKt {
489 }
490
491}
492
493package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableList {
494
495 public final class UtilsKt {
496 }
497
498}
499
500package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap {
501
502 public final class PersistentHashMapContentIteratorsKt {
503 }
504
505 public final class TrieNodeKt {
506 }
507
508}
509
510package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableSet {
511
512 public final class TrieNodeKt {
513 }
514
515}
516
517package androidx.compose.runtime.external.kotlinx.collections.immutable.internal {
518
519 public final class CommonFunctionsKt {
520 }
521
522 public final class ForEachOneBitKt {
523 }
524
525}
526
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100527package androidx.compose.runtime.internal {
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800528
Adam Powell428bcd22021-04-27 12:18:23 -0700529 @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambda extends kotlin.jvm.functions.Function2<androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function10<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function11<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function13<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function14<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function15<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function16<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function17<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function18<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function19<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function20<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function21<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,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function3<java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function4<java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function5<java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function6<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function7<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function8<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> kotlin.jvm.functions.Function9<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object> {
530 }
531
Leland Richardson62480d92020-06-19 15:12:08 -0700532 public final class ComposableLambdaKt {
Chuck Jazdzewski35fee372021-05-05 14:04:23 -0700533 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambda(androidx.compose.runtime.Composer composer, int key, boolean tracked, Object block);
534 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambdaInstance(int key, boolean tracked, Object block);
Adam Powell428bcd22021-04-27 12:18:23 -0700535 }
536
537 @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambdaN extends kotlin.jvm.functions.FunctionN<java.lang.Object> {
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800538 }
539
Jim Sprochdc1308e2021-02-10 01:45:52 -0800540 public final class ComposableLambdaN_jvmKt {
Chuck Jazdzewski35fee372021-05-05 14:04:23 -0700541 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN composableLambdaN(androidx.compose.runtime.Composer composer, int key, boolean tracked, int arity, Object block);
542 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN composableLambdaNInstance(int key, boolean tracked, int arity, Object block);
Leland Richardsone49cef8f2020-06-27 11:33:36 -0700543 }
544
Andrei Shikov378176c2020-09-30 22:34:19 +0100545 public final class DecoyKt {
Adam Powell428bcd22021-04-27 12:18:23 -0700546 method @androidx.compose.runtime.ComposeCompilerApi public static Void illegalDecoyCallException(String fName);
547 }
548
549 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface LiveLiteralFileInfo {
550 method public abstract String file();
551 property public abstract String file;
552 }
553
554 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface LiveLiteralInfo {
555 method public abstract String key();
556 method public abstract int offset();
557 property public abstract String key;
558 property public abstract int offset;
Andrei Shikov378176c2020-09-30 22:34:19 +0100559 }
560
Leland Richardsone49cef8f2020-06-27 11:33:36 -0700561 public final class LiveLiteralKt {
Leland Richardson0fc08742020-09-14 22:47:23 -0700562 method public static boolean isLiveLiteralsEnabled();
Leland Richardson96819792020-09-21 22:13:20 -0700563 }
564
Adam Powell428bcd22021-04-27 12:18:23 -0700565 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface StabilityInferred {
566 method public abstract int parameters();
567 property public abstract int parameters;
568 }
569
Chuck Jazdzewskifd792242021-03-08 14:42:06 -0800570 public final class ThreadMapKt {
571 }
572
Chuck Jazdzewskifc12f082020-02-27 11:21:57 -0800573}
574
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100575package androidx.compose.runtime.snapshots {
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700576
577 public final class ListUtilsKt {
578 }
579
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000580 public class MutableSnapshot extends androidx.compose.runtime.snapshots.Snapshot {
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100581 method public androidx.compose.runtime.snapshots.SnapshotApplyResult apply();
Aurimas Liutikasa3bfa992020-08-05 16:32:56 -0700582 method public void close$metalava_module();
583 method public java.util.Set<androidx.compose.runtime.snapshots.StateObject>? getModified$metalava_module();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700584 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getReadObserver();
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800585 method public boolean getReadOnly();
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100586 method public androidx.compose.runtime.snapshots.Snapshot getRoot();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700587 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getWriteObserver();
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700588 method public boolean hasPendingChanges();
Aurimas Liutikasa3bfa992020-08-05 16:32:56 -0700589 method public void nestedActivated$metalava_module(androidx.compose.runtime.snapshots.Snapshot snapshot);
590 method public void nestedDeactivated$metalava_module(androidx.compose.runtime.snapshots.Snapshot snapshot);
591 method public void notifyObjectsInitialized$metalava_module();
592 method public void recordModified$metalava_module(androidx.compose.runtime.snapshots.StateObject state);
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700593 method public void setModified$metalava_module(java.util.Set<androidx.compose.runtime.snapshots.StateObject>? modified);
Aurimas Liutikas3aa5a202020-10-05 09:42:14 -0700594 method public androidx.compose.runtime.snapshots.MutableSnapshot takeNestedMutableSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100595 method public androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver);
596 property public java.util.Set<androidx.compose.runtime.snapshots.StateObject>? modified;
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700597 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver;
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800598 property public boolean readOnly;
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100599 property public androidx.compose.runtime.snapshots.Snapshot root;
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700600 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700601 }
602
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800603 public fun interface ObserverHandle {
604 method public void dispose();
605 }
606
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000607 public abstract sealed class Snapshot {
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700608 method public void dispose();
609 method public final inline <T> T! enter(kotlin.jvm.functions.Function0<? extends T> block);
610 method public int getId();
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800611 method public abstract boolean getReadOnly();
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100612 method public abstract androidx.compose.runtime.snapshots.Snapshot getRoot();
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700613 method public abstract boolean hasPendingChanges();
Aurimas Liutikas3aa5a202020-10-05 09:42:14 -0700614 method public abstract androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver);
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700615 property public int id;
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800616 property public abstract boolean readOnly;
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100617 property public abstract androidx.compose.runtime.snapshots.Snapshot root;
618 field public static final androidx.compose.runtime.snapshots.Snapshot.Companion Companion;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700619 }
620
621 public static final class Snapshot.Companion {
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700622 method public androidx.compose.runtime.snapshots.Snapshot getCurrent();
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700623 method public inline <T> T! global(kotlin.jvm.functions.Function0<? extends T> block);
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000624 method public void notifyObjectsInitialized();
Aurimas Liutikas3aa5a202020-10-05 09:42:14 -0700625 method public <T> T! observe(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver, kotlin.jvm.functions.Function0<? extends T> block);
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800626 method public androidx.compose.runtime.snapshots.ObserverHandle registerApplyObserver(kotlin.jvm.functions.Function2<? super java.util.Set<?>,? super androidx.compose.runtime.snapshots.Snapshot,kotlin.Unit> observer);
627 method public androidx.compose.runtime.snapshots.ObserverHandle registerGlobalWriteObserver(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit> observer);
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000628 method public void sendApplyNotifications();
Chuck Jazdzewski96c89af2021-01-27 11:42:48 -0800629 method public androidx.compose.runtime.snapshots.MutableSnapshot takeMutableSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver);
630 method public androidx.compose.runtime.snapshots.Snapshot takeSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver);
Chuck Jazdzewski1b44d6c2021-01-27 16:39:48 -0800631 method public inline <R> R! withMutableSnapshot(kotlin.jvm.functions.Function0<? extends R> block);
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700632 property public final androidx.compose.runtime.snapshots.Snapshot current;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700633 }
634
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000635 public final class SnapshotApplyConflictException extends java.lang.Exception {
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100636 ctor public SnapshotApplyConflictException(androidx.compose.runtime.snapshots.Snapshot snapshot);
637 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot();
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700638 property public final androidx.compose.runtime.snapshots.Snapshot snapshot;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700639 }
640
641 public abstract sealed class SnapshotApplyResult {
642 method public abstract void check();
643 method public abstract boolean getSucceeded();
644 property public abstract boolean succeeded;
645 }
646
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100647 public static final class SnapshotApplyResult.Failure extends androidx.compose.runtime.snapshots.SnapshotApplyResult {
648 ctor public SnapshotApplyResult.Failure(androidx.compose.runtime.snapshots.Snapshot snapshot);
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700649 method public void check();
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100650 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot();
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700651 method public boolean getSucceeded();
Aurimas Liutikas6ac8c642020-09-29 13:48:32 -0700652 property public final androidx.compose.runtime.snapshots.Snapshot snapshot;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700653 property public boolean succeeded;
654 }
655
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100656 public static final class SnapshotApplyResult.Success extends androidx.compose.runtime.snapshots.SnapshotApplyResult {
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700657 method public void check();
658 method public boolean getSucceeded();
659 property public boolean succeeded;
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100660 field public static final androidx.compose.runtime.snapshots.SnapshotApplyResult.Success INSTANCE;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700661 }
662
663 public final class SnapshotIdSetKt {
664 }
665
666 public final class SnapshotKt {
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100667 method public static <T extends androidx.compose.runtime.snapshots.StateRecord> T readable(T, androidx.compose.runtime.snapshots.StateObject state);
668 method public static <T extends androidx.compose.runtime.snapshots.StateRecord> T readable(T, androidx.compose.runtime.snapshots.StateObject state, androidx.compose.runtime.snapshots.Snapshot snapshot);
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000669 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R! withCurrent(T, kotlin.jvm.functions.Function1<? super T,? extends R> block);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100670 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R! writable(T, androidx.compose.runtime.snapshots.StateObject state, androidx.compose.runtime.snapshots.Snapshot snapshot, kotlin.jvm.functions.Function1<? super T,? extends R> block);
671 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R! writable(T, androidx.compose.runtime.snapshots.StateObject state, kotlin.jvm.functions.Function1<? super T,? extends R> block);
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700672 }
673
Andrey Kulikov8bb5a9b2021-01-25 21:58:49 +0000674 public interface SnapshotMutableState<T> extends androidx.compose.runtime.MutableState<T> {
675 method public androidx.compose.runtime.SnapshotMutationPolicy<T> getPolicy();
676 property public abstract androidx.compose.runtime.SnapshotMutationPolicy<T> policy;
677 }
678
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100679 @androidx.compose.runtime.Stable public final class SnapshotStateList<T> implements kotlin.jvm.internal.markers.KMutableList java.util.List<T> androidx.compose.runtime.snapshots.StateObject {
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700680 ctor public SnapshotStateList();
681 method public boolean add(T? element);
682 method public void add(int index, T? element);
683 method public boolean addAll(int index, java.util.Collection<? extends T> elements);
684 method public boolean addAll(java.util.Collection<? extends T> elements);
685 method public void clear();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700686 method public boolean contains(T? element);
687 method public boolean containsAll(java.util.Collection<E!> elements);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700688 method public T! get(int index);
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800689 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord();
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700690 method public int getSize();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700691 method public int indexOf(T? element);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700692 method public boolean isEmpty();
693 method public java.util.Iterator<T> iterator();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700694 method public int lastIndexOf(T? element);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700695 method public java.util.ListIterator<T> listIterator();
696 method public java.util.ListIterator<T> listIterator(int index);
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100697 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value);
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700698 method public boolean remove(T? element);
699 method public boolean removeAll(java.util.Collection<E!> elements);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700700 method public T! removeAt(int index);
701 method public void removeRange(int fromIndex, int toIndex);
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700702 method public boolean retainAll(java.util.Collection<E!> elements);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700703 method public T! set(int index, T? element);
704 method public java.util.List<T> subList(int fromIndex, int toIndex);
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800705 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord;
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700706 property public int size;
707 }
708
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700709 public final class SnapshotStateListKt {
710 }
711
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100712 @androidx.compose.runtime.Stable public final class SnapshotStateMap<K, V> implements kotlin.jvm.internal.markers.KMutableMap java.util.Map<K,V> androidx.compose.runtime.snapshots.StateObject {
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700713 ctor public SnapshotStateMap();
714 method public void clear();
Aurimas Liutikas5790b292021-06-22 12:29:59 -0700715 method public boolean containsKey(K? key);
716 method public boolean containsValue(V? value);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700717 method public V? get(Object? key);
718 method public java.util.Set<java.util.Map.Entry<K,V>> getEntries();
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800719 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord();
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700720 method public java.util.Set<K> getKeys();
721 method public int getSize();
722 method public java.util.Collection<V> getValues();
723 method public boolean isEmpty();
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100724 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value);
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700725 method public V? put(K? key, V? value);
726 method public void putAll(java.util.Map<? extends K,? extends V> from);
727 method public V? remove(Object? key);
728 property public java.util.Set<java.util.Map.Entry<K,V>> entries;
Chuck Jazdzewski3e46c422021-01-27 14:43:59 -0800729 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord;
Chuck Jazdzewski587de1e2020-06-26 14:35:56 -0700730 property public java.util.Set<K> keys;
731 property public int size;
732 property public java.util.Collection<V> values;
733 }
734
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700735 public final class SnapshotStateMapKt {
736 }
737
Andrey Kulikov915e3f22021-02-04 17:05:19 +0000738 public final class SnapshotStateObserver {
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700739 ctor public SnapshotStateObserver(kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> onChangedExecutor);
Andrey Kulikov915e3f22021-02-04 17:05:19 +0000740 method public void clear(Object scope);
George Mount669bd402020-09-02 18:12:10 -0700741 method public void clear();
Andrey Kulikov915e3f22021-02-04 17:05:19 +0000742 method public void clearIf(kotlin.jvm.functions.Function1<java.lang.Object,java.lang.Boolean> predicate);
George Mountc2a5ede2020-09-14 12:21:51 -0700743 method @org.jetbrains.annotations.TestOnly public void notifyChanges(java.util.Set<?> changes, androidx.compose.runtime.snapshots.Snapshot snapshot);
Andrey Kulikov915e3f22021-02-04 17:05:19 +0000744 method public <T> void observeReads(T scope, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> onValueChangedForScope, kotlin.jvm.functions.Function0<kotlin.Unit> block);
745 method public void start();
746 method public void stop();
747 method public void withNoObservations(kotlin.jvm.functions.Function0<kotlin.Unit> block);
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700748 }
749
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000750 public interface StateObject {
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100751 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord();
752 method public default androidx.compose.runtime.snapshots.StateRecord? mergeRecords(androidx.compose.runtime.snapshots.StateRecord previous, androidx.compose.runtime.snapshots.StateRecord current, androidx.compose.runtime.snapshots.StateRecord applied);
753 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value);
754 property public abstract androidx.compose.runtime.snapshots.StateRecord firstStateRecord;
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700755 }
756
Louis Pullen-Freilicha7a14862021-01-05 21:24:05 +0000757 public abstract class StateRecord {
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700758 ctor public StateRecord();
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100759 method public abstract void assign(androidx.compose.runtime.snapshots.StateRecord value);
760 method public abstract androidx.compose.runtime.snapshots.StateRecord create();
Chuck Jazdzewski0a90de92020-05-21 10:03:47 -0700761 }
762
763}
764
Louis Pullen-Freilich1f10a592020-07-24 16:35:14 +0100765package androidx.compose.runtime.tooling {
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700766
Leland Richardson0f99bf12021-02-02 20:56:41 -0800767 public interface CompositionData {
768 method public Iterable<androidx.compose.runtime.tooling.CompositionGroup> getCompositionGroups();
769 method public boolean isEmpty();
770 property public abstract Iterable<androidx.compose.runtime.tooling.CompositionGroup> compositionGroups;
771 property public abstract boolean isEmpty;
772 }
773
774 public interface CompositionGroup extends androidx.compose.runtime.tooling.CompositionData {
775 method public Iterable<java.lang.Object> getData();
776 method public Object getKey();
777 method public Object? getNode();
778 method public String? getSourceInfo();
779 property public abstract Iterable<java.lang.Object> data;
780 property public abstract Object key;
781 property public abstract Object? node;
782 property public abstract String? sourceInfo;
783 }
784
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700785 public final class InspectionTablesKt {
Leland Richardson0f99bf12021-02-02 20:56:41 -0800786 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.Set<androidx.compose.runtime.tooling.CompositionData>> getLocalInspectionTables();
Chuck Jazdzewski4fab4b92020-06-15 09:51:37 -0700787 }
788
789}
790