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 @kotlin.RequiresOptIn(message="This is an experimental animation API for Transition. It may change in the future.") public @interface ExperimentalTransitionApi { 341 } 342 343 public interface FiniteAnimationSpec<T> extends androidx.compose.animation.core.AnimationSpec<T> { 344 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 345 } 346 347 @kotlin.jvm.JvmDefaultWithCompatibility public interface FloatAnimationSpec extends androidx.compose.animation.core.AnimationSpec<java.lang.Float> { 348 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 349 method public default float getEndVelocity(float initialValue, float targetValue, float initialVelocity); 350 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 351 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 352 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); 353 } 354 355 public interface FloatDecayAnimationSpec { 356 method public float getAbsVelocityThreshold(); 357 method public long getDurationNanos(float initialValue, float initialVelocity); 358 method public float getTargetValue(float initialValue, float initialVelocity); 359 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 360 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 361 property public abstract float absVelocityThreshold; 362 } 363 364 public final class FloatDecayAnimationSpecKt { 365 } 366 367 public final class FloatExponentialDecaySpec implements androidx.compose.animation.core.FloatDecayAnimationSpec { 368 ctor public FloatExponentialDecaySpec(optional float frictionMultiplier, optional float absVelocityThreshold); 369 method public float getAbsVelocityThreshold(); 370 method public long getDurationNanos(float initialValue, float initialVelocity); 371 method public float getTargetValue(float initialValue, float initialVelocity); 372 method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 373 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); 374 property public float absVelocityThreshold; 375 } 376 377 public final class FloatSpringSpec implements androidx.compose.animation.core.FloatAnimationSpec { 378 ctor public FloatSpringSpec(optional float dampingRatio, optional float stiffness, optional float visibilityThreshold); 379 method public float getDampingRatio(); 380 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 381 method public float getStiffness(); 382 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 383 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 384 property public final float dampingRatio; 385 property public final float stiffness; 386 } 387 388 public final class FloatTweenSpec implements androidx.compose.animation.core.FloatAnimationSpec { 389 ctor public FloatTweenSpec(optional int duration, optional int delay, optional androidx.compose.animation.core.Easing easing); 390 method public int getDelay(); 391 method public int getDuration(); 392 method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); 393 method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 394 method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); 395 property public final int delay; 396 property public final int duration; 397 } 398 399 public final class InfiniteAnimationPolicyKt { 400 method public static suspend inline <R> Object? withInfiniteAnimationFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 401 method public static suspend <R> Object? withInfiniteAnimationFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 402 } 403 404 public final class InfiniteRepeatableSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { 405 ctor @Deprecated public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 406 ctor public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 407 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 408 method public long getInitialStartOffset(); 409 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 410 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 411 property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 412 property public final long initialStartOffset; 413 property public final androidx.compose.animation.core.RepeatMode repeatMode; 414 } 415 416 public final class InfiniteTransition { 417 } 418 419 public final class InfiniteTransitionKt { 420 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); 421 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); 422 method @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(); 423 } 424 425 @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 { 426 } 427 428 @androidx.compose.runtime.Immutable public final class KeyframesSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 429 ctor public KeyframesSpec(androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config); 430 method public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> getConfig(); 431 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedKeyframesSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 432 property public final androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config; 433 } 434 435 public static final class KeyframesSpec.KeyframeEntity<T> { 436 } 437 438 public static final class KeyframesSpec.KeyframesSpecConfig<T> { 439 ctor public KeyframesSpec.KeyframesSpecConfig(); 440 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> at(T?, int timeStamp); 441 method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> atFraction(T?, float fraction); 442 method public int getDelayMillis(); 443 method public int getDurationMillis(); 444 method public void setDelayMillis(int); 445 method public void setDurationMillis(int); 446 method public infix void with(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, androidx.compose.animation.core.Easing easing); 447 property public final int delayMillis; 448 property public final int durationMillis; 449 } 450 451 public final class MutableTransitionState<S> { 452 ctor public MutableTransitionState(S? initialState); 453 method public S! getCurrentState(); 454 method public S! getTargetState(); 455 method public boolean isIdle(); 456 method public void setTargetState(S!); 457 property public final S! currentState; 458 property public final boolean isIdle; 459 property public final S! targetState; 460 } 461 462 public enum RepeatMode { 463 enum_constant public static final androidx.compose.animation.core.RepeatMode Restart; 464 enum_constant public static final androidx.compose.animation.core.RepeatMode Reverse; 465 } 466 467 @androidx.compose.runtime.Immutable public final class RepeatableSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 468 ctor @Deprecated public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 469 ctor public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 470 method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); 471 method public long getInitialStartOffset(); 472 method public int getIterations(); 473 method public androidx.compose.animation.core.RepeatMode getRepeatMode(); 474 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 475 property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; 476 property public final long initialStartOffset; 477 property public final int iterations; 478 property public final androidx.compose.animation.core.RepeatMode repeatMode; 479 } 480 481 @androidx.compose.runtime.Immutable public final class SnapSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 482 ctor public SnapSpec(optional int delay); 483 method public int getDelay(); 484 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 485 property public final int delay; 486 } 487 488 public final class Spring { 489 field public static final float DampingRatioHighBouncy = 0.2f; 490 field public static final float DampingRatioLowBouncy = 0.75f; 491 field public static final float DampingRatioMediumBouncy = 0.5f; 492 field public static final float DampingRatioNoBouncy = 1.0f; 493 field public static final float DefaultDisplacementThreshold = 0.01f; 494 field public static final androidx.compose.animation.core.Spring INSTANCE; 495 field public static final float StiffnessHigh = 10000.0f; 496 field public static final float StiffnessLow = 200.0f; 497 field public static final float StiffnessMedium = 1500.0f; 498 field public static final float StiffnessMediumLow = 400.0f; 499 field public static final float StiffnessVeryLow = 50.0f; 500 } 501 502 public final class SpringEstimationKt { 503 } 504 505 public final class SpringSimulationKt { 506 } 507 508 @androidx.compose.runtime.Immutable public final class SpringSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { 509 ctor public SpringSpec(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); 510 method public float getDampingRatio(); 511 method public float getStiffness(); 512 method public T? getVisibilityThreshold(); 513 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedSpringSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 514 property public final float dampingRatio; 515 property public final float stiffness; 516 property public final T? visibilityThreshold; 517 } 518 519 @kotlin.jvm.JvmInline public final value class StartOffset { 520 ctor public StartOffset(int offsetMillis, optional int offsetType); 521 method public int getOffsetMillis(); 522 method public int getOffsetType(); 523 property public final int offsetMillis; 524 property public final int offsetType; 525 } 526 527 @kotlin.jvm.JvmInline public final value class StartOffsetType { 528 field public static final androidx.compose.animation.core.StartOffsetType.Companion Companion; 529 } 530 531 public static final class StartOffsetType.Companion { 532 method public int getDelay(); 533 method public int getFastForward(); 534 property public final int Delay; 535 property public final int FastForward; 536 } 537 538 public final class SuspendAnimationKt { 539 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>); 540 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>); 541 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>); 542 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>); 543 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>); 544 } 545 546 public final class TargetBasedAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { 547 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); 548 method public long getDurationNanos(); 549 method public T! getInitialValue(); 550 method public T! getTargetValue(); 551 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 552 method public T! getValueFromNanos(long playTimeNanos); 553 method public V getVelocityVectorFromNanos(long playTimeNanos); 554 method public boolean isInfinite(); 555 property public long durationNanos; 556 property public final T! initialValue; 557 property public boolean isInfinite; 558 property public T! targetValue; 559 property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 560 } 561 562 @androidx.compose.runtime.Stable public final class Transition<S> { 563 method public java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<?,?>> getAnimations(); 564 method public S! getCurrentState(); 565 method public String? getLabel(); 566 method public androidx.compose.animation.core.Transition.Segment<S> getSegment(); 567 method public S! getTargetState(); 568 method public long getTotalDurationNanos(); 569 method public java.util.List<androidx.compose.animation.core.Transition<?>> getTransitions(); 570 method public boolean isRunning(); 571 property public final java.util.List<androidx.compose.animation.core.Transition<S>.TransitionAnimationState<?,?>> animations; 572 property public final S! currentState; 573 property public final boolean isRunning; 574 property public final String? label; 575 property public final androidx.compose.animation.core.Transition.Segment<S> segment; 576 property public final S! targetState; 577 property public final long totalDurationNanos; 578 property public final java.util.List<androidx.compose.animation.core.Transition<?>> transitions; 579 } 580 581 @kotlin.jvm.JvmDefaultWithCompatibility public static interface Transition.Segment<S> { 582 method public S! getInitialState(); 583 method public S! getTargetState(); 584 method public default infix boolean isTransitioningTo(S?, S? targetState); 585 property public abstract S! initialState; 586 property public abstract S! targetState; 587 } 588 589 @androidx.compose.runtime.Stable public final class Transition.TransitionAnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { 590 method public androidx.compose.animation.core.TargetBasedAnimation<T,V> getAnimation(); 591 method public androidx.compose.animation.core.FiniteAnimationSpec<T> getAnimationSpec(); 592 method public String getLabel(); 593 method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); 594 method public T! getValue(); 595 property public final androidx.compose.animation.core.TargetBasedAnimation<T,V> animation; 596 property public final androidx.compose.animation.core.FiniteAnimationSpec<T> animationSpec; 597 property public final String label; 598 property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; 599 property public T! value; 600 } 601 602 public final class TransitionKt { 603 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); 604 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); 605 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); 606 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); 607 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); 608 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); 609 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); 610 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); 611 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); 612 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); 613 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); 614 method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(T? targetState, optional String? label); 615 } 616 617 @androidx.compose.runtime.Immutable public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { 618 ctor public TweenSpec(optional int durationMillis, optional int delay, optional androidx.compose.animation.core.Easing easing); 619 method public int getDelay(); 620 method public int getDurationMillis(); 621 method public androidx.compose.animation.core.Easing getEasing(); 622 method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); 623 property public final int delay; 624 property public final int durationMillis; 625 property public final androidx.compose.animation.core.Easing easing; 626 } 627 628 public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { 629 method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); 630 method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); 631 property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; 632 property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; 633 } 634 635 public final class VectorConvertersKt { 636 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); 637 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); 638 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); 639 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); 640 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); 641 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); 642 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); 643 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); 644 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.FloatCompanionObject); 645 method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.IntCompanionObject); 646 } 647 648 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 649 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 650 method public default V getEndVelocity(V initialValue, V targetValue, V initialVelocity); 651 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 652 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 653 method public boolean isInfinite(); 654 property public abstract boolean isInfinite; 655 } 656 657 public final class VectorizedAnimationSpecKt { 658 } 659 660 public interface VectorizedDecayAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { 661 method public float getAbsVelocityThreshold(); 662 method public long getDurationNanos(V initialValue, V initialVelocity); 663 method public V getTargetValue(V initialValue, V initialVelocity); 664 method public V getValueFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 665 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V initialVelocity); 666 property public abstract float absVelocityThreshold; 667 } 668 669 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 670 method public int getDelayMillis(); 671 method public int getDurationMillis(); 672 method public default long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 673 property public abstract int delayMillis; 674 property public abstract int durationMillis; 675 } 676 677 @kotlin.jvm.JvmDefaultWithCompatibility public interface VectorizedFiniteAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { 678 method public default boolean isInfinite(); 679 property public default boolean isInfinite; 680 } 681 682 public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 683 ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); 684 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 685 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 686 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 687 } 688 689 public final class VectorizedInfiniteRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { 690 ctor @Deprecated public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 691 ctor public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 692 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 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 method public boolean isInfinite(); 696 property public boolean isInfinite; 697 } 698 699 public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 700 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); 701 method public int getDelayMillis(); 702 method public int getDurationMillis(); 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 property public int delayMillis; 706 property public int durationMillis; 707 } 708 709 public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 710 ctor @Deprecated public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); 711 ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode, optional long initialStartOffset); 712 method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); 713 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 714 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 715 } 716 717 public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 718 ctor public VectorizedSnapSpec(optional int delayMillis); 719 method public int getDelayMillis(); 720 method public int getDurationMillis(); 721 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 722 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 723 property public int delayMillis; 724 property public int durationMillis; 725 } 726 727 public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { 728 ctor public VectorizedSpringSpec(optional float dampingRatio, optional float stiffness, optional V? visibilityThreshold); 729 method public float getDampingRatio(); 730 method public float getStiffness(); 731 property public final float dampingRatio; 732 property public final float stiffness; 733 } 734 735 public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { 736 ctor public VectorizedTweenSpec(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); 737 method public int getDelayMillis(); 738 method public int getDurationMillis(); 739 method public androidx.compose.animation.core.Easing getEasing(); 740 method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 741 method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); 742 property public int delayMillis; 743 property public int durationMillis; 744 property public final androidx.compose.animation.core.Easing easing; 745 } 746 747 public final class VisibilityThresholdsKt { 748 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Offset.Companion); 749 method public static androidx.compose.ui.geometry.Rect getVisibilityThreshold(androidx.compose.ui.geometry.Rect.Companion); 750 method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Size.Companion); 751 method public static float getVisibilityThreshold(androidx.compose.ui.unit.Dp.Companion); 752 method public static long getVisibilityThreshold(androidx.compose.ui.unit.DpOffset.Companion); 753 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntOffset.Companion); 754 method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntSize.Companion); 755 method public static int getVisibilityThreshold(kotlin.jvm.internal.IntCompanionObject); 756 } 757 758} 759 760package androidx.compose.animation.core.internal { 761 762 public final class JvmDefaultWithCompatibility_jvmKt { 763 } 764 765} 766 767