From 80481cb88f64e5e11275e1fef66bcc824eb1e23c Mon Sep 17 00:00:00 2001 From: merothh Date: Mon, 4 Apr 2022 14:36:14 +0530 Subject: [PATCH 1/2] GS290: Add cutout and tune paddings * Trim the edges of the stock cutout a bit * Add sufficient corner padding to SB * Drop system_icons_keyguard_padding_end --- .../base/core/res/res/values/config.xml | 19 +++++++++++++++++++ .../packages/SystemUI/res/values/dimens.xml | 3 +-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 7c2539f..a00ee12 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -463,4 +463,23 @@ 1.android.pool.ntp.org + + + m 157 0.248 l -9.615 0.526 l -9.638 0.986 l -9.634 1.592 l -2.406 0.509 l -2.114 0.489 l -3.932 1.013 l -7.789 2.43 l -7.617 2.972 l -7.354 3.517 l -7 4.067 l -3.34 2.24 l -1.737 1.256 l -1.924 1.467 l -7.293 6.311 l -6.775 6.88 l -6.422 7.264 l -12.446 14.947 l -4.927 5.246 l -5.406 4.631 l -5.83 3.99 l -6.2 3.323 l -6.51 2.63 l -6.766 1.911 l -6.967 1.166 s -6.675 0.395 -7.112 0.395 s -7.112 -0.395 -7.112 -0.395 l -6.967 -1.166 l -6.766 -1.911 l -6.51 -2.63 l -6.2 -3.323 l -5.83 -3.99 l -5.406 -4.631 l -4.927 -5.246 l -12.442 -14.947 l -6.423 -7.267 l -6.775 -6.879 l -7.292 -6.311 l -1.923 -1.467 l -1.738 -1.256 l -3.34 -2.24 l -7 -4.067 l -7.354 -3.517 l -7.617 -2.97 l -7.789 -2.43 l -3.931 -1.014 l -2.114 -0.489 l -2.406 -0.509 l -9.637 -1.591 l -9.637 -0.987 l -9.613 -0.525 L 157 0 z diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml index 39e5190..9bf9e53 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -16,6 +16,5 @@ */ --> - 18px - 30px + 44px -- GitLab From de546a4266faaa53a1b44da29638b60adf4af14c Mon Sep 17 00:00:00 2001 From: merothh Date: Tue, 5 Apr 2022 10:57:52 +0530 Subject: [PATCH 2/2] GS290: Set appropriate recovery ui margins --- BoardConfig.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 5675bea..997ba2f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -85,6 +85,8 @@ BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true BOARD_INCLUDE_RECOVERY_DTBO := true BOARD_PREBUILT_RECOVERY_DTBOIMAGE := $(DEVICE_PATH)/prebuilt/recovery_dtbo.img TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.mt6763 +TARGET_RECOVERY_UI_MARGIN_HEIGHT := 35 +TARGET_RECOVERY_UI_MARGIN_WIDTH := 10 # Releasetools TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)/releasetools -- GitLab