Changes for August 2022

This commit is contained in:
Andy CrossGate Yan
2022-08-14 09:07:51 +00:00
parent 6d6652514e
commit fcd4d5adab
50 changed files with 91 additions and 78 deletions

View File

@@ -1,4 +1,4 @@
From 853ee250c636882896bcfeb94c61317145222ff6 Mon Sep 17 00:00:00 2001
From 95892a9639f2e199628a3009ec123694cd5e1613 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Thu, 13 Jan 2022 14:22:24 +0000
Subject: [PATCH 01/12] Add SPenPointerOverlay

View File

@@ -1,4 +1,4 @@
From 26fe8ee33de29f64dcf245bc1e86733140d89809 Mon Sep 17 00:00:00 2001
From 66bf7cd20d10ed541cd5927ffbda1e129fe2ad50 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Thu, 5 Apr 2018 10:01:19 +0800
Subject: [PATCH 02/12] Disable vendor mismatch warning

View File

@@ -1,4 +1,4 @@
From fc56cacb75ec154140784fe4115c610d2db9d2bc Mon Sep 17 00:00:00 2001
From 15b0ad67e0d54c6a28903048e35408299807aa49 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sat, 16 Oct 2021 02:23:48 +0000
Subject: [PATCH 03/12] UI: Adjust default navbar layouts

View File

@@ -1,4 +1,4 @@
From 7c54f36cc9e53c9b4781d7233fb0b0f389c12ecc Mon Sep 17 00:00:00 2001
From acdabff8c91d0330bc247fb876ad62c2102d4734 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Fri, 9 Mar 2018 15:41:26 +0800
Subject: [PATCH 04/12] UI: Disable left (seascape) navigation bar optionally

View File

@@ -1,4 +1,4 @@
From a5daefa52e5bee3d961c2db3a288387736d58269 Mon Sep 17 00:00:00 2001
From 5bbb7e3cca1af4295776fceaf31ad60dad3b17fe Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 10 Jan 2021 11:44:29 +0000
Subject: [PATCH 05/12] UI: Disable wallpaper zoom
@@ -11,7 +11,7 @@ Change-Id: I78cc5484930b27f172cd8d8a5bd9042dce3478d0
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index e502765617af..92026da0981e 100644
index 13a0a3935691..06d2b910b038 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -4844,7 +4844,7 @@

View File

@@ -1,4 +1,4 @@
From f67b7f525bf11860fcb6e08a4450937040b786cd Mon Sep 17 00:00:00 2001
From 8df3b473861a9aedbcd9e72c6709944aede0340a Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Wed, 3 Jun 2020 01:31:34 +0000
Subject: [PATCH 06/12] UI: Increase default status bar height

View File

