Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java22 import android.animation.ValueAnimator;
223 ValueAnimator alphaAnimator = configureAnimator( in makeAnimators()
224 ValueAnimator.ofInt(startAlpha, endAlpha), in makeAnimators()
226 ValueAnimator sizeAnimator = configureAnimator( in makeAnimators()
227 ValueAnimator.ofFloat(startRadius, endRadius), in makeAnimators()
238 private ValueAnimator configureAnimator(ValueAnimator animator, long duration, in configureAnimator()
239 ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator, in configureAnimator()
245 animator.setRepeatCount(ValueAnimator.INFINITE); in configureAnimator()
246 animator.setRepeatMode(ValueAnimator.REVERSE); in configureAnimator()
251 private final ValueAnimator.AnimatorUpdateListener mAlphaUpdateListener =
[all …]
DKeyguardAffordanceHelper.java21 import android.animation.ValueAnimator;
248 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); in startHintAnimationPhase1()
279 ValueAnimator animator = getAnimatorToRadius(right, 0); in startUnlockHintAnimationPhase2()
295 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { in getAnimatorToRadius()
297 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius); in getAnimatorToRadius()
298 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius()
300 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius()
348 ValueAnimator animator = ValueAnimator.ofFloat(mTranslation, target); in fling()
350 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in fling()
352 public void onAnimationUpdate(ValueAnimator animation) { in fling()
/frameworks/support/v4/honeycomb_mr1/android/support/v4/animation/
DHoneycombMr1AnimatorCompatProvider.java23 import android.animation.ValueAnimator;
39 return new HoneycombValueAnimatorCompat(ValueAnimator.ofFloat(0f, 1f)); in emptyValueAnimator()
77 if (mWrapped instanceof ValueAnimator) { in addUpdateListener()
78 ((ValueAnimator) mWrapped).addUpdateListener( in addUpdateListener()
79 new ValueAnimator.AnimatorUpdateListener() { in addUpdateListener()
81 public void onAnimationUpdate(ValueAnimator animation) { in addUpdateListener()
91 return ((ValueAnimator) mWrapped).getAnimatedFraction(); in getAnimatedFraction()
131 mDefaultInterpolator = new ValueAnimator().getInterpolator(); in clearInterpolator()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPasswordTextView.java22 import android.animation.ValueAnimator;
371 ValueAnimator textAnimator;
375 ValueAnimator widthAnimator;
382 ValueAnimator textTranslateAnimator;
436 private ValueAnimator.AnimatorUpdateListener dotSizeUpdater
437 = new ValueAnimator.AnimatorUpdateListener() {
439 public void onAnimationUpdate(ValueAnimator animation) {
445 private ValueAnimator.AnimatorUpdateListener textSizeUpdater
446 = new ValueAnimator.AnimatorUpdateListener() {
448 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
/frameworks/base/core/java/android/animation/
DValueAnimator.java69 public class ValueAnimator extends Animator implements AnimationHandler.AnimationFrameCallback { class
280 public ValueAnimator() { in ValueAnimator() method in ValueAnimator
294 public static ValueAnimator ofInt(int... values) { in ofInt()
295 ValueAnimator anim = new ValueAnimator(); in ofInt()
311 public static ValueAnimator ofArgb(int... values) { in ofArgb()
312 ValueAnimator anim = new ValueAnimator(); in ofArgb()
329 public static ValueAnimator ofFloat(float... values) { in ofFloat()
330 ValueAnimator anim = new ValueAnimator(); in ofFloat()
343 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder()
344 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;
96 implements ValueAnimator.AnimatorUpdateListener {
107 private final ValueAnimator mTracingAnimator;
108 private final ValueAnimator mAlphaOutAnimator;
109 private final ValueAnimator mAlphaInAnimator;
118 mTracingAnimator = ValueAnimator.ofFloat(0, 1).setDuration(TRACING_ANIMATION_DURATION); in AssistDisclosureView()
122 mAlphaInAnimator = ValueAnimator.ofInt(0, 255).setDuration(ALPHA_IN_ANIMATION_DURATION); in AssistDisclosureView()
125 mAlphaOutAnimator = ValueAnimator.ofInt(255, 0).setDuration( in AssistDisclosureView()
251 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchOrbView.java20 import android.animation.ValueAnimator;
53 private ValueAnimator mColorAnimator;
130 private final ValueAnimator.AnimatorUpdateListener mUpdateListener =
131 new ValueAnimator.AnimatorUpdateListener() {
133 public void onAnimationUpdate(ValueAnimator animator) {
139 private ValueAnimator mShadowFocusAnimator;
141 private final ValueAnimator.AnimatorUpdateListener mFocusUpdateListener =
142 new ValueAnimator.AnimatorUpdateListener() {
144 public void onAnimationUpdate(ValueAnimator animation) {
233 mShadowFocusAnimator = ValueAnimator.ofFloat(0f, 1f); in startShadowFocusAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java23 import android.animation.ValueAnimator;
64 private ValueAnimator mCircleAnimator;
65 private ValueAnimator mAlphaAnimator;
66 private ValueAnimator mScaleAnimator;
346 ValueAnimator animator = getAnimatorToRadius(circleRadius); in setCircleRadius()
379 private ValueAnimator getAnimatorToRadius(float circleRadius) { in getAnimatorToRadius()
380 ValueAnimator animator = ValueAnimator.ofFloat(mCircleRadius, circleRadius); in getAnimatorToRadius()
384 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius()
386 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius()
422 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale()
[all …]
DViewTransformationHelper.java21 import android.animation.ValueAnimator;
43 private ValueAnimator mViewTransformationAnimation;
71 mViewTransformationAnimation = ValueAnimator.ofFloat(0.0f, 1.0f); in transformTo()
72 mViewTransformationAnimation.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in transformTo()
74 public void onAnimationUpdate(ValueAnimator animation) { in transformTo()
132 mViewTransformationAnimation = ValueAnimator.ofFloat(0.0f, 1.0f); in transformFrom()
133 mViewTransformationAnimation.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in transformFrom()
135 public void onAnimationUpdate(ValueAnimator animation) { in transformFrom()
DActivatableNotificationView.java23 import android.animation.ValueAnimator;
126 private ValueAnimator mAppearAnimator;
127 private ValueAnimator mBackgroundColorAnimator;
139 private ValueAnimator mFadeInFromDarkAnimator;
140 private ValueAnimator.AnimatorUpdateListener mBackgroundVisibilityUpdater
141 = new ValueAnimator.AnimatorUpdateListener() {
143 public void onAnimationUpdate(ValueAnimator animation) {
155 private ValueAnimator.AnimatorUpdateListener mUpdateOutlineListener
156 = new ValueAnimator.AnimatorUpdateListener() {
158 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
DScrimView.java21 import android.animation.ValueAnimator;
43 private ValueAnimator mAlphaAnimator;
46 private ValueAnimator.AnimatorUpdateListener mAlphaUpdateListener
47 = new ValueAnimator.AnimatorUpdateListener() {
49 public void onAnimationUpdate(ValueAnimator animation) {
159 mAlphaAnimator = ValueAnimator.ofFloat(mViewAlpha, alpha); in animateViewAlpha()
/frameworks/support/v4/kitkat/android/support/v4/view/
DViewPropertyAnimatorCompatKK.java18 import android.animation.ValueAnimator;
25 ValueAnimator.AnimatorUpdateListener wrapped = null; in setUpdateListener()
27 wrapped = new ValueAnimator.AnimatorUpdateListener() { in setUpdateListener()
29 public void onAnimationUpdate(ValueAnimator valueAnimator) { in setUpdateListener()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java19 import android.animation.ValueAnimator;
63 ValueAnimator animator = ValueAnimator.ofFloat(startScale, endScale); in createAnimator()
64 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
66 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
DValueAnimatorCompatImplHoneycombMr1.java21 import android.animation.ValueAnimator;
26 final ValueAnimator mValueAnimator;
29 mValueAnimator = new ValueAnimator(); in ValueAnimatorCompatImplHoneycombMr1()
49 mValueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in setUpdateListener()
51 public void onAnimationUpdate(ValueAnimator valueAnimator) { in setUpdateListener()
/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(255, 0); in createAnimator()
214 outAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
216 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
240 inAnim = ValueAnimator.ofInt(0, 255); in createAnimator()
241 inAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
243 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackStateAnimator.java23 import android.animation.ValueAnimator;
92 private ValueAnimator mTopOverScrollAnimator;
93 private ValueAnimator mBottomOverScrollAnimator;
404 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_SHADOW_ALPHA); in startShadowAlphaAnimation()
425 ValueAnimator animator = ValueAnimator.ofFloat(child.getShadowAlpha(), newEndValue); in startShadowAlphaAnimation()
426 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startShadowAlphaAnimation()
428 public void onAnimationUpdate(ValueAnimator animation) { in startShadowAlphaAnimation()
463 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation()
484 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation()
485 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java22 import android.animation.ValueAnimator;
23 import android.animation.ValueAnimator.AnimatorUpdateListener;
50 private ValueAnimator mChevronPositionAnimator;
51 private ValueAnimator mContentsPositionAnimator;
137 public void onAnimationUpdate(ValueAnimator animation) { in startShowAnimation()
146 mContentsPositionAnimator = ValueAnimator.ofFloat(-chevronDistance(), 0) in startShowAnimation()
165 public void onAnimationUpdate(ValueAnimator animation) { in startShowAnimation()
180 mChevronPositionAnimator = ValueAnimator.ofFloat(-chevronDistance(), 0) in startShowAnimation()
216 public void onAnimationUpdate(ValueAnimator animation) { in startDismiss()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DViewInvertHelper.java21 import android.animation.ValueAnimator;
66 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); in fade()
67 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in fade()
69 public void onAnimationUpdate(ValueAnimator animation) { in fade()
/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/
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 …]
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()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java33 private ValueAnimator a1;
34 private ValueAnimator a2;
55 a1 = ValueAnimator.ofFloat(A1_START_VALUE, A1_END_VALUE).setDuration(300); in setUp()
56 a2 = ValueAnimator.ofInt(A2_START_VALUE, A2_END_VALUE).setDuration(500); in setUp()
68 final ValueAnimator a = ValueAnimator.ofFloat(5f, 20f); in testStartDelay()
529 public void onAnimationUpdate(ValueAnimator animation) {
571 final ValueAnimator a0 = ValueAnimator.ofInt(100, 200).setDuration(500);
572 final ValueAnimator a3 = ValueAnimator.ofFloat(0, 1).setDuration(500);
573 final ValueAnimator a4 = ValueAnimator.ofInt(200, 300).setDuration(500);
885 final ValueAnimator a3 = ValueAnimator.ofInt(0, 100);
[all …]
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java20 import android.animation.ValueAnimator;
140 ValueAnimator colorAnim = ValueAnimator.ofArgb(Color.WHITE, 0xffe0e0e0); in playAssistAnimation()
143 colorAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in playAssistAnimation()
145 public void onAnimationUpdate(ValueAnimator animation) { in playAssistAnimation()

12345