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 @androidx.compose.runtime.annotation.RememberInComposition 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, 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, 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 boolean isRunning; 23 property public String label; 24 property public T? lowerBound; 25 property public T targetValue; 26 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 27 property public T? upperBound; 28 property public T value; 29 property public T velocity; 30 property public V velocityVector; 31 } 32 33 public final class AnimatableKt { 34 method @androidx.compose.runtime.annotation.RememberInComposition 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<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,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<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,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<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,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<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,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<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,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<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,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<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,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<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,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<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,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 property public static int DefaultDurationMillis; 74 property public static long UnspecifiedTime; 75 field public static final int DefaultDurationMillis = 300; // 0x12c 76 field public static final androidx.compose.animation.core.AnimationConstants INSTANCE; 77 field public static final long UnspecifiedTime = -9223372036854775808L; // 0x8000000000000000L 78 } 79 80 public enum AnimationEndReason { 81 enum_constant public static final androidx.compose.animation.core.AnimationEndReason BoundReached; 82 enum_constant public static final androidx.compose.animation.core.AnimationEndReason Finished; 83 } 84 85 public final class AnimationKt { 86 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); 87 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); 88 method public static <T, V extends androidx.compose.animation.core.AnimationVector> T getVelocityFromNanos(androidx.compose.animation.core.Animation<T,V>, long playTimeNanos); 89 } 90 91 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 92 ctor public AnimationResult(androidx.compose.animation.core.AnimationState<T,V> endState, androidx.compose.animation.core.AnimationEndReason endReason); 93 method public androidx.compose.animation.core.AnimationEndReason getEndReason(); 94 method public androidx.compose.animation.core.AnimationState<T,V> getEndState(); 95 property public androidx.compose.animation.core.AnimationEndReason endReason; 96 property public androidx.compose.animation.core.AnimationState<T,V> endState; 97 } 98 99 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 100 method public void cancelAnimation(); 101 method public long getFinishedTimeNanos(); 102 method public long getLastFrameTimeNanos(); 103 method public long getStartTimeNanos(); 104 method public T getTargetValue(); 105 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 106 method public T getValue(); 107 method public T getVelocity(); 108 method public V getVelocityVector(); 109 method public boolean isRunning(); 110 method public androidx.compose.animation.core.AnimationState<T,V> toAnimationState(); 111 property public long finishedTimeNanos; 112 property public boolean isRunning; 113 property public long lastFrameTimeNanos; 114 property public long startTimeNanos; 115 property public T targetValue; 116 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 117 property public T value; 118 property public T velocity; 119 property public V velocityVector; 120 } 121 122 public interface AnimationSpec<T> { 123 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 124 } 125 126 public final class AnimationSpecKt { 127 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); 128 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); 129 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); 130 method public static <T> androidx.compose.animation.core.KeyframesWithSplineSpec<T> keyframesWithSpline(@FloatRange(from=0.0, to=1.0) float periodicBias, kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T>,kotlin.Unit> init); 131 method public static <T> androidx.compose.animation.core.KeyframesWithSplineSpec<T> keyframesWithSpline(kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T>,kotlin.Unit> init); 132 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); 133 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); 134 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SnapSpec<T> snap(optional int delayMillis); 135 method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SpringSpec<T> spring(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); 136 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); 137 } 138 139 public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 140 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); 141 method public long getFinishedTimeNanos(); 142 method public long getLastFrameTimeNanos(); 143 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 144 method public T getValue(); 145 method public T getVelocity(); 146 method public V getVelocityVector(); 147 method public boolean isRunning(); 148 property public long finishedTimeNanos; 149 property public boolean isRunning; 150 property public long lastFrameTimeNanos; 151 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 152 property public T value; 153 property public T velocity; 154 property public V velocityVector; 155 } 156 157 public final class AnimationStateKt { 158 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); 159 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); 160 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); 161 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); 162 method public static <T, V extends androidx.compose.animation.core.AnimationVector> V createZeroVectorFrom(androidx.compose.animation.core.TwoWayConverter<T,V>, T value); 163 method public static boolean isFinished(androidx.compose.animation.core.AnimationState<? extends java.lang.Object?,? extends java.lang.Object?>); 164 property public static boolean androidx.compose.animation.core.AnimationState<? extends java.lang.Object?,? extends java.lang.Object?>.isFinished; 165 } 166 167 public abstract sealed class AnimationVector { 168 } 169 170 public final class AnimationVector1D extends androidx.compose.animation.core.AnimationVector { 171 ctor public AnimationVector1D(float initVal); 172 method public float getValue(); 173 property public float value; 174 } 175 176 public final class AnimationVector2D extends androidx.compose.animation.core.AnimationVector { 177 ctor public AnimationVector2D(float v1, float v2); 178 method public float getV1(); 179 method public float getV2(); 180 property public float v1; 181 property public float v2; 182 } 183 184 public final class AnimationVector3D extends androidx.compose.animation.core.AnimationVector { 185 ctor public AnimationVector3D(float v1, float v2, float v3); 186 method public float getV1(); 187 method public float getV2(); 188 method public float getV3(); 189 property public float v1; 190 property public float v2; 191 property public float v3; 192 } 193 194 public final class AnimationVector4D extends androidx.compose.animation.core.AnimationVector { 195 ctor public AnimationVector4D(float v1, float v2, float v3, float v4); 196 method public float getV1(); 197 method public float getV2(); 198 method public float getV3(); 199 method public float getV4(); 200 property public float v1; 201 property public float v2; 202 property public float v3; 203 property public float v4; 204 } 205 206 public final class AnimationVectorsKt { 207 method public static androidx.compose.animation.core.AnimationVector1D AnimationVector(float v1); 208 method public static androidx.compose.animation.core.AnimationVector2D AnimationVector(float v1, float v2); 209 method public static androidx.compose.animation.core.AnimationVector3D AnimationVector(float v1, float v2, float v3); 210 method public static androidx.compose.animation.core.AnimationVector4D AnimationVector(float v1, float v2, float v3, float v4); 211 } 212 213 @SuppressCompatibility @androidx.compose.animation.core.ExperimentalAnimationSpecApi @androidx.compose.runtime.Immutable public final class ArcAnimationSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 214 ctor public ArcAnimationSpec(); 215 ctor public ArcAnimationSpec(optional int mode, optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 216 method public int getDelayMillis(); 217 method public int getDurationMillis(); 218 method public androidx.compose.animation.core.Easing getEasing(); 219 method public int getMode(); 220 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 221 property public int delayMillis; 222 property public int durationMillis; 223 property public androidx.compose.animation.core.Easing easing; 224 property public int mode; 225 } 226 227 @kotlin.jvm.JvmInline public final value class ArcMode { 228 field public static final androidx.compose.animation.core.ArcMode.Companion Companion; 229 } 230 231 public static final class ArcMode.Companion { 232 method public int getArcAbove(); 233 method public int getArcBelow(); 234 method public int getArcLinear(); 235 property public int ArcAbove; 236 property public int ArcBelow; 237 property public int ArcLinear; 238 } 239 240 @androidx.compose.runtime.Immutable public final class CubicBezierEasing implements androidx.compose.animation.core.Easing { 241 ctor public CubicBezierEasing(float a, float b, float c, float d); 242 method public float transform(float fraction); 243 } 244 245 public final class DecayAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { 246 ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T initialValue, T initialVelocity); 247 ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T initialValue, V initialVelocityVector); 248 ctor public DecayAnimation(androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T initialValue, V initialVelocityVector); 249 method public long getDurationNanos(); 250 method public T getInitialValue(); 251 method public V getInitialVelocityVector(); 252 method public T getTargetValue(); 253 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 254 method public T getValueFromNanos(long playTimeNanos); 255 method public V getVelocityVectorFromNanos(long playTimeNanos); 256 method public boolean isInfinite(); 257 property public long durationNanos; 258 property public T initialValue; 259 property public V initialVelocityVector; 260 property public boolean isInfinite; 261 property public T targetValue; 262 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 263 } 264 265 public interface DecayAnimationSpec<T> { 266 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter); 267 } 268 269 public final class DecayAnimationSpecKt { 270 method public static float calculateTargetValue(androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float>, float initialValue, float initialVelocity); 271 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); 272 method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> exponentialDecay(optional @FloatRange(from=0.0, fromInclusive=false) float frictionMultiplier, optional @FloatRange(from=0.0, fromInclusive=false) float absVelocityThreshold); 273 method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> generateDecayAnimationSpec(androidx.compose.animation.core.FloatDecayAnimationSpec); 274 } 275 276 @SuppressCompatibility @androidx.compose.animation.core.ExperimentalAnimatableApi public final class DeferredTargetAnimation<T, V extends androidx.compose.animation.core.AnimationVector> { 277 ctor public DeferredTargetAnimation(androidx.compose.animation.core.TwoWayConverter<T,V> vectorConverter); 278 method public T? getPendingTarget(); 279 method public boolean isIdle(); 280 method public T updateTarget(T target, kotlinx.coroutines.CoroutineScope coroutineScope, optional androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec); 281 property public boolean isIdle; 282 property public T? pendingTarget; 283 } 284 285 public interface DurationBasedAnimationSpec<T> extends androidx.compose.animation.core.FiniteAnimationSpec<T> { 286 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 287 } 288 289 @androidx.compose.runtime.Stable public fun interface Easing { 290 method public float transform(float fraction); 291 } 292 293 public final class EasingFunctionsKt { 294 method public static androidx.compose.animation.core.Easing getEase(); 295 method public static androidx.compose.animation.core.Easing getEaseIn(); 296 method public static androidx.compose.animation.core.Easing getEaseInBack(); 297 method public static androidx.compose.animation.core.Easing getEaseInBounce(); 298 method public static androidx.compose.animation.core.Easing getEaseInCirc(); 299 method public static androidx.compose.animation.core.Easing getEaseInCubic(); 300 method public static androidx.compose.animation.core.Easing getEaseInElastic(); 301 method public static androidx.compose.animation.core.Easing getEaseInExpo(); 302 method public static androidx.compose.animation.core.Easing getEaseInOut(); 303 method public static androidx.compose.animation.core.Easing getEaseInOutBack(); 304 method public static androidx.compose.animation.core.Easing getEaseInOutBounce(); 305 method public static androidx.compose.animation.core.Easing getEaseInOutCirc(); 306 method public static androidx.compose.animation.core.Easing getEaseInOutCubic(); 307 method public static androidx.compose.animation.core.Easing getEaseInOutElastic(); 308 method public static androidx.compose.animation.core.Easing getEaseInOutExpo(); 309 method public static androidx.compose.animation.core.Easing getEaseInOutQuad(); 310 method public static androidx.compose.animation.core.Easing getEaseInOutQuart(); 311 method public static androidx.compose.animation.core.Easing getEaseInOutQuint(); 312 method public static androidx.compose.animation.core.Easing getEaseInOutSine(); 313 method public static androidx.compose.animation.core.Easing getEaseInQuad(); 314 method public static androidx.compose.animation.core.Easing getEaseInQuart(); 315 method public static androidx.compose.animation.core.Easing getEaseInQuint(); 316 method public static androidx.compose.animation.core.Easing getEaseInSine(); 317 method public static androidx.compose.animation.core.Easing getEaseOut(); 318 method public static androidx.compose.animation.core.Easing getEaseOutBack(); 319 method public static androidx.compose.animation.core.Easing getEaseOutBounce(); 320 method public static androidx.compose.animation.core.Easing getEaseOutCirc(); 321 method public static androidx.compose.animation.core.Easing getEaseOutCubic(); 322 method public static androidx.compose.animation.core.Easing getEaseOutElastic(); 323 method public static androidx.compose.animation.core.Easing getEaseOutExpo(); 324 method public static androidx.compose.animation.core.Easing getEaseOutQuad(); 325 method public static androidx.compose.animation.core.Easing getEaseOutQuart(); 326 method public static androidx.compose.animation.core.Easing getEaseOutQuint(); 327 method public static androidx.compose.animation.core.Easing getEaseOutSine(); 328 property public static androidx.compose.animation.core.Easing Ease; 329 property public static androidx.compose.animation.core.Easing EaseIn; 330 property public static androidx.compose.animation.core.Easing EaseInBack; 331 property public static androidx.compose.animation.core.Easing EaseInBounce; 332 property public static androidx.compose.animation.core.Easing EaseInCirc; 333 property public static androidx.compose.animation.core.Easing EaseInCubic; 334 property public static androidx.compose.animation.core.Easing EaseInElastic; 335 property public static androidx.compose.animation.core.Easing EaseInExpo; 336 property public static androidx.compose.animation.core.Easing EaseInOut; 337 property public static androidx.compose.animation.core.Easing EaseInOutBack; 338 property public static androidx.compose.animation.core.Easing EaseInOutBounce; 339 property public static androidx.compose.animation.core.Easing EaseInOutCirc; 340 property public static androidx.compose.animation.core.Easing EaseInOutCubic; 341 property public static androidx.compose.animation.core.Easing EaseInOutElastic; 342 property public static androidx.compose.animation.core.Easing EaseInOutExpo; 343 property public static androidx.compose.animation.core.Easing EaseInOutQuad; 344 property public static androidx.compose.animation.core.Easing EaseInOutQuart; 345 property public static androidx.compose.animation.core.Easing EaseInOutQuint; 346 property public static androidx.compose.animation.core.Easing EaseInOutSine; 347 property public static androidx.compose.animation.core.Easing EaseInQuad; 348 property public static androidx.compose.animation.core.Easing EaseInQuart; 349 property public static androidx.compose.animation.core.Easing EaseInQuint; 350 property public static androidx.compose.animation.core.Easing EaseInSine; 351 property public static androidx.compose.animation.core.Easing EaseOut; 352 property public static androidx.compose.animation.core.Easing EaseOutBack; 353 property public static androidx.compose.animation.core.Easing EaseOutBounce; 354 property public static androidx.compose.animation.core.Easing EaseOutCirc; 355 property public static androidx.compose.animation.core.Easing EaseOutCubic; 356 property public static androidx.compose.animation.core.Easing EaseOutElastic; 357 property public static androidx.compose.animation.core.Easing EaseOutExpo; 358 property public static androidx.compose.animation.core.Easing EaseOutQuad; 359 property public static androidx.compose.animation.core.Easing EaseOutQuart; 360 property public static androidx.compose.animation.core.Easing EaseOutQuint; 361 property public static androidx.compose.animation.core.Easing EaseOutSine; 362 } 363 364 public final class EasingKt { 365 method public static androidx.compose.animation.core.Easing getFastOutLinearInEasing(); 366 method public static androidx.compose.animation.core.Easing getFastOutSlowInEasing(); 367 method public static androidx.compose.animation.core.Easing getLinearEasing(); 368 method public static androidx.compose.animation.core.Easing getLinearOutSlowInEasing(); 369 property public static androidx.compose.animation.core.Easing FastOutLinearInEasing; 370 property public static androidx.compose.animation.core.Easing FastOutSlowInEasing; 371 property public static androidx.compose.animation.core.Easing LinearEasing; 372 property public static androidx.compose.animation.core.Easing LinearOutSlowInEasing; 373 } 374 375 @SuppressCompatibility @kotlin.RequiresOptIn(message="This is an experimental animation API for Transition. It may change in the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalAnimatableApi { 376 } 377 378 @SuppressCompatibility @kotlin.RequiresOptIn(message="This is an experimental animation API for AnimationSpec. " + "It may change in the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalAnimationSpecApi { 379 } 380 381 @SuppressCompatibility @kotlin.RequiresOptIn(message="This is an experimental animation API for Transition. It may change in the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalTransitionApi { 382 } 383 384 public interface FiniteAnimationSpec<T> extends androidx.compose.animation.core.AnimationSpec<T> { 385 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 386 } 387 388 @kotlin.jvm.JvmDefaultWithCompatibility public interface FloatAnimationSpec extends androidx.compose.animation.core.AnimationSpec<java.lang.Float> { 389 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 390 method public default float getEndVelocity(float initialValue, float targetValue, float initialVelocity); 391 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 392 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 393 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); 394 } 395 396 public interface FloatDecayAnimationSpec { 397 method public float getAbsVelocityThreshold(); 398 method public long getDurationNanos(float initialValue, float initialVelocity); 399 method public float getTargetValue(float initialValue, float initialVelocity); 400 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 401 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 402 property public abstract float absVelocityThreshold; 403 } 404 405 public final class FloatExponentialDecaySpec implements androidx.compose.animation.core.FloatDecayAnimationSpec { 406 ctor public FloatExponentialDecaySpec(); 407 ctor public FloatExponentialDecaySpec(optional @FloatRange(from=0.0, fromInclusive=false) float frictionMultiplier, optional @FloatRange(from=0.0, fromInclusive=false) float absVelocityThreshold); 408 method public float getAbsVelocityThreshold(); 409 method public long getDurationNanos(float initialValue, float initialVelocity); 410 method public float getTargetValue(float initialValue, float initialVelocity); 411 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 412 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 413 property public float absVelocityThreshold; 414 } 415 416 public final class FloatSpringSpec implements androidx.compose.animation.core.FloatAnimationSpec { 417 ctor public FloatSpringSpec(); 418 ctor public FloatSpringSpec(optional float dampingRatio, optional float stiffness, optional float visibilityThreshold); 419 method public float getDampingRatio(); 420 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 421 method public float getStiffness(); 422 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 423 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 424 property public float dampingRatio; 425 property public float stiffness; 426 } 427 428 public final class FloatTweenSpec implements androidx.compose.animation.core.FloatAnimationSpec { 429 ctor public FloatTweenSpec(); 430 ctor public FloatTweenSpec(optional int duration, optional int delay, optional androidx.compose.animation.core.Easing easing); 431 method public int getDelay(); 432 method public int getDuration(); 433 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 434 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 435 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 436 property public int delay; 437 property public int duration; 438 } 439 440 public final class InfiniteAnimationPolicyKt { 441 method public static suspend inline <R> Object? withInfiniteAnimationFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 442 method public static suspend <R> Object? withInfiniteAnimationFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 443 } 444 445 public final class InfiniteRepeatableSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { 446 ctor @Deprecated public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 447 ctor public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 448 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 449 method public long getInitialStartOffset(); 450 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 451 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 452 property public androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 453 property public long initialStartOffset; 454 property public androidx.compose.animation.core.RepeatMode repeatMode; 455 } 456 457 public final class InfiniteTransition { 458 method public java.util.List<androidx.compose.animation.core.InfiniteTransition.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> getAnimations(); 459 method public String getLabel(); 460 property public java.util.List<androidx.compose.animation.core.InfiniteTransition.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> animations; 461 property public String label; 462 } 463 464 public final class InfiniteTransition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 465 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 466 method public androidx.compose.animation.core.AnimationSpec<T> getAnimationSpec(); 467 method public String getLabel(); 468 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 469 method public T getValue(); 470 property public androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 471 property public androidx.compose.animation.core.AnimationSpec<T> animationSpec; 472 property public String label; 473 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 474 property public T value; 475 } 476 477 public final class InfiniteTransitionKt { 478 method @Deprecated @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); 479 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); 480 method @Deprecated @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); 481 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); 482 method @Deprecated @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(); 483 method @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(optional String label); 484 } 485 486 @SuppressCompatibility @kotlin.RequiresOptIn(message="This API is internal to library.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.FIELD, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface InternalAnimationApi { 487 } 488 489 public abstract sealed class KeyframeBaseEntity<T> { 490 } 491 492 @androidx.compose.runtime.Immutable public final class KeyframesSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 493 ctor public KeyframesSpec(androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config); 494 method public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> getConfig(); 495 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedKeyframesSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 496 property public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config; 497 } 498 499 public static final class KeyframesSpec.KeyframeEntity<T> extends androidx.compose.animation.core.KeyframeBaseEntity<T> { 500 } 501 502 public static final class KeyframesSpec.KeyframesSpecConfig<T> extends androidx.compose.animation.core.KeyframesSpecBaseConfig<T,androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>> { 503 ctor public KeyframesSpec.KeyframesSpecConfig(); 504 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> at(T, @IntRange(from=0L) int timeStamp); 505 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> atFraction(T, @FloatRange(from=0.0, to=1.0) float fraction); 506 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> using(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, int arcMode); 507 method @Deprecated public infix void with(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, androidx.compose.animation.core.Easing easing); 508 } 509 510 public abstract sealed class KeyframesSpecBaseConfig<T, E extends androidx.compose.animation.core.KeyframeBaseEntity<T>> { 511 method public infix E at(T, @IntRange(from=0L) int timeStamp); 512 method public infix E atFraction(T, @FloatRange(from=0.0, to=1.0) float fraction); 513 method @IntRange(from=0L) public final int getDelayMillis(); 514 method @IntRange(from=0L) public final int getDurationMillis(); 515 method public final void setDelayMillis(@IntRange(from=0L) int); 516 method public final void setDurationMillis(@IntRange(from=0L) int); 517 method public final infix E using(E, androidx.compose.animation.core.Easing easing); 518 property @IntRange(from=0L) public final int delayMillis; 519 property @IntRange(from=0L) public final int durationMillis; 520 } 521 522 @androidx.compose.runtime.Immutable public final class KeyframesWithSplineSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 523 ctor public KeyframesWithSplineSpec(androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T> config); 524 ctor public KeyframesWithSplineSpec(androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T> config, @FloatRange(from=0.0, to=1.0) float periodicBias); 525 method public androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T> getConfig(); 526 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 527 property public androidx.compose.animation.core.KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T> config; 528 } 529 530 public static final class KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig<T> extends androidx.compose.animation.core.KeyframesSpecBaseConfig<T,androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>> { 531 ctor public KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig(); 532 } 533 534 public final class MutableTransitionState<S> extends androidx.compose.animation.core.TransitionState<S> { 535 ctor public MutableTransitionState(S initialState); 536 method public S getCurrentState(); 537 method public S getTargetState(); 538 method public boolean isIdle(); 539 method public void setTargetState(S); 540 property public S currentState; 541 property public boolean isIdle; 542 property public S targetState; 543 } 544 545 @androidx.compose.runtime.Immutable public final class PathEasing implements androidx.compose.animation.core.Easing { 546 ctor public PathEasing(androidx.compose.ui.graphics.Path path); 547 method public float transform(float fraction); 548 } 549 550 public enum RepeatMode { 551 enum_constant public static final androidx.compose.animation.core.RepeatMode Restart; 552 enum_constant public static final androidx.compose.animation.core.RepeatMode Reverse; 553 } 554 555 @androidx.compose.runtime.Immutable public final class RepeatableSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 556 ctor @Deprecated public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 557 ctor public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 558 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 559 method public long getInitialStartOffset(); 560 method public int getIterations(); 561 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 562 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 563 property public androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 564 property public long initialStartOffset; 565 property public int iterations; 566 property public androidx.compose.animation.core.RepeatMode repeatMode; 567 } 568 569 public final class SeekableTransitionState<S> extends androidx.compose.animation.core.TransitionState<S> { 570 ctor public SeekableTransitionState(S initialState); 571 method public suspend Object? animateTo(optional S targetState, optional androidx.compose.animation.core.FiniteAnimationSpec<java.lang.Float>? animationSpec, kotlin.coroutines.Continuation<? super kotlin.Unit>); 572 method public S getCurrentState(); 573 method @FloatRange(from=0.0, to=1.0) public float getFraction(); 574 method public S getTargetState(); 575 method public suspend Object? seekTo(@FloatRange(from=0.0, to=1.0) float fraction, optional S targetState, kotlin.coroutines.Continuation<? super kotlin.Unit>); 576 method public suspend Object? snapTo(S targetState, kotlin.coroutines.Continuation<? super kotlin.Unit>); 577 property public S currentState; 578 property @FloatRange(from=0.0, to=1.0) public float fraction; 579 property public S targetState; 580 } 581 582 @androidx.compose.runtime.Immutable public final class SnapSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 583 ctor public SnapSpec(); 584 ctor public SnapSpec(optional int delay); 585 method public int getDelay(); 586 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 587 property public int delay; 588 } 589 590 public final class Spring { 591 property public static float DampingRatioHighBouncy; 592 property public static float DampingRatioLowBouncy; 593 property public static float DampingRatioMediumBouncy; 594 property public static float DampingRatioNoBouncy; 595 property public static float DefaultDisplacementThreshold; 596 property public static float StiffnessHigh; 597 property public static float StiffnessLow; 598 property public static float StiffnessMedium; 599 property public static float StiffnessMediumLow; 600 property public static float StiffnessVeryLow; 601 field public static final float DampingRatioHighBouncy = 0.2f; 602 field public static final float DampingRatioLowBouncy = 0.75f; 603 field public static final float DampingRatioMediumBouncy = 0.5f; 604 field public static final float DampingRatioNoBouncy = 1.0f; 605 field public static final float DefaultDisplacementThreshold = 0.01f; 606 field public static final androidx.compose.animation.core.Spring INSTANCE; 607 field public static final float StiffnessHigh = 10000.0f; 608 field public static final float StiffnessLow = 200.0f; 609 field public static final float StiffnessMedium = 1500.0f; 610 field public static final float StiffnessMediumLow = 400.0f; 611 field public static final float StiffnessVeryLow = 50.0f; 612 } 613 614 @androidx.compose.runtime.Immutable public final class SpringSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 615 ctor public SpringSpec(); 616 ctor public SpringSpec(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); 617 method public float getDampingRatio(); 618 method public float getStiffness(); 619 method public T? getVisibilityThreshold(); 620 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedSpringSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 621 property public float dampingRatio; 622 property public float stiffness; 623 property public T? visibilityThreshold; 624 } 625 626 @kotlin.jvm.JvmInline public final value class StartOffset { 627 ctor public StartOffset(int offsetMillis, optional int offsetType); 628 property public int offsetMillis; 629 property public int offsetType; 630 } 631 632 @kotlin.jvm.JvmInline public final value class StartOffsetType { 633 field public static final androidx.compose.animation.core.StartOffsetType.Companion Companion; 634 } 635 636 public static final class StartOffsetType.Companion { 637 method public int getDelay(); 638 method public int getFastForward(); 639 property public int Delay; 640 property public int FastForward; 641 } 642 643 public final class SuspendAnimationKt { 644 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>); 645 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>); 646 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, kotlin.coroutines.Continuation<? super kotlin.Unit>); 647 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>); 648 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, kotlin.coroutines.Continuation<? super kotlin.Unit>); 649 } 650 651 public final class TargetBasedAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { 652 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); 653 method public long getDurationNanos(); 654 method public T getInitialValue(); 655 method public T getTargetValue(); 656 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 657 method public T getValueFromNanos(long playTimeNanos); 658 method public V getVelocityVectorFromNanos(long playTimeNanos); 659 method public boolean isInfinite(); 660 property public long durationNanos; 661 property public T initialValue; 662 property public boolean isInfinite; 663 property public T targetValue; 664 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 665 } 666 667 @androidx.compose.runtime.Stable public final class Transition<S> { 668 ctor @kotlin.PublishedApi internal Transition(androidx.compose.animation.core.MutableTransitionState<S> transitionState, optional String? label); 669 ctor @kotlin.PublishedApi internal Transition(androidx.compose.animation.core.TransitionState<S> transitionState, optional String? label); 670 method public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> getAnimations(); 671 method public S getCurrentState(); 672 method @SuppressCompatibility @androidx.compose.animation.core.InternalAnimationApi public boolean getHasInitialValueAnimations(); 673 method public String? getLabel(); 674 method public androidx.compose.animation.core.Transition.Segment<S> getSegment(); 675 method public S getTargetState(); 676 method public long getTotalDurationNanos(); 677 method public java.util.List<androidx.compose.animation.core.Transition<? extends java.lang.Object?>> getTransitions(); 678 method public boolean isRunning(); 679 method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void seek(S initialState, S targetState, long playTimeNanos); 680 property public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> animations; 681 property public S currentState; 682 property @SuppressCompatibility @androidx.compose.animation.core.InternalAnimationApi public boolean hasInitialValueAnimations; 683 property public boolean isRunning; 684 property public String? label; 685 property public androidx.compose.animation.core.Transition.Segment<S> segment; 686 property public S targetState; 687 property public long totalDurationNanos; 688 property public java.util.List<androidx.compose.animation.core.Transition<? extends java.lang.Object?>> transitions; 689 } 690 691 @kotlin.jvm.JvmDefaultWithCompatibility public static interface Transition.Segment<S> { 692 method public S getInitialState(); 693 method public S getTargetState(); 694 method public default infix boolean isTransitioningTo(S, S targetState); 695 property public abstract S initialState; 696 property public abstract S targetState; 697 } 698 699 @androidx.compose.runtime.Stable public final class Transition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 700 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 701 method public androidx.compose.animation.core.FiniteAnimationSpec<T> getAnimationSpec(); 702 method public String getLabel(); 703 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 704 method public T getValue(); 705 property public androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 706 property public androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec; 707 property public String label; 708 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 709 property public T value; 710 } 711 712 public final class TransitionKt { 713 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); 714 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); 715 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); 716 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); 717 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); 718 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); 719 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); 720 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); 721 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); 722 method @SuppressCompatibility @androidx.compose.animation.core.ExperimentalTransitionApi @androidx.compose.runtime.Composable public static inline <S, T> androidx.compose.animation.core.Transition<T> createChildTransition(androidx.compose.animation.core.Transition<S>, optional String label, kotlin.jvm.functions.Function1<? super S,? extends T> transformToChildState); 723 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); 724 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); 725 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> rememberTransition(androidx.compose.animation.core.TransitionState<T> transitionState, optional String? label); 726 method @Deprecated @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(androidx.compose.animation.core.MutableTransitionState<T> transitionState, optional String? label); 727 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(T targetState, optional String? label); 728 } 729 730 public abstract sealed class TransitionState<S> { 731 method public abstract S getCurrentState(); 732 method public abstract S getTargetState(); 733 property public abstract S currentState; 734 property public abstract S targetState; 735 } 736 737 @androidx.compose.runtime.Immutable public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 738 ctor public TweenSpec(); 739 ctor public TweenSpec(optional int durationMillis, optional int delay, optional androidx.compose.animation.core.Easing easing); 740 method public int getDelay(); 741 method public int getDurationMillis(); 742 method public androidx.compose.animation.core.Easing getEasing(); 743 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 744 property public int delay; 745 property public int durationMillis; 746 property public androidx.compose.animation.core.Easing easing; 747 } 748 749 public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { 750 method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); 751 method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); 752 property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; 753 property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; 754 } 755 756 public final class VectorConvertersKt { 757 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); 758 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); 759 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); 760 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); 761 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); 762 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); 763 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); 764 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); 765 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.FloatCompanionObject); 766 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.IntCompanionObject); 767 property public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> kotlin.jvm.internal.FloatCompanionObject.VectorConverter; 768 property public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> kotlin.jvm.internal.IntCompanionObject.VectorConverter; 769 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Rect,androidx.compose.animation.core.AnimationVector4D> androidx.compose.ui.geometry.Rect.Companion.VectorConverter; 770 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.Dp,androidx.compose.animation.core.AnimationVector1D> androidx.compose.ui.unit.Dp.Companion.VectorConverter; 771 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.DpOffset,androidx.compose.animation.core.AnimationVector2D> androidx.compose.ui.unit.DpOffset.Companion.VectorConverter; 772 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Size,androidx.compose.animation.core.AnimationVector2D> androidx.compose.ui.geometry.Size.Companion.VectorConverter; 773 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.geometry.Offset,androidx.compose.animation.core.AnimationVector2D> androidx.compose.ui.geometry.Offset.Companion.VectorConverter; 774 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.IntOffset,androidx.compose.animation.core.AnimationVector2D> androidx.compose.ui.unit.IntOffset.Companion.VectorConverter; 775 property public static androidx.compose.animation.core.TwoWayConverter<androidx.compose.ui.unit.IntSize,androidx.compose.animation.core.AnimationVector2D> androidx.compose.ui.unit.IntSize.Companion.VectorConverter; 776 } 777 778 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 779 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 780 method public default V getEndVelocity(V initialValue, V targetValue, V initialVelocity); 781 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 782 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 783 method public boolean isInfinite(); 784 property public abstract boolean isInfinite; 785 } 786 787 public interface VectorizedDecayAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 788 method public float getAbsVelocityThreshold(); 789 method public long getDurationNanos(V initialValue, V initialVelocity); 790 method public V getTargetValue(V initialValue, V initialVelocity); 791 method public V getValueFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 792 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 793 property public abstract float absVelocityThreshold; 794 } 795 796 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 797 method public int getDelayMillis(); 798 method public int getDurationMillis(); 799 method public default long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 800 property public abstract int delayMillis; 801 property public abstract int durationMillis; 802 } 803 804 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedFiniteAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { 805 method public default boolean isInfinite(); 806 property public default boolean isInfinite; 807 } 808 809 public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 810 ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); 811 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 812 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 813 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 814 } 815 816 public final class VectorizedInfiniteRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { 817 ctor @Deprecated public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 818 ctor public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 819 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 820 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 821 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 822 method public boolean isInfinite(); 823 property public boolean isInfinite; 824 } 825 826 public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 827 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); 828 method public int getDelayMillis(); 829 method public int getDurationMillis(); 830 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 831 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 832 property public int delayMillis; 833 property public int durationMillis; 834 } 835 836 public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 837 ctor @Deprecated public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 838 ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 839 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 840 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 841 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 842 } 843 844 public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 845 ctor public VectorizedSnapSpec(); 846 ctor public VectorizedSnapSpec(optional int delayMillis); 847 method public int getDelayMillis(); 848 method public int getDurationMillis(); 849 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 850 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 851 property public int delayMillis; 852 property public int durationMillis; 853 } 854 855 public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 856 ctor public VectorizedSpringSpec(optional float dampingRatio, optional float stiffness, optional V? visibilityThreshold); 857 method public float getDampingRatio(); 858 method public float getStiffness(); 859 property public float dampingRatio; 860 property public float stiffness; 861 } 862 863 public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 864 ctor public VectorizedTweenSpec(); 865 ctor public VectorizedTweenSpec(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 866 method public int getDelayMillis(); 867 method public int getDurationMillis(); 868 method public androidx.compose.animation.core.Easing getEasing(); 869 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 870 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 871 property public int delayMillis; 872 property public int durationMillis; 873 property public androidx.compose.animation.core.Easing easing; 874 } 875 876 public final class VisibilityThresholdsKt { 877 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Offset.Companion); 878 method public static androidx.compose.ui.geometry.Rect getVisibilityThreshold(androidx.compose.ui.geometry.Rect.Companion); 879 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Size.Companion); 880 method public static float getVisibilityThreshold(androidx.compose.ui.unit.Dp.Companion); 881 method public static long getVisibilityThreshold(androidx.compose.ui.unit.DpOffset.Companion); 882 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntOffset.Companion); 883 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntSize.Companion); 884 method public static int getVisibilityThreshold(kotlin.jvm.internal.IntCompanionObject); 885 property public static long androidx.compose.ui.unit.IntOffset.Companion.VisibilityThreshold; 886 property public static long androidx.compose.ui.geometry.Offset.Companion.VisibilityThreshold; 887 property public static int kotlin.jvm.internal.IntCompanionObject.VisibilityThreshold; 888 property public static float androidx.compose.ui.unit.Dp.Companion.VisibilityThreshold; 889 property public static long androidx.compose.ui.unit.DpOffset.Companion.VisibilityThreshold; 890 property public static long androidx.compose.ui.geometry.Size.Companion.VisibilityThreshold; 891 property public static long androidx.compose.ui.unit.IntSize.Companion.VisibilityThreshold; 892 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.Rect.Companion.VisibilityThreshold; 893 } 894 895} 896 897