/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 85 * The interpolator used to interpolate the delays. 87 protected Interpolator mInterpolator; 217 * Sets the interpolator used to interpolate the delays between the 220 * @param context the context from which the interpolator must be inflated 221 * @param resourceID the resource identifier of the interpolator 224 * @see #setInterpolator(Interpolator) 233 * Sets the interpolator used to interpolate the delays between the 236 * @param interpolator the interpolator 239 * @see #setInterpolator(Interpolator) [all...] |
AnimationSet.java | 117 * should use the interpolator assocciated with this AnimationSet. 118 * Pass false if each animation should use its own interpolator. 353 final Interpolator interpolator = a.mInterpolator; local 354 a.applyTransformation(interpolator != null ? interpolator.getInterpolation(0.0f) 447 final Interpolator interpolator = mInterpolator; local 475 a.setInterpolator(interpolator);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
CycleInterpolatorTest.java | 29 import android.view.animation.Interpolator; 72 Interpolator interpolator = new CycleInterpolator(1.0f); local 73 anim.setInterpolator(interpolator); 112 interpolator = new CycleInterpolator(2.0f); 113 anim.setInterpolator(interpolator);
|
LayoutAnimationControllerTest.java | 34 import android.view.animation.Interpolator; 304 DecelerateInterpolator interpolator = new DecelerateInterpolator(1.0f); 305 mController.setInterpolator(interpolator); 306 assertSame(interpolator, mController.getInterpolator());
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 25 import android.view.animation.Interpolator; 56 private Interpolator mInterpolator; 105 * Create a Scroller with the default duration and interpolator. 112 * Create a Scroller with the specified interpolator. If the interpolator is 113 * null, the default (viscous) interpolator will be used. "Flywheel" behavior will 116 public Scroller(Context context, Interpolator interpolator) { 117 this(context, interpolator, 122 * Create a Scroller with the specified interpolator. If the interpolator i [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimatorTest.java | 88 AccelerateInterpolator interpolator = new AccelerateInterpolator(); local 89 ValueAnimator mValueAnimator = mActivity.createAnimatorWithInterpolator(interpolator); 91 assertTrue(interpolator.equals(mValueAnimator.getInterpolator()));
|
LayoutAnimationTest.java | 105 TimeInterpolator interpolator = new AccelerateInterpolator(); local 106 mLayoutTransition.setInterpolator(LayoutTransition.APPEARING, interpolator); 107 assertEquals(interpolator, mLayoutTransition.getInterpolator(
|
ValueAnimatorTest.java | 102 AccelerateInterpolator interpolator = new AccelerateInterpolator(); local 103 ValueAnimator mValueAnimator = mActivity.createAnimatorWithInterpolator(interpolator); 105 assertTrue(interpolator.equals(mValueAnimator.getInterpolator()));
|
AnimationActivity.java | 108 public ValueAnimator createAnimatorWithInterpolator(TimeInterpolator interpolator){ 110 ValueAnimator.REVERSE, interpolator, mStartY, mStartY + mDeltaY);
|
/frameworks/base/core/java/android/widget/ |
Scroller.java | 25 import android.view.animation.Interpolator; 84 private Interpolator mInterpolator; 158 * Create a Scroller with the default duration and interpolator. 165 * Create a Scroller with the specified interpolator. If the interpolator is 166 * null, the default (viscous) interpolator will be used. "Flywheel" behavior will 169 public Scroller(Context context, Interpolator interpolator) { 170 this(context, interpolator, 175 * Create a Scroller with the specified interpolator. If the interpolator i [all...] |
ProgressBar.java | 52 import android.view.animation.Interpolator; 218 private Interpolator mInterpolator; 282 android.R.anim.linear_interpolator); // default to linear interpolator 898 * The interpolator is loaded as a resource from the specified context. 901 * @param resID The resource identifier of the interpolator to load 911 * @param interpolator The interpolator which defines the acceleration curve 913 public void setInterpolator(Interpolator interpolator) { 914 mInterpolator = interpolator; [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
FloatingChildLayout.java | 258 ? android.R.interpolator.accelerate_quint 259 : android.R.interpolator.decelerate_quint;
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
StateTransitionAnimation.java | 21 import android.view.animation.Interpolator; 35 private static final Interpolator DEFAULT_INTERPOLATOR = 51 public Interpolator interpolator = DEFAULT_INTERPOLATOR; field in class:StateTransitionAnimation.Spec 110 setInterpolator(mTransitionSpec.interpolator);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
VelocityTest.java | 27 import android.view.animation.Interpolator; 232 * the VelocityTracker using a linear interpolator 241 * the VelocityTracker using a given interpolator 244 long startime, int duration, Interpolator interpolator) { 250 float ii = interpolator.getInterpolation(i / (float)steps);
|
/frameworks/base/core/java/android/animation/ |
LayoutTransition.java | 565 * Sets the interpolator on one of the animation objects used by this transition. The 566 * <code>transitionType</code> parameter determines the animation whose interpolator 571 * the animation whose interpolator is being set. 572 * @param interpolator The interpolator that the specified animation should use. 575 public void setInterpolator(int transitionType, TimeInterpolator interpolator) { 578 mChangingAppearingInterpolator = interpolator; 581 mChangingDisappearingInterpolator = interpolator; 584 mChangingInterpolator = interpolator; 587 mAppearingInterpolator = interpolator; [all...] |
AnimatorSet.java | 123 // Records the interpolator for the set. Null value indicates that no interpolator 243 * of this AnimatorSet. The default value is null, which means that no interpolator 244 * is set on this AnimatorSet. Setting the interpolator to any non-null value 245 * will cause that interpolator to be set on the child animations 248 * @param interpolator the interpolator to be used by each child animation of this AnimatorSet 251 public void setInterpolator(TimeInterpolator interpolator) { 252 mInterpolator = interpolator; [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 39 import android.view.animation.Interpolator; 556 * @param motionInterpolator The interpolator to use for the location of the view. 557 * @param alphaInterpolator The interpolator to use for the alpha of the view. 568 final Interpolator motionInterpolator, final Interpolator alphaInterpolator, 586 // Fall back to cubic ease out interpolator for the animation if none is specified 587 TimeInterpolator interpolator = null; local 589 interpolator = mCubicEaseOutInterpolator; 630 animateView(view, updateCb, duration, interpolator, onCompleteRunnable, animationEndStyle, 635 TimeInterpolator interpolator, final Runnable onCompleteRunnable [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarICS.java | 45 import android.view.animation.Interpolator; 74 android.R.attr.interpolator, 97 private Interpolator mInterpolator; 651 * The interpolator is loaded as a resource from the specified context. 654 * @param resID The resource identifier of the interpolator to load 664 * @param interpolator The interpolator which defines the acceleration curve 666 public void setInterpolator(Interpolator interpolator) { 667 mInterpolator = interpolator; [all...] |
/frameworks/base/core/java/android/view/ |
ViewPropertyAnimator.java | 83 * The interpolator of the underlying Animator object. By default, we don't set the interpolator 84 * on the Animator and just use its default interpolator. If the interpolator is ever set on 85 * this Animator, then we use the interpolator that it was set to. 90 * A flag indicating whether the interpolator has been set on this object. If not, we don't set 91 * the interpolator on the underlying Animator, but instead just use its default interpolator. 312 * Sets the interpolator for the underlying animator that animates the requested properties. 313 * By default, the animator uses the default interpolator for ValueAnimator. Calling this metho [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
GlowPadView.java | 503 final TimeInterpolator interpolator = Ease.Cubic.easeOut; local 508 "ease", interpolator, 520 "ease", interpolator, [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
GlowPadView.java | 499 final TimeInterpolator interpolator = Ease.Cubic.easeOut; local 504 "ease", interpolator, 515 "ease", interpolator, [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ActionBarImpl.java | 703 com.android.internal.R.interpolator.decelerate_cubic)); 761 com.android.internal.R.interpolator.accelerate_cubic)); [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
DisplayMagnifier.java | 50 import android.view.animation.Interpolator; 519 Interpolator interpolator = new DecelerateInterpolator(2.5f); local 525 mShowHideFrameAnimator.setInterpolator(interpolator);
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
ProgressBar.java | 51 import android.view.animation.Interpolator; 214 private Interpolator mInterpolator; 275 android.R.anim.linear_interpolator); // default to linear interpolator 843 * The interpolator is loaded as a resource from the specified context. 846 * @param resID The resource identifier of the interpolator to load 856 * @param interpolator The interpolator which defines the acceleration curve 858 public void setInterpolator(Interpolator interpolator) { 859 mInterpolator = interpolator; [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTable.java | 39 import android.view.animation.Interpolator; 102 private final Interpolator mThrowInterpolator; 103 private final Interpolator mDropInterpolator; 801 public void dropOnTable(final View photo, final Interpolator interpolator) { 836 .setInterpolator(interpolator) [all...] |