Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Louis Pullen-Freilich | bb77c7b | 2020-07-20 22:23:06 +0100 | [diff] [blame] | 2 | package androidx.compose.animation { |
George Mount | ed0cc4f | 2019-09-05 14:40:06 -0700 | [diff] [blame] | 3 | |
Doris Liu | 082882b | 2021-01-21 12:15:12 -0800 | [diff] [blame] | 4 | @Deprecated @androidx.compose.runtime.Stable public final class AnimatedFloatModel extends androidx.compose.animation.core.AnimatedFloat { |
| 5 | ctor @Deprecated public AnimatedFloatModel(float initialValue, androidx.compose.animation.core.AnimationClockObservable clock, float visibilityThreshold); |
| 6 | method @Deprecated public Float! getValue(); |
| 7 | method @Deprecated protected void setValue(float p); |
Doris Liu | d545351 | 2020-04-22 12:16:52 -0700 | [diff] [blame] | 8 | property public Float! value; |
Doris Liu | 4f2672a | 2020-01-23 14:30:20 -0800 | [diff] [blame] | 9 | } |
| 10 | |
George Mount | ed0cc4f | 2019-09-05 14:40:06 -0700 | [diff] [blame] | 11 | public final class AnimatedValueEffectsKt { |
Doris Liu | 082882b | 2021-01-21 12:15:12 -0800 | [diff] [blame] | 12 | method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.animation.core.AnimatedValue<androidx.compose.ui.graphics.Color,androidx.compose.animation.core.AnimationVector4D> animatedColor-IQsfJ5c(long initVal, optional androidx.compose.animation.core.AnimationClockObservable clock); |
| 13 | method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.animation.core.AnimatedFloat animatedFloat(float initVal, optional float visibilityThreshold, optional androidx.compose.animation.core.AnimationClockObservable clock); |
| 14 | method @Deprecated @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.AnimatedValue<T,V> animatedValue(T? initVal, androidx.compose.animation.core.TwoWayConverter<T,V> converter, optional T? visibilityThreshold, optional androidx.compose.animation.core.AnimationClockObservable clock); |
George Mount | ed0cc4f | 2019-09-05 14:40:06 -0700 | [diff] [blame] | 15 | } |
| 16 | |
Doris Liu | 082882b | 2021-01-21 12:15:12 -0800 | [diff] [blame] | 17 | @Deprecated @androidx.compose.runtime.Stable public final class AnimatedValueModel<T, V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.AnimatedValue<T,V> { |
| 18 | ctor @Deprecated public AnimatedValueModel(T? initialValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, androidx.compose.animation.core.AnimationClockObservable clock, T? visibilityThreshold); |
| 19 | method @Deprecated public T! getValue(); |
| 20 | method @Deprecated protected void setValue(T! p); |
Doris Liu | d545351 | 2020-04-22 12:16:52 -0700 | [diff] [blame] | 21 | property public T! value; |
Doris Liu | 4f2672a | 2020-01-23 14:30:20 -0800 | [diff] [blame] | 22 | } |
| 23 | |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 24 | public final class AnimatedVisibilityKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 25 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Composable public static void AnimatedVisibility(boolean visible, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.animation.EnterTransition enter, optional androidx.compose.animation.ExitTransition exit, optional boolean initiallyVisible, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
| 26 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Composable public static void AnimatedVisibility(androidx.compose.foundation.layout.RowScope, boolean visible, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.animation.EnterTransition enter, optional androidx.compose.animation.ExitTransition exit, optional boolean initiallyVisible, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
| 27 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Composable public static void AnimatedVisibility(androidx.compose.foundation.layout.ColumnScope, boolean visible, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.animation.EnterTransition enter, optional androidx.compose.animation.ExitTransition exit, optional boolean initiallyVisible, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 28 | } |
| 29 | |
Doris Liu | 881decd | 2020-06-23 15:12:40 -0700 | [diff] [blame] | 30 | public final class AnimationModifierKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 31 | method public static androidx.compose.ui.Modifier animateContentSize(androidx.compose.ui.Modifier, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip, optional kotlin.jvm.functions.Function2<? super androidx.compose.ui.unit.IntSize,? super androidx.compose.ui.unit.IntSize,kotlin.Unit>? endListener); |
Doris Liu | 881decd | 2020-06-23 15:12:40 -0700 | [diff] [blame] | 32 | } |
| 33 | |
Doris Liu | 782fd20 | 2021-01-22 13:51:19 -0800 | [diff] [blame^] | 34 | public final class ColorVectorConverterKt { |
| 35 | method public static kotlin.jvm.functions.Function1<androidx.compose.ui.graphics.colorspace.ColorSpace,androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.graphics.Color,androidx.compose.animation.core.AnimationVector4D>> getVectorConverter(androidx.compose.ui.graphics.Color.Companion); |
Doris Liu | ad59280 | 2019-10-04 16:43:31 -0700 | [diff] [blame] | 36 | } |
| 37 | |
Andrey Kulikov | 2a7d1ce | 2019-10-08 18:06:41 +0100 | [diff] [blame] | 38 | public final class CrossfadeKt { |
Louis Pullen-Freilich | dc68dd50 | 2020-11-13 02:10:48 +0000 | [diff] [blame] | 39 | method @androidx.compose.runtime.Composable public static <T> void Crossfade(T? current, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animation, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> content); |
Andrey Kulikov | 2a7d1ce | 2019-10-08 18:06:41 +0100 | [diff] [blame] | 40 | } |
| 41 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 42 | public final class DisposableAnimationClock implements androidx.compose.animation.core.AnimationClockObservable { |
| 43 | ctor public DisposableAnimationClock(androidx.compose.animation.core.AnimationClockObservable clock); |
Adam Powell | 666ae66 | 2020-02-25 12:50:24 -0800 | [diff] [blame] | 44 | method public void dispose(); |
| 45 | method public boolean isDisposed(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 46 | method public void subscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
| 47 | method public void unsubscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
Adam Powell | 666ae66 | 2020-02-25 12:50:24 -0800 | [diff] [blame] | 48 | property public final boolean isDisposed; |
| 49 | } |
| 50 | |
| 51 | public final class DisposableAnimationClockKt { |
Louis Pullen-Freilich | 1f10a59 | 2020-07-24 16:35:14 +0100 | [diff] [blame] | 52 | method @androidx.compose.runtime.Composable public static androidx.compose.animation.DisposableAnimationClock asDisposableClock(androidx.compose.animation.core.AnimationClockObservable); |
Adam Powell | 666ae66 | 2020-02-25 12:50:24 -0800 | [diff] [blame] | 53 | } |
| 54 | |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 55 | public final class EnterExitTransitionKt { |
Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 56 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition expandHorizontally(optional androidx.compose.ui.Alignment.Horizontal expandFrom, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> initialWidth, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 57 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition expandIn(optional androidx.compose.ui.Alignment expandFrom, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,androidx.compose.ui.unit.IntSize> initialSize, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 58 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition expandVertically(optional androidx.compose.ui.Alignment.Vertical expandFrom, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> initialHeight, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 59 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition fadeIn(optional float initialAlpha, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animSpec); |
| 60 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition fadeOut(optional float targetAlpha, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animSpec); |
| 61 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition shrinkHorizontally(optional androidx.compose.ui.Alignment.Horizontal shrinkTowards, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> targetWidth, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 62 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition shrinkOut(optional androidx.compose.ui.Alignment shrinkTowards, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,androidx.compose.ui.unit.IntSize> targetSize, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 63 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition shrinkVertically(optional androidx.compose.ui.Alignment.Vertical shrinkTowards, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> targetHeight, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional boolean clip); |
| 64 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition slideIn(kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,androidx.compose.ui.unit.IntOffset> initialOffset, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
| 65 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition slideInHorizontally(optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> initialOffsetX, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
| 66 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.EnterTransition slideInVertically(optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> initialOffsetY, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
| 67 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition slideOut(kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,androidx.compose.ui.unit.IntOffset> targetOffset, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
| 68 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition slideOutHorizontally(optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> targetOffsetX, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
| 69 | method @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Stable public static androidx.compose.animation.ExitTransition slideOutVertically(optional kotlin.jvm.functions.Function1<? super java.lang.Integer,java.lang.Integer> targetOffsetY, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec); |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 70 | } |
| 71 | |
| 72 | @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Immutable public abstract sealed class EnterTransition { |
Doris Liu | 833a32d | 2020-08-10 22:48:59 -0700 | [diff] [blame] | 73 | method @androidx.compose.runtime.Stable public final operator androidx.compose.animation.EnterTransition plus(androidx.compose.animation.EnterTransition enter); |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 74 | } |
| 75 | |
| 76 | @androidx.compose.animation.ExperimentalAnimationApi @androidx.compose.runtime.Immutable public abstract sealed class ExitTransition { |
Doris Liu | 833a32d | 2020-08-10 22:48:59 -0700 | [diff] [blame] | 77 | method @androidx.compose.runtime.Stable public final operator androidx.compose.animation.ExitTransition plus(androidx.compose.animation.ExitTransition exit); |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 78 | } |
| 79 | |
Aurimas Liutikas | 6ac8c64 | 2020-09-29 13:48:32 -0700 | [diff] [blame] | 80 | @kotlin.RequiresOptIn(message="This is an experimental animation API.") @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ExperimentalAnimationApi { |
Doris Liu | 9e05c58 | 2020-07-22 18:14:26 -0700 | [diff] [blame] | 81 | } |
| 82 | |
Doris Liu | 4f2672a | 2020-01-23 14:30:20 -0800 | [diff] [blame] | 83 | public final class SingleValueAnimationKt { |
Jelle Fresen | b40ab8e | 2020-09-08 14:18:41 +0100 | [diff] [blame] | 84 | method public static androidx.compose.animation.core.Animatable<androidx.compose.ui.graphics.Color,androidx.compose.animation.core.AnimationVector4D> Animatable-8_81llA(long initialValue); |
Doris Liu | 05c20be | 2020-12-15 22:36:45 -0800 | [diff] [blame] | 85 | method @Deprecated @androidx.compose.runtime.Composable public static float animate(float target, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animSpec, optional float visibilityThreshold, optional kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit>? endListener); |
| 86 | method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.ui.unit.Bounds animate(androidx.compose.ui.unit.Bounds target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.Bounds> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Bounds,kotlin.Unit>? endListener); |
| 87 | method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.ui.geometry.Rect animate(androidx.compose.ui.geometry.Rect target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Rect> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Rect,kotlin.Unit>? endListener); |
| 88 | method @Deprecated @androidx.compose.runtime.Composable public static int animate(int target, optional androidx.compose.animation.core.AnimationSpec<java.lang.Integer> animSpec, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit>? endListener); |
Doris Liu | 05c20be | 2020-12-15 22:36:45 -0800 | [diff] [blame] | 89 | method @Deprecated @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> T! animate(T? target, androidx.compose.animation.core.TwoWayConverter<T,V> converter, optional androidx.compose.animation.core.AnimationSpec<T> animSpec, optional T? visibilityThreshold, optional kotlin.jvm.functions.Function1<? super T,kotlin.Unit>? endListener); |
| 90 | method @Deprecated @androidx.compose.runtime.Composable public static long animate-2AXSKHY(long target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntOffset,kotlin.Unit>? endListener); |
Doris Liu | 05c20be | 2020-12-15 22:36:45 -0800 | [diff] [blame] | 91 | method @Deprecated @androidx.compose.runtime.Composable public static long animate-Cmzki-s(long target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,kotlin.Unit>? endListener); |
| 92 | method @Deprecated @androidx.compose.runtime.Composable public static float animate-Lz7ev7o(float target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.Dp> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Dp,kotlin.Unit>? endListener); |
| 93 | method @Deprecated @androidx.compose.runtime.Composable public static long animate-m3E411Q(long target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.graphics.Color> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.Color,kotlin.Unit>? endListener); |
| 94 | method @Deprecated @androidx.compose.runtime.Composable public static long animate-rlPqr8Y(long target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Size> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Size,kotlin.Unit>? endListener); |
| 95 | method @Deprecated @androidx.compose.runtime.Composable public static long animate-t81mtYE(long target, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> animSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? endListener); |
Doris Liu | 1ad57c4 | 2021-01-17 23:17:48 -0800 | [diff] [blame] | 96 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> animateColorAsState-m3E411Q(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.graphics.Color> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.Color,kotlin.Unit>? finishedListener); |
Doris Liu | 4f2672a | 2020-01-23 14:30:20 -0800 | [diff] [blame] | 97 | } |
| 98 | |
George Mount | ed0cc4f | 2019-09-05 14:40:06 -0700 | [diff] [blame] | 99 | public final class TransitionKt { |
Doris Liu | c3bdae5 | 2021-01-04 19:49:55 -0800 | [diff] [blame] | 100 | method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> animateColor(androidx.compose.animation.core.Transition<S>, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Transition.Segment<S>,? extends androidx.compose.animation.core.FiniteAnimationSpec<androidx.compose.ui.graphics.Color>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.graphics.Color> targetValueByState); |
Doris Liu | cf4f007 | 2021-01-09 13:02:45 -0800 | [diff] [blame] | 101 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.graphics.Color> animateColor-Baa6hxQ(androidx.compose.animation.core.InfiniteTransition, long initialValue, long targetValue, androidx.compose.animation.core.InfiniteRepeatableSpec<androidx.compose.ui.graphics.Color> animationSpec); |
George Mount | ed0cc4f | 2019-09-05 14:40:06 -0700 | [diff] [blame] | 102 | } |
| 103 | |
| 104 | } |
| 105 | |