From 05369c2fa3d87b01e5d2f9e32e7c5552432c7818 Mon Sep 17 00:00:00 2001 From: Lyn Date: Mon, 31 Jan 2022 18:59:52 -0600 Subject: [PATCH] Appear notifications starting at half height Fixes: 217273171 Test: swipe down from top of screen to open shade => notifs fade in at half height Test: press power button to wake up => notifs fade in at half height Change-Id: I7f54df70ab9470ab7456a9b9c0712c092f4deba9 --- .../statusbar/notification/stack/StackScrollAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithm.java index 8f0579cc4693b..4d6ca78875e66 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackScrollAlgorithm.java @@ -46,7 +46,7 @@ import java.util.List; */ public class StackScrollAlgorithm { - public static final float START_FRACTION = 0.3f; + public static final float START_FRACTION = 0.5f; private static final String LOG_TAG = "StackScrollAlgorithm"; private final ViewGroup mHostView;