Spring following bubbles with lower stiffness

Bug: 168646300
Test: manual (confirmed with UX)
Change-Id: I84d7969df87b027d55d87bf5d26d9075aa46ca2f
This commit is contained in:
Lyn Han
2020-09-28 14:05:54 -05:00
parent 79fc5e06f0
commit ec725a29d9

View File

@@ -74,7 +74,7 @@ public class StackAnimationController extends
*/
public static final int DEFAULT_STIFFNESS = 12000;
public static final float IME_ANIMATION_STIFFNESS = SpringForce.STIFFNESS_LOW;
private static final int FLING_FOLLOW_STIFFNESS = 20000;
private static final int FLING_FOLLOW_STIFFNESS = 500;
public static final float DEFAULT_BOUNCINESS = 0.9f;
private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig =