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:
@@ -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 }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user