Commit Graph
62758 Commits
Author SHA1 Message Date
Sebastian Franco 1e4e50149b Reorder code so we can use different displays on the preview render
The existing code almost have the avility to use different display
for the preview by providing a different display id, this change
just make sure the InvariantDeviceProfile is created after we
create a new context with the desired display and we need to use
the default display for the SurfaceControlViewHost

Test: Manual testing, changing the display id on FixedWidthDisplayRatioFrameLayout
Bug: 292152331
Change-Id: I450d94a9a3f1a6a7b0c2b0722a11cf335122de05
2023-08-14 12:56:13 -07:00
Vadim Tryshev 7ed637b050 Merge "Implementing detector of view flashes" into udc-qpr-dev 2023-08-09 17:57:15 +00:00
Tracy Zhou 59aa5e696b Merge "Fix nav buttons in task bar disppearing when unfolding from landscape small screen" into udc-qpr-dev 2023-08-09 17:46:27 +00:00
Tracy Zhou a7e48fa6d7 Fix nav buttons in task bar disppearing when unfolding from landscape small screen
Previously we reuse layout params when we switch to a new layout, but not all of the fields we reuse are reset. Due to the variety of fields we update in different layouts and the fact that it's relatively cheap to instantiate a new layout params object, let's start fresh every time.

Fixes: 295057715
Bug: 288311605
Test: put the device to landscape in small screen and then unfold, make sure that the nav buttons show in the task bar
Change-Id: I8e600c2553436f563dd4509a83cc46ce47c0114d
2023-08-09 17:37:38 +00:00
Matt Sziklay aad3a8e34f Merge "Allow split select transition from desktop mode." into udc-qpr-dev 2023-08-09 17:26:48 +00:00
mattsziklay 95c85034ea Allow split select transition from desktop mode.
Introduces a new controller to manage an app entering split select mode
from desktop mode.

Video: http://recall/-/gjymLwjdDT07aWqaK6101a/gU56zTDcWov6ukbKuH8tFx
Flag: ENABLE_SPLIT_FROM_DESKTOP_TO_WORKSPACE
Bug: 286550932
Bug: 279586624
Test: Manual

Change-Id: Ib94402553c88286894d94c95c38cac125be23a0d
2023-08-09 17:23:03 +00:00
Brian Isganitis 18dd200832 Merge "Launch Taskbar All Apps with Meta key when it's available." into udc-qpr-dev 2023-08-09 17:15:12 +00:00
Treehugger Robot 8648f5f751 Merge "Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY" into udc-qpr-dev 2023-08-08 23:43:57 +00:00
Randy Pfohl 6ff6c00b26 Merge "Adding minimal logs to investigate overview floating bug" into udc-qpr-dev 2023-08-08 22:11:19 +00:00
Andy Wickham c15fd5c248 Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev 2023-08-08 20:58:04 +00:00
Vinit Nayak 6682d58d0a Merge "Move splitInstructionsView reference out of RecentsView" into udc-qpr-dev 2023-08-08 20:40:57 +00:00
Brian Isganitis a8ad7e448c Launch Taskbar All Apps with Meta key when it's available.
Taskbar All Apps will be chosen over Launcher's when we are in an app or
in overview. Otherwise, we fallback to toggling Launcher All Apps.

Test: Manual, adb shell input keyevent 117
Fix: 282111244
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR
Change-Id: I68e4cb3a80d42e233f7d9ad33fc3791b5c75d219
2023-08-08 19:32:02 +00:00
Andy Wickham bc3bac4113 Revert^3 "Change Overview Actions to round buttons."
Awaiting UX alignment.

Test: N/A
Flag: N/A
Change-Id: I05e9627d8b44ea16d29445e005534af2a1abd439
2023-08-08 12:09:59 -07:00
Sebastián Franco b0f32ea815 Merge "Ensure the reorder test runs on the foldable devices" into udc-qpr-dev 2023-08-08 17:52:33 +00:00
Jeremy Sim 6390654526 Merge "App Pairs: Implement save, inflate, launch, and delete" into udc-qpr-dev 2023-08-08 00:56:04 +00:00
Tracy Zhou ed96865005 Merge "Center taskbar nav buttons in small screen" into udc-qpr-dev 2023-08-08 00:12:54 +00:00
Vinit Nayak 257bb9641e Move splitInstructionsView reference out of RecentsView
* Consolidate it to be same object as workspace
SplitInstructionsView

