Use stiffer spring for blurs

We got user feedback saying the animaiton is too distractive.

Test: visual
Fixes: 152989636
Change-Id: Ia3acd4f59991a7ed831c3cf3c01f86ab7124f291
This commit is contained in:
Lucas Dupin
2020-04-01 13:16:58 -07:00
parent c9bdb4aa29
commit 19e7e55ded

View File

@@ -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 }
}