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