Commit Graph

16456 Commits

Author SHA1 Message Date
Samuel Fufa 7a0cdc4801 Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev 2021-10-05 03:22:26 +00:00
sfufa@google.com 95245e50f8 Support drag/drop on search results am: ca76de0e6e am: 027f65279f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910881

Change-Id: I5634db28e9a3dc9582d321de636274700f56e5b8
2021-10-05 00:43:23 +00:00
sfufa@google.com b0ec41285b [Search] Avoiding hiding keyboard when clearing search text
Bug: 199555357
Test: manual
Change-Id: I7bc9b7097427aed3b526c8d75956d323e819e79b
2021-10-04 14:23:14 -07:00
Schneider Victor-tulias cd1ef70350 Update logging to help debug b/200572078
The class name logged in a repro of b/200572078 was shortened too much to find the class. Updated logging to get the full name.

Test: ran launcher and checked logs
Bug: 200572078
Change-Id: I12324348b4a8a56d4ab06ca54f13a90f8cbea955
2021-10-04 21:12:26 +00:00
sfufa@google.com ca76de0e6e Support drag/drop on search results
Bug: 199341710
Test: manual
Change-Id: I9879c2a3769d4f930ab0289d2f26e4757971549d
2021-10-04 13:14:12 -07:00
Sunny Goyal 775843922d Merge "Ignoring display size change when display is off" into sc-v2-dev am: 954a3dd0cc am: 2eee3cbeb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951925

Change-Id: I485fd7e95b6972c398970854af25de0671eae467
2021-10-01 18:15:24 +00:00
Sunny Goyal 954a3dd0cc Merge "Ignoring display size change when display is off" into sc-v2-dev 2021-10-01 17:54:08 +00:00
Thales Lima fea867b980 Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev am: bfb6996484 am: 11f703dd36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15879755

Change-Id: Ia344342fa38c7e9a330280a29aa852279779662b
2021-10-01 13:44:25 +00:00
Thales Lima bfb6996484 Merge "launcher: create attrs for more horizontal margin options" into sc-v2-dev 2021-10-01 13:20:25 +00:00
Steven Ng f6dce85efb Merge "Group weather widgets under the widget category" into sc-v2-dev am: 9114f280a2 am: bec302ab6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897183

Change-Id: I982d42b726a75e58fb2f9c2a608e7bfb4bd6874a
2021-10-01 10:44:44 +00:00
Steven Ng 9114f280a2 Merge "Group weather widgets under the widget category" into sc-v2-dev 2021-10-01 10:17:47 +00:00
Schneider Victor-tulias 0b9a1508d1 Merge "Improve all apps loading times." into sc-v2-dev am: 858d82b8be am: 098dbe253c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15798361

Change-Id: Ibc6f8271a27031b053cd86436731baeb10c4471d
2021-10-01 07:24:06 +00:00
Schneider Victor-tulias 858d82b8be Merge "Improve all apps loading times." into sc-v2-dev 2021-10-01 07:01:48 +00:00
TreeHugger Robot 2e00cb8fee Merge "Overview - Remove Chips code" into sc-v2-dev am: d1ad84c6df am: 5587d7a493
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15942463

Change-Id: I40a106e7ff4060c6c0459142defa418fad1d42b5
2021-09-30 22:43:30 +00:00
TreeHugger Robot d1ad84c6df Merge "Overview - Remove Chips code" into sc-v2-dev 2021-09-30 22:14:41 +00:00
Sunny Goyal 807de418e9 Ignoring display size change when display is off
Bug: 198965093
Test: Verified with the script provided on the bug
Change-Id: I0efaa5a9b7be94f406a9c283219c715a6c430256
2021-09-30 11:43:26 -07:00
Steven Ng 43859f10bc Group weather widgets under the widget category
Test: manual (see video in bug) and added PackageUserKeyTest
      Also tested pending conversation widget to ensure the right icon
      is shown.
Fix: 201062480
Change-Id: If23c28bd93c54fb1747648309ab3c238a1810902
2021-09-30 14:22:21 +01:00
Thales Lima d90faab655 launcher: create attrs for more horizontal margin options
According to new specs, margins are different depending on orientation
and fold/unfolded. Also change the name of the variable to
horizontalMargin, since it applies the same padding to both sides.

