/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; 368 ValueAnimator textAnimator; 372 ValueAnimator widthAnimator; 379 ValueAnimator textTranslateAnimator; 433 private ValueAnimator.AnimatorUpdateListener dotSizeUpdater 434 = new ValueAnimator.AnimatorUpdateListener() { 436 public void onAnimationUpdate(ValueAnimator animation) { 442 private ValueAnimator.AnimatorUpdateListener textSizeUpdater 443 = new ValueAnimator.AnimatorUpdateListener() { 445 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 334 public ValueAnimator() { in ValueAnimator() method in ValueAnimator 348 public static ValueAnimator ofInt(int... values) { in ofInt() 349 ValueAnimator anim = new ValueAnimator(); in ofInt() 365 public static ValueAnimator ofArgb(int... values) { in ofArgb() 366 ValueAnimator anim = new ValueAnimator(); in ofArgb() 383 public static ValueAnimator ofFloat(float... values) { in ofFloat() 384 ValueAnimator anim = new ValueAnimator(); in ofFloat() 397 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder() 398 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()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | TintController.java | 19 import android.animation.ValueAnimator; 26 private ValueAnimator mAnimator; 29 public ValueAnimator getAnimator() { in getAnimator() 33 public void setAnimator(ValueAnimator animator) { in setAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ExpandableViewState.java | 22 import android.animation.ValueAnimator; 237 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation() 259 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation() 260 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation() 262 public void onAnimationUpdate(ValueAnimator animation) { in startHeightAnimation() 318 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET); in startInsetAnimation() 340 ValueAnimator animator = ValueAnimator.ofInt(child.getClipTopAmount(), newEndValue); in startInsetAnimation() 341 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startInsetAnimation() 343 public void onAnimationUpdate(ValueAnimator animation) { in startInsetAnimation() 381 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/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/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/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; 245 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); in startHintAnimationPhase1() 276 ValueAnimator animator = getAnimatorToRadius(right, 0); in startUnlockHintAnimationPhase2() 292 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { in getAnimatorToRadius() 294 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius); in getAnimatorToRadius() 295 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius() 297 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius() 345 ValueAnimator animator = ValueAnimator.ofFloat(mTranslation, target); in fling() 347 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in fling() 349 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/glwallpaper/ |
D | ImageRevealHelper.java | 21 import android.animation.ValueAnimator; 34 private final ValueAnimator mAnimator; 41 mAnimator = ValueAnimator.ofFloat(); in ImageRevealHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | FaceDialogView.java | 22 import android.animation.ValueAnimator; 195 final ValueAnimator outlineAnimator = in updateSize() 196 ValueAnimator.ofFloat(mOutlineProvider.calculateSmall(), 0); in updateSize() 204 final ValueAnimator iconAnimator = in updateSize() 205 ValueAnimator.ofFloat(iconSmallPositionY, mIconOriginalY); in updateSize() 212 final ValueAnimator textSlideAnimator = in updateSize() 213 ValueAnimator.ofFloat(dpToPixels(TEXT_ANIMATE_DISTANCE), 0); in updateSize() 221 final ValueAnimator opacityAnimator = ValueAnimator.ofFloat(0, 1); in updateSize()
|