Home
last modified time | relevance | path

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

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java20 import android.animation.ValueAnimator;
120 public ValueAnimator getTranslationAnimator(float relativeTranslationY) { in getTranslationAnimator()
121 final ValueAnimator animator = ValueAnimator.ofFloat( in getTranslationAnimator()
130 public ValueAnimator getAlphaAnimator(float alpha) { in getAlphaAnimator()
131 final ValueAnimator animator = ValueAnimator.ofFloat(mPanelView.getAlpha(), alpha); in getAlphaAnimator()
158 ValueAnimator marginAnimator = ValueAnimator.ofInt(mMargin, margin); in updateForContentDimensions()
164 ValueAnimator cornerAnimator = ValueAnimator.ofFloat(mCornerRadius, cornerRadius); in updateForContentDimensions()
170 ValueAnimator heightAnimator = ValueAnimator.ofInt(mContentHeight, contentHeight); in updateForContentDimensions()
177 ValueAnimator widthAnimator = ValueAnimator.ofInt(mContentWidth, contentWidth); in updateForContentDimensions()
DUdfpsEnrollDrawable.java20 import android.animation.ValueAnimator;
112 final ValueAnimator x = ValueAnimator.ofFloat(mCurrentX, point.x); in onEnrollmentProgress()
118 final ValueAnimator y = ValueAnimator.ofFloat(mCurrentY, point.y); in onEnrollmentProgress()
124 final ValueAnimator scale = ValueAnimator.ofFloat(0, (float) Math.PI); in onEnrollmentProgress()
DAuthRippleView.kt21 import android.animation.ValueAnimator in <lambda>()
74 val rippleAnimator = ValueAnimator.ofFloat(0f, 1f).apply { in <lambda>()
87 val revealAnimator = ValueAnimator.ofFloat(0f, 1f).apply { in <lambda>()
96 val alphaInAnimator = ValueAnimator.ofInt(0, 127).apply { in <lambda>()
107 val alphaOutAnimator = ValueAnimator.ofInt(127, 0).apply { in <lambda>()
DUdfpsEnrollProgressBarDrawable.java19 import android.animation.ValueAnimator;
48 @Nullable private ValueAnimator mProgressAnimator;
99 final ValueAnimator rotationAnimator = ValueAnimator.ofInt(0, 400); in setEnrollmentProgress()
113 mProgressAnimator = ValueAnimator.ofFloat(mProgress, progress); in setEnrollmentProgress()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadAnimator.java19 import android.animation.ValueAnimator;
38 private ValueAnimator mExpandAnimator;
39 private ValueAnimator mContractAnimator;
55 mExpandAnimator = ValueAnimator.ofFloat(0f, 1f); in NumPadAnimator()
58 mExpandAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in NumPadAnimator()
59 public void onAnimationUpdate(ValueAnimator anim) { in NumPadAnimator()
65 mContractAnimator = ValueAnimator.ofFloat(1f, 0f); in NumPadAnimator()
69 mContractAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in NumPadAnimator()
70 public void onAnimationUpdate(ValueAnimator anim) { in NumPadAnimator()
DPasswordTextView.java22 import android.animation.ValueAnimator;
400 ValueAnimator textAnimator;
404 ValueAnimator widthAnimator;
411 ValueAnimator textTranslateAnimator;
465 private ValueAnimator.AnimatorUpdateListener dotSizeUpdater
466 = new ValueAnimator.AnimatorUpdateListener() {
468 public void onAnimationUpdate(ValueAnimator animation) {
474 private ValueAnimator.AnimatorUpdateListener textSizeUpdater
475 = new ValueAnimator.AnimatorUpdateListener() {
477 public void onAnimationUpdate(ValueAnimator animation) {
[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()
DFullscreenOverdrawActivity.java19 import android.animation.ValueAnimator;
79 objectAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
80 objectAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
/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;
95 implements ValueAnimator.AnimatorUpdateListener {
107 private final ValueAnimator mAlphaOutAnimator;
108 private final ValueAnimator mAlphaInAnimator;
116 mAlphaInAnimator = ValueAnimator.ofInt(0, FULL_ALPHA) in AssistDisclosureView()
120 mAlphaOutAnimator = ValueAnimator.ofInt(FULL_ALPHA, 0).setDuration( in AssistDisclosureView()
230 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;
48 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
69 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
103 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation()
142 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation()
/frameworks/base/core/java/android/animation/
DValueAnimator.java74 public class ValueAnimator extends Animator implements AnimationHandler.AnimationFrameCallback { class
342 public ValueAnimator() { in ValueAnimator() method in ValueAnimator
356 public static ValueAnimator ofInt(int... values) { in ofInt()
357 ValueAnimator anim = new ValueAnimator(); in ofInt()
373 public static ValueAnimator ofArgb(int... values) { in ofArgb()
374 ValueAnimator anim = new ValueAnimator(); in ofArgb()
391 public static ValueAnimator ofFloat(float... values) { in ofFloat()
392 ValueAnimator anim = new ValueAnimator(); in ofFloat()
405 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder()
406 ValueAnimator anim = new ValueAnimator(); in ofPropertyValuesHolder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java21 import android.animation.ValueAnimator;
103 ValueAnimator textSizeAnimator = ObjectAnimator.ofFloat(percentage, "textSize", in init()
110 ValueAnimator textOpacityAnimator = ObjectAnimator.ofFloat(percentage, "alpha", 0, 1); in init()
118 ValueAnimator textFadeAnimator = ObjectAnimator.ofFloat(percentage, "alpha", 1, 0); in init()
127 ValueAnimator scrimFadeInAnimator = ObjectAnimator.ofArgb(this, in init()
131 ValueAnimator scrimFadeOutAnimator = ObjectAnimator.ofArgb(this, in init()
168 ValueAnimator textSizeAnimatorTransmitting = ObjectAnimator.ofFloat(transmittingPercentage, in init()
175 ValueAnimator textOpacityAnimatorTransmitting = ObjectAnimator.ofFloat( in init()
184 ValueAnimator textFadeAnimatorTransmitting = ObjectAnimator.ofFloat(transmittingPercentage, in init()
204 ValueAnimator textOpacityAnimatorIcon = ObjectAnimator.ofFloat(chargingViewIcon, "alpha", 0, in init()
[all …]
/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()
311 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_TOP_INSET); in startInsetAnimation()
333 ValueAnimator animator = ValueAnimator.ofInt(child.getClipTopAmount(), newEndValue); in startInsetAnimation()
334 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startInsetAnimation()
336 public void onAnimationUpdate(ValueAnimator animation) { in startInsetAnimation()
375 ValueAnimator heightAnimator = getChildTag(view, TAG_ANIMATOR_HEIGHT); in getFinalActualHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationScheduler.kt22 import android.animation.ValueAnimator in <lambda>()
171 val entranceAnimator = ValueAnimator.ofFloat(1f, 0f) in <lambda>()
176 val chipAnimator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
189 val systemAnimator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
194 val chipAnimator = ValueAnimator.ofFloat(1f, 0f) in <lambda>()
260 private fun notifySystemAnimationUpdate(anim: ValueAnimator) { in <lambda>()
282 private val systemUpdateListener = ValueAnimator.AnimatorUpdateListener { in <lambda>()
296 private val chipUpdateListener = ValueAnimator.AnimatorUpdateListener { in <lambda>()
346 @JvmDefault fun onSystemChromeAnimationUpdate(animator: ValueAnimator) {} in onSystemChromeAnimationUpdate()
359 fun onChipAnimationUpdate(animator: ValueAnimator, @SystemAnimationState state: Int) {} in onChipAnimationUpdate()
/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;
66 private ValueAnimator mCircleAnimator;
67 private ValueAnimator mAlphaAnimator;
68 private ValueAnimator mScaleAnimator;
374 ValueAnimator animator = getAnimatorToRadius(circleRadius); in setCircleRadius()
407 private ValueAnimator getAnimatorToRadius(float circleRadius) { in getAnimatorToRadius()
408 ValueAnimator animator = ValueAnimator.ofFloat(mCircleRadius, circleRadius); in getAnimatorToRadius()
412 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius()
414 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius()
450 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale()
[all …]
/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/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java20 import android.animation.ValueAnimator;
42 class WindowMagnificationAnimationController implements ValueAnimator.AnimatorUpdateListener,
62 private final ValueAnimator mValueAnimator;
81 WindowMagnificationController controller, ValueAnimator valueAnimator) { in WindowMagnificationAnimationController()
263 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
281 private static ValueAnimator newValueAnimator(Resources resources) { in newValueAnimator()
282 final ValueAnimator valueAnimator = new ValueAnimator(); in newValueAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java34 import android.animation.ValueAnimator;
473 ValueAnimator flashInAnimator = ValueAnimator.ofFloat(0, 1); in createScreenshotDropInAnimation()
479 ValueAnimator flashOutAnimator = ValueAnimator.ofFloat(1, 0); in createScreenshotDropInAnimation()
500 ValueAnimator toCorner = ValueAnimator.ofFloat(0, 1); in createScreenshotDropInAnimation()
562 ValueAnimator borderFadeIn = ValueAnimator.ofFloat(0, 1); in createScreenshotDropInAnimation()
611 ValueAnimator createScreenshotActionsShadeAnimation() { in createScreenshotActionsShadeAnimation()
665 ValueAnimator animator = ValueAnimator.ofFloat(0, 1); in createScreenshotActionsShadeAnimation()
786 ValueAnimator scrimAnim = ValueAnimator.ofFloat(0, 1); in startLongScreenshotTransition()
808 ValueAnimator previewAnim = ValueAnimator.ofFloat(0, 1); in startLongScreenshotTransition()
817 ValueAnimator previewFadeAnim = ValueAnimator.ofFloat(1, 0); in startLongScreenshotTransition()
[all …]
/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()

1234567