Home
last modified time | relevance | path

Searched refs:ValueAnimator (Results 1 – 25 of 130) 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;
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/
DValueAnimator.java73 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/
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()
125 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DExpandableViewState.java22 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/
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/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/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/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;
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/
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/biometrics/
DFaceDialogView.java22 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/
DClipRegionActivity.java20 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/
DActivatableNotificationView.java22 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 …]

123456