Home
last modified time | relevance | path

Searched refs:shadeAnimation (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationShadeDepthControllerTest.kt104 notificationShadeDepthController.shadeAnimation = shadeAnimation
125 verify(shadeAnimation).animateTo(eq(maxBlur), any())
133 verify(shadeAnimation).animateTo(eq(maxBlur), any())
139 clearInvocations(shadeAnimation)
143 verify(shadeAnimation).animateTo(eq(0), any())
149 clearInvocations(shadeAnimation)
163 verify(shadeAnimation).animateTo(eq(0), any())
169 clearInvocations(shadeAnimation)
173 verify(shadeAnimation).animateTo(eq(maxBlur), any())
202 verify(shadeAnimation).animateTo(eq(0), any())
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShadeDepthController.kt100 var shadeAnimation = DepthAnimation() regex
144 if (shadeExpansion == 0f && shadeAnimation.radius == 0f) {
152 shadeAnimation.animateTo(0)
153 shadeAnimation.finishIfRunning()
182 val animationRadius = MathUtils.constrain(shadeAnimation.radius,
276 shadeAnimation.finishIfRunning()
297 shadeAnimation.setStiffness(SpringForce.STIFFNESS_LOW)
298 shadeAnimation.setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)
406 shadeAnimation.setStartVelocity(velocity)
407 shadeAnimation.animateTo(blurUtils.blurRadiusOfRatio(targetBlurNormalized).toInt())