1 package android.support.animation { 2 3 public abstract class DynamicAnimation<T extends android.support.animation.DynamicAnimation<T>> { 4 method public T addEndListener(android.support.animation.DynamicAnimation.OnAnimationEndListener); 5 method public T addUpdateListener(android.support.animation.DynamicAnimation.OnAnimationUpdateListener); 6 method public void cancel(); 7 method public float getMinimumVisibleChange(); 8 method public boolean isRunning(); 9 method public void removeEndListener(android.support.animation.DynamicAnimation.OnAnimationEndListener); 10 method public void removeUpdateListener(android.support.animation.DynamicAnimation.OnAnimationUpdateListener); 11 method public T setMaxValue(float); 12 method public T setMinValue(float); 13 method public T setMinimumVisibleChange(float); 14 method public T setStartValue(float); 15 method public T setStartVelocity(float); 16 method public void start(); 17 field public static final android.support.animation.DynamicAnimation.ViewProperty ALPHA; 18 field public static final float MIN_VISIBLE_CHANGE_ALPHA = 0.00390625f; 19 field public static final float MIN_VISIBLE_CHANGE_PIXELS = 1.0f; 20 field public static final float MIN_VISIBLE_CHANGE_ROTATION_DEGREES = 0.1f; 21 field public static final float MIN_VISIBLE_CHANGE_SCALE = 0.002f; 22 field public static final android.support.animation.DynamicAnimation.ViewProperty ROTATION; 23 field public static final android.support.animation.DynamicAnimation.ViewProperty ROTATION_X; 24 field public static final android.support.animation.DynamicAnimation.ViewProperty ROTATION_Y; 25 field public static final android.support.animation.DynamicAnimation.ViewProperty SCALE_X; 26 field public static final android.support.animation.DynamicAnimation.ViewProperty SCALE_Y; 27 field public static final android.support.animation.DynamicAnimation.ViewProperty SCROLL_X; 28 field public static final android.support.animation.DynamicAnimation.ViewProperty SCROLL_Y; 29 field public static final android.support.animation.DynamicAnimation.ViewProperty TRANSLATION_X; 30 field public static final android.support.animation.DynamicAnimation.ViewProperty TRANSLATION_Y; 31 field public static final android.support.animation.DynamicAnimation.ViewProperty TRANSLATION_Z; 32 field public static final android.support.animation.DynamicAnimation.ViewProperty X; 33 field public static final android.support.animation.DynamicAnimation.ViewProperty Y; 34 field public static final android.support.animation.DynamicAnimation.ViewProperty Z; 35 } 36 37 public static abstract interface DynamicAnimation.OnAnimationEndListener { 38 method public abstract void onAnimationEnd(android.support.animation.DynamicAnimation, boolean, float, float); 39 } 40 41 public static abstract interface DynamicAnimation.OnAnimationUpdateListener { 42 method public abstract void onAnimationUpdate(android.support.animation.DynamicAnimation, float, float); 43 } 44 45 public static abstract class DynamicAnimation.ViewProperty extends android.support.animation.FloatPropertyCompat { 46 } 47 48 public final class FlingAnimation extends android.support.animation.DynamicAnimation { 49 ctor public FlingAnimation(android.support.animation.FloatValueHolder); 50 ctor public FlingAnimation(K, android.support.animation.FloatPropertyCompat<K>); 51 method public float getFriction(); 52 method public android.support.animation.FlingAnimation setFriction(float); 53 method public android.support.animation.FlingAnimation setMaxValue(float); 54 method public android.support.animation.FlingAnimation setMinValue(float); 55 method public android.support.animation.FlingAnimation setStartVelocity(float); 56 } 57 58 public abstract class FloatPropertyCompat<T> { 59 ctor public FloatPropertyCompat(java.lang.String); 60 method public static <T> android.support.animation.FloatPropertyCompat<T> createFloatPropertyCompat(android.util.FloatProperty<T>); 61 method public abstract float getValue(T); 62 method public abstract void setValue(T, float); 63 } 64 65 public final class FloatValueHolder { 66 ctor public FloatValueHolder(); 67 ctor public FloatValueHolder(float); 68 method public float getValue(); 69 method public void setValue(float); 70 } 71 72 public final class SpringAnimation extends android.support.animation.DynamicAnimation { 73 ctor public SpringAnimation(android.support.animation.FloatValueHolder); 74 ctor public SpringAnimation(K, android.support.animation.FloatPropertyCompat<K>); 75 ctor public SpringAnimation(K, android.support.animation.FloatPropertyCompat<K>, float); 76 method public void animateToFinalPosition(float); 77 method public boolean canSkipToEnd(); 78 method public android.support.animation.SpringForce getSpring(); 79 method public android.support.animation.SpringAnimation setSpring(android.support.animation.SpringForce); 80 method public void skipToEnd(); 81 } 82 83 public final class SpringForce { 84 ctor public SpringForce(); 85 ctor public SpringForce(float); 86 method public float getDampingRatio(); 87 method public float getFinalPosition(); 88 method public float getStiffness(); 89 method public android.support.animation.SpringForce setDampingRatio(float); 90 method public android.support.animation.SpringForce setFinalPosition(float); 91 method public android.support.animation.SpringForce setStiffness(float); 92 field public static final float DAMPING_RATIO_HIGH_BOUNCY = 0.2f; 93 field public static final float DAMPING_RATIO_LOW_BOUNCY = 0.75f; 94 field public static final float DAMPING_RATIO_MEDIUM_BOUNCY = 0.5f; 95 field public static final float DAMPING_RATIO_NO_BOUNCY = 1.0f; 96 field public static final float STIFFNESS_HIGH = 10000.0f; 97 field public static final float STIFFNESS_LOW = 200.0f; 98 field public static final float STIFFNESS_MEDIUM = 1500.0f; 99 field public static final float STIFFNESS_VERY_LOW = 50.0f; 100 } 101 102 } 103 104