From 7dc3080c53f0fe70140deeb64db61616d54af4ac Mon Sep 17 00:00:00 2001 From: Johannes Gallmann Date: Thu, 5 Jan 2023 11:18:04 +0100 Subject: [PATCH] Adjust rubberband factor for notification stack overscroll Bug: 174150220 Test: Manual, i.e. observing overscroll effect in notification shade. Change-Id: Ife69248e2b114f793b2a9423a9c6ed55cd49cb24 --- .../notification/stack/NotificationStackScrollLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java index ca1e397f930a4..97b0e24dac0b4 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java @@ -147,7 +147,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable private boolean mShadeNeedsToClose = false; @VisibleForTesting - static final float RUBBER_BAND_FACTOR_NORMAL = 0.35f; + static final float RUBBER_BAND_FACTOR_NORMAL = 0.1f; private static final float RUBBER_BAND_FACTOR_AFTER_EXPAND = 0.15f; private static final float RUBBER_BAND_FACTOR_ON_PANEL_EXPAND = 0.21f; /**