/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ResizeHWLayerActivity.java | 19 import android.animation.ValueAnimator; 46 ValueAnimator animator = ValueAnimator.ofPropertyValuesHolder(pvhWidth, pvhHeight); in onCreate() 47 animator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 48 animator.setRepeatCount(ValueAnimator.INFINITE); in onCreate() 49 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in onCreate() 51 public void onAnimationUpdate(ValueAnimator valueAnimator) { in onCreate()
|
D | BitmapUploadActivity.java | 19 import android.animation.ValueAnimator; 85 colorValueAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 86 colorValueAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate() 92 yAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 93 yAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
|
D | FullscreenOverdrawActivity.java | 19 import android.animation.ValueAnimator; 79 objectAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 80 objectAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
|
D | InvalidateTreeActivity.java | 19 import android.animation.ValueAnimator; 75 animator.setRepeatMode(ValueAnimator.REVERSE); 76 animator.setRepeatCount(ValueAnimator.INFINITE);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 22 import android.animation.ValueAnimator; 370 ValueAnimator textAnimator; 374 ValueAnimator widthAnimator; 381 ValueAnimator textTranslateAnimator; 435 private ValueAnimator.AnimatorUpdateListener dotSizeUpdater 436 = new ValueAnimator.AnimatorUpdateListener() { 438 public void onAnimationUpdate(ValueAnimator animation) { 444 private ValueAnimator.AnimatorUpdateListener textSizeUpdater 445 = new ValueAnimator.AnimatorUpdateListener() { 447 public void onAnimationUpdate(ValueAnimator animation) { [all …]
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 73 public class ValueAnimator extends Animator implements AnimationHandler.AnimationFrameCallback { class 336 public ValueAnimator() { in ValueAnimator() method in ValueAnimator 350 public static ValueAnimator ofInt(int... values) { in ofInt() 351 ValueAnimator anim = new ValueAnimator(); in ofInt() 367 public static ValueAnimator ofArgb(int... values) { in ofArgb() 368 ValueAnimator anim = new ValueAnimator(); in ofArgb() 385 public static ValueAnimator ofFloat(float... values) { in ofFloat() 386 ValueAnimator anim = new ValueAnimator(); in ofFloat() 399 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder() 400 ValueAnimator anim = new ValueAnimator(); in ofPropertyValuesHolder() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistOrbView.java | 21 import android.animation.ValueAnimator; 56 private ValueAnimator mOffsetAnimator; 57 private ValueAnimator mCircleAnimator; 59 private ValueAnimator.AnimatorUpdateListener mCircleUpdateListener 60 = new ValueAnimator.AnimatorUpdateListener() { 62 public void onAnimationUpdate(ValueAnimator animation) { 73 private ValueAnimator.AnimatorUpdateListener mOffsetUpdateListener 74 = new ValueAnimator.AnimatorUpdateListener() { 76 public void onAnimationUpdate(ValueAnimator animation) { 159 mCircleAnimator = ValueAnimator.ofFloat(mCircleSize, circleSize); in animateCircleSize() [all …]
|
D | AssistDisclosure.java | 22 import android.animation.ValueAnimator; 94 implements ValueAnimator.AnimatorUpdateListener { 106 private final ValueAnimator mAlphaOutAnimator; 107 private final ValueAnimator mAlphaInAnimator; 115 mAlphaInAnimator = ValueAnimator.ofInt(0, FULL_ALPHA) in AssistDisclosureView() 119 mAlphaOutAnimator = ValueAnimator.ofInt(FULL_ALPHA, 0).setDuration( in AssistDisclosureView() 229 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationDozeHelper.java | 21 import android.animation.ValueAnimator; 38 startIntensityAnimation(new ValueAnimator.AnimatorUpdateListener() { in fadeGrayscale() 40 public void onAnimationUpdate(ValueAnimator animation) { in fadeGrayscale() 67 public void startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, in startIntensityAnimation() 71 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); in startIntensityAnimation()
|
D | PropertyAnimator.java | 22 import android.animation.ValueAnimator; 41 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty() 62 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation() 85 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation() 125 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ExpandableViewState.java | 22 import android.animation.ValueAnimator; 229 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation() 251 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation() 252 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation() 254 public void onAnimationUpdate(ValueAnimator animation) { in startHeightAnimation() 310 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET); in startInsetAnimation() 332 ValueAnimator animator = ValueAnimator.ofInt(child.getClipTopAmount(), newEndValue); in startInsetAnimation() 333 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startInsetAnimation() 335 public void onAnimationUpdate(ValueAnimator animation) { in startInsetAnimation() 373 ValueAnimator heightAnimator = getChildTag(view, TAG_ANIMATOR_HEIGHT); in getFinalActualHeight()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 22 import android.animation.ValueAnimator; 193 anim = ValueAnimator.ofFloat(0, 1); in createAnimator() 210 ValueAnimator outAnim = null, inAnim = null; in createAnimator() 213 outAnim = ValueAnimator.ofInt(Color.alpha(startColor), 0); in createAnimator() 214 outAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator() 216 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator() 239 inAnim = ValueAnimator.ofInt(0, Color.alpha(endColor)); in createAnimator() 240 inAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator() 242 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 23 import android.animation.ValueAnimator; 65 private ValueAnimator mCircleAnimator; 66 private ValueAnimator mAlphaAnimator; 67 private ValueAnimator mScaleAnimator; 372 ValueAnimator animator = getAnimatorToRadius(circleRadius); in setCircleRadius() 405 private ValueAnimator getAnimatorToRadius(float circleRadius) { in getAnimatorToRadius() 406 ValueAnimator animator = ValueAnimator.ofFloat(mCircleRadius, circleRadius); in getAnimatorToRadius() 410 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius() 412 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius() 448 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale() [all …]
|
D | ViewTransformationHelper.java | 21 import android.animation.ValueAnimator; 45 private ValueAnimator mViewTransformationAnimation; 73 mViewTransformationAnimation = ValueAnimator.ofFloat(0.0f, 1.0f); in transformTo() 74 mViewTransformationAnimation.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in transformTo() 76 public void onAnimationUpdate(ValueAnimator animation) { in transformTo() 134 mViewTransformationAnimation = ValueAnimator.ofFloat(0.0f, 1.0f); in transformFrom() 135 mViewTransformationAnimation.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in transformFrom() 137 public void onAnimationUpdate(ValueAnimator animation) { in transformFrom()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | HitRectBug.java | 19 import android.animation.ValueAnimator; 64 anim.setRepeatCount(ValueAnimator.INFINITE); in TestDrawingView() 66 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in TestDrawingView() 68 public void onAnimationUpdate(ValueAnimator animation) { in TestDrawingView()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | TileDrawable.java | 19 import android.animation.ValueAnimator; 20 import android.animation.ValueAnimator.AnimatorUpdateListener; 42 protected final ValueAnimator mFadeOutAnimator; 54 mFadeOutAnimator = ValueAnimator.ofInt(255, 0) in TileDrawable() 58 public void onAnimationUpdate(ValueAnimator animation) { in TileDrawable()
|
D | ExtendedBitmapDrawable.java | 21 import android.animation.ValueAnimator; 22 import android.animation.ValueAnimator.AnimatorUpdateListener; 448 private final ValueAnimator mPulseAnimator; 465 mPulseAnimator = ValueAnimator.ofInt(55, 255).setDuration(pulseDuration); in Placeholder() 466 mPulseAnimator.setRepeatCount(ValueAnimator.INFINITE); in Placeholder() 467 mPulseAnimator.setRepeatMode(ValueAnimator.REVERSE); in Placeholder() 470 public void onAnimationUpdate(ValueAnimator animation) { in Placeholder() 536 private final ValueAnimator mRotateAnimator; 543 mRotateAnimator = ValueAnimator.ofInt(0, 10000) in Progress() 546 mRotateAnimator.setRepeatCount(ValueAnimator.INFINITE); in Progress() [all …]
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
D | AssistInteractionSession.java | 20 import android.animation.ValueAnimator; 143 ValueAnimator colorAnim = ValueAnimator.ofArgb(Color.WHITE, 0xffe0e0e0); in playAssistAnimation() 146 colorAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in playAssistAnimation() 148 public void onAnimationUpdate(ValueAnimator animation) { in playAssistAnimation()
|
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/ |
D | ScrimDrawable.java | 21 import android.animation.ValueAnimator; 45 private ValueAnimator mColorAnimation; 72 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in setColor()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 48 private ValueAnimator a1; 49 private ValueAnimator a2; 68 a1 = ValueAnimator.ofFloat(A1_START_VALUE, A1_END_VALUE).setDuration(300); in setUp() 69 a2 = ValueAnimator.ofInt(A2_START_VALUE, A2_END_VALUE).setDuration(500); in setUp() 80 final ValueAnimator a = ValueAnimator.ofFloat(5f, 20f); in testStartDelay() 541 public void onAnimationUpdate(ValueAnimator animation) { 586 final ValueAnimator a0 = ValueAnimator.ofInt(100, 200).setDuration(500); 587 final ValueAnimator a3 = ValueAnimator.ofFloat(0, 1).setDuration(500); 588 final ValueAnimator a4 = ValueAnimator.ofInt(200, 300).setDuration(500); 900 final ValueAnimator a3 = ValueAnimator.ofInt(0, 100); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardAffordanceHelper.java | 21 import android.animation.ValueAnimator; 244 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); in startHintAnimationPhase1() 275 ValueAnimator animator = getAnimatorToRadius(right, 0); in startUnlockHintAnimationPhase2() 291 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { in getAnimatorToRadius() 293 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius); in getAnimatorToRadius() 294 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius() 296 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius() 344 ValueAnimator animator = ValueAnimator.ofFloat(mTranslation, target); in fling() 346 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in fling() 348 public void onAnimationUpdate(ValueAnimator animation) { in fling()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 21 import android.animation.ValueAnimator; 104 private ValueAnimator.AnimatorUpdateListener mUpdateListener = null; 110 private ValueAnimator mTempValueAnimator; 286 mTempValueAnimator = new ValueAnimator(); in getDuration() 355 mTempValueAnimator = new ValueAnimator(); in getInterpolator() 394 public ViewPropertyAnimator setUpdateListener(ValueAnimator.AnimatorUpdateListener listener) { in setUpdateListener() 399 ValueAnimator.AnimatorUpdateListener getUpdateListener() { in getUpdateListener() 856 ValueAnimator animator = ValueAnimator.ofFloat(1.0f); in startAnimation() 1061 implements Animator.AnimatorListener, ValueAnimator.AnimatorUpdateListener { 1132 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | FaceDialogView.java | 22 import android.animation.ValueAnimator; 197 final ValueAnimator outlineAnimator = in updateSize() 198 ValueAnimator.ofFloat(mOutlineProvider.calculateSmall(), 0); in updateSize() 206 final ValueAnimator iconAnimator = in updateSize() 207 ValueAnimator.ofFloat(iconSmallPositionY, mIconOriginalY); in updateSize() 214 final ValueAnimator textSlideAnimator = in updateSize() 215 ValueAnimator.ofFloat(dpToPixels(TEXT_ANIMATE_DISTANCE), 0); in updateSize() 223 final ValueAnimator opacityAnimator = ValueAnimator.ofFloat(0, 1); in updateSize()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ClipRegionActivity.java | 20 import android.animation.ValueAnimator; 45 animator.setRepeatCount(ValueAnimator.INFINITE); in onCreate() 46 animator.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationView.java | 22 import android.animation.ValueAnimator; 125 private ValueAnimator mAppearAnimator; 126 private ValueAnimator mBackgroundColorAnimator; 137 private ValueAnimator.AnimatorUpdateListener mBackgroundVisibilityUpdater 138 = new ValueAnimator.AnimatorUpdateListener() { 140 public void onAnimationUpdate(ValueAnimator animation) { 385 .setUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startActivateAnimation() 387 public void onAnimationUpdate(ValueAnimator animation) { in startActivateAnimation() 558 mBackgroundColorAnimator = ValueAnimator.ofFloat(0.0f, 1.0f); in updateBackgroundTint() 559 mBackgroundColorAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in updateBackgroundTint() [all …]
|