/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/ |
D | AnimationBindHandlerTest.kt | 48 @Mock private lateinit var animatable: AnimatedDrawable variable in com.android.systemui.media.controls.ui.animation.AnimationBindHandlerTest 69 whenever(animatable.isRunning).thenReturn(false) in registerStoppedAnimations_executeCallbackImmediately() 78 whenever(animatable.isRunning).thenReturn(true) in registerRunningAnimations_executeCallbackDelayed() 81 handler.tryRegister(animatable) in registerRunningAnimations_executeCallbackDelayed() 87 whenever(animatable.isRunning).thenReturn(false) in registerRunningAnimations_executeCallbackDelayed() 88 handler.onAnimationEnd(animatable) in registerRunningAnimations_executeCallbackDelayed() 98 whenever(animatable.isRunning).thenReturn(true) in repeatedEndCallback_executeSingleCallback() 100 handler.tryRegister(animatable) in repeatedEndCallback_executeSingleCallback() 105 whenever(animatable.isRunning).thenReturn(false) in repeatedEndCallback_executeSingleCallback() 106 handler.onAnimationEnd(animatable) in repeatedEndCallback_executeSingleCallback() [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | AnimateToScene.kt | 189 val animatable = in CoroutineScope() constant 191 transition.animatable = it in CoroutineScope() 201 animatable.animateTo(targetProgress, animationSpec, initialVelocity) in CoroutineScope() 225 lateinit var animatable: Animatable<Float, AnimationVector1D> variable 231 get() = animatable.value 234 get() = animatable.velocity
|
D | DraggableHandler.kt | 576 val offset = offsetAnimation?.animatable?.value ?: dragOffset 588 val animatable = offsetAnimation?.animatable ?: return 0f constant in com.android.compose.animation.scene.SwipeTransition 594 val velocityInDistanceUnit = animatable.velocity 672 dragOffset = animation.animatable.value in cancelOffsetAnimation() 693 val animatable = Animatable(dragOffset, OffsetVisibilityThreshold) in animateOffset() constant 694 val isTargetGreater = targetOffset > animatable.value in animateOffset() 717 animatable.animateTo( in animateOffset() 759 OffsetAnimation(animatable, job) in animateOffset() 803 val animatable: Animatable<Float, AnimationVector1D>, constant in com.android.compose.animation.scene.SwipeTransition.OffsetAnimation
|
D | SceneTransitionLayoutState.kt | 325 val animatable = Animatable(1f, visibilityThreshold = ProgressVisibilityThreshold) in interruptionProgress() constant 334 animatable.animateTo(0f, progressSpec) in interruptionProgress() 337 return animatable in interruptionProgress() 340 val animatable = interruptionDecay ?: create().also { interruptionDecay = it } in interruptionProgress() constant 341 return animatable.value in interruptionProgress()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimator.java | 102 SurfaceAnimator(Animatable animatable, in SurfaceAnimator() argument 105 mAnimatable = animatable; in SurfaceAnimator() 418 static boolean removeLeash(Transaction t, Animatable animatable, @NonNull SurfaceControl leash, 421 final SurfaceControl surface = animatable.getSurfaceControl(); 422 final SurfaceControl parent = animatable.getParentSurfaceControl(); 423 final SurfaceControl curAnimationLeash = animatable.getAnimationLeash(); 434 parent, animatable); 450 animatable.onAnimationLeashLost(t); 456 static SurfaceControl createAnimationLeash(Animatable animatable, SurfaceControl surface, 459 ProtoLog.i(WM_DEBUG_ANIM, "Reparenting to leash for %s", animatable); [all …]
|
D | SurfaceFreezer.java | 66 SurfaceFreezer(@NonNull Freezable animatable, @NonNull WindowManagerService service) { in SurfaceFreezer() argument 67 mAnimatable = animatable; in SurfaceFreezer()
|
D | ScreenRotationAnimation.java | 776 SurfaceAnimator.Animatable animatable, in startAnimation() argument 780 animatable, animationFinishedCallback, mService); in startAnimation()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | PatternBouncer.kt | 148 dotScalingAnimatables.entries.forEach { (dot, animatable) -> in <lambda>() method 155 animatable.animateTo( in <lambda>() 164 animatable.animateTo( in <lambda>() 254 lineFadeOutAnimatables.values.forEach { animatable -> in <lambda>() method 258 scope.launch { animatable.animateTo(1f) } in <lambda>() 381 dotAppearFadeInAnimatables.forEach { (dot, animatable) -> in showEntryAnimation() method 383 animatable.animateTo( in showEntryAnimation() 394 dotAppearMoveUpAnimatables.forEach { (dot, animatable) -> in showEntryAnimation() method 396 animatable.animateTo( in showEntryAnimation()
|
D | PinBouncer.kt | 328 buttonScaleAnimatables.forEachIndexed { index, animatable -> in showFailureAnimation() method 330 animatable.animateTo( in showFailureAnimation() 340 animatable.animateTo( in showFailureAnimation()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceAnimatorTest.java | 305 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardQuickAffordanceViewBinder.kt | 146 (view.drawable as? Animatable2)?.let { animatable -> in <lambda>() method 149 animatable.start() in <lambda>() 162 animatable.stop() in <lambda>()
|
D | KeyguardBottomAreaViewBinder.kt | 362 (view.drawable as? Animatable2)?.let { animatable -> in <lambda>() method 365 animatable.start() in <lambda>() 378 animatable.stop() in <lambda>()
|