Jon Miranda
195e0c9e75
Merge "Iterative improvement to the taskbar stash animation." into tm-qpr-dev am: 554c431d40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21226020
Change-Id: I77cdf5512378cb5ba481a6eaedf6aaa10973154a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 02:50:26 +00:00
Jon Miranda
554c431d40
Merge "Iterative improvement to the taskbar stash animation." into tm-qpr-dev
2023-02-03 02:39:10 +00:00
Jon Miranda
3c76c2212a
Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev am: 5903751ee3 am: 82382fc784
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21225224
Change-Id: Iec7cd640cb84417f231dd440490a6d1c78b38465
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 02:29:15 +00:00
Jon Miranda
82382fc784
Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev am: 5903751ee3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21225224
Change-Id: If372917ea9fa959faf913fa831b533ec8681e27d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 02:00:06 +00:00
Jon Miranda
5903751ee3
Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev
2023-02-03 01:34:05 +00:00
Stefan Andonian
c0d6de8bcf
Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev am: 6a4e9a34ab am: 424c469513
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21061164
Change-Id: I81a4aff8f133dfef57205cc423471fbb4fb2c08c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 01:18:45 +00:00
Tony Wickham
9fb8883017
Don't applyState if taskbar is already destroyed
...
Test: Open overview while unfolded, then fold; ensure hotseat remains
visible
Fixes: 260135164
Change-Id: I788a9a682a7d5fabbea7c478231fc7abe92e95b9
2023-02-03 01:00:21 +00:00
Stefan Andonian
424c469513
Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev am: 6a4e9a34ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21061164
Change-Id: I9c33c9c4e1532a07ea00772e210e221cd9661cd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-03 00:53:00 +00:00
Stefan Andonian
6a4e9a34ab
Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev
2023-02-03 00:27:14 +00:00
Jon Miranda
b1e85e9b70
Iterative improvement to the taskbar stash animation.
...
Test: manual
Bug: 246632728
Change-Id: I4e4051faaf699a462c90acf87afcee11a0b4165b
2023-02-02 23:52:23 +00:00
Winson Chung
0499f31aa5
Revert "Include SysUI state in stashing check"
...
This reverts commit 62c74f9633 .
Reason for revert: b/267543857
Change-Id: Ifc2fc3abfc07c92acef560fd3eef7d799f3e28bf
2023-02-02 23:33:15 +00:00
Jon Miranda
2b25ded506
Update notification dot renderer when we update the taskbar icon size.
...
Test: swipe to home with an app that has a notification dot
observe no jump in dot size
Bug: 264709741
Change-Id: I5d56fe57e74ed7b094477ecd8727152f3f522042
2023-02-02 23:10:42 +00:00
Saumya Prakash
f7298595b9
Merge "Redesign the tutorial for the go home gesture" into tm-qpr-dev am: 334094da9e am: 2dc342ab7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150239
Change-Id: If68bd321d005eca9a70ec9b9a5bf7e35fb42f507
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 22:44:20 +00:00
Nicolò Mazzucato
17b66c9bb1
Merge "Improve launcher tracing around unfold animation" into tm-qpr-dev am: b70a68a6d7 am: b46a7dde3a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150249
Change-Id: I3984e2111634adef31f012d35677f055cafcd2f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 22:17:57 +00:00
Vinit Nayak
576592575b
Set StateManager to BackgroundAppState if end gesture is LAST_TASK
...
* Setting stateManager to QUICK_SWITCH results in calling
launchTasks() in the current TaskView in recycler view, however
if the end is LAST_TASK, there's no need to launch anything.
* Currently this isn't an issue with fullscreen tasks because
Launcher's onStop() cancels the animation, but that isn't the
case in the specific step of locking/unlocking the device AND
in splitscreen. Tracked at (b/267674372)
Test: Bug no longer repros. Did other quickswitch gestures and
also going to overview with split and fullscreen apps
Fixes: 265734073
Change-Id: Ie553c7b5db7e59e0cd8aba1723c25ad923690d5c
2023-02-02 14:16:31 -08:00
Brian Isganitis
720dcd2d3b
Support persistent/transient asset variants in EDU tooltip.
...
Test: Manual
Fix: 267384293
Change-Id: Ia4aefb7d0e9bf675355ea52f657f78b7533eeb98
2023-02-02 14:15:47 -08:00
Saumya Prakash
2dc342ab7b
Merge "Redesign the tutorial for the go home gesture" into tm-qpr-dev am: 334094da9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150239
Change-Id: Ic9945132bfd6c048136dea36abbfcb846750d954
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 22:12:23 +00:00
Saumya Prakash
334094da9e
Merge "Redesign the tutorial for the go home gesture" into tm-qpr-dev
2023-02-02 21:54:10 +00:00
Nicolò Mazzucato
b46a7dde3a
Merge "Improve launcher tracing around unfold animation" into tm-qpr-dev am: b70a68a6d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150249
Change-Id: I64655c297122a8505ed47a1c60c2661538e479ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 21:22:11 +00:00
Saumya Prakash
b1291e6ae2
Redesign the tutorial for the go home gesture
...
This change adds in a new animation and layout to change the existing home tutorial as part of the effort to redesign gesture navigation education for users. This temporarily uses placeholder animations for the back and overview gestures.
Bug: 253521921
Bug: 241813570
Test: Manual
Change-Id: Ifd2de68d995172765d17578cebfd0d88ab7c2e5a
2023-02-02 18:14:14 +00:00
Pat Manning
7b8f766b85
Move overview actions to task menu when no focused task.
...
Bug: 265641913
Test: manual
Change-Id: I03a88275b399940468246a69365f76f7deda724e
2023-02-02 11:37:15 +00:00
Nicolò Mazzucato
b70a68a6d7
Merge "Improve launcher tracing around unfold animation" into tm-qpr-dev
2023-02-02 10:14:47 +00:00
TreeHugger Robot
dfd6d8876b
Merge "Force persistent taskbar all apps icon to light version." into tm-qpr-dev am: 858092151c am: f114ad9fa4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21164239
Change-Id: I1fc1ca1a807d3d23448e456dddc9de91af0fced6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 04:43:12 +00:00
TreeHugger Robot
f114ad9fa4
Merge "Force persistent taskbar all apps icon to light version." into tm-qpr-dev am: 858092151c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21164239
Change-Id: If868dcfa656fcba965f5bd0e9e8fbd30f3c7e951
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 03:45:08 +00:00
Jeremy Sim
6c40e8548e
Refactor getIndexOfTask() to getTaskAttributesById()
...
This change is a minor cleanup to make a function more streamlined.
Bug: 265244769
Test: Manual, confirmed no regression
Change-Id: I557246a7633b10701adf75aaba6930f25e1c30aa
2023-02-02 11:27:56 +08:00
TreeHugger Robot
858092151c
Merge "Force persistent taskbar all apps icon to light version." into tm-qpr-dev
2023-02-02 03:14:23 +00:00
Vinit Nayak
5a6863f14a
Unify split options into single option
...
* No more split left/right/top, only have
splitscreen and icon shows vertical or horizontal
split windows
* Replace existing split icon for FreeForm
Fixes: 264930810
Test: Tested landscape and portrait, workspace,
overview, allapps
Change-Id: I443f93b6b01760b726bf9f024fb1324fdf0ed03c
2023-02-01 17:27:57 -08:00
Jon Miranda
cfd807e587
Merge "New taskbar threhsolds 30/100/180/300" into tm-qpr-dev am: 9443403104 am: d479d8bef5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21108227
Change-Id: I3f7c98fda1cf47bb720243bc977f203998215e40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 00:36:15 +00:00
Hongwei Wang
f8f5486acb
Implement app icon overlay for entering PiP
...
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cyuEoL0G1HOS8hjfRmlyPt
Bug: 265998256
Test: turn on the flag and enter PiP, see video
Change-Id: Ia7d007ad49574a926a1e25351adf7194210729bf
2023-02-01 16:34:51 -08:00
Vinit Nayak
bc685e9a5a
Merge "Fix bug with selecting a secondary task as second splitscreen app via Taskbar" into tm-qpr-dev am: 5be7cde8fa am: 98fb659aec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21168146
Change-Id: Iae39f53172f74a8c4c6a44f46b4eb997bd2ae5b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 00:33:01 +00:00
Jon Miranda
d479d8bef5
Merge "New taskbar threhsolds 30/100/180/300" into tm-qpr-dev am: 9443403104
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21108227
Change-Id: I5e108c418eb5364828f0a26b88a96281458f2430
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 00:01:45 +00:00
Vinit Nayak
98fb659aec
Merge "Fix bug with selecting a secondary task as second splitscreen app via Taskbar" into tm-qpr-dev am: 5be7cde8fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21168146
Change-Id: I2254294f59428f7b8e46f143f9d9778af7accd33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-02 00:01:03 +00:00
Jon Miranda
9443403104
Merge "New taskbar threhsolds 30/100/180/300" into tm-qpr-dev
2023-02-01 23:46:40 +00:00
Vinit Nayak
5be7cde8fa
Merge "Fix bug with selecting a secondary task as second splitscreen app via Taskbar" into tm-qpr-dev
2023-02-01 22:47:51 +00:00
TreeHugger Robot
da6ba58dc2
Merge "Dispatch onAnimationStart and End to maintain proper state" into tm-qpr-dev am: 8baae80cdf am: be539a692d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150244
Change-Id: Ic6440fd9256a8a9336d13e06dcb9699a2345d03b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 21:32:25 +00:00
TreeHugger Robot
be539a692d
Merge "Dispatch onAnimationStart and End to maintain proper state" into tm-qpr-dev am: 8baae80cdf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150244
Change-Id: I463f969d05b6e26e8d69cd906674a9c6a92be611
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 20:47:39 +00:00
Stefan Andonian
1d7f703514
Migrate "isRotationAllowed" setting to LauncherPrefs.
...
This semi-complicated case requires use of a context in order to get the
default value. That is why it was migrated by itself.
Bug: 261635315
Test: Manually tested all the base functionality of the launcher.
Change-Id: I40d8ccd414402b55921a0a224264414d3245871b
2023-02-01 20:26:41 +00:00
Brian Isganitis
748094b185
Force persistent taskbar all apps icon to light version.
...
Persistent taskbar background is always dark regardless of device theme,
so we should make the icon always light for now.
Test: Manual
Fix: 262837720
Change-Id: I8f66af874e07f68e1943245e9cd49c3b3107915f
2023-02-01 12:07:58 -08:00
TreeHugger Robot
8baae80cdf
Merge "Dispatch onAnimationStart and End to maintain proper state" into tm-qpr-dev
2023-02-01 18:58:56 +00:00
Nicolo' Mazzucato
06578ff8b1
Improve launcher tracing around unfold animation
...
This will make it explicit in a trace when we're waiting for one additional frame after onResume to start processing unfold animation related progresses
Bug: 267287854
Test: recorded trace locally after unfolding
Change-Id: I3b13842f018c6f23cbb5bc1c1cfd77e5c38dad98
2023-02-01 17:46:56 +00:00
Tony Wickham
4edce0100a
Dispatch onAnimationStart and End to maintain proper state
...
The AnimatorPlaybackController from createLauncherStateFromSuwAnimation
does not ever get started (it's all user-driven) and thus some internal
state is not updated properly, namely mIsStashed is never set to false
even though the animation unstashes visually. This will break the first
"real" unstash animation after SUW. Thus, when the animation from SUW is
completed, we now dispatch onAnimationStart() and End() to ensure the
proper state is updated.
Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Then, skip to the end and swipe to home; ensure first app launch
properly stashes taskbar
Fixes: 263533070
Change-Id: I9553b8a884fb84303e2e97f14b9a7051e9de4709
2023-02-01 16:18:18 +00:00
Jeremy Sim
0b4b89bdcf
Fix bug with selecting a secondary task as second splitscreen app via Taskbar
...
This patch makes it so that the correct task will be chosen when selecting a second splitscreen app via Taskbar.
Prior to this patch, the Taskbar app selection function -- which attempts to match the tapped icon to a running TaskView -- assumed that the TaskView in question was always a solo (non-grouped) Task. This resulted in the wrong app being selected for split when the desired Task happened to be the secondary app in a pair.
Fixed by checking to see if the desired app is primary or secondary, and returning the correct Task, IconView, and ThumbnailView for the split operation.
Fixes: 265244769
Test: Manual
Change-Id: Ie1122d1b49151d70dec9711fe558fba7752b7d8e
2023-02-01 15:40:06 +08:00
Tony Huang
eb8c32e009
Merge "Fix divider hidden delay if quick swipe to home" into tm-qpr-dev am: c3cb117b01 am: 8d3e1dbed9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21152801
Change-Id: I2c36ceb9bdca9c463014ac645d92af4578d7e0d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 05:23:22 +00:00
Tony Huang
8d3e1dbed9
Merge "Fix divider hidden delay if quick swipe to home" into tm-qpr-dev am: c3cb117b01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21152801
Change-Id: Ifcb574e76cad43d8163a0d602f711c21f8a0a3b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 04:03:13 +00:00
Tony Huang
c3cb117b01
Merge "Fix divider hidden delay if quick swipe to home" into tm-qpr-dev
2023-02-01 03:31:00 +00:00
Brian Isganitis
ad68c00288
Merge changes Iaf02a42a,I8daf3c08 into tm-qpr-dev am: 1a4eb297ee am: 69fcae1207
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21161656
Change-Id: Id2bf69377541fe94d6fbb1c8cf45eb1ae6b94057
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 02:52:29 +00:00
Brian Isganitis
69fcae1207
Merge changes Iaf02a42a,I8daf3c08 into tm-qpr-dev am: 1a4eb297ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21161656
Change-Id: Ifa1ade1b50a767bdb4385c283848f6269b51d71b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 02:10:03 +00:00
Brian Isganitis
1a4eb297ee
Merge changes Iaf02a42a,I8daf3c08 into tm-qpr-dev
...
* changes:
Enable taskbar EDU tooltip flag.
Add settings asset to persistent Taskbar tooltip.
2023-02-01 01:34:59 +00:00
TreeHugger Robot
91ee8468f8
Merge "Fix bug with trying to split an app with itself" into tm-qpr-dev am: 5107dff0eb am: a2edf995e1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21152798
Change-Id: Ie2136fa614da3429e41d6a93ad2fe7e35a956bae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 00:52:34 +00:00
TreeHugger Robot
a2edf995e1
Merge "Fix bug with trying to split an app with itself" into tm-qpr-dev am: 5107dff0eb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21152798
Change-Id: I8f102c0c6a0bc14ba9a4cd47f966a656acca194a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 00:10:55 +00:00