From 19e7e55ded5e86adbb239d97e7b31a3c70bf8104 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Wed, 1 Apr 2020 13:16:58 -0700 Subject: [PATCH] Use stiffer spring for blurs We got user feedback saying the animaiton is too distractive. Test: visual Fixes: 152989636 Change-Id: Ia3acd4f59991a7ed831c3cf3c01f86ab7124f291 --- .../systemui/statusbar/NotificationShadeDepthController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShadeDepthController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShadeDepthController.kt index a978cad1127a9..7ecf0ecf0d985 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShadeDepthController.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShadeDepthController.kt @@ -239,7 +239,7 @@ class NotificationShadeDepthController @Inject constructor( init { springAnimation.spring = SpringForce(0.0f) springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY - springAnimation.spring.stiffness = SpringForce.STIFFNESS_MEDIUM + springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH springAnimation.addEndListener { _, _, _, _ -> pendingRadius = -1 } }