Home
last modified time | relevance | path

Searched refs:animatable (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DAnimationBindHandlerTest.kt69 whenever(animatable.isRunning).thenReturn(false)
78 whenever(animatable.isRunning).thenReturn(true)
81 handler.tryRegister(animatable)
88 handler.onAnimationEnd(animatable)
98 whenever(animatable.isRunning).thenReturn(true)
100 handler.tryRegister(animatable)
106 handler.onAnimationEnd(animatable)
107 handler.onAnimationEnd(animatable)
108 handler.onAnimationEnd(animatable)
114 whenever(animatable.isRunning).thenReturn(true)
[all …]
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DAnimateToScene.kt114 val animatable = Animatable(startProgress, visibilityThreshold = visibilityThreshold) regex
119 OneOffTransition(target, fromScene, currentScene = target, animatable)
121 OneOffTransition(fromScene, target, currentScene = target, animatable)
129 animatable.animateTo(targetProgress, animationSpec)
142 private val animatable: Animatable<Float, AnimationVector1D>,
145 get() = animatable.value
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSurfaceAnimator.java101 SurfaceAnimator(Animatable animatable, in SurfaceAnimator() argument
104 mAnimatable = animatable; in SurfaceAnimator()
420 final SurfaceControl surface = animatable.getSurfaceControl();
421 final SurfaceControl parent = animatable.getParentSurfaceControl();
422 final SurfaceControl curAnimationLeash = animatable.getAnimationLeash();
433 parent, animatable);
449 animatable.onAnimationLeashLost(t);
455 static SurfaceControl createAnimationLeash(Animatable animatable, SurfaceControl surface,
458 ProtoLog.i(WM_DEBUG_ANIM, "Reparenting to leash for %s", animatable);
459 final SurfaceControl.Builder builder = animatable.makeAnimationLeash()
[all …]
H A DSurfaceFreezer.java66 SurfaceFreezer(@NonNull Freezable animatable, @NonNull WindowManagerService service) { in SurfaceFreezer() argument
67 mAnimatable = animatable; in SurfaceFreezer()
H A DScreenRotationAnimation.java762 SurfaceAnimator.Animatable animatable, in startAnimation() argument
766 animatable, animationFinishedCallback, mService); in startAnimation()
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
H A DPatternBouncer.kt122 dotScalingAnimatables.entries.forEach { (dot, animatable) ->
129 animatable.animateTo(
138 animatable.animateTo(
210 lineFadeOutAnimatables.values.forEach { animatable ->
214 scope.launch { animatable.animateTo(1f) }
H A DPinBouncer.kt324 buttonScaleAnimatables.forEachIndexed { index, animatable ->
326 animatable.animateTo(
336 animatable.animateTo(
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSurfaceAnimatorTest.java305 private void assertAnimating(MyAnimatable animatable) { in assertAnimating() argument
306 assertTrue(animatable.mSurfaceAnimator.isAnimating()); in assertAnimating()
307 assertNotNull(animatable.mSurfaceAnimator.getAnimation()); in assertAnimating()
310 private void assertNotAnimating(MyAnimatable animatable) { in assertNotAnimating() argument
311 assertFalse(animatable.mSurfaceAnimator.isAnimating()); in assertNotAnimating()
312 assertNull(animatable.mSurfaceAnimator.getAnimation()); in assertNotAnimating()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardQuickAffordanceViewBinder.kt158 (view.drawable as? Animatable2)?.let { animatable ->
161 animatable.start()
174 animatable.stop()
H A DKeyguardBottomAreaViewBinder.kt335 (view.drawable as? Animatable2)?.let { animatable ->
338 animatable.start()
351 animatable.stop()