Merge "Modify Snapback spring stiffness" into tm-qpr-dev am: 7825481a9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20120754 Change-Id: I1c9dd8ec938e6b5bb148b76ab976bcc76a79c9eb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -47,7 +47,7 @@ private const val SETTINGS_BUTTON_TRANSLATION_FRACTION = 0.3f
|
|||||||
* were not provided, and a default spring was not set via [PhysicsAnimator.setDefaultSpringConfig].
|
* were not provided, and a default spring was not set via [PhysicsAnimator.setDefaultSpringConfig].
|
||||||
*/
|
*/
|
||||||
private val translationConfig = PhysicsAnimator.SpringConfig(
|
private val translationConfig = PhysicsAnimator.SpringConfig(
|
||||||
SpringForce.STIFFNESS_MEDIUM,
|
SpringForce.STIFFNESS_LOW,
|
||||||
SpringForce.DAMPING_RATIO_LOW_BOUNCY)
|
SpringForce.DAMPING_RATIO_LOW_BOUNCY)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user