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