@@ -1,4 +1,4 @@
From e4cc0b28ec7a8ac5addecd370b2af6de0617abec Mon Sep 17 00:00:00 2001
From a2c0b30aa763d11f8509402a2ed41dfc5e57a7f7 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sat, 19 Mar 2022 09:22:24 +0000
Subject: [PATCH 07/12] UI: Restore split-screen divider to pre-Sv2 looks
@@ -8,9 +8,9 @@ Subject: [PATCH 07/12] UI: Restore split-screen divider to pre-Sv2 looks
Change-Id: I240b627793b615c82bd07ebd77638cde180ef80f
---
.../Shell/res/color/split_divider_background.xml | 4 ++--
libs/WindowManager/Shell/res/values/dimen.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
.../Shell/res/color/split_divider_background.xml | 4 ++--
.../wm/shell/common/split/SplitLayout.java | 15 +--------------
2 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/libs/WindowManager/Shell/res/color/split_divider_background.xml b/libs/WindowManager/Shell/res/color/split_divider_background.xml
index 329e5b9b31a0..cd54ac26a7fd 100644
@@ -25,19 +25,32 @@ index 329e5b9b31a0..cd54ac26a7fd 100644
\ No newline at end of file
+ <item android:color="@android:color/black" />
+</selector>
diff --git a/libs/WindowManager/Shell/res/values/dimen.xml b/libs/WindowManager/Shell/res/values/dimen.xml
index af78293eb3ea..489fb0c83681 100644
--- a/libs/WindowManager/Shell/res/values/dimen.xml
+++ b/libs/WindowManager/Shell/res/values/dimen.xml
@@ -88,7 +88,7 @@
<dimen name="split_divider_handle_height">3dp</dimen>
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java b/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
index ba343cb12085..e74013346afd 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/SplitLayout.java
@@ -128,20 +128,7 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
}
<dimen name="split_divider_bar_width">10dp</dimen>
- <dimen name="split_divider_corner_size">42dp</dimen>
+ <dimen name="split_divider_corner_size">0dp</dimen>
private int getDividerInsets(Resources resources, Display display) {
- final int dividerInset = resources.getDimensionPixelSize(
- com.android.internal.R.dimen.docked_stack_divider_insets);
-
- int radius = 0;
- RoundedCorner corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT);
- radius = corner != null ? Math.max(radius, corner.getRadius()) : radius;
- corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_RIGHT);
- radius = corner != null ? Math.max(radius, corner.getRadius()) : radius;
- corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_RIGHT);
- radius = corner != null ? Math.max(radius, corner.getRadius()) : radius;
- corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT);
- radius = corner != null ? Math.max(radius, corner.getRadius()) : radius;
-
- return Math.max(dividerInset, radius);
+ return 0;
}
<!-- One-Handed Mode -->
<!-- Threshold for dragging distance to enable one-handed mode -->
/** Gets bounds of the primary split. */
--
2.25.1

View File

@@ -1,4 +1,4 @@
From 179273341668efc421afb80fdf4356f1034adff4 Mon Sep 17 00:00:00 2001
From 76b1249b9b8a63a61bfbfeb4d762eccf95ca65ae Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Tue, 6 Oct 2020 01:41:16 +0000
Subject: [PATCH 08/12] UI: Revive navbar layout tuning via sysui_nav_bar

View File

@@ -1,4 +1,4 @@
From f712cf528b67e2c2b2a13dd84de8a288a9e216d9 Mon Sep 17 00:00:00 2001
From b96ada3c151a7cac810a0e48544768558abdeed7 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 26 Apr 2020 08:56:13 +0000
Subject: [PATCH 09/12] UI: Use SNAP_FIXED_RATIO for multi-window globally
@@ -78,7 +78,7 @@ index 624581aba7dd..658654e2a63f 100644
Only applies if the device display is not square. -->
<bool name="config_navBarCanMove">false</bool>
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 92026da0981e..e4e7243bbb76 100644
index 06d2b910b038..60a4e15d93ec 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -3589,7 +3589,7 @@

View File

@@ -1,4 +1,4 @@
From 075046ebdb3172a09ecefdda5c8a15206ae9eaa8 Mon Sep 17 00:00:00 2001
From 089603e30a646a4725d47f4c453cd339469439b1 Mon Sep 17 00:00:00 2001
From: Danny Lin <danny@kdrag0n.dev>
Date: Tue, 3 Nov 2020 22:43:12 -0800
Subject: [PATCH 10/12] core: Remove old app target SDK dialog

View File

@@ -1,4 +1,4 @@
From 3947b3df5f72e803dae08f2fe6725535e6da1d45 Mon Sep 17 00:00:00 2001
From 13c4d8ab6d21ec4e8bde9506e03fcd7cf2855362 Mon Sep 17 00:00:00 2001
From: Danny Lin <danny@kdrag0n.dev>
Date: Tue, 5 Oct 2021 21:01:50 -0700
Subject: [PATCH 11/12] Paint: Enable subpixel text positioning by default

View File

@@ -1,4 +1,4 @@
From f7ba774141c921d1c44a4d83d3c0dd40fc67061f Mon Sep 17 00:00:00 2001
From ddbf589d6c381d468ca804f540804be491a57860 Mon Sep 17 00:00:00 2001
From: SagarMakhar <sagarmakhar@gmail.com>
Date: Sat, 6 Nov 2021 13:16:24 +0000
Subject: [PATCH 12/12] Fix QS clock being white on light theme