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 method public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> getAnimations(); 669 method public S getCurrentState(); 670 method @SuppressCompatibility @androidx.compose.animation.core.InternalAnimationApi public boolean getHasInitialValueAnimations(); 671 method public String? getLabel(); 672 method public androidx.compose.animation.core.Transition.Segment<S> getSegment(); 673 method public S getTargetState(); 674 method public long getTotalDurationNanos(); 675 method public java.util.List<androidx.compose.animation.core.Transition<? extends java.lang.Object?>> getTransitions(); 676 method public boolean isRunning(); 677 property public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<? extends java.lang.Object?,? extends java.lang.Object?>> animations; 678 property public S currentState; 679 property @SuppressCompatibility @androidx.compose.animation.core.InternalAnimationApi public boolean hasInitialValueAnimations; 680 property public boolean isRunning; 681 property public String? label; 682 property public androidx.compose.animation.core.Transition.Segment<S> segment; 683 property public S targetState; 684 property public long totalDurationNanos; 685 property public java.util.List<androidx.compose.animation.core.Transition<? extends java.lang.Object?>> transitions; 686 } 687 688 @kotlin.jvm.JvmDefaultWithCompatibility public static interface Transition.Segment<S> { 689 method public S getInitialState(); 690 method public S getTargetState(); 691 method public default infix boolean isTransitioningTo(S, S targetState); 692 property public abstract S initialState; 693 property public abstract S targetState; 694 } 695 696 @androidx.compose.runtime.Stable public final class Transition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 697 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 698 method public androidx.compose.animation.core.FiniteAnimationSpec<T> getAnimationSpec(); 699 method public String getLabel(); 700 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 701 method public T getValue(); 702 property public androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 703 property public androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec; 704 property public String label; 705 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 706 property public T value; 707 } 708 709 public final class TransitionKt { 710 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); 711 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); 712 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); 713 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); 714 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); 715 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); 716 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); 717 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); 718 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); 719 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); 720 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); 721 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); 722 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(T targetState, optional String? label); 723 } 724 725 public abstract sealed class TransitionState<S> { 726 method public abstract S getCurrentState(); 727 method public abstract S getTargetState(); 728 property public abstract S currentState; 729 property public abstract S targetState; 730 } 731 732 @androidx.compose.runtime.Immutable public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 733 ctor public TweenSpec(); 734 ctor public TweenSpec(optional int durationMillis, optional int delay, optional androidx.compose.animation.core.Easing easing); 735 method public int getDelay(); 736 method public int getDurationMillis(); 737 method public androidx.compose.animation.core.Easing getEasing(); 738 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 739 property public int delay; 740 property public int durationMillis; 741 property public androidx.compose.animation.core.Easing easing; 742 } 743 744 public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { 745 method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); 746 method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); 747 property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; 748 property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; 749 } 750 751 public final class VectorConvertersKt { 752 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); 753 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); 754 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); 755 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); 756 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); 757 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); 758 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); 759 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); 760 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.FloatCompanionObject); 761 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.IntCompanionObject); 762 property public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> kotlin.jvm.internal.FloatCompanionObject.VectorConverter; 763 property public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> kotlin.jvm.internal.IntCompanionObject.VectorConverter; 764 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; 765 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; 766 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; 767 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; 768 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; 769 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; 770 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; 771 } 772 773 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 774 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 775 method public default V getEndVelocity(V initialValue, V targetValue, V initialVelocity); 776 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 777 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 778 method public boolean isInfinite(); 779 property public abstract boolean isInfinite; 780 } 781 782 public interface VectorizedDecayAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 783 method public float getAbsVelocityThreshold(); 784 method public long getDurationNanos(V initialValue, V initialVelocity); 785 method public V getTargetValue(V initialValue, V initialVelocity); 786 method public V getValueFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 787 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 788 property public abstract float absVelocityThreshold; 789 } 790 791 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 792 method public int getDelayMillis(); 793 method public int getDurationMillis(); 794 method public default long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 795 property public abstract int delayMillis; 796 property public abstract int durationMillis; 797 } 798 799 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedFiniteAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { 800 method public default boolean isInfinite(); 801 property public default boolean isInfinite; 802 } 803 804 public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 805 ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); 806 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 807 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 808 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 809 } 810 811 public final class VectorizedInfiniteRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { 812 ctor @Deprecated public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 813 ctor public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 814 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 815 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 816 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 817 method public boolean isInfinite(); 818 property public boolean isInfinite; 819 } 820 821 public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 822 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); 823 method public int getDelayMillis(); 824 method public int getDurationMillis(); 825 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 826 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 827 property public int delayMillis; 828 property public int durationMillis; 829 } 830 831 public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 832 ctor @Deprecated public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 833 ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 834 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 835 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 836 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 837 } 838 839 public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 840 ctor public VectorizedSnapSpec(); 841 ctor public VectorizedSnapSpec(optional int delayMillis); 842 method public int getDelayMillis(); 843 method public int getDurationMillis(); 844 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 845 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 846 property public int delayMillis; 847 property public int durationMillis; 848 } 849 850 public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 851 ctor public VectorizedSpringSpec(optional float dampingRatio, optional float stiffness, optional V? visibilityThreshold); 852 method public float getDampingRatio(); 853 method public float getStiffness(); 854 property public float dampingRatio; 855 property public float stiffness; 856 } 857 858 public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 859 ctor public VectorizedTweenSpec(); 860 ctor public VectorizedTweenSpec(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 861 method public int getDelayMillis(); 862 method public int getDurationMillis(); 863 method public androidx.compose.animation.core.Easing getEasing(); 864 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 865 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 866 property public int delayMillis; 867 property public int durationMillis; 868 property public androidx.compose.animation.core.Easing easing; 869 } 870 871 public final class VisibilityThresholdsKt { 872 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Offset.Companion); 873 method public static androidx.compose.ui.geometry.Rect getVisibilityThreshold(androidx.compose.ui.geometry.Rect.Companion); 874 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Size.Companion); 875 method public static float getVisibilityThreshold(androidx.compose.ui.unit.Dp.Companion); 876 method public static long getVisibilityThreshold(androidx.compose.ui.unit.DpOffset.Companion); 877 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntOffset.Companion); 878 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntSize.Companion); 879 method public static int getVisibilityThreshold(kotlin.jvm.internal.IntCompanionObject); 880 property public static long androidx.compose.ui.unit.IntOffset.Companion.VisibilityThreshold; 881 property public static long androidx.compose.ui.geometry.Offset.Companion.VisibilityThreshold; 882 property public static int kotlin.jvm.internal.IntCompanionObject.VisibilityThreshold; 883 property public static float androidx.compose.ui.unit.Dp.Companion.VisibilityThreshold; 884 property public static long androidx.compose.ui.unit.DpOffset.Companion.VisibilityThreshold; 885 property public static long androidx.compose.ui.geometry.Size.Companion.VisibilityThreshold; 886 property public static long androidx.compose.ui.unit.IntSize.Companion.VisibilityThreshold; 887 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.Rect.Companion.VisibilityThreshold; 888 } 889 890} 891 892