Commit Graph

53916 Commits

Author SHA1 Message Date
Xin Li 48fd208e07 Merge TQ1A.221205.012
Bug: 255404110

Merged-In: Ie9c62c0ee81086801942328c8770f37d5bf622c3
Change-Id: Idcdacb61af6501d7de45b725534fb227846262f7
2022-11-29 15:18:44 -08:00
Jon Miranda 1c96b6584c Merge "Allow touches on transient taskbar if ime is present." into tm-qpr-dev am: 912e6dd64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544543

Change-Id: I783620f7e1644d344fc66f59cb78a88dfc9b3488
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:06:16 +00:00
TreeHugger Robot 44e31ece66 Merge "Catch exception to prevent crash." into tm-qpr-dev am: a7fafd6976
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544536

Change-Id: I56c0ee67cd286dea30b2ecac4bda93486145231f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 23:04:05 +00:00
Jon Miranda 912e6dd64d Merge "Allow touches on transient taskbar if ime is present." into tm-qpr-dev 2022-11-29 22:42:03 +00:00
TreeHugger Robot a7fafd6976 Merge "Catch exception to prevent crash." into tm-qpr-dev 2022-11-29 22:40:00 +00:00
Brandon Dayauon 7b53004999 Searching for Golden Gate Bridge should show three queries and check if predicted app row and web suggest exists
Add a method that checks if three web suggests exist and another method to check for
predicted app row and web suggest exists.

bug: 225583735
test: Manual - photo: https://screenshot.googleplex.com/3NoSUm7nzTvf3gX
Change-Id: I7f9340229aaf4a0a3928933035f193a576995525
2022-11-29 13:35:56 -08:00
Jon Miranda 6811fe8ab0 Fix window x-axis movement after gesture ends.
Previously we setClamp to false right after the gesture ends.
So when the page settle animation gets the page offset, it would
get the unclamped version which would cause the window to move
in the x-axis movement even if the window didn't actually move
during the gesture.

Now we ensure that we setClamp to false after the page transition
ends so that the scroll offset is consistent all the way until
the end of the animation.

Bug: 258851206
Test: 1. swipe a bit diagonally to bring up taskbar with
         no x-axis window movement
      2. release
      3. there should be no x-axis movement on window

Change-Id: Ic9949d11f2e8bc7ccbd737555a3d5551f09456da
2022-11-29 21:15:32 +00:00
TreeHugger Robot 90b1e17819 Merge "Add flags for new restore icon treatment" into tm-qpr-dev am: 575048df99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20536220

Change-Id: I740acb63fd51a6ada4d696a4d3ab5e6a6982effb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 20:56:58 +00:00
TreeHugger Robot 575048df99 Merge "Add flags for new restore icon treatment" into tm-qpr-dev 2022-11-29 20:11:11 +00:00
Jon Miranda 106cc895e9 Allow touches on transient taskbar if ime is present.
Bug: 260101467
Test: open chrome, enter url to pull up ime, swipe up to show taskbar,
      tap on taskbar icon

Change-Id: Ic8be6c2bb82fc9b8ab83572cb8622ac157078ea9
2022-11-29 11:30:39 -08:00
Jon Miranda 6f5062e64c Turn flag on by default: ENABLE_TASKBAR_REVISED_THRESHOLDS
Bug: 260002412
Test: manual
Change-Id: I2b5f2a434f5768c1834fa15d814f001e13b719da
2022-11-29 11:14:12 -08:00
Becky Qiu 9820d4746d [Toast] Remove feature flag for rich answer, use all apps flag instead.
This is to prepare for the server launch.

Bug: 241295640, 256693300
Test: local
Change-Id: Idf1fe2b05e998dbab790d3dc1a7ea63f9daa2df7
2022-11-29 11:01:58 -08:00
Federico Baron 791c9cbc37 Add flags for new restore icon treatment
We're updating the way apps look when they're pending, downloading, and installing. It will look like this mock https://docs.google.com/presentation/d/1V9-1C3mJ3zRGsuzzzYExisr9vLYecgADa1FucMoW_aw/edit#slide=id.g16c002f332d_1_0

Bug: 254858049
Test: N/A
Change-Id: I4403f857c9c1fc24c65223886008252462209804
2022-11-29 18:39:55 +00:00
Sunny Goyal d25f79c48f Adding screenrecord to debug themeIconTest
Bug: 260722220
Test: Updated
Change-Id: I20e590436e318f9a8914a8201d95584ab26de388
2022-11-29 09:31:13 -08:00
Luca Zuccarini 231ea120d0 Merge "Add support for multiple focus listeners to ExtendedEditText." into tm-qpr-dev am: 6e192cd7f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20508310

