Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 2 | package androidx.compose.runtime { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 3 | |
Chuck Jazdzewski | 030d296 | 2020-12-02 16:52:57 -0800 | [diff] [blame] | 4 | public abstract class AbstractApplier<T> implements androidx.compose.runtime.Applier<T> { |
Aurimas Liutikas | a3bfa99 | 2020-08-05 16:32:56 -0700 | [diff] [blame] | 5 | ctor public AbstractApplier(T? root); |
Adam Powell | 8dec9b7 | 2020-06-19 14:24:14 -0700 | [diff] [blame] | 6 | method public final void clear(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 7 | 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 Powell | 8dec9b7 | 2020-06-19 14:24:14 -0700 | [diff] [blame] | 11 | method protected abstract void onClear(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 12 | method protected final void remove(java.util.List<T>, int index, int count); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 13 | method protected void setCurrent(T! current); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 14 | method public void up(); |
| 15 | property public T! current; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 16 | property public final T! root; |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 17 | } |
| 18 | |
Jim Sproch | dc1308e | 2021-02-10 01:45:52 -0800 | [diff] [blame] | 19 | public final class ActualAndroid_androidKt { |
Adam Powell | 662bf10 | 2021-03-15 14:15:32 -0700 | [diff] [blame] | 20 | method @Deprecated public static androidx.compose.runtime.MonotonicFrameClock getDefaultMonotonicFrameClock(); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 21 | } |
| 22 | |
Jim Sproch | dc1308e | 2021-02-10 01:45:52 -0800 | [diff] [blame] | 23 | public final class ActualJvm_jvmKt { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 24 | } |
| 25 | |
Chuck Jazdzewski | 030d296 | 2020-12-02 16:52:57 -0800 | [diff] [blame] | 26 | public interface Applier<N> { |
Adam Powell | 8dec9b7 | 2020-06-19 14:24:14 -0700 | [diff] [blame] | 27 | method public void clear(); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 28 | method public void down(N? node); |
| 29 | method public N! getCurrent(); |
Chuck Jazdzewski | be5d7a8b | 2020-11-30 08:51:33 -0800 | [diff] [blame] | 30 | method public void insertBottomUp(int index, N? instance); |
| 31 | method public void insertTopDown(int index, N? instance); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 32 | method public void move(int from, int to, int count); |
Adam Powell | 437eb8a | 2020-10-23 16:43:48 -0700 | [diff] [blame] | 33 | method public default void onBeginChanges(); |
| 34 | method public default void onEndChanges(); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 35 | method public void remove(int index, int count); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 36 | method public void up(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 37 | property public abstract N! current; |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 38 | } |
| 39 | |
Chuck Jazdzewski | c14dc6e | 2020-04-13 16:26:35 -0700 | [diff] [blame] | 40 | public final class BitwiseOperatorsKt { |
| 41 | } |
| 42 | |
Adam Powell | 0d2661ef | 2021-01-21 17:40:08 -0800 | [diff] [blame] | 43 | public final class BroadcastFrameClock implements androidx.compose.runtime.MonotonicFrameClock { |
Aurimas Liutikas | d4a0b67 | 2021-02-23 09:05:20 -0800 | [diff] [blame] | 44 | ctor public BroadcastFrameClock(optional kotlin.jvm.functions.Function0<kotlin.Unit>? onNewAwaiters); |
Adam Powell | 0d2661ef | 2021-01-21 17:40:08 -0800 | [diff] [blame] | 45 | 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 Richardson | ab9c101 | 2021-02-06 10:52:44 -0800 | [diff] [blame] | 52 | @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 Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 53 | } |
| 54 | |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 55 | 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 Richardson | 70e4668 | 2021-02-09 17:41:44 -0800 | [diff] [blame] | 58 | 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 Jazdzewski | 0d24d06 | 2021-04-14 16:36:57 -0700 | [diff] [blame] | 59 | 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 Richardson | 3a90b71 | 2021-02-08 19:14:19 -0800 | [diff] [blame] | 63 | method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.Composer getCurrentComposer(); |
Chuck Jazdzewski | cd05e97 | 2021-06-18 11:07:58 -0700 | [diff] [blame] | 64 | method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static int getCurrentCompositeKeyHash(); |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 65 | 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 Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 75 | @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ComposeCompilerApi { |
| 76 | } |
| 77 | |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 78 | public interface Composer { |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 79 | 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 Jazdzewski | 0d24d06 | 2021-04-14 16:36:57 -0700 | [diff] [blame] | 90 | method @androidx.compose.runtime.ComposeCompilerApi public void disableReusing(); |
| 91 | method @androidx.compose.runtime.ComposeCompilerApi public void enableReusing(); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 92 | 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 Jazdzewski | 0d24d06 | 2021-04-14 16:36:57 -0700 | [diff] [blame] | 97 | method @androidx.compose.runtime.ComposeCompilerApi public void endReusableGroup(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 98 | method public androidx.compose.runtime.Applier<?> getApplier(); |
Chuck Jazdzewski | df659ab | 2020-10-23 13:16:50 -0700 | [diff] [blame] | 99 | method @org.jetbrains.annotations.TestOnly public kotlin.coroutines.CoroutineContext getApplyCoroutineContext(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 100 | method @org.jetbrains.annotations.TestOnly public androidx.compose.runtime.ControlledComposition getComposition(); |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 101 | method public androidx.compose.runtime.tooling.CompositionData getCompositionData(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 102 | method public int getCompoundKeyHash(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 103 | method public boolean getDefaultsInvalid(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 104 | method public boolean getInserting(); |
| 105 | method public androidx.compose.runtime.RecomposeScope? getRecomposeScope(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 106 | method public boolean getSkipping(); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 107 | 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 Jazdzewski | 35fee37 | 2021-05-05 14:04:23 -0700 | [diff] [blame] | 111 | method public void sourceInformation(String sourceInformation); |
| 112 | method public void sourceInformationMarkerEnd(); |
| 113 | method public void sourceInformationMarkerStart(int key, String sourceInformation); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 114 | method @androidx.compose.runtime.ComposeCompilerApi public void startDefaults(); |
| 115 | method @androidx.compose.runtime.ComposeCompilerApi public void startMovableGroup(int key, Object? dataKey); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 116 | method @androidx.compose.runtime.ComposeCompilerApi public void startNode(); |
| 117 | method @androidx.compose.runtime.ComposeCompilerApi public void startReplaceableGroup(int key); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 118 | method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.Composer startRestartGroup(int key); |
Chuck Jazdzewski | 0d24d06 | 2021-04-14 16:36:57 -0700 | [diff] [blame] | 119 | method @androidx.compose.runtime.ComposeCompilerApi public void startReusableGroup(int key, Object? dataKey); |
| 120 | method @androidx.compose.runtime.ComposeCompilerApi public void startReusableNode(); |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 121 | method @androidx.compose.runtime.ComposeCompilerApi public void updateRememberedValue(Object? value); |
| 122 | method @androidx.compose.runtime.ComposeCompilerApi public void useNode(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 123 | 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 Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 126 | property public abstract androidx.compose.runtime.tooling.CompositionData compositionData; |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 127 | 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 Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | public final class ComposerKt { |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 141 | 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 Jazdzewski | 35fee37 | 2021-05-05 14:04:23 -0700 | [diff] [blame] | 142 | 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 Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 145 | } |
| 146 | |
Andrey Kulikov | d13aefe | 2020-03-16 13:52:22 +0000 | [diff] [blame] | 147 | public interface Composition { |
Fedor Kudasov | 87322c7 | 2020-01-30 17:57:14 +0000 | [diff] [blame] | 148 | method public void dispose(); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 149 | method public boolean getHasInvalidations(); |
| 150 | method public boolean isDisposed(); |
Andrey Kulikov | d13aefe | 2020-03-16 13:52:22 +0000 | [diff] [blame] | 151 | method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 152 | property public abstract boolean hasInvalidations; |
| 153 | property public abstract boolean isDisposed; |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 154 | } |
| 155 | |
Adam Powell | 6da5b52 | 2021-02-02 15:21:02 -0800 | [diff] [blame] | 156 | public abstract class CompositionContext { |
| 157 | } |
| 158 | |
| 159 | public final class CompositionContextKt { |
Adam Powell | 6da5b52 | 2021-02-02 15:21:02 -0800 | [diff] [blame] | 160 | } |
| 161 | |
Leland Richardson | 76600e3 | 2020-01-15 17:22:29 -0800 | [diff] [blame] | 162 | public final class CompositionKt { |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 163 | method public static androidx.compose.runtime.Composition Composition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent); |
Adam Powell | 6da5b52 | 2021-02-02 15:21:02 -0800 | [diff] [blame] | 164 | method @org.jetbrains.annotations.TestOnly public static androidx.compose.runtime.ControlledComposition ControlledComposition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent); |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 165 | } |
| 166 | |
Louis Pullen-Freilich | 0a38b16 | 2021-01-27 14:25:06 +0000 | [diff] [blame] | 167 | @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 Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 173 | method @androidx.compose.runtime.Composable public static void CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<?>![] values, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
Chuck Jazdzewski | ba89703 | 2021-02-08 09:12:14 -1000 | [diff] [blame] | 174 | 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-Freilich | 0a38b16 | 2021-01-27 14:25:06 +0000 | [diff] [blame] | 176 | } |
| 177 | |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 178 | 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 Jazdzewski | de27354 | 2021-05-12 10:37:30 -0700 | [diff] [blame] | 184 | method public boolean observesAnyOf(java.util.Set<?> values); |
| 185 | method public void prepareCompose(kotlin.jvm.functions.Function0<kotlin.Unit> block); |
Chuck Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 186 | 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 Jazdzewski | 6867aa1 | 2021-01-12 09:28:08 -0800 | [diff] [blame] | 190 | property public abstract boolean hasPendingChanges; |
| 191 | property public abstract boolean isComposing; |
| 192 | } |
| 193 | |
Leland Richardson | 5195e3c | 2021-01-26 12:39:43 -0800 | [diff] [blame] | 194 | @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface DisallowComposableCalls { |
| 195 | } |
| 196 | |
Leland Richardson | 4e80321 | 2021-01-21 12:34:51 -0800 | [diff] [blame] | 197 | public interface DisposableEffectResult { |
Adam Powell | 2435c3f | 2020-10-09 14:40:05 -0700 | [diff] [blame] | 198 | method public void dispose(); |
| 199 | } |
| 200 | |
| 201 | public final class DisposableEffectScope { |
| 202 | ctor public DisposableEffectScope(); |
Leland Richardson | 4e80321 | 2021-01-21 12:34:51 -0800 | [diff] [blame] | 203 | method public inline androidx.compose.runtime.DisposableEffectResult onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDisposeEffect); |
Adam Powell | 2435c3f | 2020-10-09 14:40:05 -0700 | [diff] [blame] | 204 | } |
| 205 | |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 206 | 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 Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 221 | public final class ExpectKt { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 222 | } |
| 223 | |
Leland Richardson | 70e4668 | 2021-02-09 17:41:44 -0800 | [diff] [blame] | 224 | @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ExplicitGroupsComposable { |
| 225 | } |
| 226 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 227 | @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface Immutable { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 228 | } |
| 229 | |
Adam Powell | 0d2661ef | 2021-01-21 17:40:08 -0800 | [diff] [blame] | 230 | 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 Powell | 662bf10 | 2021-03-15 14:15:32 -0700 | [diff] [blame] | 241 | method public static androidx.compose.runtime.MonotonicFrameClock getMonotonicFrameClock(kotlin.coroutines.CoroutineContext); |
Adam Powell | 0d2661ef | 2021-01-21 17:40:08 -0800 | [diff] [blame] | 242 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 247 | @androidx.compose.runtime.Stable public interface MutableState<T> extends androidx.compose.runtime.State<T> { |
Leland Richardson | 9494a43 | 2019-12-12 21:15:41 -0800 | [diff] [blame] | 248 | method public operator T! component1(); |
| 249 | method public operator kotlin.jvm.functions.Function1<T,kotlin.Unit> component2(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 250 | method public void setValue(T! value); |
Leland Richardson | 9494a43 | 2019-12-12 21:15:41 -0800 | [diff] [blame] | 251 | property public abstract T! value; |
| 252 | } |
| 253 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 254 | @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 Richardson | e49cef8f | 2020-06-27 11:33:36 -0700 | [diff] [blame] | 255 | } |
| 256 | |
Leland Richardson | 5195e3c | 2021-01-26 12:39:43 -0800 | [diff] [blame] | 257 | @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface NonRestartableComposable { |
| 258 | } |
| 259 | |
Adam Powell | 0d2661ef | 2021-01-21 17:40:08 -0800 | [diff] [blame] | 260 | public final class PausableMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock { |
| 261 | ctor public PausableMonotonicFrameClock(androidx.compose.runtime.MonotonicFrameClock frameClock); |
Adam Powell | 91969cd | 2020-11-09 17:51:49 -0800 | [diff] [blame] | 262 | 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 Powell | d870a40 | 2020-08-28 08:17:11 -0700 | [diff] [blame] | 269 | 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-Freilich | 0a38b16 | 2021-01-27 14:25:06 +0000 | [diff] [blame] | 273 | @androidx.compose.runtime.Stable public abstract class ProvidableCompositionLocal<T> extends androidx.compose.runtime.CompositionLocal<T> { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 274 | method public final infix androidx.compose.runtime.ProvidedValue<T> provides(T? value); |
Mihai Popa | a3ff42b | 2020-10-29 14:53:57 +0000 | [diff] [blame] | 275 | method public final infix androidx.compose.runtime.ProvidedValue<T> providesDefault(T? value); |
Chuck Jazdzewski | fb6db65 | 2019-11-25 08:30:51 -0800 | [diff] [blame] | 276 | } |
| 277 | |
| 278 | public final class ProvidedValue<T> { |
Mihai Popa | a3ff42b | 2020-10-29 14:53:57 +0000 | [diff] [blame] | 279 | method public boolean getCanOverride(); |
Louis Pullen-Freilich | 0a38b16 | 2021-01-27 14:25:06 +0000 | [diff] [blame] | 280 | method public androidx.compose.runtime.CompositionLocal<T> getCompositionLocal(); |
Chuck Jazdzewski | fb6db65 | 2019-11-25 08:30:51 -0800 | [diff] [blame] | 281 | method public T! getValue(); |
Mihai Popa | a3ff42b | 2020-10-29 14:53:57 +0000 | [diff] [blame] | 282 | property public final boolean canOverride; |
Louis Pullen-Freilich | 0a38b16 | 2021-01-27 14:25:06 +0000 | [diff] [blame] | 283 | property public final androidx.compose.runtime.CompositionLocal<T> compositionLocal; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 284 | property public final T! value; |
Chuck Jazdzewski | fb6db65 | 2019-11-25 08:30:51 -0800 | [diff] [blame] | 285 | } |
| 286 | |
Leland Richardson | 5195e3c | 2021-01-26 12:39:43 -0800 | [diff] [blame] | 287 | @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 Richardson | d1c5b8ba | 2021-01-13 11:00:47 -0800 | [diff] [blame] | 290 | public interface RecomposeScope { |
| 291 | method public void invalidate(); |
| 292 | } |
| 293 | |
Chuck Jazdzewski | 80fd1b3 | 2021-04-15 14:21:03 -0700 | [diff] [blame] | 294 | public final class RecomposeScopeImplKt { |
| 295 | } |
| 296 | |
Adam Powell | 6da5b52 | 2021-02-02 15:21:02 -0800 | [diff] [blame] | 297 | public final class Recomposer extends androidx.compose.runtime.CompositionContext { |
Adam Powell | 4b0374b | 2020-10-22 10:42:42 -0700 | [diff] [blame] | 298 | ctor public Recomposer(kotlin.coroutines.CoroutineContext effectCoroutineContext); |
Adam Powell | 063bc30 | 2021-01-07 16:51:31 -0800 | [diff] [blame] | 299 | method public androidx.compose.runtime.RecomposerInfo asRecomposerInfo(); |
Adam Powell | 11d00c7 | 2020-04-15 09:28:13 -0700 | [diff] [blame] | 300 | method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
Adam Powell | d7ab72f | 2021-01-22 17:46:05 -0800 | [diff] [blame] | 301 | method public void cancel(); |
| 302 | method public void close(); |
Adam Powell | 063bc30 | 2021-01-07 16:51:31 -0800 | [diff] [blame] | 303 | method public long getChangeCount(); |
| 304 | method public boolean getHasPendingWork(); |
Adam Powell | b85447e | 2020-12-16 12:49:52 -0800 | [diff] [blame] | 305 | method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState(); |
Adam Powell | 798c8db | 2020-10-14 12:16:26 -0700 | [diff] [blame] | 306 | method public suspend Object? join(kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
Adam Powell | d7ab72f | 2021-01-22 17:46:05 -0800 | [diff] [blame] | 307 | method public suspend Object? runRecomposeAndApplyChanges(kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
Adam Powell | 063bc30 | 2021-01-07 16:51:31 -0800 | [diff] [blame] | 308 | property public final long changeCount; |
| 309 | property public final boolean hasPendingWork; |
Adam Powell | b85447e | 2020-12-16 12:49:52 -0800 | [diff] [blame] | 310 | property public final kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state; |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 311 | field public static final androidx.compose.runtime.Recomposer.Companion Companion; |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 312 | } |
| 313 | |
| 314 | public static final class Recomposer.Companion { |
Adam Powell | 063bc30 | 2021-01-07 16:51:31 -0800 | [diff] [blame] | 315 | 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 Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 317 | } |
| 318 | |
Adam Powell | b85447e | 2020-12-16 12:49:52 -0800 | [diff] [blame] | 319 | 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 Powell | 063bc30 | 2021-01-07 16:51:31 -0800 | [diff] [blame] | 328 | 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 Powell | 11d00c7 | 2020-04-15 09:28:13 -0700 | [diff] [blame] | 337 | public final class RecomposerKt { |
Adam Powell | 798c8db | 2020-10-14 12:16:26 -0700 | [diff] [blame] | 338 | 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 Powell | 11d00c7 | 2020-04-15 09:28:13 -0700 | [diff] [blame] | 339 | } |
| 340 | |
Chuck Jazdzewski | ad4a5c3 | 2021-01-13 09:14:40 -0800 | [diff] [blame] | 341 | public interface RememberObserver { |
| 342 | method public void onAbandoned(); |
| 343 | method public void onForgotten(); |
| 344 | method public void onRemembered(); |
| 345 | } |
| 346 | |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 347 | @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 Jazdzewski | a5166d6 | 2020-12-15 09:27:53 -0800 | [diff] [blame] | 351 | public final inline class SkippableUpdater<T> { |
| 352 | ctor public SkippableUpdater(); |
Chuck Jazdzewski | 178ada5 | 2020-08-12 08:51:49 -0700 | [diff] [blame] | 353 | } |
| 354 | |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 355 | public final class SlotTableKt { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 356 | } |
| 357 | |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 358 | public interface SnapshotMutationPolicy<T> { |
| 359 | method public boolean equivalent(T? a, T? b); |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 360 | 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 Powell | f60eb3e | 2021-05-26 11:08:33 -0700 | [diff] [blame] | 367 | method public static inline operator <T> T! getValue(androidx.compose.runtime.State<? extends T>, Object? thisObj, kotlin.reflect.KProperty<?> property); |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 368 | 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 Liutikas | d4a0b67 | 2021-02-23 09:05:20 -0800 | [diff] [blame] | 374 | 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 Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 379 | 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 Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 386 | } |
| 387 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 388 | @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 Soboleva | a7fd11f | 2019-12-12 18:43:07 +0000 | [diff] [blame] | 389 | } |
| 390 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 391 | @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface StableMarker { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 392 | } |
| 393 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 394 | @androidx.compose.runtime.Stable public interface State<T> { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 395 | method public T! getValue(); |
Leland Richardson | 9494a43 | 2019-12-12 21:15:41 -0800 | [diff] [blame] | 396 | property public abstract T! value; |
Leland Richardson | 7f848ab | 2019-12-12 13:43:41 -0800 | [diff] [blame] | 397 | } |
| 398 | |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 399 | public final class TraceKt { |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 400 | } |
| 401 | |
Chuck Jazdzewski | a5166d6 | 2020-12-15 09:27:53 -0800 | [diff] [blame] | 402 | public final inline class Updater<T> { |
| 403 | ctor public Updater(); |
Leland Richardson | 19285b1 | 2020-06-18 13:37:21 -0700 | [diff] [blame] | 404 | } |
| 405 | |
Aurimas Liutikas | 6a3fc48 | 2019-12-11 10:13:19 -0800 | [diff] [blame] | 406 | } |
| 407 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 408 | package androidx.compose.runtime.collection { |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 409 | |
George Mount | 9a933d6 | 2020-11-19 20:07:26 +0000 | [diff] [blame] | 410 | public final class MutableVector<T> implements java.util.RandomAccess { |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 411 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 414 | method public boolean addAll(int index, androidx.compose.runtime.collection.MutableVector<T> elements); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 415 | method public inline boolean addAll(java.util.List<? extends T> elements); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 416 | method public inline boolean addAll(androidx.compose.runtime.collection.MutableVector<T> elements); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 417 | method public boolean addAll(T![] elements); |
George Mount | c9cbf46 | 2020-06-30 15:01:40 -0700 | [diff] [blame] | 418 | method public boolean addAll(int index, java.util.Collection<? extends T> elements); |
| 419 | method public boolean addAll(java.util.Collection<? extends T> elements); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 420 | method public inline boolean any(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); |
George Mount | c9cbf46 | 2020-06-30 15:01:40 -0700 | [diff] [blame] | 421 | method public java.util.List<T> asMutableList(); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 422 | method public void clear(); |
| 423 | method public operator boolean contains(T? element); |
| 424 | method public boolean containsAll(java.util.List<? extends T> elements); |
George Mount | c9cbf46 | 2020-06-30 15:01:40 -0700 | [diff] [blame] | 425 | method public boolean containsAll(java.util.Collection<? extends T> elements); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 426 | method public boolean containsAll(androidx.compose.runtime.collection.MutableVector<T> elements); |
| 427 | method public boolean contentEquals(androidx.compose.runtime.collection.MutableVector<T> other); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 428 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 457 | 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 Powell | 3a1a23d | 2020-09-30 16:02:58 -0700 | [diff] [blame] | 459 | method public inline operator void minusAssign(T? element); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 460 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 463 | method public boolean removeAll(androidx.compose.runtime.collection.MutableVector<T> elements); |
George Mount | c9cbf46 | 2020-06-30 15:01:40 -0700 | [diff] [blame] | 464 | method public boolean removeAll(java.util.Collection<? extends T> elements); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 465 | method public T! removeAt(int index); |
George Mount | dfc9ad7 | 2020-07-07 13:03:02 -0700 | [diff] [blame] | 466 | method public void removeRange(int start, int end); |
George Mount | c9cbf46 | 2020-06-30 15:01:40 -0700 | [diff] [blame] | 467 | method public boolean retainAll(java.util.Collection<? extends T> elements); |
Andrey Kulikov | fc91b88 | 2020-09-24 13:31:29 +0100 | [diff] [blame] | 468 | method public inline boolean reversedAny(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 469 | method public operator T! set(int index, T? element); |
George Mount | dfc9ad7 | 2020-07-07 13:03:02 -0700 | [diff] [blame] | 470 | method public void sortWith(java.util.Comparator<T> comparator); |
George Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 471 | 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 Mount | 9a933d6 | 2020-11-19 20:07:26 +0000 | [diff] [blame] | 478 | 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 Mount | b96a3a5 | 2020-06-19 08:44:30 -0700 | [diff] [blame] | 482 | } |
| 483 | |
| 484 | } |
| 485 | |
Jim Sproch | 8d60130 | 2021-03-23 16:47:15 -0700 | [diff] [blame] | 486 | package androidx.compose.runtime.external.kotlinx.collections.immutable { |
| 487 | |
| 488 | public final class ExtensionsKt { |
| 489 | } |
| 490 | |
| 491 | } |
| 492 | |
| 493 | package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableList { |
| 494 | |
| 495 | public final class UtilsKt { |
| 496 | } |
| 497 | |
| 498 | } |
| 499 | |
| 500 | package 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 | |
| 510 | package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableSet { |
| 511 | |
| 512 | public final class TrieNodeKt { |
| 513 | } |
| 514 | |
| 515 | } |
| 516 | |
| 517 | package 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 527 | package androidx.compose.runtime.internal { |
Chuck Jazdzewski | fc12f08 | 2020-02-27 11:21:57 -0800 | [diff] [blame] | 528 | |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 529 | @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 Richardson | 62480d9 | 2020-06-19 15:12:08 -0700 | [diff] [blame] | 532 | public final class ComposableLambdaKt { |
Chuck Jazdzewski | 35fee37 | 2021-05-05 14:04:23 -0700 | [diff] [blame] | 533 | 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 Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 535 | } |
| 536 | |
| 537 | @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambdaN extends kotlin.jvm.functions.FunctionN<java.lang.Object> { |
Chuck Jazdzewski | fc12f08 | 2020-02-27 11:21:57 -0800 | [diff] [blame] | 538 | } |
| 539 | |
Jim Sproch | dc1308e | 2021-02-10 01:45:52 -0800 | [diff] [blame] | 540 | public final class ComposableLambdaN_jvmKt { |
Chuck Jazdzewski | 35fee37 | 2021-05-05 14:04:23 -0700 | [diff] [blame] | 541 | 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 Richardson | e49cef8f | 2020-06-27 11:33:36 -0700 | [diff] [blame] | 543 | } |
| 544 | |
Andrei Shikov | 378176c | 2020-09-30 22:34:19 +0100 | [diff] [blame] | 545 | public final class DecoyKt { |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 546 | 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 Shikov | 378176c | 2020-09-30 22:34:19 +0100 | [diff] [blame] | 559 | } |
| 560 | |
Leland Richardson | e49cef8f | 2020-06-27 11:33:36 -0700 | [diff] [blame] | 561 | public final class LiveLiteralKt { |
Leland Richardson | 0fc0874 | 2020-09-14 22:47:23 -0700 | [diff] [blame] | 562 | method public static boolean isLiveLiteralsEnabled(); |
Leland Richardson | 9681979 | 2020-09-21 22:13:20 -0700 | [diff] [blame] | 563 | } |
| 564 | |
Adam Powell | 428bcd2 | 2021-04-27 12:18:23 -0700 | [diff] [blame] | 565 | @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 Jazdzewski | fd79224 | 2021-03-08 14:42:06 -0800 | [diff] [blame] | 570 | public final class ThreadMapKt { |
| 571 | } |
| 572 | |
Chuck Jazdzewski | fc12f08 | 2020-02-27 11:21:57 -0800 | [diff] [blame] | 573 | } |
| 574 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 575 | package androidx.compose.runtime.snapshots { |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 576 | |
| 577 | public final class ListUtilsKt { |
| 578 | } |
| 579 | |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 580 | public class MutableSnapshot extends androidx.compose.runtime.snapshots.Snapshot { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 581 | method public androidx.compose.runtime.snapshots.SnapshotApplyResult apply(); |
Aurimas Liutikas | a3bfa99 | 2020-08-05 16:32:56 -0700 | [diff] [blame] | 582 | method public void close$metalava_module(); |
| 583 | method public java.util.Set<androidx.compose.runtime.snapshots.StateObject>? getModified$metalava_module(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 584 | method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getReadObserver(); |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 585 | method public boolean getReadOnly(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 586 | method public androidx.compose.runtime.snapshots.Snapshot getRoot(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 587 | method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getWriteObserver(); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 588 | method public boolean hasPendingChanges(); |
Aurimas Liutikas | a3bfa99 | 2020-08-05 16:32:56 -0700 | [diff] [blame] | 589 | 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 Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 593 | method public void setModified$metalava_module(java.util.Set<androidx.compose.runtime.snapshots.StateObject>? modified); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 594 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 595 | 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 Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 597 | property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver; |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 598 | property public boolean readOnly; |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 599 | property public androidx.compose.runtime.snapshots.Snapshot root; |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 600 | property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 601 | } |
| 602 | |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 603 | public fun interface ObserverHandle { |
| 604 | method public void dispose(); |
| 605 | } |
| 606 | |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 607 | public abstract sealed class Snapshot { |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 608 | 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 Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 611 | method public abstract boolean getReadOnly(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 612 | method public abstract androidx.compose.runtime.snapshots.Snapshot getRoot(); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 613 | method public abstract boolean hasPendingChanges(); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 614 | method public abstract androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 615 | property public int id; |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 616 | property public abstract boolean readOnly; |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 617 | property public abstract androidx.compose.runtime.snapshots.Snapshot root; |
| 618 | field public static final androidx.compose.runtime.snapshots.Snapshot.Companion Companion; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 619 | } |
| 620 | |
| 621 | public static final class Snapshot.Companion { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 622 | method public androidx.compose.runtime.snapshots.Snapshot getCurrent(); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 623 | method public inline <T> T! global(kotlin.jvm.functions.Function0<? extends T> block); |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 624 | method public void notifyObjectsInitialized(); |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 625 | 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 Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 626 | 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-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 628 | method public void sendApplyNotifications(); |
Chuck Jazdzewski | 96c89af | 2021-01-27 11:42:48 -0800 | [diff] [blame] | 629 | 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 Jazdzewski | 1b44d6c | 2021-01-27 16:39:48 -0800 | [diff] [blame] | 631 | method public inline <R> R! withMutableSnapshot(kotlin.jvm.functions.Function0<? extends R> block); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 632 | property public final androidx.compose.runtime.snapshots.Snapshot current; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 633 | } |
| 634 | |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 635 | public final class SnapshotApplyConflictException extends java.lang.Exception { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 636 | ctor public SnapshotApplyConflictException(androidx.compose.runtime.snapshots.Snapshot snapshot); |
| 637 | method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 638 | property public final androidx.compose.runtime.snapshots.Snapshot snapshot; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 639 | } |
| 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 647 | public static final class SnapshotApplyResult.Failure extends androidx.compose.runtime.snapshots.SnapshotApplyResult { |
| 648 | ctor public SnapshotApplyResult.Failure(androidx.compose.runtime.snapshots.Snapshot snapshot); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 649 | method public void check(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 650 | method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 651 | method public boolean getSucceeded(); |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 652 | property public final androidx.compose.runtime.snapshots.Snapshot snapshot; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 653 | property public boolean succeeded; |
| 654 | } |
| 655 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 656 | public static final class SnapshotApplyResult.Success extends androidx.compose.runtime.snapshots.SnapshotApplyResult { |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 657 | method public void check(); |
| 658 | method public boolean getSucceeded(); |
| 659 | property public boolean succeeded; |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 660 | field public static final androidx.compose.runtime.snapshots.SnapshotApplyResult.Success INSTANCE; |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 661 | } |
| 662 | |
| 663 | public final class SnapshotIdSetKt { |
| 664 | } |
| 665 | |
| 666 | public final class SnapshotKt { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 667 | 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-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 669 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 670 | 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 Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 672 | } |
| 673 | |
Andrey Kulikov | 8bb5a9b | 2021-01-25 21:58:49 +0000 | [diff] [blame] | 674 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 679 | @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 Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 680 | 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 Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 686 | method public boolean contains(T? element); |
| 687 | method public boolean containsAll(java.util.Collection<E!> elements); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 688 | method public T! get(int index); |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 689 | method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 690 | method public int getSize(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 691 | method public int indexOf(T? element); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 692 | method public boolean isEmpty(); |
| 693 | method public java.util.Iterator<T> iterator(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 694 | method public int lastIndexOf(T? element); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 695 | method public java.util.ListIterator<T> listIterator(); |
| 696 | method public java.util.ListIterator<T> listIterator(int index); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 697 | method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 698 | method public boolean remove(T? element); |
| 699 | method public boolean removeAll(java.util.Collection<E!> elements); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 700 | method public T! removeAt(int index); |
| 701 | method public void removeRange(int fromIndex, int toIndex); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 702 | method public boolean retainAll(java.util.Collection<E!> elements); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 703 | method public T! set(int index, T? element); |
| 704 | method public java.util.List<T> subList(int fromIndex, int toIndex); |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 705 | property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 706 | property public int size; |
| 707 | } |
| 708 | |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 709 | public final class SnapshotStateListKt { |
| 710 | } |
| 711 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 712 | @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 Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 713 | ctor public SnapshotStateMap(); |
| 714 | method public void clear(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame^] | 715 | method public boolean containsKey(K? key); |
| 716 | method public boolean containsValue(V? value); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 717 | method public V? get(Object? key); |
| 718 | method public java.util.Set<java.util.Map.Entry<K,V>> getEntries(); |
Chuck Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 719 | method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 720 | 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-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 724 | method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 725 | 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 Jazdzewski | 3e46c42 | 2021-01-27 14:43:59 -0800 | [diff] [blame] | 729 | property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; |
Chuck Jazdzewski | 587de1e | 2020-06-26 14:35:56 -0700 | [diff] [blame] | 730 | property public java.util.Set<K> keys; |
| 731 | property public int size; |
| 732 | property public java.util.Collection<V> values; |
| 733 | } |
| 734 | |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 735 | public final class SnapshotStateMapKt { |
| 736 | } |
| 737 | |
Andrey Kulikov | 915e3f2 | 2021-02-04 17:05:19 +0000 | [diff] [blame] | 738 | public final class SnapshotStateObserver { |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 739 | ctor public SnapshotStateObserver(kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> onChangedExecutor); |
Andrey Kulikov | 915e3f2 | 2021-02-04 17:05:19 +0000 | [diff] [blame] | 740 | method public void clear(Object scope); |
George Mount | 669bd40 | 2020-09-02 18:12:10 -0700 | [diff] [blame] | 741 | method public void clear(); |
Andrey Kulikov | 915e3f2 | 2021-02-04 17:05:19 +0000 | [diff] [blame] | 742 | method public void clearIf(kotlin.jvm.functions.Function1<java.lang.Object,java.lang.Boolean> predicate); |
George Mount | c2a5ede | 2020-09-14 12:21:51 -0700 | [diff] [blame] | 743 | method @org.jetbrains.annotations.TestOnly public void notifyChanges(java.util.Set<?> changes, androidx.compose.runtime.snapshots.Snapshot snapshot); |
Andrey Kulikov | 915e3f2 | 2021-02-04 17:05:19 +0000 | [diff] [blame] | 744 | 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 Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 748 | } |
| 749 | |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 750 | public interface StateObject { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 751 | 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 Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 755 | } |
| 756 | |
Louis Pullen-Freilich | a7a1486 | 2021-01-05 21:24:05 +0000 | [diff] [blame] | 757 | public abstract class StateRecord { |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 758 | ctor public StateRecord(); |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 759 | method public abstract void assign(androidx.compose.runtime.snapshots.StateRecord value); |
| 760 | method public abstract androidx.compose.runtime.snapshots.StateRecord create(); |
Chuck Jazdzewski | 0a90de9 | 2020-05-21 10:03:47 -0700 | [diff] [blame] | 761 | } |
| 762 | |
| 763 | } |
| 764 | |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 765 | package androidx.compose.runtime.tooling { |
Chuck Jazdzewski | 4fab4b9 | 2020-06-15 09:51:37 -0700 | [diff] [blame] | 766 | |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 767 | 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 Jazdzewski | 4fab4b9 | 2020-06-15 09:51:37 -0700 | [diff] [blame] | 785 | public final class InspectionTablesKt { |
Leland Richardson | 0f99bf1 | 2021-02-02 20:56:41 -0800 | [diff] [blame] | 786 | method public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.Set<androidx.compose.runtime.tooling.CompositionData>> getLocalInspectionTables(); |
Chuck Jazdzewski | 4fab4b9 | 2020-06-15 09:51:37 -0700 | [diff] [blame] | 787 | } |
| 788 | |
| 789 | } |
| 790 | |