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