Bug: 191879424
Test: manual and checking paddings in HSV
Change-Id: I8990c02b928a22b9f3b0cf3cbc3abf08df4daa9d
2021-09-30 14:06:56 +01:00
Thales Lima e92fb4b79c Merge "launcher: create paddings for foldables" into sc-v2-dev am: f8182da6c5 am: a8762e54f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15896987

Change-Id: I298f39ca40f8aee5128754b60d487a1a2eb98c2f
2021-09-30 09:46:02 +00:00
Thales Lima f8182da6c5 Merge "launcher: create paddings for foldables" into sc-v2-dev 2021-09-30 09:19:22 +00:00
TreeHugger Robot cd3f011a66 Merge "Add logging to help debug b/200572078." into sc-v2-dev am: a246eb4aa5 am: d070aa69fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925088

Change-Id: I15c695af4382313c1c183c25d729f405efda521e
2021-09-30 07:31:41 +00:00
TreeHugger Robot a246eb4aa5 Merge "Add logging to help debug b/200572078." into sc-v2-dev 2021-09-30 07:01:41 +00:00
TreeHugger Robot 2e4a003f71 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c am: 8775a79741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I27bfb9c63fb618abb0faaa116e44b9e95aa84b45
2021-09-30 04:38:22 +00:00
TreeHugger Robot 70cc9ffe7c Merge "Remove the Share button option from Overview." into sc-v2-dev 2021-09-30 04:11:47 +00:00
TreeHugger Robot d5b53bd6ac Merge "Allow icon add animations when user touches the screen." into sc-v2-dev am: 31a0b39daf am: 82bd8c7c57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15846608

Change-Id: If3e802440ce7941c02f37f44b4fe33ed295fc39b
2021-09-30 02:23:00 +00:00
TreeHugger Robot 31a0b39daf Merge "Allow icon add animations when user touches the screen." into sc-v2-dev 2021-09-30 01:51:49 +00:00
Samuel Fufa 7444c5185f Merge "[Foldable] Apply max width to AllApps in unfolded state." into sc-v2-dev am: abb827b376 am: aab3edf950
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15882894

Change-Id: I3f8df26bbc49772faf8b166750fa8cc5ddbc16b5
2021-09-29 22:32:01 +00:00
Samuel Fufa abb827b376 Merge "[Foldable] Apply max width to AllApps in unfolded state." into sc-v2-dev 2021-09-29 22:07:42 +00:00
Alina Zaidi 1932f63691 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev am: a4c1d0cfa4 am: 61d6aea926
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15921288

Change-Id: Ic7ffb40f4d15a5c421505abcb8c373afb6604477
2021-09-29 21:48:05 +00:00
Zak Cohen 71c527126b Overview - Remove Chips code
The proactive chips code has bit rotted and doesn't work properly anymore.
The product direction is not being pursued, so remove the code.

Bug: 201568600
Test: local
Change-Id: Ia00ceb027719c841bed665c1c50a132230bffe89
2021-09-29 14:43:27 -07:00
Zak Cohen 283ee7d74b Remove the Share button option from Overview.
It has never been enabled, and is not plan of record.

Bug: 201446691
Test: local and updated unit tests

Change-Id: I5ac6d40ba1dbcf28de4355cc51fff74cfb37ebc6
2021-09-29 14:43:27 -07:00
Pat Manning 05c2873979 Merge "Add TAPL tests for hiding the actions view when scrolling away from focused task in overview." into sc-v2-dev am: 429b8df180 am: 148b8bd2eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804385

Change-Id: I25bb02bde3dc3eeceb6a22d220a64da53b91ac96
2021-09-29 21:30:58 +00:00
Alina Zaidi a4c1d0cfa4 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev 2021-09-29 21:23:23 +00:00
Pat Manning 429b8df180 Merge "Add TAPL tests for hiding the actions view when scrolling away from focused task in overview." into sc-v2-dev 2021-09-29 21:03:46 +00:00
Brian Isganitis 2e58c0262a Merge "Only set arrow color once when below icon." into sc-v2-dev am: 3fca6717ed am: 40817cc68e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936545

Change-Id: I2bc83a5bac2bc190e1a28ebdcbab8bc8ef19116b
2021-09-29 20:09:27 +00:00
Brian Isganitis 3fca6717ed Merge "Only set arrow color once when below icon." into sc-v2-dev 2021-09-29 19:57:23 +00:00
Schneider Victor-tulias dccfe04a3a Improve all apps loading times.
Updated loadAllApps to load all required icons in a series of bulk sql queries. This reduces the cost of SQL lookups (up to two lookups per user, rather than one lookup per icon)

