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