1// Signature format: 4.0 2package androidx.compose.animation.core { 3 4 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 5 ctor @Deprecated public Animatable(T? initialValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional T? visibilityThreshold); 6 ctor public Animatable(T? initialValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional T? visibilityThreshold, optional String label); 7 method public suspend Object? animateDecay(T? initialVelocity, androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Animatable<T,V>,kotlin.Unit>? block, optional kotlin.coroutines.Continuation<? super androidx.compose.animation.core.AnimationResult<T,V>>); 8 method public suspend Object? animateTo(T? targetValue, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional T? initialVelocity, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Animatable<T,V>,kotlin.Unit>? block, optional kotlin.coroutines.Continuation<? super androidx.compose.animation.core.AnimationResult<T,V>>); 9 method public androidx.compose.runtime.State<T> asState(); 10 method public String getLabel(); 11 method public T? getLowerBound(); 12 method public T! getTargetValue(); 13 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 14 method public T? getUpperBound(); 15 method public T! getValue(); 16 method public T! getVelocity(); 17 method public V getVelocityVector(); 18 method public boolean isRunning(); 19 method public suspend Object? snapTo(T? targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit>); 20 method public suspend Object? stop(kotlin.coroutines.Continuation<? super kotlin.Unit>); 21 method public void updateBounds(optional T? lowerBound, optional T? upperBound); 22 property public final boolean isRunning; 23 property public final String label; 24 property public final T? lowerBound; 25 property public final T! targetValue; 26 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 27 property public final T? upperBound; 28 property public final T! value; 29 property public final T! velocity; 30 property public final V velocityVector; 31 } 32 33 public final class AnimatableKt { 34 method public static androidx.compose.animation.core.Animatable<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> Animatable(float initialValue, optional float visibilityThreshold); 35 } 36 37 public final class AnimateAsStateKt { 38 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.Dp> animateDpAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.Dp> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Dp,kotlin.Unit>? finishedListener); 39 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.unit.Dp> animateDpAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.Dp> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Dp,? extends kotlin.Unit>? finishedListener); 40 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Float> animateFloatAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional float visibilityThreshold, optional String label, optional kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit>? finishedListener); 41 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends java.lang.Float> animateFloatAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional float visibilityThreshold, optional kotlin.jvm.functions.Function1<? super java.lang.Float,? extends kotlin.Unit>? finishedListener); 42 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Integer> animateIntAsState(int targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Integer> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit>? finishedListener); 43 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends java.lang.Integer> animateIntAsState(int targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Integer> animationSpec, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends kotlin.Unit>? finishedListener); 44 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.IntOffset> animateIntOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntOffset,kotlin.Unit>? finishedListener); 45 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.unit.IntOffset> animateIntOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntOffset,? extends kotlin.Unit>? finishedListener); 46 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.IntSize> animateIntSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,kotlin.Unit>? finishedListener); 47 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.unit.IntSize> animateIntSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,? extends kotlin.Unit>? finishedListener); 48 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Offset> animateOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? finishedListener); 49 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.geometry.Offset> animateOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,? extends kotlin.Unit>? finishedListener); 50 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Rect> animateRectAsState(androidx.compose.ui.geometry.Rect targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Rect> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Rect,kotlin.Unit>? finishedListener); 51 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.geometry.Rect> animateRectAsState(androidx.compose.ui.geometry.Rect targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Rect> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Rect,? extends kotlin.Unit>? finishedListener); 52 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Size> animateSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Size> animationSpec, optional String label, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Size,kotlin.Unit>? finishedListener); 53 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends androidx.compose.ui.geometry.Size> animateSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Size> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Size,? extends kotlin.Unit>? finishedListener); 54 method @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<T> animateValueAsState(T? targetValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional T? visibilityThreshold, optional String label, optional kotlin.jvm.functions.Function1<? super T,kotlin.Unit>? finishedListener); 55 method @Deprecated @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<? extends T> animateValueAsState(T? targetValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional T? visibilityThreshold, optional kotlin.jvm.functions.Function1<? super T,? extends kotlin.Unit>? finishedListener); 56 } 57 58 @kotlin.jvm.JvmDefaultWithCompatibility public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 59 method public long getDurationNanos(); 60 method public T! getTargetValue(); 61 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 62 method public T! getValueFromNanos(long playTimeNanos); 63 method public V getVelocityVectorFromNanos(long playTimeNanos); 64 method public default boolean isFinishedFromNanos(long playTimeNanos); 65 method public boolean isInfinite(); 66 property public abstract long durationNanos; 67 property public abstract boolean isInfinite; 68 property public abstract T! targetValue; 69 property public abstract androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 70 } 71 72 public final class AnimationConstants { 73 field public static final int DefaultDurationMillis = 300; // 0x12c 74 field public static final androidx.compose.animation.core.AnimationConstants INSTANCE; 75 field public static final long UnspecifiedTime = -9223372036854775808L; // 0x8000000000000000L 76 } 77 78 public enum AnimationEndReason { 79 enum_constant public static final androidx.compose.animation.core.AnimationEndReason BoundReached; 80 enum_constant public static final androidx.compose.animation.core.AnimationEndReason Finished; 81 } 82 83 public final class AnimationKt { 84 method public static androidx.compose.animation.core.DecayAnimation<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> DecayAnimation(androidx.compose.animation.core.FloatDecayAnimationSpec animationSpec, float initialValue, optional float initialVelocity); 85 method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.TargetBasedAnimation<T,V> TargetBasedAnimation(androidx.compose.animation.core.AnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? targetValue, T? initialVelocity); 86 method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocityFromNanos(androidx.compose.animation.core.Animation<T,V>, long playTimeNanos); 87 } 88 89 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 90 ctor public AnimationResult(androidx.compose.animation.core.AnimationState<T,V> endState, androidx.compose.animation.core.AnimationEndReason endReason); 91 method public androidx.compose.animation.core.AnimationEndReason getEndReason(); 92 method public androidx.compose.animation.core.AnimationState<T,V> getEndState(); 93 property public final androidx.compose.animation.core.AnimationEndReason endReason; 94 property public final androidx.compose.animation.core.AnimationState<T,V> endState; 95 } 96 97 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 98 method public void cancelAnimation(); 99 method public long getFinishedTimeNanos(); 100 method public long getLastFrameTimeNanos(); 101 method public long getStartTimeNanos(); 102 method public T! getTargetValue(); 103 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 104 method public T! getValue(); 105 method public T! getVelocity(); 106 method public V getVelocityVector(); 107 method public boolean isRunning(); 108 method public androidx.compose.animation.core.AnimationState<T,V> toAnimationState(); 109 property public final long finishedTimeNanos; 110 property public final boolean isRunning; 111 property public final long lastFrameTimeNanos; 112 property public final long startTimeNanos; 113 property public final T! targetValue; 114 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 115 property public final T! value; 116 property public final T! velocity; 117 property public final V velocityVector; 118 } 119 120 public interface AnimationSpec<T> { 121 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 122 } 123 124 public final class AnimationSpecKt { 125 method @Deprecated @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.InfiniteRepeatableSpec<T>! infiniteRepeatable(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 126 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.InfiniteRepeatableSpec<T> infiniteRepeatable(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 127 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.KeyframesSpec<T> keyframes(kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T>,kotlin.Unit> init); 128 method @Deprecated @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.RepeatableSpec<T>! repeatable(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 129 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.RepeatableSpec<T> repeatable(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 130 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SnapSpec<T> snap(optional int delayMillis); 131 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SpringSpec<T> spring(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); 132 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.TweenSpec<T> tween(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 133 } 134 135 public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 136 ctor public AnimationState(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, optional V? initialVelocityVector, optional long lastFrameTimeNanos, optional long finishedTimeNanos, optional boolean isRunning); 137 method public long getFinishedTimeNanos(); 138 method public long getLastFrameTimeNanos(); 139 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 140 method public T! getValue(); 141 method public T! getVelocity(); 142 method public V getVelocityVector(); 143 method public boolean isRunning(); 144 property public final long finishedTimeNanos; 145 property public final boolean isRunning; 146 property public final long lastFrameTimeNanos; 147 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 148 property public T! value; 149 property public final T! velocity; 150 property public final V velocityVector; 151 } 152 153 public final class AnimationStateKt { 154 method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.AnimationState<T,V> AnimationState(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? initialVelocity, optional long lastFrameTimeNanos, optional long finishedTimeNanos, optional boolean isRunning); 155 method public static androidx.compose.animation.core.AnimationState<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> AnimationState(float initialValue, optional float initialVelocity, optional long lastFrameTimeNanos, optional long finishedTimeNanos, optional boolean isRunning); 156 method public static androidx.compose.animation.core.AnimationState<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> copy(androidx.compose.animation.core.AnimationState<java.lang.Float,androidx.compose.animation.core.AnimationVector1D>, optional float value, optional float velocity, optional long lastFrameTimeNanos, optional long finishedTimeNanos, optional boolean isRunning); 157 method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.AnimationState<T,V> copy(androidx.compose.animation.core.AnimationState<T,V>, optional T? value, optional V? velocityVector, optional long lastFrameTimeNanos, optional long finishedTimeNanos, optional boolean isRunning); 158 method public static <T, V extends androidx.compose.animation.core.AnimationVector> V createZeroVectorFrom(androidx.compose.animation.core.TwoWayConverter<T,V>, T? value); 159 method public static boolean isFinished(androidx.compose.animation.core.AnimationState<?,?>); 160 } 161 162 public abstract sealed class AnimationVector { 163 } 164 165 public final class AnimationVector1D extends androidx.compose.animation.core.AnimationVector { 166 ctor public AnimationVector1D(float initVal); 167 method public float getValue(); 168 property public final float value; 169 } 170 171 public final class AnimationVector2D extends androidx.compose.animation.core.AnimationVector { 172 ctor public AnimationVector2D(float v1, float v2); 173 method public float getV1(); 174 method public float getV2(); 175 property public final float v1; 176 property public final float v2; 177 } 178 179 public final class AnimationVector3D extends androidx.compose.animation.core.AnimationVector { 180 ctor public AnimationVector3D(float v1, float v2, float v3); 181 method public float getV1(); 182 method public float getV2(); 183 method public float getV3(); 184 property public final float v1; 185 property public final float v2; 186 property public final float v3; 187 } 188 189 public final class AnimationVector4D extends androidx.compose.animation.core.AnimationVector { 190 ctor public AnimationVector4D(float v1, float v2, float v3, float v4); 191 method public float getV1(); 192 method public float getV2(); 193 method public float getV3(); 194 method public float getV4(); 195 property public final float v1; 196 property public final float v2; 197 property public final float v3; 198 property public final float v4; 199 } 200 201 public final class AnimationVectorsKt { 202 method public static androidx.compose.animation.core.AnimationVector1D AnimationVector(float v1); 203 method public static androidx.compose.animation.core.AnimationVector2D AnimationVector(float v1, float v2); 204 method public static androidx.compose.animation.core.AnimationVector3D AnimationVector(float v1, float v2, float v3); 205 method public static androidx.compose.animation.core.AnimationVector4D AnimationVector(float v1, float v2, float v3, float v4); 206 } 207 208 @androidx.compose.runtime.Immutable public final class CubicBezierEasing implements androidx.compose.animation.core.Easing { 209 ctor public CubicBezierEasing(float a, float b, float c, float d); 210 method public float transform(float fraction); 211 } 212 213 public final class DecayAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { 214 ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? initialVelocity); 215 ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, V initialVelocityVector); 216 ctor public DecayAnimation(androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, V initialVelocityVector); 217 method public long getDurationNanos(); 218 method public T! getInitialValue(); 219 method public V getInitialVelocityVector(); 220 method public T! getTargetValue(); 221 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 222 method public T! getValueFromNanos(long playTimeNanos); 223 method public V getVelocityVectorFromNanos(long playTimeNanos); 224 method public boolean isInfinite(); 225 property public long durationNanos; 226 property public final T! initialValue; 227 property public final V initialVelocityVector; 228 property public boolean isInfinite; 229 property public T! targetValue; 230 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 231 } 232 233 public interface DecayAnimationSpec<T> { 234 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter); 235 } 236 237 public final class DecayAnimationSpecKt { 238 method public static float calculateTargetValue(androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float>, float initialValue, float initialVelocity); 239 method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! calculateTargetValue(androidx.compose.animation.core.DecayAnimationSpec<T>, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? initialVelocity); 240 method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> exponentialDecay(optional float frictionMultiplier, optional float absVelocityThreshold); 241 method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> generateDecayAnimationSpec(androidx.compose.animation.core.FloatDecayAnimationSpec); 242 } 243 244 public interface DurationBasedAnimationSpec<T> extends androidx.compose.animation.core.FiniteAnimationSpec<T> { 245 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 246 } 247 248 @androidx.compose.runtime.Stable public fun interface Easing { 249 method public float transform(float fraction); 250 } 251 252 public final class EasingFunctionsKt { 253 method public static androidx.compose.animation.core.Easing getEase(); 254 method public static androidx.compose.animation.core.Easing getEaseIn(); 255 method public static androidx.compose.animation.core.Easing getEaseInBack(); 256 method public static androidx.compose.animation.core.Easing getEaseInBounce(); 257 method public static androidx.compose.animation.core.Easing getEaseInCirc(); 258 method public static androidx.compose.animation.core.Easing getEaseInCubic(); 259 method public static androidx.compose.animation.core.Easing getEaseInElastic(); 260 method public static androidx.compose.animation.core.Easing getEaseInExpo(); 261 method public static androidx.compose.animation.core.Easing getEaseInOut(); 262 method public static androidx.compose.animation.core.Easing getEaseInOutBack(); 263 method public static androidx.compose.animation.core.Easing getEaseInOutBounce(); 264 method public static androidx.compose.animation.core.Easing getEaseInOutCirc(); 265 method public static androidx.compose.animation.core.Easing getEaseInOutCubic(); 266 method public static androidx.compose.animation.core.Easing getEaseInOutElastic(); 267 method public static androidx.compose.animation.core.Easing getEaseInOutExpo(); 268 method public static androidx.compose.animation.core.Easing getEaseInOutQuad(); 269 method public static androidx.compose.animation.core.Easing getEaseInOutQuart(); 270 method public static androidx.compose.animation.core.Easing getEaseInOutQuint(); 271 method public static androidx.compose.animation.core.Easing getEaseInOutSine(); 272 method public static androidx.compose.animation.core.Easing getEaseInQuad(); 273 method public static androidx.compose.animation.core.Easing getEaseInQuart(); 274 method public static androidx.compose.animation.core.Easing getEaseInQuint(); 275 method public static androidx.compose.animation.core.Easing getEaseInSine(); 276 method public static androidx.compose.animation.core.Easing getEaseOut(); 277 method public static androidx.compose.animation.core.Easing getEaseOutBack(); 278 method public static androidx.compose.animation.core.Easing getEaseOutBounce(); 279 method public static androidx.compose.animation.core.Easing getEaseOutCirc(); 280 method public static androidx.compose.animation.core.Easing getEaseOutCubic(); 281 method public static androidx.compose.animation.core.Easing getEaseOutElastic(); 282 method public static androidx.compose.animation.core.Easing getEaseOutExpo(); 283 method public static androidx.compose.animation.core.Easing getEaseOutQuad(); 284 method public static androidx.compose.animation.core.Easing getEaseOutQuart(); 285 method public static androidx.compose.animation.core.Easing getEaseOutQuint(); 286 method public static androidx.compose.animation.core.Easing getEaseOutSine(); 287 property public static final androidx.compose.animation.core.Easing Ease; 288 property public static final androidx.compose.animation.core.Easing EaseIn; 289 property public static final androidx.compose.animation.core.Easing EaseInBack; 290 property public static final androidx.compose.animation.core.Easing EaseInBounce; 291 property public static final androidx.compose.animation.core.Easing EaseInCirc; 292 property public static final androidx.compose.animation.core.Easing EaseInCubic; 293 property public static final androidx.compose.animation.core.Easing EaseInElastic; 294 property public static final androidx.compose.animation.core.Easing EaseInExpo; 295 property public static final androidx.compose.animation.core.Easing EaseInOut; 296 property public static final androidx.compose.animation.core.Easing EaseInOutBack; 297 property public static final androidx.compose.animation.core.Easing EaseInOutBounce; 298 property public static final androidx.compose.animation.core.Easing EaseInOutCirc; 299 property public static final androidx.compose.animation.core.Easing EaseInOutCubic; 300 property public static final androidx.compose.animation.core.Easing EaseInOutElastic; 301 property public static final androidx.compose.animation.core.Easing EaseInOutExpo; 302 property public static final androidx.compose.animation.core.Easing EaseInOutQuad; 303 property public static final androidx.compose.animation.core.Easing EaseInOutQuart; 304 property public static final androidx.compose.animation.core.Easing EaseInOutQuint; 305 property public static final androidx.compose.animation.core.Easing EaseInOutSine; 306 property public static final androidx.compose.animation.core.Easing EaseInQuad; 307 property public static final androidx.compose.animation.core.Easing EaseInQuart; 308 property public static final androidx.compose.animation.core.Easing EaseInQuint; 309 property public static final androidx.compose.animation.core.Easing EaseInSine; 310 property public static final androidx.compose.animation.core.Easing EaseOut; 311 property public static final androidx.compose.animation.core.Easing EaseOutBack; 312 property public static final androidx.compose.animation.core.Easing EaseOutBounce; 313 property public static final androidx.compose.animation.core.Easing EaseOutCirc; 314 property public static final androidx.compose.animation.core.Easing EaseOutCubic; 315 property public static final androidx.compose.animation.core.Easing EaseOutElastic; 316 property public static final androidx.compose.animation.core.Easing EaseOutExpo; 317 property public static final androidx.compose.animation.core.Easing EaseOutQuad; 318 property public static final androidx.compose.animation.core.Easing EaseOutQuart; 319 property public static final androidx.compose.animation.core.Easing EaseOutQuint; 320 property public static final androidx.compose.animation.core.Easing EaseOutSine; 321 } 322 323 public final class EasingKt { 324 method public static androidx.compose.animation.core.Easing getFastOutLinearInEasing(); 325 method public static androidx.compose.animation.core.Easing getFastOutSlowInEasing(); 326 method public static androidx.compose.animation.core.Easing getLinearEasing(); 327 method public static androidx.compose.animation.core.Easing getLinearOutSlowInEasing(); 328 property public static final androidx.compose.animation.core.Easing FastOutLinearInEasing; 329 property public static final androidx.compose.animation.core.Easing FastOutSlowInEasing; 330 property public static final androidx.compose.animation.core.Easing LinearEasing; 331 property public static final androidx.compose.animation.core.Easing LinearOutSlowInEasing; 332 } 333 334 public interface FiniteAnimationSpec<T> extends androidx.compose.animation.core.AnimationSpec<T> { 335 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 336 } 337 338 @kotlin.jvm.JvmDefaultWithCompatibility public interface FloatAnimationSpec extends androidx.compose.animation.core.AnimationSpec<java.lang.Float> { 339 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 340 method public default float getEndVelocity(float initialValue, float targetValue, float initialVelocity); 341 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 342 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 343 method public default <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFloatAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<java.lang.Float,V> converter); 344 } 345 346 public interface FloatDecayAnimationSpec { 347 method public float getAbsVelocityThreshold(); 348 method public long getDurationNanos(float initialValue, float initialVelocity); 349 method public float getTargetValue(float initialValue, float initialVelocity); 350 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 351 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 352 property public abstract float absVelocityThreshold; 353 } 354 355 public final class FloatExponentialDecaySpec implements androidx.compose.animation.core.FloatDecayAnimationSpec { 356 ctor public FloatExponentialDecaySpec(optional float frictionMultiplier, optional float absVelocityThreshold); 357 method public float getAbsVelocityThreshold(); 358 method public long getDurationNanos(float initialValue, float initialVelocity); 359 method public float getTargetValue(float initialValue, float initialVelocity); 360 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 361 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 362 property public float absVelocityThreshold; 363 } 364 365 public final class FloatSpringSpec implements androidx.compose.animation.core.FloatAnimationSpec { 366 ctor public FloatSpringSpec(optional float dampingRatio, optional float stiffness, optional float visibilityThreshold); 367 method public float getDampingRatio(); 368 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 369 method public float getStiffness(); 370 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 371 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 372 property public final float dampingRatio; 373 property public final float stiffness; 374 } 375 376 public final class FloatTweenSpec implements androidx.compose.animation.core.FloatAnimationSpec { 377 ctor public FloatTweenSpec(optional int duration, optional int delay, optional androidx.compose.animation.core.Easing easing); 378 method public int getDelay(); 379 method public int getDuration(); 380 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 381 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 382 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 383 property public final int delay; 384 property public final int duration; 385 } 386 387 public final class InfiniteAnimationPolicyKt { 388 method public static suspend inline <R> Object? withInfiniteAnimationFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 389 method public static suspend <R> Object? withInfiniteAnimationFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 390 } 391 392 public final class InfiniteRepeatableSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { 393 ctor @Deprecated public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 394 ctor public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 395 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 396 method public long getInitialStartOffset(); 397 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 398 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 399 property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 400 property public final long initialStartOffset; 401 property public final androidx.compose.animation.core.RepeatMode repeatMode; 402 } 403 404 public final class InfiniteTransition { 405 method public java.util.List<androidx.compose.animation.core.InfiniteTransition.TransitionAnimationState<?,?>> getAnimations(); 406 method public String getLabel(); 407 property public final java.util.List<androidx.compose.animation.core.InfiniteTransition.TransitionAnimationState<?,?>> animations; 408 property public final String label; 409 } 410 411 public final class InfiniteTransition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 412 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 413 method public androidx.compose.animation.core.AnimationSpec<T> getAnimationSpec(); 414 method public String getLabel(); 415 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 416 method public T! getValue(); 417 property public final androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 418 property public final androidx.compose.animation.core.AnimationSpec<T> animationSpec; 419 property public final String label; 420 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 421 property public T! value; 422 } 423 424 public final class InfiniteTransitionKt { 425 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<? extends java.lang.Float> animateFloat(androidx.compose.animation.core.InfiniteTransition, float initialValue, float targetValue, androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> animationSpec); 426 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Float> animateFloat(androidx.compose.animation.core.InfiniteTransition, float initialValue, float targetValue, androidx.compose.animation.core.InfiniteRepeatableSpec<java.lang.Float> animationSpec, optional String label); 427 method @Deprecated @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<? extends T> animateValue(androidx.compose.animation.core.InfiniteTransition, T? initialValue, T? targetValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, androidx.compose.animation.core.InfiniteRepeatableSpec<T> animationSpec); 428 method @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<T> animateValue(androidx.compose.animation.core.InfiniteTransition, T? initialValue, T? targetValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, androidx.compose.animation.core.InfiniteRepeatableSpec<T> animationSpec, optional String label); 429 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(); 430 method @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(optional String label); 431 } 432 433 @androidx.compose.runtime.Immutable public final class KeyframesSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 434 ctor public KeyframesSpec(androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config); 435 method public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> getConfig(); 436 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedKeyframesSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 437 property public final androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config; 438 } 439 440 public static final class KeyframesSpec.KeyframeEntity<T> { 441 } 442 443 public static final class KeyframesSpec.KeyframesSpecConfig<T> { 444 ctor public KeyframesSpec.KeyframesSpecConfig(); 445 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> at(T?, int timeStamp); 446 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> atFraction(T?, float fraction); 447 method public int getDelayMillis(); 448 method public int getDurationMillis(); 449 method public void setDelayMillis(int); 450 method public void setDurationMillis(int); 451 method public infix void with(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, androidx.compose.animation.core.Easing easing); 452 property public final int delayMillis; 453 property public final int durationMillis; 454 } 455 456 public final class MutableTransitionState<S> { 457 ctor public MutableTransitionState(S? initialState); 458 method public S! getCurrentState(); 459 method public S! getTargetState(); 460 method public boolean isIdle(); 461 method public void setTargetState(S!); 462 property public final S! currentState; 463 property public final boolean isIdle; 464 property public final S! targetState; 465 } 466 467 public enum RepeatMode { 468 enum_constant public static final androidx.compose.animation.core.RepeatMode Restart; 469 enum_constant public static final androidx.compose.animation.core.RepeatMode Reverse; 470 } 471 472 @androidx.compose.runtime.Immutable public final class RepeatableSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 473 ctor @Deprecated public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 474 ctor public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 475 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 476 method public long getInitialStartOffset(); 477 method public int getIterations(); 478 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 479 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 480 property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 481 property public final long initialStartOffset; 482 property public final int iterations; 483 property public final androidx.compose.animation.core.RepeatMode repeatMode; 484 } 485 486 @androidx.compose.runtime.Immutable public final class SnapSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 487 ctor public SnapSpec(optional int delay); 488 method public int getDelay(); 489 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 490 property public final int delay; 491 } 492 493 public final class Spring { 494 field public static final float DampingRatioHighBouncy = 0.2f; 495 field public static final float DampingRatioLowBouncy = 0.75f; 496 field public static final float DampingRatioMediumBouncy = 0.5f; 497 field public static final float DampingRatioNoBouncy = 1.0f; 498 field public static final float DefaultDisplacementThreshold = 0.01f; 499 field public static final androidx.compose.animation.core.Spring INSTANCE; 500 field public static final float StiffnessHigh = 10000.0f; 501 field public static final float StiffnessLow = 200.0f; 502 field public static final float StiffnessMedium = 1500.0f; 503 field public static final float StiffnessMediumLow = 400.0f; 504 field public static final float StiffnessVeryLow = 50.0f; 505 } 506 507 public final class SpringEstimationKt { 508 } 509 510 @androidx.compose.runtime.Immutable public final class SpringSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 511 ctor public SpringSpec(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); 512 method public float getDampingRatio(); 513 method public float getStiffness(); 514 method public T? getVisibilityThreshold(); 515 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedSpringSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 516 property public final float dampingRatio; 517 property public final float stiffness; 518 property public final T? visibilityThreshold; 519 } 520 521 @kotlin.jvm.JvmInline public final value class StartOffset { 522 ctor public StartOffset(int offsetMillis, optional int offsetType); 523 method public int getOffsetMillis(); 524 method public int getOffsetType(); 525 property public final int offsetMillis; 526 property public final int offsetType; 527 } 528 529 @kotlin.jvm.JvmInline public final value class StartOffsetType { 530 field public static final androidx.compose.animation.core.StartOffsetType.Companion Companion; 531 } 532 533 public static final class StartOffsetType.Companion { 534 method public int getDelay(); 535 method public int getFastForward(); 536 property public final int Delay; 537 property public final int FastForward; 538 } 539 540 public final class SuspendAnimationKt { 541 method public static suspend <T, V extends androidx.compose.animation.core.AnimationVector> Object? animate(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? targetValue, optional T? initialVelocity, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, kotlin.jvm.functions.Function2<? super T,? super T,kotlin.Unit> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 542 method public static suspend Object? animate(float initialValue, float targetValue, optional float initialVelocity, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, kotlin.jvm.functions.Function2<? super java.lang.Float,? super java.lang.Float,kotlin.Unit> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 543 method public static suspend <T, V extends androidx.compose.animation.core.AnimationVector> Object? animateDecay(androidx.compose.animation.core.AnimationState<T,V>, androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, optional boolean sequentialAnimation, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.AnimationScope<T,V>,kotlin.Unit> block, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 544 method public static suspend Object? animateDecay(float initialValue, float initialVelocity, androidx.compose.animation.core.FloatDecayAnimationSpec animationSpec, kotlin.jvm.functions.Function2<? super java.lang.Float,? super java.lang.Float,kotlin.Unit> block, kotlin.coroutines.Continuation<? super kotlin.Unit>); 545 method public static suspend <T, V extends androidx.compose.animation.core.AnimationVector> Object? animateTo(androidx.compose.animation.core.AnimationState<T,V>, T? targetValue, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional boolean sequentialAnimation, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.AnimationScope<T,V>,kotlin.Unit> block, optional kotlin.coroutines.Continuation<? super kotlin.Unit>); 546 } 547 548 public final class TargetBasedAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { 549 ctor public TargetBasedAnimation(androidx.compose.animation.core.AnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? targetValue, optional V? initialVelocityVector); 550 method public long getDurationNanos(); 551 method public T! getInitialValue(); 552 method public T! getTargetValue(); 553 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 554 method public T! getValueFromNanos(long playTimeNanos); 555 method public V getVelocityVectorFromNanos(long playTimeNanos); 556 method public boolean isInfinite(); 557 property public long durationNanos; 558 property public final T! initialValue; 559 property public boolean isInfinite; 560 property public T! targetValue; 561 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 562 } 563 564 @androidx.compose.runtime.Stable public final class Transition<S> { 565 ctor @kotlin.PublishedApi internal Transition(androidx.compose.animation.core.MutableTransitionState<S> transitionState, optional String? label); 566 method public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<?,?>> getAnimations(); 567 method public S! getCurrentState(); 568 method public String? getLabel(); 569 method public androidx.compose.animation.core.Transition.Segment<S> getSegment(); 570 method public S! getTargetState(); 571 method public long getTotalDurationNanos(); 572 method public java.util.List<androidx.compose.animation.core.Transition<?>> getTransitions(); 573 method public boolean isRunning(); 574 property public final java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<?,?>> animations; 575 property public final S! currentState; 576 property public final boolean isRunning; 577 property public final String? label; 578 property public final androidx.compose.animation.core.Transition.Segment<S> segment; 579 property public final S! targetState; 580 property public final long totalDurationNanos; 581 property public final java.util.List<androidx.compose.animation.core.Transition<?>> transitions; 582 } 583 584 @kotlin.jvm.JvmDefaultWithCompatibility public static interface Transition.Segment<S> { 585 method public S! getInitialState(); 586 method public S! getTargetState(); 587 method public default infix boolean isTransitioningTo(S?, S? targetState); 588 property public abstract S! initialState; 589 property public abstract S! targetState; 590 } 591 592 @androidx.compose.runtime.Stable public final class Transition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 593 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 594 method public androidx.compose.animation.core.FiniteAnimationSpec<T> getAnimationSpec(); 595 method public String getLabel(); 596 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 597 method public T! getValue(); 598 property public final androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 599 property public final androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec; 600 property public final String label; 601 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 602 property public T! value; 603 } 604 605 public final class TransitionKt { 606 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.unit.Dp> animateDp(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.unit.Dp>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.unit.Dp> targetValueByState); 607 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<java.lang.Float> animateFloat(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<java.lang.Float>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,java.lang.Float> targetValueByState); 608 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<java.lang.Integer> animateInt(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<java.lang.Integer>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,java.lang.Integer> targetValueByState); 609 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.unit.IntOffset> animateIntOffset(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.unit.IntOffset>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.unit.IntOffset> targetValueByState); 610 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.unit.IntSize> animateIntSize(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.unit.IntSize>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.unit.IntSize> targetValueByState); 611 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.geometry.Offset> animateOffset(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.geometry.Offset>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.geometry.Offset> targetValueByState); 612 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.geometry.Rect> animateRect(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.geometry.Rect>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.geometry.Rect> targetValueByState); 613 method @androidx.compose.runtime.Composable public static inline <S> androidx.compose.runtime.State<androidx.compose.ui.geometry.Size> animateSize(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.geometry.Size>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,androidx.compose.ui.geometry.Size> targetValueByState); 614 method @androidx.compose.runtime.Composable public static inline <S, T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<T> animateValue(androidx.compose.animation.core.Transition<S>, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Transition.Segment<S>,? extends androidx.compose.animation.core.FiniteAnimationSpec<T>> transitionSpec, optional String label, kotlin.jvm.functions.Function1<? super S,? extends T> targetValueByState); 615 method @androidx.compose.runtime.Composable @kotlin.PublishedApi internal static <S, T> androidx.compose.animation.core.Transition<T> createChildTransitionInternal(androidx.compose.animation.core.Transition<S>, T? initialState, T? targetState, String childLabel); 616 method @androidx.compose.runtime.Composable @kotlin.PublishedApi internal static <S, T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<T> createTransitionAnimation(androidx.compose.animation.core.Transition<S>, T? initialValue, T? targetValue, androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, String label); 617 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(androidx.compose.animation.core.MutableTransitionState<T> transitionState, optional String? label); 618 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(T? targetState, optional String? label); 619 } 620 621 @androidx.compose.runtime.Immutable public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 622 ctor public TweenSpec(optional int durationMillis, optional int delay, optional androidx.compose.animation.core.Easing easing); 623 method public int getDelay(); 624 method public int getDurationMillis(); 625 method public androidx.compose.animation.core.Easing getEasing(); 626 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 627 property public final int delay; 628 property public final int durationMillis; 629 property public final androidx.compose.animation.core.Easing easing; 630 } 631 632 public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { 633 method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); 634 method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); 635 property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; 636 property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; 637 } 638 639 public final class VectorConvertersKt { 640 method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.TwoWayConverter<T,V> TwoWayConverter(kotlin.jvm.functions.Function1<? super T,? extends V> convertToVector, kotlin.jvm.functions.Function1<? super V,? extends T> convertFromVector); 641 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Offset,androidx.compose.animation.core.AnimationVector2D> getVectorConverter(androidx.compose.ui.geometry.Offset.Companion); 642 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Rect,androidx.compose.animation.core.AnimationVector4D> getVectorConverter(androidx.compose.ui.geometry.Rect.Companion); 643 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Size,androidx.compose.animation.core.AnimationVector2D> getVectorConverter(androidx.compose.ui.geometry.Size.Companion); 644 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.Dp,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(androidx.compose.ui.unit.Dp.Companion); 645 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.DpOffset,androidx.compose.animation.core.AnimationVector2D> getVectorConverter(androidx.compose.ui.unit.DpOffset.Companion); 646 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.IntOffset,androidx.compose.animation.core.AnimationVector2D> getVectorConverter(androidx.compose.ui.unit.IntOffset.Companion); 647 method public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.IntSize,androidx.compose.animation.core.AnimationVector2D> getVectorConverter(androidx.compose.ui.unit.IntSize.Companion); 648 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.FloatCompanionObject); 649 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.IntCompanionObject); 650 } 651 652 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 653 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 654 method public default V getEndVelocity(V initialValue, V targetValue, V initialVelocity); 655 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 656 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 657 method public boolean isInfinite(); 658 property public abstract boolean isInfinite; 659 } 660 661 public interface VectorizedDecayAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 662 method public float getAbsVelocityThreshold(); 663 method public long getDurationNanos(V initialValue, V initialVelocity); 664 method public V getTargetValue(V initialValue, V initialVelocity); 665 method public V getValueFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 666 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 667 property public abstract float absVelocityThreshold; 668 } 669 670 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 671 method public int getDelayMillis(); 672 method public int getDurationMillis(); 673 method public default long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 674 property public abstract int delayMillis; 675 property public abstract int durationMillis; 676 } 677 678 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedFiniteAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { 679 method public default boolean isInfinite(); 680 property public default boolean isInfinite; 681 } 682 683 public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 684 ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); 685 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 686 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 687 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 688 } 689 690 public final class VectorizedInfiniteRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { 691 ctor @Deprecated public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 692 ctor public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 693 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 694 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 695 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 696 method public boolean isInfinite(); 697 property public boolean isInfinite; 698 } 699 700 public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 701 ctor public VectorizedKeyframesSpec(java.util.Map<java.lang.Integer,? extends kotlin.Pair<? extends V,? extends androidx.compose.animation.core.Easing>> keyframes, int durationMillis, optional int delayMillis); 702 method public int getDelayMillis(); 703 method public int getDurationMillis(); 704 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 705 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 706 property public int delayMillis; 707 property public int durationMillis; 708 } 709 710 public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 711 ctor @Deprecated public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 712 ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 713 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 714 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 715 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 716 } 717 718 public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 719 ctor public VectorizedSnapSpec(optional int delayMillis); 720 method public int getDelayMillis(); 721 method public int getDurationMillis(); 722 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 723 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 724 property public int delayMillis; 725 property public int durationMillis; 726 } 727 728 public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 729 ctor public VectorizedSpringSpec(optional float dampingRatio, optional float stiffness, optional V? visibilityThreshold); 730 method public float getDampingRatio(); 731 method public float getStiffness(); 732 property public final float dampingRatio; 733 property public final float stiffness; 734 } 735 736 public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 737 ctor public VectorizedTweenSpec(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 738 method public int getDelayMillis(); 739 method public int getDurationMillis(); 740 method public androidx.compose.animation.core.Easing getEasing(); 741 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 742 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 743 property public int delayMillis; 744 property public int durationMillis; 745 property public final androidx.compose.animation.core.Easing easing; 746 } 747 748 public final class VisibilityThresholdsKt { 749 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Offset.Companion); 750 method public static androidx.compose.ui.geometry.Rect getVisibilityThreshold(androidx.compose.ui.geometry.Rect.Companion); 751 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Size.Companion); 752 method public static float getVisibilityThreshold(androidx.compose.ui.unit.Dp.Companion); 753 method public static long getVisibilityThreshold(androidx.compose.ui.unit.DpOffset.Companion); 754 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntOffset.Companion); 755 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntSize.Companion); 756 method public static int getVisibilityThreshold(kotlin.jvm.internal.IntCompanionObject); 757 } 758 759} 760 761