Lines Matching refs:interpolator
24 import android.view.animation.Interpolator;
37 private Interpolator mInterpolator;
46 * Creates an OverScroller with a viscous fluid scroll interpolator and flywheel.
56 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
59 public OverScroller(Context context, Interpolator interpolator) {
60 this(context, interpolator, true);
66 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
71 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) {
72 if (interpolator == null) {
75 mInterpolator = interpolator;
85 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
92 * @deprecated Use {@link #OverScroller(Context, Interpolator)} instead.
95 public OverScroller(Context context, Interpolator interpolator,
97 this(context, interpolator, true);
103 * @param interpolator The scroll interpolator. If null, a default (viscous) interpolator will
111 * @deprecated Use {@link #OverScroller(Context, Interpolator)} instead.
114 public OverScroller(Context context, Interpolator interpolator,
116 this(context, interpolator, flywheel);
119 void setInterpolator(Interpolator interpolator) {
120 if (interpolator == null) {
123 mInterpolator = interpolator;