Home
last modified time | relevance | path

Searched refs:valueAnimator (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextAnimatorTest.kt53 val valueAnimator = mock(ValueAnimator::class.java) in testAnimationStarted() constant
61 this.animator = valueAnimator in testAnimationStarted()
77 verify(valueAnimator, times(1)).start() in testAnimationStarted()
83 val valueAnimator = mock(ValueAnimator::class.java) in testAnimationNotStarted() constant
91 this.animator = valueAnimator in testAnimationNotStarted()
104 verify(valueAnimator, never()).start() in testAnimationNotStarted()
110 val valueAnimator = mock(ValueAnimator::class.java) in testAnimationEnded() constant
119 this.animator = valueAnimator in testAnimationEnded()
130 verify(valueAnimator).addListener(captor.capture()) in testAnimationEnded()
131 captor.value.onAnimationEnd(valueAnimator) in testAnimationEnded()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransitionTest.kt57 @Mock private lateinit var valueAnimator: ValueAnimator in <lambda>() variable in com.android.systemui.media.controls.ui.animation.ColorSchemeTransitionTest
88 return valueAnimator in <lambda>()
99 verify(valueAnimator, never()).start() in <lambda>()
108 verify(valueAnimator, times(1)).start() in <lambda>()
117 verify(valueAnimator, never()).start() in <lambda>()
125 whenever(valueAnimator.animatedFraction).thenReturn(0f) in <lambda>()
127 colorTransition.onAnimationUpdate(valueAnimator) in <lambda>()
137 whenever(valueAnimator.animatedFraction).thenReturn(1f) in <lambda>()
139 colorTransition.onAnimationUpdate(valueAnimator) in <lambda>()
149 whenever(valueAnimator.animatedFraction).thenReturn(0.5f) in <lambda>()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DResizeHWLayerActivity.java51 public void onAnimationUpdate(ValueAnimator valueAnimator) { in onCreate()
52 params.width = (Integer)valueAnimator.getAnimatedValue("width"); in onCreate()
53 params.height = (Integer)valueAnimator.getAnimatedValue("height"); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DFullscreenMagnificationController.java113 ValueAnimator valueAnimator) { in FullscreenMagnificationController() argument
131 mShowHideBorderAnimator = (valueAnimator == null) in FullscreenMagnificationController()
132 ? createNullTargetObjectAnimator() : valueAnimator; in FullscreenMagnificationController()
146 final ValueAnimator valueAnimator = in createNullTargetObjectAnimator() local
150 valueAnimator.setInterpolator(interpolator); in createNullTargetObjectAnimator()
151 valueAnimator.setDuration(mLongAnimationTimeMs); in createNullTargetObjectAnimator()
152 return valueAnimator; in createNullTargetObjectAnimator()
DWindowMagnificationAnimationController.java82 WindowMagnificationAnimationController(Context context, ValueAnimator valueAnimator) { in WindowMagnificationAnimationController() argument
84 mValueAnimator = valueAnimator; in WindowMagnificationAnimationController()
366 final ValueAnimator valueAnimator = new ValueAnimator(); in newValueAnimator() local
367 valueAnimator.setDuration( in newValueAnimator()
369 valueAnimator.setInterpolator(new AccelerateInterpolator(2.5f)); in newValueAnimator()
370 valueAnimator.setFloatValues(0.0f, 1.0f); in newValueAnimator()
371 return valueAnimator; in newValueAnimator()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadAnimator.java164 expandTextColorAnimator.addUpdateListener(valueAnimator -> { in createAnimators()
166 mDigitTextView.setTextColor((int) valueAnimator.getAnimatedValue()); in createAnimators()
169 mImageButton.setTint((int) valueAnimator.getAnimatedValue()); in createAnimators()
197 contractTextColorAnimator.addUpdateListener(valueAnimator -> { in createAnimators()
199 mDigitTextView.setTextColor((int) valueAnimator.getAnimatedValue()); in createAnimators()
202 mImageButton.setTint((int) valueAnimator.getAnimatedValue()); in createAnimators()
DKeyguardPinBasedInputView.java244 scaleDownAnimator.addUpdateListener(valueAnimator -> { in startErrorAnimation()
245 button.setScaleX((float) valueAnimator.getAnimatedValue()); in startErrorAnimation()
246 button.setScaleY((float) valueAnimator.getAnimatedValue()); in startErrorAnimation()
252 scaleUpAnimator.addUpdateListener(valueAnimator -> { in startErrorAnimation()
253 button.setScaleX((float) valueAnimator.getAnimatedValue()); in startErrorAnimation()
254 button.setScaleY((float) valueAnimator.getAnimatedValue()); in startErrorAnimation()
DPinShapeNonHintingView.java113 mValueAnimator.addUpdateListener(valueAnimator -> {
114 float value = (float) valueAnimator.getAnimatedValue();
205 animator.addUpdateListener(valueAnimator -> { in createAnimator()
206 float value = (float) valueAnimator.getAnimatedValue(); in createAnimator()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DPlaceHolderIconDrawable.java64 iconUpdateAnimation.addUpdateListener(valueAnimator -> { in animateIconUpdate()
65 int newAlpha = (int) valueAnimator.getAnimatedValue(); in animateIconUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardUnlockAnimationController.kt340 addUpdateListener { valueAnimator: ValueAnimator -> in <lambda>() method
341 surfaceBehindAlpha = valueAnimator.animatedValue as Float in <lambda>()
370 addUpdateListener { valueAnimator: ValueAnimator -> in <lambda>() method
371 setWallpaperAppearAmount(valueAnimator.animatedValue as Float) in <lambda>()
386 addUpdateListener { valueAnimator: ValueAnimator -> in <lambda>() method
387 surfaceBehindAlpha = valueAnimator.animatedValue as Float in <lambda>()
388 setSurfaceBehindAppearAmount(valueAnimator.animatedValue as Float) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java863 ValueAnimator valueAnimator = ValueAnimator.ofInt(ALPHA_MAX_VALUE, 0); in createFadePatternAnimation() local
864 valueAnimator.addUpdateListener(animation -> { in createFadePatternAnimation()
868 valueAnimator.setInterpolator(mStandardAccelerateInterpolator); in createFadePatternAnimation()
869 valueAnimator.setStartDelay(mFadePatternAnimationDelayMs); in createFadePatternAnimation()
870 valueAnimator.setDuration(mFadePatternAnimationDurationMs); in createFadePatternAnimation()
871 return valueAnimator; in createFadePatternAnimation()
920 valueAnimator -> { in createDotActivationColorAnimation()
922 (float) valueAnimator.getAnimatedValue(); in createDotActivationColorAnimation()
956 ValueAnimator valueAnimator = ValueAnimator.ofFloat(0, 1); in createLineEndAnimation() local
957 valueAnimator.addUpdateListener(animation -> { in createLineEndAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java314 ValueAnimator valueAnimator =
316 valueAnimator.setInterpolator(mPostAnimationInterpolator);
317 valueAnimator.addUpdateListener(animation -> {
327 valueAnimator.addListener(new AnimatorListenerAdapter() {
334 valueAnimator.start();
DCrossActivityBackAnimation.kt275 val valueAnimator = in <lambda>() constant
277 valueAnimator.addUpdateListener { animation: ValueAnimator -> in <lambda>()
284 valueAnimator.addListener( in <lambda>()
292 valueAnimator.start() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DRemoteRecentSplitTaskTransitionRunner.kt84 addUpdateListener { valueAnimator -> in <lambda>() method
85 val progress = valueAnimator.animatedFraction in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt58 private val valueAnimator = buildAnimator() constant
74 valueAnimator.cancel() in updateColorScheme()
75 valueAnimator.start() in updateColorScheme()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java695 TintValueAnimator valueAnimator = TintValueAnimator.ofMatrix(COLOR_MATRIX_EVALUATOR, in applyTint() local
697 tintController.setAnimator(valueAnimator); in applyTint()
698 valueAnimator.setDuration(tintController.getTransitionDurationMilliseconds()); in applyTint()
699 valueAnimator.setInterpolator(AnimationUtils.loadInterpolator( in applyTint()
701 valueAnimator.addUpdateListener((ValueAnimator animator) -> { in applyTint()
706 valueAnimator.addListener(new AnimatorListenerAdapter() { in applyTint()
734 valueAnimator.start(); in applyTint()
757 ValueAnimator valueAnimator = ValueAnimator.ofInt(from, to); in applyTintByCct() local
758 tintController.setAnimator(valueAnimator); in applyTintByCct()
761 valueAnimator.setEvaluator(evaluator); in applyTintByCct()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DMessageContainerController.kt142 addUpdateListener { valueAnimator: ValueAnimator -> in <lambda>() method
143 val interpolation = valueAnimator.animatedValue as Float in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java295 mScreenshotAnimator.addUpdateListener(valueAnimator -> { in onResized()
296 final float progress = (float) valueAnimator.getAnimatedValue(); in onResized()
422 mFadeAnimator.addUpdateListener(valueAnimator-> { in startFadeAnimation()
423 final float progress = (float) valueAnimator.getAnimatedValue(); in startFadeAnimation()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java288 public void onAnimationUpdate(ValueAnimator valueAnimator) { in onAnimationUpdate() argument
290 final float value = (Float) valueAnimator.getAnimatedValue(); in onAnimationUpdate()
/frameworks/base/core/java/android/widget/
DTextViewTranslationCallback.java314 (valueAnimator) -> view.setTextColor((Integer) valueAnimator.getAnimatedValue())); in runChangeTextWithAnimationIfNeeded()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DReachabilityEduLayout.java131 animator.addUpdateListener(valueAnimator -> { in marginAnimator()
132 marginConsumer.accept(layoutParams, (Integer) valueAnimator.getAnimatedValue()); in marginAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBadgedImageView.java345 .setUpdateListener((valueAnimator) -> { in animateDotScale()
346 float fraction = valueAnimator.getAnimatedFraction(); in animateDotScale()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java1086 final ValueAnimator valueAnimator = new ValueAnimator(); in newValueAnimator() local
1087 valueAnimator.setDuration(mWaitAnimationDuration); in newValueAnimator()
1088 valueAnimator.setInterpolator(new AccelerateInterpolator(2.5f)); in newValueAnimator()
1089 valueAnimator.setFloatValues(0.0f, 1.0f); in newValueAnimator()
1090 return valueAnimator; in newValueAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java793 public void onAnimationUpdate(ValueAnimator valueAnimator) {
794 float t = valueAnimator.getAnimatedFraction();
796 int height = (Integer) valueAnimator.getAnimatedValue();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarAnimationHelper.java137 mExpandedViewAlphaAnimator.addUpdateListener(valueAnimator -> { in BubbleBarAnimationHelper()
140 float alpha = (float) valueAnimator.getAnimatedValue(); in BubbleBarAnimationHelper()

12