Nicolò Mazzucato
27876d7154
Merge changes I2c1e440b,I805d56d4 into tm-qpr-dev am: 1207e773e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980941
Change-Id: I7914563f8e32d3fa58a70ce4cb925764a7936df9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 20:07:58 +00:00
Nicolò Mazzucato
1207e773e2
Merge changes I2c1e440b,I805d56d4 into tm-qpr-dev
...
* changes:
Add OPTIMIZE_MEASURE flag to QuickSteplauncher window
Log device profile changes in perfetto traces
2023-01-19 19:42:26 +00:00
Miranda Kephart
2c296caddb
Merge "Update ImageActionUtils to construct a ScreenshotRequest" into tm-qpr-dev am: 188ff40249
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20894872
Change-Id: I5a315bd9b8741bfdf016f9dd5d87ca8575fdd104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 17:39:21 +00:00
Miranda Kephart
188ff40249
Merge "Update ImageActionUtils to construct a ScreenshotRequest" into tm-qpr-dev
2023-01-19 17:23:57 +00:00
Nicolo' Mazzucato
62fe4445c7
Add OPTIMIZE_MEASURE flag to QuickSteplauncher window
...
This flag allows to avoid an initial measure pass by getting the window size by the LayoutParams.
Test: Recorded a trace before and after this change and compared the doFrames
Bug: 265150323
Change-Id: I2c1e440b73437df9f328d64c98d160bed11282f3
2023-01-19 16:48:11 +00:00
Jeremy Sim
f9551e4cc1
Merge "Fix bug with Taskbar launches in Overview" into tm-qpr-dev am: bc1fa1e6a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890017
Change-Id: I53382fd8559820495872b76c34218f3cb071b0be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 02:31:09 +00:00
Jeremy Sim
bc1fa1e6a4
Merge "Fix bug with Taskbar launches in Overview" into tm-qpr-dev
2023-01-19 02:23:32 +00:00
TreeHugger Robot
3cb0796d36
Merge "Close Taskbar AllApps when going from overview to home" into tm-qpr-dev am: 7c323889aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980934
Change-Id: I1ff479f7475d613ee36aa94ecca42620b47465aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 21:31:35 +00:00
TreeHugger Robot
7c323889aa
Merge "Close Taskbar AllApps when going from overview to home" into tm-qpr-dev
2023-01-18 20:54:43 +00:00
TreeHugger Robot
eace1bc8e3
Merge "Using AnimatedFloat for maintaing TaskbarInAppDisplayProgress instead of a float array" into tm-qpr-dev am: 3080803691
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20968627
Change-Id: I9491981efa3ead36d8d16480a599dd773e17deb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 18:34:44 +00:00
TreeHugger Robot
3080803691
Merge "Using AnimatedFloat for maintaing TaskbarInAppDisplayProgress instead of a float array" into tm-qpr-dev
2023-01-18 17:35:24 +00:00
Sunny Goyal
24ef99966f
Merge "Updating TaskbarStashController API" into tm-qpr-dev am: ff5697302b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20968628
Change-Id: I5df111238f109d4ea3b50354adccab780e30b216
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 17:22:02 +00:00
Sunny Goyal
ff5697302b
Merge "Updating TaskbarStashController API" into tm-qpr-dev
2023-01-18 16:53:55 +00:00
Tony Wickham
763a9f2059
Merge "Fix launcher crash by set divider hidden" into tm-qpr-dev am: f8176700d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20955885
Change-Id: I7bdc51009808c5ad209367be19d8fe3e96f74985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 22:32:40 +00:00
Tony Wickham
f8176700d3
Merge "Fix launcher crash by set divider hidden" into tm-qpr-dev
2023-01-17 21:31:36 +00:00
Stefan Andonian
60e3b74522
Merge "Expanded LauncherPrefs APIs to Replace Direct Shared Preference Usage." into tm-qpr-dev am: 1eb59d6c6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20764866
Change-Id: I291aeed8952555e9dd35b4dfe2e1c73db889351a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 18:52:00 +00:00
Stefan Andonian
1eb59d6c6a
Merge "Expanded LauncherPrefs APIs to Replace Direct Shared Preference Usage." into tm-qpr-dev
2023-01-17 18:23:10 +00:00
Nicolo' Mazzucato
cb7bd50247
Log device profile changes in perfetto traces
...
This is needed to easily spot unwanted DeviceProfile changes in perfetto traces, as each one causes many new inflation and slows down the ui thread considerably.
Test: recorded trace with this log
Bug: 258214245
Change-Id: I805d56d4dfe1c08d7f28215c0462d01fcaece84e
2023-01-17 14:54:11 +00:00
Jeremy Sim
2842bc72fd
Fix bug with Taskbar launches in Overview
...
This patch fixes a bug where Taskbar launches (tapping an icon on the Taskbar) were not executing correctly in Overview.
Now that Taskbar is always present in Overview, we need to handle cases where the user taps to launch an app, but the app is already visible to the user in Overview. This was breaking in a noticeable way with split apps, where the Taskbar simply wouldn't respond when the tapped app was already visible as a live tile.
Fixed by polling RecentsModel for already-running tasks, checking to see if the associated TaskView is visible to the user or not, and calling launchTasks() on the TaskView if so. If the tile is not visible to the user, the app will launch normally.
Fixes: 261952204
Test: Work in progress
Change-Id: If761546913bde7451a22456a272ba6c31942c5f8
2023-01-17 13:54:47 +08:00
Alex Chau
835ccc58e0
Close Taskbar AllApps when going from overview to home
...
- Also trigger closeAllOpenViews when changing state to NORMAL
Fix: 265689318
Test: manual
Change-Id: I109c0f3a3c741844c8747bd76a6c38bf301ec737
2023-01-16 18:20:27 +00:00
Tony Huang
3f5d510b38
Fix launcher crash by set divider hidden
...
We will hide divider when isLikelyToStartNewTask become true, but
this call sometime earlier than onRecentsAnimationStart then cause
crash because mRecentsAnimationTargets is still null.
Fix this by checking mRecentsAnimationTargets before set divider
visibility. And also add new condition to hide divider to ensure
it hidden if such case happened.
Fix: 265238266
Test: manaul
Test: pass existing tests
Change-Id: I80b1294e69a52e7ac5255cd8e55e7c5e6a3dcbcb
2023-01-16 14:29:19 +08:00
Sunny Goyal
a34521e434
Updating TaskbarStashController API
...
> Making the state animator nonNull to avoid null checks at caller
> Updating the methods names to explicitely indication animation
being started or not
Bug: 265352919
Test: Verified on device
Change-Id: I1f5b47921f831ed0b202aced10825c8e1d39a4dc
2023-01-14 08:07:44 -08:00
Tony Wickham
4f90d44377
Merge "Remove extra overview threshold if the transient taskbar is already open" into tm-qpr-dev am: a329718dcf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20886425
Change-Id: I61fe680a135268379e741a171ed2d29febbeca99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-14 01:15:34 +00:00
Sebastián Franco
075bd276ca
Merge "Change the access of cellX/Y of CellLayoutLayoutParams to private" into tm-qpr-dev am: 519714449f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838734
Change-Id: Id6707d575fecfeae28b704fd8701c82f4288a9f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-14 01:14:48 +00:00
Tony Wickham
a329718dcf
Merge "Remove extra overview threshold if the transient taskbar is already open" into tm-qpr-dev
2023-01-14 01:09:52 +00:00
Sebastián Franco
519714449f
Merge "Change the access of cellX/Y of CellLayoutLayoutParams to private" into tm-qpr-dev
2023-01-14 00:59:47 +00:00
Stefan Andonian
d1b33b311c
Expanded LauncherPrefs APIs to Replace Direct Shared Preference Usage.
...
LauncherPrefs will contain Launcher's shared preference functionality.
It controls optimizations and classifications such as restorable vs
non-restorable data, bootaware vs non-bootaware data, and configurations
such as default values so the calling code doesn't need to and our code
base can have a single source of truth for items that are used in
multiple places.
The old APIs remain in place, but are deprecated and will be removed
after all Shared Preference usage has been gated by LauncherPrefs in
future CLs.
Bug: 261635315
Test: Manually tested themed icon, Workspace configuration, and app
install functionality.
Change-Id: I29fd516468bc93fda393062e95be26b6d55c816e
2023-01-14 00:54:15 +00:00
Randy Pfohl
f763efa527
Merge "Cleaning up UI jank while quick switching" into tm-qpr-dev am: dcd79bd6cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20898205
Change-Id: I7a302c76532621837b54fbf38dd153fb15f975b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 23:28:30 +00:00
Randy Pfohl
dcd79bd6cd
Merge "Cleaning up UI jank while quick switching" into tm-qpr-dev
2023-01-13 23:02:41 +00:00
Sebastian Franco
877088e6c3
Change the access of cellX/Y of CellLayoutLayoutParams to private
...
Bug: 188081026
Test: no op change, should compile
Test: ReorderWidgets
Change-Id: I20367974e5a4cead406e18eb66dafd4d59651b2a
Merged-In: I20367974e5a4cead406e18eb66dafd4d59651b2a
2023-01-13 18:25:10 +00:00
Johannes Gallmann
f2709309bb
Merge "Prevent workspace enter animation for predictive back" into tm-qpr-dev am: 4aa135f3c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838736
Change-Id: Ia1e8d8830a99268870f4c9f3cf59ca5d32a731b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 17:55:35 +00:00
Johannes Gallmann
4aa135f3c7
Merge "Prevent workspace enter animation for predictive back" into tm-qpr-dev
2023-01-13 17:28:42 +00:00
TreeHugger Robot
2618fcf11c
Merge "Provide single threaded executor to UnfoldUnfoldTransitionFactory" into tm-qpr-dev am: 60c7dfec29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20929486
Change-Id: Ica6895eddd30abb925ce9b87322711213ae14f68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 16:01:52 +00:00
TreeHugger Robot
60c7dfec29
Merge "Provide single threaded executor to UnfoldUnfoldTransitionFactory" into tm-qpr-dev
2023-01-13 15:49:07 +00:00
TreeHugger Robot
dda983334f
Merge "Revert "Add debug logs for hotseat disapperaed bug"" into tm-qpr-dev am: 5f3784d147
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20967683
Change-Id: I4a77261e41700023d6f3c8856db040b9369a013f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 13:46:23 +00:00
TreeHugger Robot
5f3784d147
Merge "Revert "Add debug logs for hotseat disapperaed bug"" into tm-qpr-dev
2023-01-13 13:01:03 +00:00
Vinit Nayak
f47ba402c8
Merge "Respect nav button tinting in SUW" into tm-qpr-dev am: f83d8a00a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20953768
Change-Id: I5798568fcfc64ef8d7ce3a5175e45f249c53e08c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 04:14:59 +00:00
Vinit Nayak
f83d8a00a8
Merge "Respect nav button tinting in SUW" into tm-qpr-dev
2023-01-13 03:28:03 +00:00
Sunny Goyal
00e3c1ace4
Using AnimatedFloat for maintaing TaskbarInAppDisplayProgress instead of a float array
...
Bug: 265352919
Test: Verified on device
Change-Id: I603a817c18720d5f18fe0c2be7bdfd8cf2d6defc
2023-01-12 16:02:42 -08:00
Jeremy Sim
2bc8635b0a
Merge "Fix transition animations for launch-from-staged operation" into tm-qpr-dev am: 9dfeb03a71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20844441
Change-Id: Ie382a53ed107537f52e8bc8777468f52a4288ae9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-12 23:50:52 +00:00
Jeremy Sim
9dfeb03a71
Merge "Fix transition animations for launch-from-staged operation" into tm-qpr-dev
2023-01-12 23:08:37 +00:00
Ats Jenk
a39ff80885
Merge "Skip depth and scrim if freeform tasks are visible" into tm-qpr-dev am: 1c28f290c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20929665
Change-Id: If52b473eb05dca4e0b4dcbdc3c9416b4f0abb53f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-12 22:56:36 +00:00
Ats Jenk
1c28f290c1
Merge "Skip depth and scrim if freeform tasks are visible" into tm-qpr-dev
2023-01-12 22:39:57 +00:00
Ats Jenk
8df2f4748a
Merge "Hide DesktopTaskView background while animating" into tm-qpr-dev am: 984a37d1b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20888248
Change-Id: I01acb423b0ea3934b2e63779ba8cb3ff3a7ccf03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-12 22:37:42 +00:00
Alex Chau
f4269f01d7
Revert "Add debug logs for hotseat disapperaed bug"
...
This reverts commit 04658bcd42 .
Reason for revert: root cause found
Bug: 260135164
Change-Id: I809662780d042923de015ff4cb810b3da5169f83
2023-01-12 22:21:07 +00:00
Ats Jenk
984a37d1b1
Merge "Hide DesktopTaskView background while animating" into tm-qpr-dev
2023-01-12 22:11:12 +00:00
randypfohl
9c5fa66d2f
Cleaning up UI jank while quick switching
...
Moving a few calls into the UI helper executor thread, as per the associated bug. duplicated the lines so the synchronous nature of clearing previous state wouldn't affect potential timings.
Test: local testing, rotating screen. quick switching apps.
Bug: 257470365
Change-Id: I59abad9ba51c0b19d467646752aa34ae7ef3ec1d
2023-01-12 19:06:04 +00:00
Ats Jenk
ca009e4e93
Skip depth and scrim if freeform tasks are visible
...
If freeform tasks are shown, skip applying depth effect and scrim
changes. These cause the background to flicker while showing freeform
tasks and for example showing the transient taskbar.
Bug: 263264985
Test: swipe up to show transient taskbar, observe launcher background
does not blur or flicker to black
Change-Id: I5b10d0f0c7065e903cb761488367c02d7e31d8b2
2023-01-12 10:15:30 -08:00
TreeHugger Robot
318da8ce22
Merge "Support predictive back from all apps to home" into tm-qpr-dev am: 944348a522
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20789107
Change-Id: Ib53aa807f447aeba483f6a4a10f078a5b39bf660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-12 17:50:42 +00:00
TreeHugger Robot
944348a522
Merge "Support predictive back from all apps to home" into tm-qpr-dev
2023-01-12 17:01:02 +00:00