Home
last modified time | relevance | path

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

123456

/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 …]
/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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java22 import android.animation.ValueAnimator;
341 ValueAnimator textAnimator;
345 ValueAnimator widthAnimator;
352 ValueAnimator textTranslateAnimator;
406 private ValueAnimator.AnimatorUpdateListener dotSizeUpdater
407 = new ValueAnimator.AnimatorUpdateListener() {
409 public void onAnimationUpdate(ValueAnimator animation) {
415 private ValueAnimator.AnimatorUpdateListener textSizeUpdater
416 = new ValueAnimator.AnimatorUpdateListener() {
418 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
/frameworks/support/design/base/android/support/design/widget/
DStateListAnimator.java21 import android.animation.ValueAnimator;
31 ValueAnimator mRunningAnimator = null;
33 private final ValueAnimator.AnimatorListener mAnimationListener =
50 public void addState(int[] specs, ValueAnimator animator) { in addState()
109 final ValueAnimator mAnimator;
111 Tuple(int[] specs, ValueAnimator animator) { in Tuple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DExpandableViewState.java22 import android.animation.ValueAnimator;
241 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation()
263 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation()
264 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation()
266 public void onAnimationUpdate(ValueAnimator animation) { in startHeightAnimation()
323 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_SHADOW_ALPHA); in startShadowAlphaAnimation()
345 ValueAnimator animator = ValueAnimator.ofFloat(child.getShadowAlpha(), newEndValue); in startShadowAlphaAnimation()
346 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startShadowAlphaAnimation()
348 public void onAnimationUpdate(ValueAnimator animation) { in startShadowAlphaAnimation()
385 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET); in startInsetAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java21 import android.animation.ValueAnimator;
35 startIntensityAnimation(new ValueAnimator.AnimatorUpdateListener() { in fadeGrayscale()
37 public void onAnimationUpdate(ValueAnimator animation) { in fadeGrayscale()
63 public void startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, in startIntensityAnimation()
67 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); in startIntensityAnimation()
/frameworks/base/core/java/android/animation/
DValueAnimator.java71 public class ValueAnimator extends Animator implements AnimationHandler.AnimationFrameCallback { class
319 public ValueAnimator() { in ValueAnimator() method in ValueAnimator
333 public static ValueAnimator ofInt(int... values) { in ofInt()
334 ValueAnimator anim = new ValueAnimator(); in ofInt()
350 public static ValueAnimator ofArgb(int... values) { in ofArgb()
351 ValueAnimator anim = new ValueAnimator(); in ofArgb()
368 public static ValueAnimator ofFloat(float... values) { in ofFloat()
369 ValueAnimator anim = new ValueAnimator(); in ofFloat()
382 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder()
383 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 {
108 private final ValueAnimator mAlphaOutAnimator;
109 private final ValueAnimator mAlphaInAnimator;
117 mAlphaInAnimator = ValueAnimator.ofInt(0, FULL_ALPHA) in AssistDisclosureView()
121 mAlphaOutAnimator = ValueAnimator.ofInt(FULL_ALPHA, 0).setDuration( in AssistDisclosureView()
231 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java19 import android.animation.ValueAnimator;
62 ValueAnimator animator = ValueAnimator.ofFloat(startScale, endScale); in createAnimator()
63 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
65 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/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;
65 private ValueAnimator mCircleAnimator;
66 private ValueAnimator mAlphaAnimator;
67 private ValueAnimator mScaleAnimator;
358 ValueAnimator animator = getAnimatorToRadius(circleRadius); in setCircleRadius()
391 private ValueAnimator getAnimatorToRadius(float circleRadius) { in getAnimatorToRadius()
392 ValueAnimator animator = ValueAnimator.ofFloat(mCircleRadius, circleRadius); in getAnimatorToRadius()
396 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius()
398 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius()
434 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale()
[all …]
DViewTransformationHelper.java21 import android.animation.ValueAnimator;
44 private ValueAnimator mViewTransformationAnimation;
72 mViewTransformationAnimation = ValueAnimator.ofFloat(0.0f, 1.0f); in transformTo()
73 mViewTransformationAnimation.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in transformTo()
75 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;
132 private ValueAnimator mAppearAnimator;
133 private ValueAnimator mBackgroundColorAnimator;
142 private ValueAnimator mFadeInFromDarkAnimator;
144 private ValueAnimator.AnimatorUpdateListener mBackgroundVisibilityUpdater
145 = new ValueAnimator.AnimatorUpdateListener() {
147 public void onAnimationUpdate(ValueAnimator animation) {
161 private ValueAnimator.AnimatorUpdateListener mUpdateOutlineListener
162 = new ValueAnimator.AnimatorUpdateListener() {
164 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
DScrimView.java21 import android.animation.ValueAnimator;
45 private ValueAnimator mAlphaAnimator;
48 private ValueAnimator.AnimatorUpdateListener mAlphaUpdateListener
49 = new ValueAnimator.AnimatorUpdateListener() {
51 public void onAnimationUpdate(ValueAnimator animation) {
169 mAlphaAnimator = ValueAnimator.ofFloat(mViewAlpha, alpha); in animateViewAlpha()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
DParallaxTransition.java22 import android.animation.ValueAnimator;
62 ValueAnimator animator = ValueAnimator.ofFloat(0, 1); in createAnimator()
64 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
66 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java21 import android.animation.ValueAnimator;
93 ValueAnimator animator = ValueAnimator.ofObject(new ArgbEvaluator(), in createAnimator()
96 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
98 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/frameworks/support/design/src/android/support/design/internal/
DTextScale.java20 import android.animation.ValueAnimator;
73 ValueAnimator animator = ValueAnimator.ofFloat(startSize, endSize); in createAnimator()
75 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
77 public void onAnimationUpdate(ValueAnimator valueAnimator) { in createAnimator()
/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/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()
156 mContentsPositionAnimator = ValueAnimator.ofFloat(-chevronDistance(), 0) in startShowAnimation()
175 public void onAnimationUpdate(ValueAnimator animation) { in startShowAnimation()
190 mChevronPositionAnimator = ValueAnimator.ofFloat(-chevronDistance(), 0) in startShowAnimation()
226 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/
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 …]

123456