Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 2 | package androidx.compose.animation.core { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 3 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 4 | public abstract class AnimatedFloat extends androidx.compose.animation.core.BaseAnimatedValue<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> { |
| 5 | ctor public AnimatedFloat(androidx.compose.animation.core.AnimationClockObservable clock, float visibilityThreshold); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 6 | method public final float getMax(); |
| 7 | method public final float getMin(); |
| 8 | method public final float getVelocity(); |
| 9 | method public final void setBounds(float min = (-1.0f/0.0f), float max = (1.0f/0.0f)); |
| 10 | method public void snapTo(float targetValue); |
| 11 | property public final float max; |
| 12 | property public final float min; |
| 13 | property public final float velocity; |
| 14 | } |
| 15 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 16 | public abstract class AnimatedValue<T, V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.BaseAnimatedValue<T,V> { |
| 17 | ctor public AnimatedValue(androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, androidx.compose.animation.core.AnimationClockObservable clock, T? visibilityThreshold); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 18 | method public final V getVelocity(); |
| 19 | property public final V velocity; |
| 20 | } |
| 21 | |
| 22 | public final class AnimatedValueKt { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 23 | method public static androidx.compose.animation.core.AnimatedFloat AnimatedFloat(float initVal, androidx.compose.animation.core.AnimationClockObservable clock, float visibilityThreshold = 0.01f); |
| 24 | method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.AnimatedValue<T,V> AnimatedValue(T? initVal, androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter, androidx.compose.animation.core.AnimationClockObservable clock, T? visibilityThreshold = null); |
| 25 | method public static <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.AnimatedValue<V,V> AnimatedVector(V initVal, androidx.compose.animation.core.AnimationClockObservable clock, V visibilityThreshold = initVal.newInstanceOfValue(Spring.DefaultDisplacementThreshold)); |
| 26 | method public static void fling(androidx.compose.animation.core.AnimatedFloat, float startVelocity, androidx.compose.animation.core.FloatDecayAnimationSpec decay = androidx.compose.animation.core.ExponentialDecay(), kotlin.jvm.functions.Function3<? super androidx.compose.animation.core.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? > |
| 27 | method public static void fling(androidx.compose.animation.core.AnimatedFloat, float startVelocity, androidx.compose.animation.core.FloatDecayAnimationSpec decay = androidx.compose.animation.core.ExponentialDecay(), kotlin.jvm.functions.Function1<? super java.lang.Float,androidx.compose.animation.core.TargetAnimation> adjustTarget, kotlin.jvm.functions.Function3<? super androidx.compose.animation.core.AnimationEndReason,? super java.lang.Float,? super java.lang.Float,kotlin.Unit>? > |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | public final class AnimationClockKt { |
| 31 | } |
| 32 | |
| 33 | public interface AnimationClockObservable { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 34 | method public void subscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
| 35 | method public void unsubscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | public interface AnimationClockObserver { |
| 39 | method public void onAnimationFrame(long frameTimeMillis); |
| 40 | } |
| 41 | |
| 42 | public final class AnimationConstants { |
| 43 | field public static final int DefaultDurationMillis = 300; // 0x12c |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 44 | field public static final androidx.compose.animation.core.AnimationConstants INSTANCE; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 45 | field public static final int Infinite = 2147483647; // 0x7fffffff |
| 46 | } |
| 47 | |
| 48 | public enum AnimationEndReason { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 49 | method public static androidx.compose.animation.core.AnimationEndReason valueOf(String name) throws java.lang.IllegalArgumentException; |
| 50 | method public static androidx.compose.animation.core.AnimationEndReason[] values(); |
| 51 | enum_constant public static final androidx.compose.animation.core.AnimationEndReason BoundReached; |
| 52 | enum_constant public static final androidx.compose.animation.core.AnimationEndReason Interrupted; |
| 53 | enum_constant public static final androidx.compose.animation.core.AnimationEndReason TargetReached; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | public final class AnimationKt { |
| 57 | } |
| 58 | |
| 59 | public interface AnimationSpec<T> { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 60 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | public final class AnimationSpecKt { |
| 64 | } |
| 65 | |
| 66 | public abstract sealed class AnimationVector { |
| 67 | } |
| 68 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 69 | public final class AnimationVector1D extends androidx.compose.animation.core.AnimationVector { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 70 | ctor public AnimationVector1D(float initVal); |
| 71 | method public float get$lintWithKotlin(int index); |
| 72 | method public int getSize$lintWithKotlin(); |
| 73 | method public float getValue(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 74 | method public androidx.compose.animation.core.AnimationVector1D newVector$lintWithKotlin(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 75 | method public void reset$lintWithKotlin(); |
| 76 | method public void set$lintWithKotlin(int index, float value); |
| 77 | property public int size; |
| 78 | property public final float value; |
| 79 | } |
| 80 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 81 | public final class AnimationVector2D extends androidx.compose.animation.core.AnimationVector { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 82 | ctor public AnimationVector2D(float v1, float v2); |
| 83 | method public float get$lintWithKotlin(int index); |
| 84 | method public int getSize$lintWithKotlin(); |
| 85 | method public float getV1(); |
| 86 | method public float getV2(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 87 | method public androidx.compose.animation.core.AnimationVector2D newVector$lintWithKotlin(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 88 | method public void reset$lintWithKotlin(); |
| 89 | method public void set$lintWithKotlin(int index, float value); |
| 90 | property public int size; |
| 91 | property public final float v1; |
| 92 | property public final float v2; |
| 93 | } |
| 94 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 95 | public final class AnimationVector3D extends androidx.compose.animation.core.AnimationVector { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 96 | ctor public AnimationVector3D(float v1, float v2, float v3); |
| 97 | method public float get$lintWithKotlin(int index); |
| 98 | method public int getSize$lintWithKotlin(); |
| 99 | method public float getV1(); |
| 100 | method public float getV2(); |
| 101 | method public float getV3(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 102 | method public androidx.compose.animation.core.AnimationVector3D newVector$lintWithKotlin(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 103 | method public void reset$lintWithKotlin(); |
| 104 | method public void set$lintWithKotlin(int index, float value); |
| 105 | property public int size; |
| 106 | property public final float v1; |
| 107 | property public final float v2; |
| 108 | property public final float v3; |
| 109 | } |
| 110 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 111 | public final class AnimationVector4D extends androidx.compose.animation.core.AnimationVector { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 112 | ctor public AnimationVector4D(float v1, float v2, float v3, float v4); |
| 113 | method public float get$lintWithKotlin(int index); |
| 114 | method public int getSize$lintWithKotlin(); |
| 115 | method public float getV1(); |
| 116 | method public float getV2(); |
| 117 | method public float getV3(); |
| 118 | method public float getV4(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 119 | method public androidx.compose.animation.core.AnimationVector4D newVector$lintWithKotlin(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 120 | method public void reset$lintWithKotlin(); |
| 121 | method public void set$lintWithKotlin(int index, float value); |
| 122 | property public int size; |
| 123 | property public final float v1; |
| 124 | property public final float v2; |
| 125 | property public final float v3; |
| 126 | property public final float v4; |
| 127 | } |
| 128 | |
| 129 | public final class AnimationVectorsKt { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 130 | method public static androidx.compose.animation.core.AnimationVector1D AnimationVector(float v1); |
| 131 | method public static androidx.compose.animation.core.AnimationVector2D AnimationVector(float v1, float v2); |
| 132 | method public static androidx.compose.animation.core.AnimationVector3D AnimationVector(float v1, float v2, float v3); |
| 133 | method public static androidx.compose.animation.core.AnimationVector4D AnimationVector(float v1, float v2, float v3, float v4); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 134 | } |
| 135 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 136 | public abstract sealed class BaseAnimatedValue<T, V extends androidx.compose.animation.core.AnimationVector> { |
| 137 | method public final void animateTo(T? targetValue, androidx.compose.animation.core.AnimationSpec<T> anim = androidx.compose.animation.core.BaseAnimatedValue.defaultSpringSpec, kotlin.jvm.functions.Function2<? super androidx.compose.animation.core.AnimationEndReason,? super T,kotlin.Unit>? > |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 138 | method protected void checkFinished(long playtime); |
| 139 | method public final T! getTargetValue(); |
| 140 | method public abstract T! getValue(); |
| 141 | method public final boolean isRunning(); |
| 142 | method protected abstract void setValue(T! p); |
| 143 | method public void snapTo(T? targetValue); |
| 144 | method public final void stop(); |
| 145 | property public final boolean isRunning; |
| 146 | property public final T! targetValue; |
| 147 | property public abstract T! value; |
| 148 | } |
| 149 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 150 | public abstract class BaseAnimationClock implements androidx.compose.animation.core.AnimationClockObservable { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 151 | ctor public BaseAnimationClock(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 152 | method public void subscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
| 153 | method public void unsubscribe(androidx.compose.animation.core.AnimationClockObserver observer); |
| 154 | field @Deprecated public static final androidx.compose.animation.core.BaseAnimationClock.Companion Companion; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | public final class ComplexDoubleKt { |
| 158 | } |
| 159 | |
| 160 | public final class CubicBezierEasing implements kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> { |
| 161 | ctor public CubicBezierEasing(float a, float b, float c, float d); |
| 162 | method public Float! invoke(float fraction); |
| 163 | } |
| 164 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 165 | public final class DefaultAnimationClock extends androidx.compose.animation.core.BaseAnimationClock { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 166 | ctor public DefaultAnimationClock(); |
| 167 | method public void dispatchTime$lintWithKotlin(long frameTimeMillis); |
| 168 | } |
| 169 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 170 | public interface DurationBasedAnimationSpec<T> extends androidx.compose.animation.core.AnimationSpec<T> { |
| 171 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 172 | } |
| 173 | |
| 174 | public final class EasingKt { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 175 | method public static androidx.compose.animation.core.CubicBezierEasing getFastOutLinearInEasing(); |
| 176 | method public static androidx.compose.animation.core.CubicBezierEasing getFastOutSlowInEasing(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 177 | method public static kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getLinearEasing(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 178 | method public static androidx.compose.animation.core.CubicBezierEasing getLinearOutSlowInEasing(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 179 | } |
| 180 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 181 | public final class ExponentialDecay implements androidx.compose.animation.core.FloatDecayAnimationSpec { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 182 | ctor public ExponentialDecay(@FloatRange(from=null, to=null, fromInclusive=null) float frictionMultiplier, @FloatRange(from=null, to=null, fromInclusive=null) float absVelocityThreshold); |
| 183 | ctor public ExponentialDecay(); |
| 184 | method public float getAbsVelocityThreshold(); |
| 185 | method public long getDurationMillis(float start, float startVelocity); |
| 186 | method public float getTarget(float start, float startVelocity); |
| 187 | method public float getValue(long playTime, float start, float startVelocity); |
| 188 | method public float getVelocity(long playTime, float start, float startVelocity); |
| 189 | property public float absVelocityThreshold; |
| 190 | } |
| 191 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 192 | public interface FloatAnimationSpec extends androidx.compose.animation.core.AnimationSpec<java.lang.Float> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 193 | method public long getDurationMillis(float start, float end, float startVelocity); |
| 194 | method public default float getEndVelocity(float start, float end, float startVelocity); |
| 195 | method public float getValue(long playTime, float start, float end, float startVelocity); |
| 196 | method public float getVelocity(long playTime, float start, float end, float startVelocity); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 197 | 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); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 198 | } |
| 199 | |
| 200 | public interface FloatDecayAnimationSpec { |
| 201 | method public float getAbsVelocityThreshold(); |
| 202 | method public long getDurationMillis(float start, float startVelocity); |
| 203 | method public float getTarget(float start, float startVelocity); |
| 204 | method public float getValue(long playTime, float start, float startVelocity); |
| 205 | method public float getVelocity(long playTime, float start, float startVelocity); |
| 206 | property public abstract float absVelocityThreshold; |
| 207 | } |
| 208 | |
| 209 | public final class FloatDecayAnimationSpecKt { |
| 210 | } |
| 211 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 212 | public final class FloatPropKey implements androidx.compose.animation.core.PropKey<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 213 | ctor public FloatPropKey(String label); |
| 214 | ctor public FloatPropKey(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 215 | method public androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getTypeConverter(); |
| 216 | property public androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> typeConverter; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 217 | } |
| 218 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 219 | public final class FloatSpringSpec implements androidx.compose.animation.core.FloatAnimationSpec { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 220 | ctor public FloatSpringSpec(float dampingRatio, float stiffness, float visibilityThreshold); |
| 221 | ctor public FloatSpringSpec(); |
| 222 | method public float getDampingRatio(); |
| 223 | method public long getDurationMillis(float start, float end, float startVelocity); |
| 224 | method public float getStiffness(); |
| 225 | method public float getValue(long playTime, float start, float end, float startVelocity); |
| 226 | method public float getVelocity(long playTime, float start, float end, float startVelocity); |
| 227 | } |
| 228 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 229 | public final class FloatTweenSpec implements androidx.compose.animation.core.FloatAnimationSpec { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 230 | ctor public FloatTweenSpec(int duration, int delay, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> easing); |
| 231 | ctor public FloatTweenSpec(); |
| 232 | method public int getDelay(); |
| 233 | method public int getDuration(); |
| 234 | method public long getDurationMillis(float start, float end, float startVelocity); |
| 235 | method public float getValue(long playTime, float start, float end, float startVelocity); |
| 236 | method public float getVelocity(long playTime, float start, float end, float startVelocity); |
| 237 | } |
| 238 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 239 | public final class IntPropKey implements androidx.compose.animation.core.PropKey<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 240 | ctor public IntPropKey(String label); |
| 241 | ctor public IntPropKey(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 242 | method public androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getTypeConverter(); |
| 243 | property public androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> typeConverter; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 244 | } |
| 245 | |
| 246 | @kotlin.RequiresOptIn(message="This API is internal to library.") @kotlin.annotation.Target(allowedTargets={AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY}) public @interface InternalAnimationApi { |
| 247 | } |
| 248 | |
| 249 | public enum InterruptionHandling { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 250 | method public static androidx.compose.animation.core.InterruptionHandling valueOf(String name) throws java.lang.IllegalArgumentException; |
| 251 | method public static androidx.compose.animation.core.InterruptionHandling[] values(); |
| 252 | enum_constant public static final androidx.compose.animation.core.InterruptionHandling PHYSICS; |
| 253 | enum_constant public static final androidx.compose.animation.core.InterruptionHandling SNAP_TO_END; |
| 254 | enum_constant public static final androidx.compose.animation.core.InterruptionHandling TWEEN; |
| 255 | enum_constant public static final androidx.compose.animation.core.InterruptionHandling UNINTERRUPTIBLE; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 256 | } |
| 257 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 258 | public final class KeyframesSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { |
| 259 | ctor public KeyframesSpec(androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> config); |
| 260 | method public androidx.compose.animation.core.KeyframesSpec.KeyframesSpecConfig<T> getConfig(); |
| 261 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedKeyframesSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 262 | } |
| 263 | |
| 264 | public static final class KeyframesSpec.KeyframeEntity<T> { |
| 265 | } |
| 266 | |
| 267 | public static final class KeyframesSpec.KeyframesSpecConfig<T> { |
| 268 | ctor public KeyframesSpec.KeyframesSpecConfig(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 269 | method public infix androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T> at(T?, @IntRange(from=0) int timeStamp); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 270 | method public int getDelayMillis(); |
| 271 | method public int getDurationMillis(); |
| 272 | method public void setDelayMillis(int p); |
| 273 | method public void setDurationMillis(int p); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 274 | method public infix void with(androidx.compose.animation.core.KeyframesSpec.KeyframeEntity<T>, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> easing); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 275 | property public final int delayMillis; |
| 276 | property public final int durationMillis; |
| 277 | } |
| 278 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 279 | public final class ManualAnimationClock extends androidx.compose.animation.core.BaseAnimationClock { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 280 | ctor public ManualAnimationClock(long initTimeMillis, boolean dispatchOnSubscribe); |
| 281 | method public long getClockTimeMillis(); |
| 282 | method public boolean getHasObservers(); |
| 283 | method public void setClockTimeMillis(long value); |
| 284 | property public final long clockTimeMillis; |
| 285 | property public final boolean hasObservers; |
| 286 | } |
| 287 | |
| 288 | public interface MutableTransitionState { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 289 | method public operator <T, V extends androidx.compose.animation.core.AnimationVector> void set(androidx.compose.animation.core.PropKey<T,V> propKey, T? prop); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 290 | } |
| 291 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 292 | public interface PropKey<T, V extends androidx.compose.animation.core.AnimationVector> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 293 | method public default String getLabel(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 294 | method public androidx.compose.animation.core.TwoWayConverter<T,V> getTypeConverter(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 295 | property public default String label; |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 296 | property public abstract androidx.compose.animation.core.TwoWayConverter<T,V> typeConverter; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 297 | } |
| 298 | |
| 299 | public final class PropKeyKt { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 300 | 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); |
| 301 | method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Float,androidx.compose.animation.core.AnimationVector1D> getFloatToVectorConverter(); |
| 302 | method public static androidx.compose.animation.core.TwoWayConverter<java.lang.Integer,androidx.compose.animation.core.AnimationVector1D> getIntToVectorConverter(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 303 | } |
| 304 | |
| 305 | public enum RepeatMode { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 306 | method public static androidx.compose.animation.core.RepeatMode valueOf(String name) throws java.lang.IllegalArgumentException; |
| 307 | method public static androidx.compose.animation.core.RepeatMode[] values(); |
| 308 | enum_constant public static final androidx.compose.animation.core.RepeatMode Restart; |
| 309 | enum_constant public static final androidx.compose.animation.core.RepeatMode Reverse; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 310 | } |
| 311 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 312 | public final class RepeatableSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { |
| 313 | ctor public RepeatableSpec(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, androidx.compose.animation.core.RepeatMode repeatMode); |
| 314 | method public androidx.compose.animation.core.DurationBasedAnimationSpec<T> getAnimation(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 315 | method public int getIterations(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 316 | method public androidx.compose.animation.core.RepeatMode getRepeatMode(); |
| 317 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 318 | } |
| 319 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 320 | public final class SnapSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 321 | ctor public SnapSpec(int delay); |
| 322 | ctor public SnapSpec(); |
| 323 | method public int getDelay(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 324 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 325 | } |
| 326 | |
| 327 | public final class Spring { |
| 328 | field public static final float DampingRatioHighBouncy = 0.2f; |
| 329 | field public static final float DampingRatioLowBouncy = 0.75f; |
| 330 | field public static final float DampingRatioMediumBouncy = 0.5f; |
| 331 | field public static final float DampingRatioNoBouncy = 1.0f; |
| 332 | field public static final float DefaultDisplacementThreshold = 0.01f; |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 333 | field public static final androidx.compose.animation.core.Spring INSTANCE; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 334 | field public static final float StiffnessHigh = 10000.0f; |
| 335 | field public static final float StiffnessLow = 200.0f; |
| 336 | field public static final float StiffnessMedium = 1500.0f; |
| 337 | field public static final float StiffnessVeryLow = 50.0f; |
| 338 | } |
| 339 | |
| 340 | public final class SpringEstimationKt { |
| 341 | } |
| 342 | |
| 343 | public final class SpringSimulationKt { |
| 344 | } |
| 345 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 346 | public final class SpringSpec<T> implements androidx.compose.animation.core.AnimationSpec<T> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 347 | ctor public SpringSpec(float dampingRatio, float stiffness, T? visibilityThreshold); |
| 348 | ctor public SpringSpec(); |
| 349 | method public float getDampingRatio(); |
| 350 | method public float getStiffness(); |
| 351 | method public T? getVisibilityThreshold(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 352 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedSpringSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 353 | } |
| 354 | |
| 355 | public final class TargetAnimation { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 356 | ctor public TargetAnimation(float target, androidx.compose.animation.core.AnimationSpec<java.lang.Float> animation); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 357 | method public float component1(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 358 | method public androidx.compose.animation.core.AnimationSpec<java.lang.Float> component2(); |
| 359 | method public androidx.compose.animation.core.TargetAnimation copy(float target, androidx.compose.animation.core.AnimationSpec<java.lang.Float> animation); |
| 360 | method public androidx.compose.animation.core.AnimationSpec<java.lang.Float> getAnimation(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 361 | method public float getTarget(); |
| 362 | } |
| 363 | |
| 364 | public final class ToolingGlueKt { |
| 365 | } |
| 366 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 367 | public final class TransitionAnimation<T> implements androidx.compose.animation.core.TransitionState { |
| 368 | ctor public TransitionAnimation(internal androidx.compose.animation.core.TransitionDefinition<T> def, androidx.compose.animation.core.AnimationClockObservable clock, T? initState, String? label); |
| 369 | method public operator <T, V extends androidx.compose.animation.core.AnimationVector> T! get(androidx.compose.animation.core.PropKey<T,V> propKey); |
Doris Liu | 80cf34f | 2020-07-19 21:49:09 -0700 | [diff] [blame] | 370 | method public String? getLabel(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 371 | method public kotlin.jvm.functions.Function1<T,kotlin.Unit>? getOnStateChangeFinished(); |
| 372 | method public kotlin.jvm.functions.Function0<kotlin.Unit>? getOnUpdate(); |
| 373 | method public boolean isRunning(); |
| 374 | method public void setOnStateChangeFinished(kotlin.jvm.functions.Function1<? super T,kotlin.Unit>? p); |
| 375 | method public void setOnUpdate(kotlin.jvm.functions.Function0<kotlin.Unit>? p); |
| 376 | method public void toState(T? name); |
| 377 | property public final boolean isRunning; |
| 378 | property public final kotlin.jvm.functions.Function1<T,kotlin.Unit>? onStateChangeFinished; |
| 379 | property public final kotlin.jvm.functions.Function0<kotlin.Unit>? onUpdate; |
| 380 | } |
| 381 | |
| 382 | public final class TransitionAnimationKt { |
| 383 | } |
| 384 | |
| 385 | public final class TransitionDefinition<T> { |
| 386 | ctor public TransitionDefinition(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 387 | method public androidx.compose.animation.core.TransitionState getStateFor(T? name); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 388 | method public void snapTransition(kotlin.Pair<? extends T,? extends T>![] fromToPairs, T? nextState = null); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 389 | method public void state(T? name, kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.MutableTransitionState,kotlin.Unit> init); |
| 390 | method public void transition(T? fromState = null, T? toState = null, kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.TransitionSpec<T>,kotlin.Unit> init); |
| 391 | method public void transition(kotlin.Pair<? extends T,? extends T>![] fromToPairs, kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.TransitionSpec<T>,kotlin.Unit> init); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 392 | } |
| 393 | |
| 394 | public final class TransitionDefinitionKt { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 395 | method public static <T> androidx.compose.animation.core.TransitionAnimation<T> createAnimation(androidx.compose.animation.core.TransitionDefinition<T>, androidx.compose.animation.core.AnimationClockObservable clock, T? initState = null); |
| 396 | method 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); |
| 397 | method public static <T> androidx.compose.animation.core.AnimationSpec<T> repeatable(int iterations, androidx.compose.animation.core.DurationBasedAnimationSpec<T> animation, androidx.compose.animation.core.RepeatMode repeatMode = androidx.compose.animation.core.RepeatMode.Restart); |
| 398 | method public static <T> androidx.compose.animation.core.AnimationSpec<T> snap(int delayMillis = 0); |
| 399 | method public static <T> androidx.compose.animation.core.SpringSpec<T> spring(float dampingRatio = 1.0f, float stiffness = 1500.0f, T? visibilityThreshold = null); |
Doris Liu | c1aca3f | 2020-07-17 18:28:13 -0700 | [diff] [blame] | 400 | method public static <T> androidx.compose.animation.core.TransitionDefinition<T> transitionDefinition(kotlin.jvm.functions.Function1<? super androidx.compose.animation.core.TransitionDefinition<T>,kotlin.Unit> init); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 401 | method public static <T> androidx.compose.animation.core.TweenSpec<T> tween(int durationMillis = 300, int delayMillis = 0, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> easing = FastOutSlowInEasing); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 402 | } |
| 403 | |
| 404 | public final class TransitionSpec<S> { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 405 | method public androidx.compose.animation.core.InterruptionHandling getInterruptionHandling(); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 406 | method public S? getNextState(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 407 | method public void setInterruptionHandling(androidx.compose.animation.core.InterruptionHandling p); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 408 | method public void setNextState(S? p); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 409 | method public infix <T, V extends androidx.compose.animation.core.AnimationVector> void using(androidx.compose.animation.core.PropKey<T,V>, androidx.compose.animation.core.AnimationSpec<T> animationSpec); |
| 410 | property public final androidx.compose.animation.core.InterruptionHandling interruptionHandling; |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 411 | property public final S? nextState; |
| 412 | } |
| 413 | |
| 414 | public interface TransitionState { |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 415 | method public operator <T, V extends androidx.compose.animation.core.AnimationVector> T! get(androidx.compose.animation.core.PropKey<T,V> propKey); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 416 | } |
| 417 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 418 | public final class TweenSpec<T> implements androidx.compose.animation.core.DurationBasedAnimationSpec<T> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 419 | ctor public TweenSpec(int durationMillis, int delay, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> easing); |
| 420 | ctor public TweenSpec(); |
| 421 | method public int getDelay(); |
| 422 | method public int getDurationMillis(); |
| 423 | method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getEasing(); |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 424 | method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animation.core.VectorizedTweenSpec<V> vectorize(androidx.compose.animation.core.TwoWayConverter<T,V> converter); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 425 | } |
| 426 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 427 | public interface TwoWayConverter<T, V extends androidx.compose.animation.core.AnimationVector> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 428 | method public kotlin.jvm.functions.Function1<V,T> getConvertFromVector(); |
| 429 | method public kotlin.jvm.functions.Function1<T,V> getConvertToVector(); |
| 430 | property public abstract kotlin.jvm.functions.Function1<V,T> convertFromVector; |
| 431 | property public abstract kotlin.jvm.functions.Function1<T,V> convertToVector; |
| 432 | } |
| 433 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 434 | public interface VectorizedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 435 | method public long getDurationMillis(V start, V end, V startVelocity); |
| 436 | method public default V getEndVelocity(V start, V end, V startVelocity); |
| 437 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 438 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 439 | } |
| 440 | |
| 441 | public final class VectorizedAnimationSpecKt { |
| 442 | } |
| 443 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 444 | public interface VectorizedDurationBasedAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> extends androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 445 | method public int getDelayMillis(); |
| 446 | method public int getDurationMillis(); |
| 447 | method public default long getDurationMillis(V start, V end, V startVelocity); |
| 448 | property public abstract int delayMillis; |
| 449 | property public abstract int durationMillis; |
| 450 | } |
| 451 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 452 | public final class VectorizedFloatAnimationSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
| 453 | ctor public VectorizedFloatAnimationSpec(androidx.compose.animation.core.FloatAnimationSpec anim); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 454 | method public long getDurationMillis(V start, V end, V startVelocity); |
| 455 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 456 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 457 | } |
| 458 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 459 | public final class VectorizedKeyframesSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 460 | ctor public VectorizedKeyframesSpec(java.util.Map<java.lang.Integer,? extends kotlin.Pair<? extends V,? extends kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float>>> keyframes, int durationMillis, int delayMillis); |
| 461 | method public int getDelayMillis(); |
| 462 | method public int getDurationMillis(); |
| 463 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 464 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 465 | } |
| 466 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 467 | public final class VectorizedRepeatableSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
| 468 | ctor public VectorizedRepeatableSpec(int iterations, androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> animation, androidx.compose.animation.core.RepeatMode repeatMode); |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 469 | method public long getDurationMillis(V start, V end, V startVelocity); |
| 470 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 471 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 472 | } |
| 473 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 474 | public final class VectorizedSnapSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 475 | ctor public VectorizedSnapSpec(int delayMillis); |
| 476 | ctor public VectorizedSnapSpec(); |
| 477 | method public int getDelayMillis(); |
| 478 | method public int getDurationMillis(); |
| 479 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 480 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 481 | property public int durationMillis; |
| 482 | } |
| 483 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 484 | public final class VectorizedSpringSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedAnimationSpec<V> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 485 | ctor public VectorizedSpringSpec(float dampingRatio, float stiffness, V? visibilityThreshold); |
| 486 | method public float getDampingRatio(); |
| 487 | method public float getStiffness(); |
| 488 | } |
| 489 | |
Louis Pullen-Freilich | 5bb0c471 | 2020-07-20 22:01:15 +0100 | [diff] [blame] | 490 | public final class VectorizedTweenSpec<V extends androidx.compose.animation.core.AnimationVector> implements androidx.compose.animation.core.VectorizedDurationBasedAnimationSpec<V> { |
Nick Anthony | 05c6ba5 | 2020-07-16 05:09:08 -0400 | [diff] [blame] | 491 | ctor public VectorizedTweenSpec(int durationMillis, int delayMillis, kotlin.jvm.functions.Function1<? super java.lang.Float,java.lang.Float> easing); |
| 492 | ctor public VectorizedTweenSpec(); |
| 493 | method public int getDelayMillis(); |
| 494 | method public int getDurationMillis(); |
| 495 | method public kotlin.jvm.functions.Function1<java.lang.Float,java.lang.Float> getEasing(); |
| 496 | method public V getValue(long playTime, V start, V end, V startVelocity); |
| 497 | method public V getVelocity(long playTime, V start, V end, V startVelocity); |
| 498 | } |
| 499 | |
| 500 | } |
| 501 | |