HomeSort by relevance Sort by last modified time
    Searched defs:mAnimator (Results 1 - 25 of 28) sorted by null

1 2

  /packages/apps/Launcher2/src/com/android/launcher2/
InterruptibleInOutAnimator.java 35 private ValueAnimator mAnimator;
49 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration);
54 mAnimator.addListener(new AnimatorListenerAdapter() {
63 final long currentPlayTime = mAnimator.getCurrentPlayTime();
66 ((Float) mAnimator.getAnimatedValue()).floatValue();
77 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration)));
79 mAnimator.setFloatValues(startValue, toValue);
80 mAnimator.start();
85 mAnimator.cancel();
90 mAnimator.end()
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
InterruptibleInOutAnimator.java 35 private ValueAnimator mAnimator;
49 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration);
54 mAnimator.addListener(new AnimatorListenerAdapter() {
63 final long currentPlayTime = mAnimator.getCurrentPlayTime();
66 ((Float) mAnimator.getAnimatedValue()).floatValue();
77 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration)));
79 mAnimator.setFloatValues(startValue, toValue);
80 mAnimator.start();
85 mAnimator.cancel();
90 mAnimator.end()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
TransitionAnimationView.java 31 private ObjectAnimator mAnimator;
77 if (mAnimator != null && mAnimator.isRunning()) {
78 mAnimator.end();
82 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 0.0f, 1.0f);
85 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 1.0f, 0.0f);
88 mAnimator.setDuration(duration);
90 mAnimator.start();
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
PlayAnimationThread.java 28 private final Animator mAnimator;
33 mAnimator = animator;
40 mAnimator.start();
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardGlowStripView.java 50 private ValueAnimator mAnimator;
107 if (mAnimator != null) {
108 mAnimator.cancel();
112 mAnimator = ValueAnimator.ofFloat(from, to);
113 mAnimator.setDuration(DURATION);
114 mAnimator.setInterpolator(new LinearInterpolator());
115 mAnimator.addListener(new AnimatorListenerAdapter() {
128 mAnimator.addUpdateListener(new AnimatorUpdateListener() {
135 mAnimator.start();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ButteryProgressBar.java 31 private final ValueAnimator mAnimator;
85 mAnimator = new ValueAnimator();
86 mAnimator.setFloatValues(1.0f, 2.0f);
87 mAnimator.setRepeatCount(ValueAnimator.INFINITE);
88 mAnimator.setInterpolator(new ExponentialInterpolator());
89 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
115 mAnimator.setDuration((int) (BASE_DURATION_MS * durationMult));
122 if (!mAnimator.isStarted()) {
128 final float val = (Float) mAnimator.getAnimatedValue();
158 if (mAnimator == null)
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
LinesActivity.java 33 private ObjectAnimator mAnimator;
42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f);
43 mAnimator.setDuration(1500);
44 mAnimator.setRepeatCount(ObjectAnimator.INFINITE);
45 mAnimator.setRepeatMode(ObjectAnimator.REVERSE);
46 mAnimator.start();
52 mAnimator.cancel();