Change-Id: I98cacbb689046dee91fbb8a986522766149a2496
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 13:56:27 +00:00
Luca Zuccarini 6e192cd7f8 Merge "Add support for multiple focus listeners to ExtendedEditText." into tm-qpr-dev 2022-11-29 13:21:38 +00:00
Anushree Ganjam 45ec83b2d6 Refactor all_apps.xml contents to all_apps_content.xml
We can reuse the all_apps_content.xml in other all_apps.xml
This is step1. As step2, I will refactor secondary_launcher.xml
and taskbar_all_apps.xml.

Bug: 204781396
Test: Manual

Change-Id: Ia842ca082ec38220d327f512221807ed21ad2ad3
2022-11-29 02:09:29 +00:00
TreeHugger Robot d813bddf99 Merge "Fixing shortcuts not getting theme icons" into tm-qpr-dev am: 1330244f0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546011

Change-Id: Iec0c682a4f1a81a4093a4971929603fc4dc32f21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 01:12:21 +00:00
TreeHugger Robot ec2d920b07 Merge "Add feature flag to control whether to inject fallback app results when AiAi fails to return app corpus results." into tm-qpr-dev am: aa14bd45c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20523591

Change-Id: I25e0ee4b5aa28cab6209eb3438c051db8a2e2355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 01:11:57 +00:00
TreeHugger Robot 1330244f0a Merge "Fixing shortcuts not getting theme icons" into tm-qpr-dev 2022-11-29 01:10:38 +00:00
TreeHugger Robot aa14bd45c4 Merge "Add feature flag to control whether to inject fallback app results when AiAi fails to return app corpus results." into tm-qpr-dev 2022-11-29 00:37:53 +00:00
Brian Isganitis 9ec55062c2 Merge changes Idae0c3d8,I8c599912 into tm-qpr-dev am: 39768edb67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20537774

Change-Id: I174c7ba634ba205d6a8b904124349bdeae89e929
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 22:35:48 +00:00
Brian Isganitis 39768edb67 Merge changes Idae0c3d8,I8c599912 into tm-qpr-dev
* changes:
  Stash taskbar while EDU is open.
  Remove Taskbar EDU icon wave animation.
2022-11-28 22:14:42 +00:00
TreeHugger Robot d214a581bd Merge "Disallow transient taskbar to un/stash in certain sys ui states" into tm-qpr-dev am: c04120e61e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20552584

Change-Id: Ie78637b99c552d9c37b90345ad8dcfce4cab2f67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 19:29:32 +00:00
Alex Chau 0bb736df75 Merge "Allow 3p launchers to use swipe proxy in AllSetActivity" into tm-qpr-dev am: 735c016bef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20562094

Change-Id: Ib2cab4e40f0b7ad671a212303e925bed8911e736
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-28 19:29:06 +00:00
Stefan Andonian 677978c8ab Fix for bug where expensive launcher animations were being paused and never resumed.
Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
(cherry picked from commit 8b336195a6)
2022-11-28 19:05:03 +00:00
TreeHugger Robot c04120e61e Merge "Disallow transient taskbar to un/stash in certain sys ui states" into tm-qpr-dev 2022-11-28 18:54:40 +00:00
Alex Chau 735c016bef Merge "Allow 3p launchers to use swipe proxy in AllSetActivity" into tm-qpr-dev 2022-11-28 18:53:59 +00:00
Sunny Goyal ce4896cff5 Fixing shortcuts not getting theme icons
Bug: 238650110
Test: Updated ThemeIconsTest
Change-Id: I803cd6eefa4e393bf19901a44712622adac7f4b1
2022-11-28 09:48:50 -08:00
Brian Isganitis 84633c1a9d Stash taskbar while EDU is open.
The stashing behavior is consistent with the All Apps overlay.

Test: Manual
Bug: 217261955
Change-Id: Idae0c3d829e806be6c18f00455f7ddd0d60f0efb
2022-11-28 16:02:40 +00:00
Brian Isganitis 92400681a9 Remove Taskbar EDU icon wave animation.
As per the latest mocks, the taskbar will be stashed during EDU to
prevent taskbar interactions that inadvertently close the EDU sheet.
Thus, this animation is no longer needed.

Test: Manual
Bug: 217261955
Change-Id: I8c5999121b7bb927b748d6163575dc4555ece84c
2022-11-28 15:46:17 +00:00
Vinit Nayak 209dd03b69 Send corrent SUW insets for taskbar portrait vs landscape
* There were two separate blocks of code for sending insets
for Taskbar during SUW, consolidate those
* We also weren't changing Taskbar window height corresponding
to the added insets/change of height for different
orientations in SUW

