From 84bc184e38424cc61bd422a8f7f2a8a388f8959a Mon Sep 17 00:00:00 2001 From: Lyn Han <lynhan@google.com> Date: Wed, 17 Feb 2021 16:17:34 -0600 Subject: [PATCH] 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 --- .../wm/shell/bubbles/animation/StackAnimationController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- GitLab