Adjust rubberband factor for notification stack overscroll

Bug: 174150220
Test: Manual, i.e. observing overscroll effect in notification shade.
Change-Id: Ife69248e2b114f793b2a9423a9c6ed55cd49cb24
This commit is contained in:
Johannes Gallmann
2023-01-05 11:18:04 +01:00
parent e076cf2df6
commit 7dc3080c53

View File

@@ -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;
/**