Home
last modified time | relevance | path

Searched refs:ValueAnimator (Results 1 – 25 of 131) sorted by relevance

123456

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DResizeHWLayerActivity.java19 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()
DBitmapUploadActivity.java19 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()
DFullscreenOverdrawActivity.java19 import android.animation.ValueAnimator;
79 objectAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
80 objectAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
DInvalidateTreeActivity.java19 import android.animation.ValueAnimator;
75 animator.setRepeatMode(ValueAnimator.REVERSE);
76 animator.setRepeatCount(ValueAnimator.INFINITE);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java22 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/
DValueAnimator.java73 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/
DAssistOrbView.java21 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 …]
DAssistDisclosure.java22 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/
DNotificationDozeHelper.java21 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()
DPropertyAnimator.java22 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/
DTintController.java19 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/
DExpandableViewState.java22 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/
DChangeText.java22 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/
DKeyguardAffordanceView.java23 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 …]
DViewTransformationHelper.java21 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/
DHitRectBug.java19 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/
DTileDrawable.java19 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()
DExtendedBitmapDrawable.java21 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/
DScrimDrawable.java21 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/
DAssistInteractionSession.java20 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/
DValueAnimatorTests.java48 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/
DKeyguardAffordanceHelper.java21 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/
DViewPropertyAnimator.java21 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/
DImageRevealHelper.java21 import android.animation.ValueAnimator;
34 private final ValueAnimator mAnimator;
41 mAnimator = ValueAnimator.ofFloat(); in ImageRevealHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFaceDialogView.java22 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()

123456