Bug: 276361926
Test: Created split from home and overview, disapears
on exit or success as expected

Change-Id: I837a7c37fb4d1a39c13fe0d66b2e3ecefedef2df
2023-08-07 15:29:50 -07:00
Jon @ e3d6188343 Merge "Enable ENABLE_DYNAMIC_TASKBAR_THRESHOLDS for teamfood." into udc-qpr-dev 2023-08-07 19:30:52 +00:00
Tracy Zhou c73ce34730 Merge "Teamfood ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS" into udc-qpr-dev 2023-08-07 18:29:58 +00:00
Jon Miranda fef90aa57f Enable ENABLE_DYNAMIC_TASKBAR_THRESHOLDS for teamfood.
Bug: 274467454
Test: manual
Change-Id: I5fe1e2ce2e4edaac1c6c4d2a1eda0ef99257e88a
2023-08-07 11:01:50 -07:00
Treehugger Robot 77204f4608 Merge "Add better logging around long launcher operations during unfold" into udc-qpr-dev 2023-08-07 17:25:05 +00:00
Treehugger Robot 93e088dc1c Merge changes Ifa66cfb7,Ied7867fb into udc-qpr-dev
* changes:
  Add dynamic thresholds for taskbar based on screen size.
  Add ENABLE_DYNAMIC_TASKBAR_THRESHOLDS feature flag.
2023-08-07 16:27:36 +00:00
Nicolo' Mazzucato e120fcfa47 Add better logging around long launcher operations during unfold
This logging helps understanding what's going on in Launcher main thread
 during unfold from perfetto traces.

Test: Perfetto trace after unfolding
Bug: 292472402
Change-Id: I7a037d9a129deb4bfe4310fdba664b87164ef2ca
2023-08-07 12:18:10 +00:00
Tracy Zhou dcae0e86ac Center taskbar nav buttons in small screen
Bug: 288311605
Test: All the buttons are in centered in all orientations
Change-Id: Ibb9dc57e38a2e61c426f1edfbf771634d5e3cbb1
2023-08-06 21:03:04 -07:00
Bill Yi 99f30cb125 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours am: 84f8b32a61 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24318969

Change-Id: I85ac520fb04443129ff224e368437c24cc649f32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 08:19:19 +00:00
Bill Yi 84f8b32a61 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24318969

Change-Id: Ib753922c42e619bc7c3b42b6f48d5282f351a7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:55:47 +00:00
Bill Yi 39a0822389 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24318969

Change-Id: I46480725d054efd82e8a465ccc6b570686263bd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:11:17 +00:00
Tracy Zhou b7cd64d5b7 Merge "Update nav button color when nav button layout changes" into udc-qpr-dev 2023-08-05 07:01:07 +00:00
Bill Yi 830e67c5c5 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-08-05 03:31:42 +00:00
Vadim Tryshev c6352a55f3 Implementing detector of view flashes
I.e. when a view appears or disappears for a short time.

Moving some common parts of AlphaJumpDetector and FlashDetector to their parent class, AnomalyDetector, and moving AnomalyDetector to a separate file.

Also tweaking the code a bit.

Flag: N/A
Test: presubmit, local runs
Bug: 286251603
Change-Id: I022e68eb90147abd3ed4ee3b285d672bb19c997d
2023-08-04 18:56:10 -07:00
Randy Pfohl 7d19aecf5a Merge "attempting to catch security exception to prevent full crash" into udc-qpr-dev 2023-08-04 22:50:40 +00:00
Jon Miranda a625f58737 Add dynamic thresholds for taskbar based on screen size.
Bug: 274467454
Test: Manually test that each threshold is as expected
Change-Id: Ifa66cfb78f544bb4d14391e70badc92589d47a26
2023-08-04 14:35:56 -07:00
Sunny Goyal b4ca0df78a [automerger skipped] Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f am: 0b1089978f -s ours
am skip reason: Merged-In Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf with SHA-1 da718e9749 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: Id59a2612f5c40894ba3ba53e4a380f1820efd1c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 21:04:24 +00:00
randypfohl d6568db503 attempting to catch security exception to prevent full crash
Test: built locally