Bug: 195674813
Test: Added all icons to workspace, added duplicate icons, added icons for same component name from different users
Change-Id: Ifda8980386084999c53d7f881e8967be0d57d263
2021-09-29 12:37:40 -07:00
Brian Isganitis 285a1a7c9a Merge "Update arrow color after all notifications dismissed." into sc-v2-dev am: 3a91a6241f am: 52b9feb353
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936544

Change-Id: Ie93b7aa71dbcd9545d2fc617101ed4a36db54742
2021-09-29 17:09:43 +00:00
Brian Isganitis 3a91a6241f Merge "Update arrow color after all notifications dismissed." into sc-v2-dev 2021-09-29 16:38:52 +00:00
Brian Isganitis 8b678206cf Only set arrow color once when below icon.
We were setting it again for the first child in any recursive call,
which could cause the color to be incorrect.

Test: Arrow always matches menu item below icon.
Fix: 201537864
Change-Id: I8f344bb7bdec4ebc51f8b8de118bec678d71e649
2021-09-29 12:30:50 -04:00
Brian Isganitis 1e34f65395 Update arrow color after all notifications dismissed.
assignMarginsAndBackgrounds updates determines the new arrow color, but
it doesn't actually update it. That is normally done in
updateArrowColor.

Test: Icon menu arrow color changes to content above it after notification
dots dismissed.
Fix: 201458705

Change-Id: I5ee40b420b03c29c197983af5968d4f2902bc59b
2021-09-29 16:29:16 +00:00
Alina Zaidi fc6837bb65 Do not reorder recommended widgets in widget picker.
This is to show them in ranking order sent by aiai.

Bug: b/201079509
Test: Added unit test in WidgetsTableUtilTest

Change-Id: I366ecaee8bc157aca185f633462d95fbd1dd180b
2021-09-29 15:52:47 +01:00
Steven Ng f79c48c0af Merge "Add a new string for widget configuration drop target" into sc-v2-dev am: d9f0c84f27 am: c14688087c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15934342

Change-Id: I86279a7c5301d0eec222563722c4e6cfaf194a65
2021-09-29 13:36:40 +00:00
Steven Ng d9f0c84f27 Merge "Add a new string for widget configuration drop target" into sc-v2-dev 2021-09-29 13:13:31 +00:00
Steven Ng 29f46c9628 Add a new string for widget configuration drop target
Test: manual. See screenshot in b/201286923
Fix: 201286923
Change-Id: I5be4f723523befe359b922273d11f57fb9f0b3fd
2021-09-29 12:15:07 +01:00
Alex Chau 46d1341ef2 Merge "Always let Hotseat touches follow through to Workspace if not intercepted" into sc-v2-dev am: 81f168ee7c am: 11fe0559ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897179

Change-Id: Ifc93c6dad69eae7ec9a15b0c9ed015913b129cf0
2021-09-29 11:06:14 +00:00
Thales Lima 7a6752da51 launcher: create paddings for foldables
This creates a new padding file that bring some foldables up to spec
with VisD. For 2 panel layouts it now uses workspace margin instead of
cell layout padding.

Bug: 191879424
Fixes: 200035429
Test: checking paddings in HSV
Change-Id: I11b8e1afd76f535368d4c26e31630ce496171e13
2021-09-29 11:53:29 +01:00
Alex Chau 81f168ee7c Merge "Always let Hotseat touches follow through to Workspace if not intercepted" into sc-v2-dev 2021-09-29 10:45:56 +00:00
Pat Manning 35231f3041 Add TAPL tests for hiding the actions view when scrolling away from
focused task in overview.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ie44a5bd99d7c9ffbc5405973c0ba1950cd90665c
2021-09-29 10:30:18 +00:00
Alex Chau 6ed6a6d874 Merge "Return mSynchronouslyBoundPages as getPagesToBindSynchronously between onInitialBindCompleteand finishBindingItems" into sc-v2-dev am: b830b2d999 am: 09f99a4d7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15674917

Change-Id: I2f76f9ae0e2c24b5e0de696d6a46581301a09a09
2021-09-29 08:44:42 +00:00