Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 1 | // Signature format: 4.0 |
| 2 | package androidx.compose.animation.core { |
| 3 | |
| 4 | public final class ActualJvmKt { |
| 5 | } |
| 6 | |
| 7 | public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 8 | ctor public Animatable(T? initialValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional T? visibilityThreshold); |
| 9 | method public suspend Object? animateDecay(T? initialVelocity, androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Animatable<T,V>,kotlin.Unit>? block, optional kotlin.coroutines.Continuation<? super androidx.compose.animation.core.AnimationResult<T,V>> p); |
| 10 | method public suspend Object? animateTo(T? targetValue, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional T? initialVelocity, optional kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.Animatable<T,V>,kotlin.Unit>? block, optional kotlin.coroutines.Continuation<? super androidx.compose.animation.core.AnimationResult<T,V>> p); |
| 11 | method public androidx.compose.runtime.State<T> asState(); |
| 12 | method public T? getLowerBound(); |
| 13 | method public T! getTargetValue(); |
| 14 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 15 | method public T? getUpperBound(); |
| 16 | method public T! getValue(); |
| 17 | method public T! getVelocity(); |
| 18 | method public V getVelocityVector(); |
| 19 | method public boolean isRunning(); |
| 20 | method public suspend Object? snapTo(T? targetValue, kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
| 21 | method public suspend Object? stop(kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
| 22 | method public void updateBounds(optional T? lowerBound, optional T? upperBound); |
| 23 | property public final boolean isRunning; |
| 24 | property public final T? lowerBound; |
| 25 | property public final T! targetValue; |
| 26 | property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 27 | property public final T? upperBound; |
| 28 | property public final T! value; |
| 29 | property public final T! velocity; |
| 30 | property public final V velocityVector; |
| 31 | } |
| 32 | |
| 33 | public final class AnimatableKt { |
| 34 | method public static androidx.compose.animation.core.Animatable<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> Animatable(float initialValue, optional float visibilityThreshold); |
| 35 | } |
| 36 | |
| 37 | public final class AnimateAsStateKt { |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 38 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.Dp> animateDpAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.Dp> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.Dp,kotlin.Unit>? finishedListener); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 39 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Float> animateFloatAsState(float targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Float> animationSpec, optional float visibilityThreshold, optional kotlin.jvm.functions.Function1<? super java.lang.Float,kotlin.Unit>? finishedListener); |
| 40 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<java.lang.Integer> animateIntAsState(int targetValue, optional androidx.compose.animation.core.AnimationSpec<java.lang.Integer> animationSpec, optional kotlin.jvm.functions.Function1<? super java.lang.Integer,kotlin.Unit>? finishedListener); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 41 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.IntOffset> animateIntOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntOffset> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntOffset,kotlin.Unit>? finishedListener); |
| 42 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.unit.IntSize> animateIntSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.unit.IntSize> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntSize,kotlin.Unit>? finishedListener); |
| 43 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Offset> animateOffsetAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Offset> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Offset,kotlin.Unit>? finishedListener); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 44 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Rect> animateRectAsState(androidx.compose.ui.geometry.Rect targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Rect> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Rect,kotlin.Unit>? finishedListener); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 45 | method @androidx.compose.runtime.Composable public static androidx.compose.runtime.State<androidx.compose.ui.geometry.Size> animateSizeAsState(long targetValue, optional androidx.compose.animation.core.AnimationSpec<androidx.compose.ui.geometry.Size> animationSpec, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.geometry.Size,kotlin.Unit>? finishedListener); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 46 | method @androidx.compose.runtime.Composable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.runtime.State<T> animateValueAsState(T? targetValue, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, optional androidx.compose.animation.core.AnimationSpec<T> animationSpec, optional T? visibilityThreshold, optional kotlin.jvm.functions.Function1<? super T,kotlin.Unit>? finishedListener); |
| 47 | } |
| 48 | |
| 49 | public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 50 | method public long getDurationNanos(); |
| 51 | method public T! getTargetValue(); |
| 52 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 53 | method public T! getValueFromNanos(long playTimeNanos); |
| 54 | method public V getVelocityVectorFromNanos(long playTimeNanos); |
| 55 | method public default boolean isFinishedFromNanos(long playTimeNanos); |
| 56 | method public boolean isInfinite(); |
| 57 | property public abstract long durationNanos; |
| 58 | property public abstract boolean isInfinite; |
| 59 | property public abstract T! targetValue; |
| 60 | property public abstract androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 61 | } |
| 62 | |
| 63 | public final class AnimationConstants { |
| 64 | field public static final int DefaultDurationMillis = 300; // 0x12c |
| 65 | field public static final androidx.compose.animation.core.AnimationConstants INSTANCE; |
| 66 | field public static final long UnspecifiedTime = -9223372036854775808L; // 0x8000000000000000L |
| 67 | } |
| 68 | |
| 69 | public enum AnimationEndReason { |
| 70 | enum_constant public static final androidx.compose.animation.core.AnimationEndReason BoundReached; |
| 71 | enum_constant public static final androidx.compose.animation.core.AnimationEndReason Finished; |
| 72 | } |
| 73 | |
| 74 | public final class AnimationKt { |
| 75 | method public static androidx.compose.animation.core.DecayAnimation<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> DecayAnimation(androidx.compose.animation.core.FloatDecayAnimationSpec animationSpec, float initialValue, optional float initialVelocity); |
| 76 | method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.TargetBasedAnimation<T,V> TargetBasedAnimation(androidx.compose.animation.core.AnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? targetValue, T? initialVelocity); |
| 77 | method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocityFromNanos(androidx.compose.animation.core.Animation<T,V>, long playTimeNanos); |
| 78 | } |
| 79 | |
| 80 | public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 81 | ctor public AnimationResult(androidx.compose.animation.core.AnimationState<T,V> endState, androidx.compose.animation.core.AnimationEndReason endReason); |
| 82 | method public androidx.compose.animation.core.AnimationEndReason getEndReason(); |
| 83 | method public androidx.compose.animation.core.AnimationState<T,V> getEndState(); |
| 84 | property public final androidx.compose.animation.core.AnimationEndReason endReason; |
| 85 | property public final androidx.compose.animation.core.AnimationState<T,V> endState; |
| 86 | } |
| 87 | |
| 88 | public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 89 | method public void cancelAnimation(); |
| 90 | method public long getFinishedTimeNanos(); |
| 91 | method public long getLastFrameTimeNanos(); |
| 92 | method public long getStartTimeNanos(); |
| 93 | method public T! getTargetValue(); |
| 94 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 95 | method public T! getValue(); |
| 96 | method public T! getVelocity(); |
| 97 | method public V getVelocityVector(); |
| 98 | method public boolean isRunning(); |
| 99 | method public androidx.compose.animation.core.AnimationState<T,V> toAnimationState(); |
| 100 | property public final long finishedTimeNanos; |
| 101 | property public final boolean isRunning; |
| 102 | property public final long lastFrameTimeNanos; |
| 103 | property public final long startTimeNanos; |
| 104 | property public final T! targetValue; |
| 105 | property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 106 | property public final T! value; |
| 107 | property public final T! velocity; |
| 108 | property public final V velocityVector; |
| 109 | } |
| 110 | |
| 111 | public interface AnimationSpec<T> { |
| 112 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 113 | } |
| 114 | |
| 115 | public final class AnimationSpecKt { |
| 116 | method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.InfiniteRepeatableSpec<T> infiniteRepeatable(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); |
| 117 | method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.KeyframesSpec<T> keyframes(kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T>,kotlin.Unit> init); |
| 118 | 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); |
| 119 | method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SnapSpec<T> snap(optional int delayMillis); |
| 120 | method @androidx.compose.runtime.Stable public static <T> androidx.compose.animation.core.SpringSpec<T> spring(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); |
| 121 | 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); |
| 122 | } |
| 123 | |
| 124 | public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.runtime.State<T> { |
| 125 | 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); |
| 126 | method public long getFinishedTimeNanos(); |
| 127 | method public long getLastFrameTimeNanos(); |
| 128 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 129 | method public T! getValue(); |
| 130 | method public T! getVelocity(); |
| 131 | method public V getVelocityVector(); |
| 132 | method public boolean isRunning(); |
| 133 | property public final long finishedTimeNanos; |
| 134 | property public final boolean isRunning; |
| 135 | property public final long lastFrameTimeNanos; |
| 136 | property public final androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 137 | property public T! value; |
| 138 | property public final T! velocity; |
| 139 | property public final V velocityVector; |
| 140 | } |
| 141 | |
| 142 | public final class AnimationStateKt { |
| 143 | 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); |
| 144 | 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); |
| 145 | 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); |
| 146 | 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); |
| 147 | method public static <T, V extends androidx.compose.animation.core.AnimationVector> V createZeroVectorFrom(androidx.compose.animation.core.TwoWayConverter<T,V>, T? value); |
| 148 | method public static boolean isFinished(androidx.compose.animation.core.AnimationState<?,?>); |
| 149 | } |
| 150 | |
| 151 | public abstract sealed class AnimationVector { |
| 152 | } |
| 153 | |
| 154 | public final class AnimationVector1D extends androidx.compose.animation.core.AnimationVector { |
| 155 | ctor public AnimationVector1D(float initVal); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 156 | method public float getValue(); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 157 | property public final float value; |
| 158 | } |
| 159 | |
| 160 | public final class AnimationVector2D extends androidx.compose.animation.core.AnimationVector { |
| 161 | ctor public AnimationVector2D(float v1, float v2); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 162 | method public float getV1(); |
| 163 | method public float getV2(); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 164 | property public final float v1; |
| 165 | property public final float v2; |
| 166 | } |
| 167 | |
| 168 | public final class AnimationVector3D extends androidx.compose.animation.core.AnimationVector { |
| 169 | ctor public AnimationVector3D(float v1, float v2, float v3); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 170 | method public float getV1(); |
| 171 | method public float getV2(); |
| 172 | method public float getV3(); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 173 | property public final float v1; |
| 174 | property public final float v2; |
| 175 | property public final float v3; |
| 176 | } |
| 177 | |
| 178 | public final class AnimationVector4D extends androidx.compose.animation.core.AnimationVector { |
| 179 | ctor public AnimationVector4D(float v1, float v2, float v3, float v4); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 180 | method public float getV1(); |
| 181 | method public float getV2(); |
| 182 | method public float getV3(); |
| 183 | method public float getV4(); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 184 | property public final float v1; |
| 185 | property public final float v2; |
| 186 | property public final float v3; |
| 187 | property public final float v4; |
| 188 | } |
| 189 | |
| 190 | public final class AnimationVectorsKt { |
| 191 | method public static androidx.compose.animation.core.AnimationVector1D AnimationVector(float v1); |
| 192 | method public static androidx.compose.animation.core.AnimationVector2D AnimationVector(float v1, float v2); |
| 193 | method public static androidx.compose.animation.core.AnimationVector3D AnimationVector(float v1, float v2, float v3); |
| 194 | method public static androidx.compose.animation.core.AnimationVector4D AnimationVector(float v1, float v2, float v3, float v4); |
| 195 | } |
| 196 | |
| 197 | public final class ComplexDoubleKt { |
| 198 | } |
| 199 | |
| 200 | @androidx.compose.runtime.Immutable public final class CubicBezierEasing implements androidx.compose.animation.core.Easing { |
| 201 | ctor public CubicBezierEasing(float a, float b, float c, float d); |
| 202 | method public float transform(float fraction); |
| 203 | } |
| 204 | |
| 205 | public final class DecayAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { |
| 206 | ctor public DecayAnimation(androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, V initialVelocityVector); |
| 207 | ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, V initialVelocityVector); |
| 208 | ctor public DecayAnimation(androidx.compose.animation.core.DecayAnimationSpec<T> animationSpec, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, T? initialValue, T? initialVelocity); |
| 209 | method public long getDurationNanos(); |
| 210 | method public T! getInitialValue(); |
| 211 | method public V getInitialVelocityVector(); |
| 212 | method public T! getTargetValue(); |
| 213 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 214 | method public T! getValueFromNanos(long playTimeNanos); |
| 215 | method public V getVelocityVectorFromNanos(long playTimeNanos); |
| 216 | method public boolean isInfinite(); |
| 217 | property public long durationNanos; |
| 218 | property public final T! initialValue; |
| 219 | property public final V initialVelocityVector; |
| 220 | property public boolean isInfinite; |
| 221 | property public T! targetValue; |
| 222 | property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 223 | } |
| 224 | |
| 225 | public interface DecayAnimationSpec<T> { |
| 226 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDecayAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter); |
| 227 | } |
| 228 | |
| 229 | public final class DecayAnimationSpecKt { |
| 230 | 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); |
| 231 | method public static float calculateTargetValue(androidx.compose.animation.core.DecayAnimationSpec<java.lang.Float>, float initialValue, float initialVelocity); |
| 232 | method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> exponentialDecay(optional float frictionMultiplier, optional float absVelocityThreshold); |
| 233 | method public static <T> androidx.compose.animation.core.DecayAnimationSpec<T> generateDecayAnimationSpec(androidx.compose.animation.core.FloatDecayAnimationSpec); |
| 234 | } |
| 235 | |
| 236 | public interface DurationBasedAnimationSpec<T> extends androidx.compose.animation.core.FiniteAnimationSpec<T> { |
| 237 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 238 | } |
| 239 | |
| 240 | @androidx.compose.runtime.Stable public fun interface Easing { |
| 241 | method public float transform(float fraction); |
| 242 | } |
| 243 | |
| 244 | public final class EasingKt { |
| 245 | method public static androidx.compose.animation.core.Easing getFastOutLinearInEasing(); |
| 246 | method public static androidx.compose.animation.core.Easing getFastOutSlowInEasing(); |
| 247 | method public static androidx.compose.animation.core.Easing getLinearEasing(); |
| 248 | method public static androidx.compose.animation.core.Easing getLinearOutSlowInEasing(); |
| 249 | } |
| 250 | |
| 251 | public interface FiniteAnimationSpec<T> extends androidx.compose.animation.core.AnimationSpec<T> { |
| 252 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 253 | } |
| 254 | |
| 255 | public interface FloatAnimationSpec extends androidx.compose.animation.core.AnimationSpec<java.lang.Float> { |
| 256 | method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); |
| 257 | method public default float getEndVelocity(float initialValue, float targetValue, float initialVelocity); |
| 258 | method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 259 | method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 260 | 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); |
| 261 | } |
| 262 | |
| 263 | public interface FloatDecayAnimationSpec { |
| 264 | method public float getAbsVelocityThreshold(); |
| 265 | method public long getDurationNanos(float initialValue, float initialVelocity); |
| 266 | method public float getTargetValue(float initialValue, float initialVelocity); |
| 267 | method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); |
| 268 | method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); |
| 269 | property public abstract float absVelocityThreshold; |
| 270 | } |
| 271 | |
| 272 | public final class FloatDecayAnimationSpecKt { |
| 273 | } |
| 274 | |
| 275 | public final class FloatExponentialDecaySpec implements androidx.compose.animation.core.FloatDecayAnimationSpec { |
| 276 | ctor public FloatExponentialDecaySpec(optional float frictionMultiplier, optional float absVelocityThreshold); |
| 277 | method public float getAbsVelocityThreshold(); |
| 278 | method public long getDurationNanos(float initialValue, float initialVelocity); |
| 279 | method public float getTargetValue(float initialValue, float initialVelocity); |
| 280 | method public float getValueFromNanos(long playTimeNanos, float initialValue, float initialVelocity); |
| 281 | method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float initialVelocity); |
| 282 | property public float absVelocityThreshold; |
| 283 | } |
| 284 | |
| 285 | public final class FloatSpringSpec implements androidx.compose.animation.core.FloatAnimationSpec { |
| 286 | ctor public FloatSpringSpec(optional float dampingRatio, optional float stiffness, optional float visibilityThreshold); |
| 287 | method public float getDampingRatio(); |
| 288 | method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); |
| 289 | method public float getStiffness(); |
| 290 | method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 291 | method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 292 | property public final float dampingRatio; |
| 293 | property public final float stiffness; |
| 294 | } |
| 295 | |
| 296 | public final class FloatTweenSpec implements androidx.compose.animation.core.FloatAnimationSpec { |
| 297 | ctor public FloatTweenSpec(optional int duration, optional int delay, optional androidx.compose.animation.core.Easing easing); |
| 298 | method public int getDelay(); |
| 299 | method public int getDuration(); |
| 300 | method public long getDurationNanos(float initialValue, float targetValue, float initialVelocity); |
| 301 | method public float getValueFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 302 | method public float getVelocityFromNanos(long playTimeNanos, float initialValue, float targetValue, float initialVelocity); |
| 303 | property public final int delay; |
| 304 | property public final int duration; |
| 305 | } |
| 306 | |
| 307 | public interface InfiniteAnimationPolicy extends kotlin.coroutines.CoroutineContext.Element { |
| 308 | method public default kotlin.coroutines.CoroutineContext.Key<?> getKey(); |
| 309 | method public suspend <R> Object? onInfiniteOperation(kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super R>,?> block, kotlin.coroutines.Continuation<? super R> p); |
| 310 | property public default kotlin.coroutines.CoroutineContext.Key<?> key; |
| 311 | field public static final androidx.compose.animation.core.InfiniteAnimationPolicy.Key Key; |
| 312 | } |
| 313 | |
| 314 | public static final class InfiniteAnimationPolicy.Key implements kotlin.coroutines.CoroutineContext.Key<androidx.compose.animation.core.InfiniteAnimationPolicy> { |
| 315 | } |
| 316 | |
| 317 | public final class InfiniteAnimationPolicyKt { |
| 318 | method public static suspend inline <R> Object? withInfiniteAnimationFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 319 | method public static suspend <R> Object? withInfiniteAnimationFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 320 | } |
| 321 | |
| 322 | public final class InfiniteRepeatableSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { |
| 323 | ctor public InfiniteRepeatableSpec(androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); |
| 324 | method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); |
| 325 | method public androidx.compose.animation.core.RepeatMode getRepeatMode(); |
| 326 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 327 | property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; |
| 328 | property public final androidx.compose.animation.core.RepeatMode repeatMode; |
| 329 | } |
| 330 | |
| 331 | public final class InfiniteTransition { |
| 332 | } |
| 333 | |
| 334 | public final class InfiniteTransitionKt { |
| 335 | 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); |
| 336 | 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); |
| 337 | method @androidx.compose.runtime.Composable public static androidx.compose.animation.core.InfiniteTransition rememberInfiniteTransition(); |
| 338 | } |
| 339 | |
| 340 | @androidx.compose.runtime.Immutable public final class KeyframesSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { |
| 341 | ctor public KeyframesSpec(androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config); |
| 342 | method public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> getConfig(); |
| 343 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedKeyframesSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 344 | property public final androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config; |
| 345 | } |
| 346 | |
| 347 | public static final class KeyframesSpec.KeyframeEntity<T> { |
| 348 | } |
| 349 | |
| 350 | public static final class KeyframesSpec.KeyframesSpecConfig<T> { |
| 351 | ctor public KeyframesSpec.KeyframesSpecConfig(); |
| 352 | method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> at(T?, int timeStamp); |
| 353 | method public int getDelayMillis(); |
| 354 | method public int getDurationMillis(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 355 | method public void setDelayMillis(int delayMillis); |
| 356 | method public void setDurationMillis(int durationMillis); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 357 | method public infix void with(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, androidx.compose.animation.core.Easing easing); |
| 358 | property public final int delayMillis; |
| 359 | property public final int durationMillis; |
| 360 | } |
| 361 | |
| 362 | public final class ManualFrameClock implements androidx.compose.runtime.MonotonicFrameClock { |
| 363 | ctor public ManualFrameClock(optional long initialTime); |
| 364 | method public void advanceClock(long nanos); |
| 365 | method public long getCurrentTime(); |
| 366 | method public boolean getHasAwaiters(); |
| 367 | method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 368 | property public final long currentTime; |
| 369 | property public final boolean hasAwaiters; |
| 370 | } |
| 371 | |
| 372 | public final class ManualFrameClockKt { |
| 373 | method public static void advanceClockMillis(androidx.compose.animation.core.ManualFrameClock, long millis); |
| 374 | } |
| 375 | |
| 376 | public final class MutableTransitionState<S> { |
| 377 | ctor public MutableTransitionState(S? initialState); |
| 378 | method public S! getCurrentState(); |
| 379 | method public S! getTargetState(); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 380 | method public void setTargetState(S! targetState); |
Nick Anthony | f796c32 | 2021-05-11 03:34:54 -0400 | [diff] [blame] | 381 | property public final S! currentState; |
| 382 | property public final S! targetState; |
| 383 | } |
| 384 | |
| 385 | public enum RepeatMode { |
| 386 | enum_constant public static final androidx.compose.animation.core.RepeatMode Restart; |
| 387 | enum_constant public static final androidx.compose.animation.core.RepeatMode Reverse; |
| 388 | } |
| 389 | |
| 390 | @androidx.compose.runtime.Immutable public final class RepeatableSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { |
| 391 | ctor public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); |
| 392 | method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); |
| 393 | method public int getIterations(); |
| 394 | method public androidx.compose.animation.core.RepeatMode getRepeatMode(); |
| 395 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 396 | property public final androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation; |
| 397 | property public final int iterations; |
| 398 | property public final androidx.compose.animation.core.RepeatMode repeatMode; |
| 399 | } |
| 400 | |
| 401 | @androidx.compose.runtime.Immutable public final class SnapSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { |
| 402 | ctor public SnapSpec(optional int delay); |
| 403 | method public int getDelay(); |
| 404 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 405 | property public final int delay; |
| 406 | } |
| 407 | |
| 408 | public final class Spring { |
| 409 | field public static final float DampingRatioHighBouncy = 0.2f; |
| 410 | field public static final float DampingRatioLowBouncy = 0.75f; |
| 411 | field public static final float DampingRatioMediumBouncy = 0.5f; |
| 412 | field public static final float DampingRatioNoBouncy = 1.0f; |
| 413 | field public static final float DefaultDisplacementThreshold = 0.01f; |
| 414 | field public static final androidx.compose.animation.core.Spring INSTANCE; |
| 415 | field public static final float StiffnessHigh = 10000.0f; |
| 416 | field public static final float StiffnessLow = 200.0f; |
| 417 | field public static final float StiffnessMedium = 1500.0f; |
| 418 | field public static final float StiffnessVeryLow = 50.0f; |
| 419 | } |
| 420 | |
| 421 | public final class SpringEstimationKt { |
| 422 | } |
| 423 | |
| 424 | public final class SpringSimulationKt { |
| 425 | } |
| 426 | |
| 427 | @androidx.compose.runtime.Immutable public final class SpringSpec<T> implements androidx.compose.animation.core.FiniteAnimationSpec<T> { |
| 428 | ctor public SpringSpec(optional float dampingRatio, optional float stiffness, optional T? visibilityThreshold); |
| 429 | method public float getDampingRatio(); |
| 430 | method public float getStiffness(); |
| 431 | method public T? getVisibilityThreshold(); |
| 432 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedSpringSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 433 | property public final float dampingRatio; |
| 434 | property public final float stiffness; |
| 435 | property public final T? visibilityThreshold; |
| 436 | } |
| 437 | |
| 438 | public final class SuspendAnimationKt { |
| 439 | 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> p); |
| 440 | 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> p); |
| 441 | 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> p); |
| 442 | 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> p); |
| 443 | 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> p); |
| 444 | } |
| 445 | |
| 446 | public final class TargetBasedAnimation<T, V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.Animation<T,V> { |
| 447 | 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); |
| 448 | method public long getDurationNanos(); |
| 449 | method public T! getInitialValue(); |
| 450 | method public T! getTargetValue(); |
| 451 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
| 452 | method public T! getValueFromNanos(long playTimeNanos); |
| 453 | method public V getVelocityVectorFromNanos(long playTimeNanos); |
| 454 | method public boolean isInfinite(); |
| 455 | property public long durationNanos; |
| 456 | property public final T! initialValue; |
| 457 | property public boolean isInfinite; |
| 458 | property public T! targetValue; |
| 459 | property public androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
| 460 | } |
| 461 | |
| 462 | public final class Transition<S> { |
| 463 | method public S! getCurrentState(); |
| 464 | method public String? getLabel(); |
| 465 | method public androidx.compose.animation.core.Transition.Segment<S> getSegment(); |
| 466 | method public S! getTargetState(); |
| 467 | method public boolean isRunning(); |
| 468 | property public final S! currentState; |
| 469 | property public final boolean isRunning; |
| 470 | property public final String? label; |
| 471 | property public final androidx.compose.animation.core.Transition.Segment<S> segment; |
| 472 | property public final S! targetState; |
| 473 | } |
| 474 | |
| 475 | public static final class Transition.Segment<S> { |
| 476 | ctor public Transition.Segment(S? initialState, S? targetState); |
| 477 | method public S! getInitialState(); |
| 478 | method public S! getTargetState(); |
| 479 | method public infix boolean isTransitioningTo(S?, S? targetState); |
| 480 | property public final S! initialState; |
| 481 | property public final S! targetState; |
| 482 | } |
| 483 | |
| 484 | public final class TransitionKt { |
| 485 | 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); |
| 486 | 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); |
| 487 | 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); |
| 488 | 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); |
| 489 | 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); |
| 490 | 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); |
| 491 | 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); |
| 492 | 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); |
| 493 | 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); |
| 494 | method @androidx.compose.runtime.Composable public static <T> androidx.compose.animation.core.Transition<T> updateTransition(T? targetState, optional String? label); |
| 495 | 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); |
| 496 | } |
| 497 | |
| 498 | @androidx.compose.runtime.Immutable public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { |
| 499 | ctor public TweenSpec(optional int durationMillis, optional int delay, optional androidx.compose.animation.core.Easing easing); |
| 500 | method public int getDelay(); |
| 501 | method public int getDurationMillis(); |
| 502 | method public androidx.compose.animation.core.Easing getEasing(); |
| 503 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
| 504 | property public final int delay; |
| 505 | property public final int durationMillis; |
| 506 | property public final androidx.compose.animation.core.Easing easing; |
| 507 | } |
| 508 | |
| 509 | public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 510 | method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); |
| 511 | method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); |
| 512 | property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; |
| 513 | property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; |
| 514 | } |
| 515 | |
| 516 | public final class VectorConvertersKt { |
| 517 | 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); |
| 518 | method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.FloatCompanionObject); |
| 519 | method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getVectorConverter(kotlin.jvm.internal.IntCompanionObject); |
| 520 | 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); |
| 521 | 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); |
| 522 | 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); |
| 523 | 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); |
| 524 | 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); |
| 525 | 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); |
| 526 | 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); |
| 527 | } |
| 528 | |
| 529 | public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { |
| 530 | method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); |
| 531 | method public default V getEndVelocity(V initialValue, V targetValue, V initialVelocity); |
| 532 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 533 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 534 | method public boolean isInfinite(); |
| 535 | property public abstract boolean isInfinite; |
| 536 | } |
| 537 | |
| 538 | public final class VectorizedAnimationSpecKt { |
| 539 | } |
| 540 | |
| 541 | public interface VectorizedDecayAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { |
| 542 | method public float getAbsVelocityThreshold(); |
| 543 | method public long getDurationNanos(V initialValue, V initialVelocity); |
| 544 | method public V getTargetValue(V initialValue, V initialVelocity); |
| 545 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V initialVelocity); |
| 546 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V initialVelocity); |
| 547 | property public abstract float absVelocityThreshold; |
| 548 | } |
| 549 | |
| 550 | public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { |
| 551 | method public int getDelayMillis(); |
| 552 | method public int getDurationMillis(); |
| 553 | method public default long getDurationNanos(V initialValue, V targetValue, V initialVelocity); |
| 554 | property public abstract int delayMillis; |
| 555 | property public abstract int durationMillis; |
| 556 | } |
| 557 | |
| 558 | public interface VectorizedFiniteAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
| 559 | method public default boolean isInfinite(); |
| 560 | property public default boolean isInfinite; |
| 561 | } |
| 562 | |
| 563 | public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { |
| 564 | ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); |
| 565 | method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); |
| 566 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 567 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 568 | } |
| 569 | |
| 570 | public final class VectorizedInfiniteRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
| 571 | ctor public VectorizedInfiniteRepeatableSpec(androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); |
| 572 | method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); |
| 573 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 574 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 575 | method public boolean isInfinite(); |
| 576 | property public boolean isInfinite; |
| 577 | } |
| 578 | |
| 579 | public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
| 580 | 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); |
| 581 | method public int getDelayMillis(); |
| 582 | method public int getDurationMillis(); |
| 583 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 584 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 585 | property public int delayMillis; |
| 586 | property public int durationMillis; |
| 587 | } |
| 588 | |
| 589 | public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { |
| 590 | ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, optional androidx.compose.animation.core.RepeatMode repeatMode); |
| 591 | method public long getDurationNanos(V initialValue, V targetValue, V initialVelocity); |
| 592 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 593 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 594 | } |
| 595 | |
| 596 | public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
| 597 | ctor public VectorizedSnapSpec(optional int delayMillis); |
| 598 | method public int getDelayMillis(); |
| 599 | method public int getDurationMillis(); |
| 600 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 601 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 602 | property public int delayMillis; |
| 603 | property public int durationMillis; |
| 604 | } |
| 605 | |
| 606 | public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedFiniteAnimationSpec<V> { |
| 607 | ctor public VectorizedSpringSpec(optional float dampingRatio, optional float stiffness, optional V? visibilityThreshold); |
| 608 | method public float getDampingRatio(); |
| 609 | method public float getStiffness(); |
| 610 | property public final float dampingRatio; |
| 611 | property public final float stiffness; |
| 612 | } |
| 613 | |
| 614 | public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
| 615 | ctor public VectorizedTweenSpec(optional int durationMillis, optional int delayMillis, optional androidx.compose.animation.core.Easing easing); |
| 616 | method public int getDelayMillis(); |
| 617 | method public int getDurationMillis(); |
| 618 | method public androidx.compose.animation.core.Easing getEasing(); |
| 619 | method public V getValueFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 620 | method public V getVelocityFromNanos(long playTimeNanos, V initialValue, V targetValue, V initialVelocity); |
| 621 | property public int delayMillis; |
| 622 | property public int durationMillis; |
| 623 | property public final androidx.compose.animation.core.Easing easing; |
| 624 | } |
| 625 | |
| 626 | public final class VisibilityThresholdsKt { |
| 627 | method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntOffset.Companion); |
| 628 | method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Offset.Companion); |
| 629 | method public static int getVisibilityThreshold(kotlin.jvm.internal.IntCompanionObject); |
| 630 | method public static float getVisibilityThreshold(androidx.compose.ui.unit.Dp.Companion); |
| 631 | method public static long getVisibilityThreshold(androidx.compose.ui.unit.DpOffset.Companion); |
| 632 | method public static long getVisibilityThreshold(androidx.compose.ui.geometry.Size.Companion); |
| 633 | method public static long getVisibilityThreshold(androidx.compose.ui.unit.IntSize.Companion); |
| 634 | method public static androidx.compose.ui.geometry.Rect getVisibilityThreshold(androidx.compose.ui.geometry.Rect.Companion); |
| 635 | } |
| 636 | |
| 637 | } |
| 638 | |