Fixes: 253538830
Test: Went through SUW and switched orientations,
no back button overlap

Change-Id: Ifb3bc1c20a793ef062bf338a3bdf933b8ae98c28
2022-11-24 10:29:16 -08:00
Pat Manning bc75ac55fd Allow 3p launchers to use swipe proxy in AllSetActivity
Bug: 257926371
Test: manual
Change-Id: If70412ecaa81481d8147abb3c52859ae4ea54a11
2022-11-24 14:57:08 +00:00
Thales Lima 1635e321bb Merge "Fix test and DeviceProfile dump" into tm-qpr-dev am: b0ed7dae63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20542666

Change-Id: I7b0313b2e1f566e6a74e3ebc0fdbd53ef5cd94a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 12:10:33 +00:00
Thales Lima b0ed7dae63 Merge "Fix test and DeviceProfile dump" into tm-qpr-dev 2022-11-24 11:32:56 +00:00
Jon Miranda 01dae31db7 Merge "Check for isTaskbarPresent in addition to isTransientTaskbar when the method is called outside of taskbar." into tm-qpr-dev am: 3535426bea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20544533

Change-Id: I8d77fb2ef6f2a7572627f8cbcdd8b4102c3b78f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 01:59:25 +00:00
Jon Miranda 3535426bea Merge "Check for isTaskbarPresent in addition to isTransientTaskbar when the method is called outside of taskbar." into tm-qpr-dev 2022-11-24 01:28:18 +00:00
Jon Miranda 81bc0b78ce Disallow transient taskbar to un/stash in certain sys ui states
Bug: 258604928
Test: cant un/stash with keyguard, notifications, or qs open
      can un/stash in app as expected

Change-Id: Ib422a35fb31fc818123eae39ac3a7e6deb79f187
2022-11-23 15:26:06 -08:00
Vinit Nayak 87d546e94a Merge "Prevent empty recents going home when splitting with taskbar present" into tm-qpr-dev am: dba5a396b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20545270

Change-Id: Id8f6f8c23515fa95ca58a395f8536e5efedd3df7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 23:01:52 +00:00
Vinit Nayak dba5a396b0 Merge "Prevent empty recents going home when splitting with taskbar present" into tm-qpr-dev 2022-11-23 22:20:44 +00:00
TreeHugger Robot 08c4290de2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 50286fe326 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I966bb54422288fed2c32871c0c6285f186b45fc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 20:14:13 +00:00
Bill Yi e6b215b93a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 82e885471d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I524c27aea7f67a0b84aa010df8bef417bf46861d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 20:13:56 +00:00
Jon Miranda 807823155d Check for isTaskbarPresent in addition to isTransientTaskbar
when the method is called outside of taskbar.

This prevents the case where phone runs transient taskbar logic.

Bug: 260006210
Test: added local logs, tested in phone mode
Change-Id: I600c06d6c797bd68461ac033dcc2c6158f221024
2022-11-23 12:05:43 -08:00
TreeHugger Robot 50286fe326 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-23 19:38:40 +00:00
Pat Manning 78fcf6aaeb Merge "Set grid progress even when task count is 0." into tm-qpr-dev am: 82f05a857d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20508307

Change-Id: I8ef71e65d4eb2a7c9625a83d09360d16559041b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 12:01:02 +00:00
Pat Manning 82f05a857d Merge "Set grid progress even when task count is 0." into tm-qpr-dev 2022-11-23 11:31:35 +00:00
Holly Sun 259723de32 Catch exception to prevent crash.
Bug: 258234624
Test: QA verify
Change-Id: I31df77b33f19426d136673d1ce9866fa6e60729c
2022-11-22 20:58:36 -08:00
Becky Qiu db6c009df7 Merge "[Toast] Add a feature flag for rich answer" into tm-qpr-dev am: b96e084557
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20442286

Change-Id: I148448983a23977a81ddc610466fe9ce996f878c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 01:32:24 +00:00
Becky Qiu b96e084557 Merge "[Toast] Add a feature flag for rich answer" into tm-qpr-dev 2022-11-23 01:10:10 +00:00
TreeHugger Robot dd683ab6c5 Merge changes from topic "revert-20479526-revert-20427045-258023561-BPDASTWITO-FBDWZBDEFC" into tm-qpr-dev am: 691c6e511f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20487426

Change-Id: I186279c0d3a7c8c3a92d83984c298e4687aae60b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 21:37:34 +00:00