commit | 84bc184e38424cc61bd422a8f7f2a8a388f8959a | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Wed Feb 17 16:17:34 2021 -0600 |
committer | Lyn Han <lynhan@google.com> | Wed Feb 17 16:19:48 2021 -0600 |
tree | bdf2e4a4b0826bc0e718178ba1abbe42678f501e | |
parent | 6777f05b2d1557e78f10cc50d43580aedc76ceb2 [diff] |
Tighten bubble chain when dragging collapsed stack Bug: 168646300 Test: have 5 bubbles in collapsed stack => drag fast and see that longest chain length is reduced Change-Id: I5116409fcca6af62f93eecdb45d910f93a42c358
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/StackAnimationController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/StackAnimationController.java index 73371e7..56fe126 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/StackAnimationController.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/StackAnimationController.java
@@ -75,7 +75,7 @@ */ public static final int SPRING_TO_TOUCH_STIFFNESS = 12000; public static final float IME_ANIMATION_STIFFNESS = SpringForce.STIFFNESS_LOW; - private static final int CHAIN_STIFFNESS = 600; + private static final int CHAIN_STIFFNESS = 800; public static final float DEFAULT_BOUNCINESS = 0.9f; private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig =