Changes for April 2024
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 13b848a8b08c6e99086ab3af9e526c698920ebaa Mon Sep 17 00:00:00 2001
|
||||
From fbc5159270447f5d81be73aab5e7b8ee08d789a2 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Thu, 28 Oct 2021 02:30:59 +0000
|
||||
Subject: [PATCH 1/3] Trebuchet: Make overview scrim transparent again
|
||||
@@ -23,7 +23,7 @@ Change-Id: I78c84865eb06b8e59c9c271cd2e267ae4cd7cc08
|
||||
delete mode 100644 res/color-v33/overview_scrim_dark.xml
|
||||
|
||||
diff --git a/quickstep/res/values/styles.xml b/quickstep/res/values/styles.xml
|
||||
index fc0370421d..61ca1e05d6 100644
|
||||
index bdc86b217d..7c47d126a8 100644
|
||||
--- a/quickstep/res/values/styles.xml
|
||||
+++ b/quickstep/res/values/styles.xml
|
||||
@@ -227,7 +227,7 @@
|
||||
@@ -36,10 +36,10 @@ index fc0370421d..61ca1e05d6 100644
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
index 23fcbea42f..9b151394fa 100644
|
||||
index 08ec0398a7..e1ab7311dd 100644
|
||||
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
@@ -793,7 +793,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
@@ -805,7 +805,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
mEmptyIcon.setCallback(this);
|
||||
mEmptyMessage = context.getText(R.string.recents_empty_message);
|
||||
mEmptyMessagePaint = new TextPaint();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 471be03743d96834bea2007e1beccd858149b8f6 Mon Sep 17 00:00:00 2001
|
||||
From 5137588e22d194c87da0000ba6642f17fe37516a Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Fri, 18 Mar 2022 08:42:18 +0000
|
||||
Subject: [PATCH 2/3] Trebuchet: Kill haptics in recents
|
||||
@@ -13,10 +13,10 @@ Change-Id: Ie3b0eabe8cc0421e696720740edc492cae2f5153
|
||||
3 files changed, 1 insertion(+), 32 deletions(-)
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
index 6f421eb14a..655797da62 100644
|
||||
index 968faf07c7..bb93664b46 100644
|
||||
--- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
+++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonQuickSwitchTouchController.java
|
||||
@@ -438,14 +438,7 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
@@ -437,14 +437,7 @@ public class NoButtonQuickSwitchTouchController implements TouchController,
|
||||
nonOverviewAnim.setFloatValues(startProgress, endProgress);
|
||||
mNonOverviewAnim.dispatchOnStart();
|
||||
}
|
||||
@@ -33,10 +33,10 @@ index 6f421eb14a..655797da62 100644
|
||||
}
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
index 3d94857848..849b9fd2d1 100644
|
||||
index 19bfe069c8..f6cb2c7024 100644
|
||||
--- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
+++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/TaskViewTouchController.java
|
||||
@@ -369,11 +369,6 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
|
||||
@@ -370,11 +370,6 @@ public abstract class TaskViewTouchController<T extends BaseDraggingActivity>
|
||||
mCurrentAnimation.startWithVelocity(mActivity, goingToEnd,
|
||||
velocity * orientationHandler.getSecondaryTranslationDirectionFactor(),
|
||||
mEndDisplacement, animationDuration);
|
||||
@@ -49,10 +49,10 @@ index 3d94857848..849b9fd2d1 100644
|
||||
|
||||
private void clearState() {
|
||||
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
index 9b151394fa..0ce5537d2e 100644
|
||||
index e1ab7311dd..c2f848c71a 100644
|
||||
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
|
||||
@@ -1558,25 +1558,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
@@ -1583,25 +1583,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 1d5fe3cd174200d7ec1e34b1363b4b7aa34154e1 Mon Sep 17 00:00:00 2001
|
||||
From 3123bcedf9a080c651e9f009f14111585c7f1f38 Mon Sep 17 00:00:00 2001
|
||||
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
||||
Date: Mon, 20 Nov 2023 14:09:32 +0800
|
||||
Subject: [PATCH 3/3] Trebuchet: Kill inverted rounded corners above the
|
||||
@@ -12,23 +12,23 @@ Change-Id: Ibf03a84cb8f3866b5151b02fe8a0e74167cf90ce
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt b/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
index d237c1f997..d7142eef59 100644
|
||||
index d6016f1304..c77fadb9aa 100644
|
||||
--- a/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
+++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarBackgroundRenderer.kt
|
||||
@@ -131,13 +131,6 @@ class TaskbarBackgroundRenderer(context: TaskbarActivityContext) {
|
||||
canvas.translate(0f, canvas.height - backgroundHeight - bottomMargin)
|
||||
@@ -159,13 +159,6 @@ class TaskbarBackgroundRenderer(private val context: TaskbarActivityContext) {
|
||||
// Draw the background behind taskbar content.
|
||||
canvas.drawRect(0f, 0f, canvas.width.toFloat(), backgroundHeight, paint)
|
||||
canvas.drawRect(0f, 0f, canvas.width.toFloat(), persistentTaskbarHeight, paint)
|
||||
}
|
||||
-
|
||||
- // Draw the inverted rounded corners above the taskbar.
|
||||
- canvas.translate(0f, -leftCornerRadius)
|
||||
- canvas.drawPath(invertedLeftCornerPath, paint)
|
||||
- canvas.translate(0f, leftCornerRadius)
|
||||
- canvas.translate(canvas.width - rightCornerRadius, -rightCornerRadius)
|
||||
- canvas.drawPath(invertedRightCornerPath, paint)
|
||||
} else if (!isInSetup) {
|
||||
// backgroundHeight is a value from [0...maxBackgroundHeight], so we can use it as a
|
||||
// proxy to figure out the animation progress of the stash/unstash animation.
|
||||
- // Draw the inverted rounded corners above the taskbar.
|
||||
- canvas.translate(0f, -leftCornerRadius)
|
||||
- canvas.drawPath(invertedLeftCornerPath, paint)
|
||||
- canvas.translate(0f, leftCornerRadius)
|
||||
- canvas.translate(canvas.width - rightCornerRadius, -rightCornerRadius)
|
||||
- canvas.drawPath(invertedRightCornerPath, paint)
|
||||
}
|
||||
|
||||
private fun drawTransientBackground(canvas: Canvas) {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user