Home | History | Annotate | Download | only in views

Lines Matching refs:interpolator

26 import android.view.animation.Interpolator;
58 private SparseArray<Interpolator> mPropInterpolators;
67 * Creates an animation with a default {@param duration} and {@param interpolator} for all
70 public AnimationProps(int duration, Interpolator interpolator) {
71 this(0, duration, interpolator, null);
75 * Creates an animation with a default {@param duration} and {@param interpolator} for all
78 public AnimationProps(int duration, Interpolator interpolator,
80 this(0, duration, interpolator, listener);
85 * {@param interpolator} for all properties in this animation.
87 public AnimationProps(int startDelay, int duration, Interpolator interpolator) {
88 this(startDelay, duration, interpolator, null);
93 * {@param interpolator} for all properties in this animation.
95 public AnimationProps(int startDelay, int duration, Interpolator interpolator,
99 setInterpolator(ALL, interpolator);
117 * Applies the specific start delay, duration and interpolator to the given {@param animator}
178 * Sets an interpolator for a specific property.
180 public AnimationProps setInterpolator(@PropType int propertyType, Interpolator interpolator) {
184 mPropInterpolators.append(propertyType, interpolator);
189 * Returns the interpolator for a specific property, falling back to the general interpolator
190 * if there is no specific property interpolator.
192 public Interpolator getInterpolator(@PropType int propertyType) {
194 Interpolator interp = mPropInterpolators.get(propertyType);