Bug: 283074997
Change-Id: I9b60740c6de04422f69534e6a17d1858018f61e9
2023-08-04 13:40:01 -07:00
Sunny Goyal 0b1089978f Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: Ibf1f54176e73578fc9cd1cc2510022e3c6a84237
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:39:57 +00:00
Holly Jiuyu Sun 9235ef85ce Merge "Refresh mNumAppsPerRowAllApps when device profile changes." into udc-qpr-dev 2023-08-04 20:27:49 +00:00
Sunny Goyal 7a080a7e0f Merge "Log appear animation's scale factor" into udc-dev 2023-08-04 20:13:43 +00:00
Treehugger Robot c5ef96a424 Merge changes Iafdad8f2,Ia85c1e84 into udc-qpr-dev
* changes:
  Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY
  Revert "Revert "Make AllAppsRecyclerViewContainer GONE when hidden""
2023-08-04 19:45:11 +00:00
Federico Baron 410344860c Merge "Add logs around BaseDepthController to investigate b/291401432" into udc-qpr-dev 2023-08-04 19:44:40 +00:00
Bill Yi 93974f4803 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 39e9688873 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24316145

Change-Id: If9783604a548ba1f32f4644ff47f89ac53f3c50a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 19:36:33 +00:00
Jon Miranda f762e17fa3 Add ENABLE_DYNAMIC_TASKBAR_THRESHOLDS feature flag.
Bug: 294252473
Bug: 274467454
Test: N/A
Change-Id: Ied7867fbae602303c699afc3da7f88eef7aeb728
2023-08-04 11:43:27 -07:00
Ats Jenk f00906cc3d Merge "Use window corner radius for desktop task snapshots" into udc-qpr-dev 2023-08-04 17:55:12 +00:00
Fengjiang Li 2f2306c14b Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY
Test: Tested in ag/24107285
Bug: 264341825
Change-Id: Iafdad8f2aabe4296befc00800dc9a1fdfd58dc6f
2023-08-04 10:29:03 -07:00
Fengjiang Li 98c91a65cf Revert "Revert "Make AllAppsRecyclerViewContainer GONE when hidden""
This reverts commit a163646c7a.

Reason for revert: Re-submit with ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY turned off in child CL (submit together)

Test: Tested in ag/24107285
Change-Id: Ia85c1e8447c45ff44814ad4bfe0f178a72d0e7d3
2023-08-04 10:28:36 -07:00
Bill Yi 19e80fd3e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cab0c87deec793f9deb39d01005d9a90e8d5d8b
2023-08-03 21:56:44 -07:00
Bill Yi 39e9688873 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic65ee5796da63c3999571e23307fffec332bebfe
2023-08-03 21:56:20 -07:00
Inseob Kim 40a44e08b9 Merge "Revert "Make AllAppsRecyclerViewContainer GONE when hidden"" into udc-qpr-dev 2023-08-04 04:13:28 +00:00
Inseob Kim a163646c7a Revert "Make AllAppsRecyclerViewContainer GONE when hidden"
This reverts commit df59c2e535.

Reason for revert: b/293944420

Change-Id: I0ae830e1a5ba8affb6815c9e96ffee1b20c6e8d0
2023-08-04 02:18:44 +00:00
Bill Yi 98830fcbd6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib3a3dee039404b6f7fdad4d2ac524ea78262a5d3
2023-08-03 18:58:26 -07:00
Sebastian Franco a99e1d2a14 Ensure the reorder test runs on the foldable devices
It moves some classes form the Nexus package into the launcher package
so it can be used in both projects.

It also adds more test for foldables and test multiple
grids for each test.

Bug: 289584301
Fix: 291346193
Test: ReorderWidgets
Change-Id: I04db5f685d0344b8a3f3d42b429bbde061b3d8ea
2023-08-03 16:35:29 -07:00