Commit Graph

14885 Commits

Author SHA1 Message Date
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 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
Luca Zuccarini 7495d0f873 Merge "Revert^2 "Update timings for the Home <> All Apps transition."" into tm-qpr-dev am: 51c89ca493
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20929144

Change-Id: I3629ade53ed1be9d596a158e0f71efd999428aa5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 14:51:20 +00:00
Luca Zuccarini 51c89ca493 Merge "Revert^2 "Update timings for the Home <> All Apps transition."" into tm-qpr-dev 2023-01-12 14:06:07 +00:00
Stefan Andonian e78b34daab Merge "Rename LoaderResults to LauncherBinder." into tm-qpr-dev am: bf69ef034a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20543148

Change-Id: I6099c3312aac8cfeed3d6dafaaf8470f9c8f3687
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 23:11:36 +00:00
Stefan Andonian 167d350981 Merge "Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and into its own class." into tm-qpr-dev am: fb602d4db7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20878611

Change-Id: I16987862cffc3730518fe14adf61595d62b8faad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 23:11:16 +00:00
Sunny Goyal 1ef2eea43c Merge "Fetching the session info on the background thread when launching pening icon" into tm-qpr-dev am: 96bfea9d32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20878612

Change-Id: I2ea28c6e83d33c47ddd794b6f520d277ea92a60e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 23:10:59 +00:00
Fengjiang Li e884c2c79f Support predictive back from all apps to home
bug: b/238475505
Test: manual

Change-Id: Ibf4f7f41a26b044a538e2cd566d2297ed88f1b99
2023-01-11 22:55:28 +00:00
Stefan Andonian bf69ef034a Merge "Rename LoaderResults to LauncherBinder." into tm-qpr-dev 2023-01-11 22:47:34 +00:00
Stefan Andonian fb602d4db7 Merge "Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and into its own class." into tm-qpr-dev 2023-01-11 22:46:31 +00:00
Sunny Goyal 96bfea9d32 Merge "Fetching the session info on the background thread when launching pening icon" into tm-qpr-dev 2023-01-11 22:32:01 +00:00
Stefan Andonian e82476ad3b Rename LoaderResults to LauncherBinder.
LoaderResults implies a data object, not binding code specific to
Launcher UX containers. This CL merely renames this class and its
usages. It also adds a comment that explains why the functionality is
split into a base class and an implementing class.

Bug: 251502424
Test: Compilation worked correctly.
Change-Id: I01b5ac2f717e9b20612538d5c1e0ca947beb593f
2023-01-11 20:32:25 +00:00
Stefan Andonian 2a58ddb89f Refactor the OnUserUnlock code out of RecentsAnimationDeviceState and
into its own class.

Bug: 251502424
Test: Compilation threw no errors and user unlock behavior worked
correctly.

Change-Id: Ifa42dc32f90dfa4fda8df0e52811ddfe20cc5a9b
2023-01-11 19:33:32 +00:00
Sunny Goyal 5fe99d560e Fetching the session info on the background thread when launching pening icon
Bug: 242669604
Test: Verified that the RPC is not made on UI thread
Change-Id: I4299628b8b3e9aa2844f5556c57f47d997dd85e1
2023-01-10 11:02:58 -08:00
Thales Lima 3241b26430 Merge "Check kotlin format before uploading" into tm-qpr-dev am: bdfc07f1f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20883265

Change-Id: I1f211915948bd6112d605dbd6d2a6569838c1585
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:20:23 +00:00
Luca Zuccarini fb4429f0b0 Revert^2 "Update timings for the Home <> All Apps transition."
e18ac479e5

Change-Id: Id09987b2c67be70e62349574973d4bc62b10bc9d
Bug: 263221786
2023-01-10 17:05:29 +00:00
Thales Lima bdfc07f1f0 Merge "Check kotlin format before uploading" into tm-qpr-dev 2023-01-10 16:41:58 +00:00
Thales Lima 03ac377a34 Check kotlin format before uploading
This uses ktfmt on the PREUPLOAD hook to check file formatting.

Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
Merged-In: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-10 13:24:43 +00:00
Sebastián Franco b1bb6d37d7 Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev am: b66293e96d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680953

Change-Id: I103270c818b050f1bcb67dbfa91a6b333d01016b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 23:46:57 +00:00
Sebastián Franco b66293e96d Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev 2023-01-09 23:20:51 +00:00
Vinit Nayak 1c9b42521f Merge "Improves overview split adjacent launch animation" into tm-qpr-dev am: 72b186aefd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20873328

Change-Id: I9534252aee43616154247c5e130dbc6c7336e5b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-07 01:07:52 +00:00
Vinit Nayak 72b186aefd Merge "Improves overview split adjacent launch animation" into tm-qpr-dev 2023-01-07 00:36:16 +00:00
Sebastian Franco f34f35fddb Printing the workspace items to improve flake investigation.
Recording the screen to investigates flakes on ReorderWidgets
is really useful but it requires changing the code for that and
storing the video and most of the time the useful information
is just the end state so by logging the end state makes resolving
flakes easier

