summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lyn Han <lynhan@google.com> 2021-02-17 16:17:34 -0600
committer Lyn Han <lynhan@google.com> 2021-02-17 16:19:48 -0600
commit84bc184e38424cc61bd422a8f7f2a8a388f8959a (patch)
treebdf2e4a4b0826bc0e718178ba1abbe42678f501e
parent6777f05b2d1557e78f10cc50d43580aedc76ceb2 (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
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/StackAnimationController.java2
1 files changed, 1 insertions, 1 deletions
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 73371e7eff20..56fe126f507e 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 class StackAnimationController extends
*/
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 =