From 7340e8ed758755d839728c33b8edb2c6e43f1571 Mon Sep 17 00:00:00 2001 From: Anushek Prasal Date: Sun, 12 Jan 2020 01:48:17 +0530 Subject: [PATCH] Settings: Change back gesture height intervals Signed-off-by: Anushek Prasal --- .../android/settings/gestures/BackGestureIndicatorView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/android/settings/gestures/BackGestureIndicatorView.java b/src/com/android/settings/gestures/BackGestureIndicatorView.java index 3bf40ec7c96..c698a2b3bd6 100644 --- a/src/com/android/settings/gestures/BackGestureIndicatorView.java +++ b/src/com/android/settings/gestures/BackGestureIndicatorView.java @@ -124,13 +124,13 @@ public class BackGestureIndicatorView extends LinearLayout { lp.height = displaySize.y; lp.y = 0; } else if (mHeightScale == 1) { - lp.height = displaySize.y / 2; + lp.height = (displaySize.y * 3) / 4; lp.y = displaySize.y - lp.height; } else if (mHeightScale == 2) { - lp.height = displaySize.y / 3; + lp.height = displaySize.y / 2; lp.y = displaySize.y - lp.height; } else { - lp.height = displaySize.y / 6; + lp.height = displaySize.y / 4; lp.y = displaySize.y - lp.height; } }