Fix: 261877803
Test: atest ReorderWidgets
Change-Id: If5d9745ebb57826a55b5df9d3599eed56c48298f
2023-01-06 12:29:11 -06:00
Sunny Goyal 11a984a00e Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev am: 3da648a80b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20886439

Change-Id: Id88d1048401066badd490b10f92c1f85bda4a205
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 18:28:04 +00:00
Sunny Goyal 3da648a80b Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev 2023-01-06 18:11:15 +00:00
Brandon Dayauon 0981bf9fd3 Merge "Add logging to work mode switch" into tm-qpr-dev am: bae7e704a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20832425

Change-Id: I7d0cb1b41cb1b08d7a548081d176d258aacef01e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 23:47:26 +00:00
Brandon Dayauon bae7e704a4 Merge "Add logging to work mode switch" into tm-qpr-dev 2023-01-05 23:21:35 +00:00
Sunny Goyal 3c2ee27a01 Fixing work tab is not updated when work-mode changes
Bug: 263399769
Test: Verified on device
Change-Id: I94d8f20bc70f2299d11d539d4821ba7e13253522
2023-01-05 14:53:28 -08:00
TreeHugger Robot 3c57751362 Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev am: 1973056e40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747317

Change-Id: Icbb373ae2748a4fc1d8c2e6043841f67a499a8b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 20:48:48 +00:00
TreeHugger Robot e8890ee0fc Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev am: 5b860ca3ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20685020

Change-Id: Ifd60d70220abc3375545167a5de9b069261fe12d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 20:48:24 +00:00
TreeHugger Robot 1973056e40 Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev 2023-01-05 20:04:07 +00:00
TreeHugger Robot 5b860ca3ed Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev 2023-01-05 19:55:51 +00:00
Vinit Nayak da2819ed5f Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
Merged-In: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 11:54:22 -08:00
Brandon Dayauon 9d38a3fd10 Add logging to work mode switch
Add logging to the work button on work profile, logging when button
is extended and collapsed

bug: 263817965
test: presubmit
Change-Id: I3194d0a1567a9ee995497391350ed5be4b08c3db
2023-01-05 01:40:30 -08:00
Sihua Ma db7f098bc1 Re-enable the fast scroll in widget picker
Fix: 258299457
Test: Manual
Change-Id: Ic069f5304827de40be88b80590f5c6c7d88b13b2
2023-01-04 15:47:07 -08:00
Federico Baron e80898c6f1 Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev am: 7cb0133d84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20806533

Change-Id: Iacf3baf470a4799d580216d927801e741d7a7794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 23:32:01 +00:00
Federico Baron 7cb0133d84 Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev 2023-01-04 23:22:36 +00:00
Federico Baron cc14cfc671 Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev am: 19aeae3e66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20714347

Change-Id: Idbd087b1979fb400fd95234c298c1ecc1e8f8903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 23:16:58 +00:00
Federico Baron 19aeae3e66 Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev 2023-01-04 22:43:38 +00:00
Schneider Victor-tulias 0d5736e9b2 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev am: 8aa0471591
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746686

Change-Id: I1dc8ce531281802027b88e99cedfe57b8562090c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 22:27:34 +00:00
Schneider Victor-tulias 8aa0471591 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev 2023-01-04 22:08:12 +00:00
Schneider Victor-tulias 5455b85291 Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"
This reverts commit 62511de74e.

Reason for revert: bug not reproducing

Fixes: 20747317
Change-Id: I55c1fe8005fee66db53052aab15e152e6d39a34c
2023-01-04 18:27:00 +00:00
Pat Manning d257345019 Merge "Use DisplayController INSTANCE for info instead of IDP INSTANCE." into tm-qpr-dev am: 50b82f887c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836636

Change-Id: I38f6ceb9309cf010513f75f73f77cb65bb9df3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 14:17:06 +00:00
Federico Baron 2161985b50 Add icon scale and alpha animation for entering downloading state from pending state
When we enter downloading state from being in pending state, we want to run an animation that animates the process of scaling down the icon as well as removing the overlay with an animation

Bug: 254858049
Test: Download a couple of apps with ENABLE_DOWNLOAD_APP_UX_V2 flag on
Change-Id: Ie4f378874aa3cf6597c02b4d7043a34eb51d838c
2023-01-03 14:29:01 -08:00
Pat Manning 800408026f Use DisplayController INSTANCE for info instead of IDP INSTANCE.
Fix: 263850235
Test: Manual. Clear launcher data and open home settings.
Change-Id: I7b3ed4ec5b4b4edb3bd0c085e78088ea6157563b
2023-01-03 14:12:21 +00:00
Ikram Gabiyev de88fbb252 Merge "Filter recents view instances by package name" into tm-qpr-dev am: 231e061ae1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342914

Change-Id: Ie221571adf3a3ce537e50de97ecc010d4795e272
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 01:58:17 +00:00
Ikram Gabiyev 231e061ae1 Merge "Filter recents view instances by package name" into tm-qpr-dev 2022-12-29 01:17:42 +00:00