Home | History | Annotate | Download | only in com.example.android.interpolator

Lines Matching refs:interpolator

17 package com.example.android.interpolator;
27 import android.view.animation.Interpolator;
49 * Spinner for selection of interpolator.
64 private Interpolator mInterpolators[];
102 // selected: the Interpolator, duration and animation path
107 // Interpolator selected in the spinner
108 Interpolator interpolator = mInterpolators[mInterpolatorSpinner.getSelectedItemPosition()];
120 startAnimation(interpolator, duration, path);
132 mInterpolators = new Interpolator[]{
134 android.R.interpolator.linear),
136 android.R.interpolator.fast_out_linear_in),
138 android.R.interpolator.fast_out_slow_in),
140 android.R.interpolator.linear_out_slow_in)
199 * @param interpolator The interpolator to use for the animation.
205 public ObjectAnimator startAnimation(Interpolator interpolator, long duration, Path path) {
209 // Set the duration and interpolator for this animation
211 animator.setInterpolator(interpolator);
223 public Interpolator[] getInterpolators() {