Merge "Use stiffer spring for blurs" into rvc-dev am: a957475923 am: 9b1168dce5
Change-Id: I78c1e66015cc382acf0b82f6d8066ef77d87e5e1
This commit is contained in:
@@ -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 }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user