Merge "Use stiffer spring for blurs" into rvc-dev am: a957475923

Change-Id: I94068e23fa2e2cd1bdaca2e9e9c7cc2f5ec303c9
This commit is contained in:
Lucas Dupin
2020-04-02 00:46:40 +00:00
committed by Automerger Merge Worker

View File

@@ -239,7 +239,7 @@ class NotificationShadeDepthController @Inject constructor(
init { init {
springAnimation.spring = SpringForce(0.0f) springAnimation.spring = SpringForce(0.0f)
springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
springAnimation.spring.stiffness = SpringForce.STIFFNESS_MEDIUM springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH
springAnimation.addEndListener { _, _, _, _ -> pendingRadius = -1 } springAnimation.addEndListener { _, _, _, _ -> pendingRadius = -1 }
} }