Commit Graph

47938 Commits

Author SHA1 Message Date
Alex Chau 9ec321cbe9 Switch to rest state when display changes am: 90d24f4b9b am: f017e1bfcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951262

Change-Id: If23c8dcd8a52c3293775a49b1e8e6b8efd336bc6
2021-09-30 19:40:29 +00:00
Alex Chau f017e1bfcc Switch to rest state when display changes am: 90d24f4b9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951262

Change-Id: Ibf9ec4de2feda386615404063283b7b093327301
2021-09-30 19:15:24 +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
Thiru Ramasamy e307f447d8 Add LEGACY_SHORTCUT & ASSISTANT_MEMORY search results to launcher logging attribute.
Test: Make NexusLauncherDebug
Bug: 201559997
Change-Id: I308b29c25825c524e5c11bd3a690befdeb411e77
2021-09-30 09:36:47 -07:00
Alex Chau 90d24f4b9b Switch to rest state when display changes
Fix: 199463580
Test: Unfold device from overview (both from app and from home), overview should close
Change-Id: I7786f3ec46857075e123fa2a093c7b55ca616fc1
2021-09-30 17:26:05 +01: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 a8762e54f2 Merge "launcher: create paddings for foldables" into sc-v2-dev am: f8182da6c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15896987

Change-Id: Ib26cae2a6b2d71c7bf4a7b44ec7b1156179aff0b
2021-09-30 09:32:56 +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 d070aa69fd Merge "Add logging to help debug b/200572078." into sc-v2-dev am: a246eb4aa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925088

Change-Id: I12a777ea9feaa94e1476e73f3d21eb88f3e37b11
2021-09-30 07:16:20 +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 8775a79741 Merge "Remove the Share button option from Overview." into sc-v2-dev am: 70cc9ffe7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15935390

Change-Id: I34365ae2b2f97536e1bc992ec583b11ce00bdc75
2021-09-30 04:23:41 +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
Tony Wickham ec7030a5e9 Merge "Aniamte stashed handle color changes" into sc-v2-dev am: 6db0cf1e22 am: 631a02507d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15943405

Change-Id: I541418eadc98644d9b6f99a7a5a30dea519b1386
2021-09-30 02:39:20 +00:00
Tony Wickham f6af104676 Merge "Update stashed handle region to only include the handle" into sc-v2-dev am: ad3de8eab8 am: b3ade306da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15943399

Change-Id: I06b1964118f83bc74678c8ea7a00341c24cf17dd
2021-09-30 02:39:10 +00:00
Tony Wickham 631a02507d Merge "Aniamte stashed handle color changes" into sc-v2-dev am: 6db0cf1e22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15943405

Change-Id: I0c8c6fa69350a93a2a9de79f5609906e43658ba0
2021-09-30 02:29:33 +00:00
Tony Wickham b3ade306da Merge "Update stashed handle region to only include the handle" into sc-v2-dev am: ad3de8eab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15943399

Change-Id: Id5e5a3829e96f36c977fcc06ddce8df385a19c9a
2021-09-30 02:29:29 +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
Tony Wickham 6db0cf1e22 Merge "Aniamte stashed handle color changes" into sc-v2-dev 2021-09-30 02:17:18 +00:00
Tony Wickham ad3de8eab8 Merge "Update stashed handle region to only include the handle" into sc-v2-dev 2021-09-30 02:17:03 +00:00
TreeHugger Robot 82bd8c7c57 Merge "Allow icon add animations when user touches the screen." into sc-v2-dev am: 31a0b39daf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15846608

Change-Id: I86baebb32f7bd1148c4abeb218d37195f7cecad9
2021-09-30 02:06:33 +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
Tony Wickham 0ede0fa405 Aniamte stashed handle color changes
Test: Swipe from light background to dark background, ensure handle animates the color change
Bug: 193938970
Change-Id: I815c3a364019935bdf3d69309e695ac34b119c5e
2021-09-29 16:19:49 -07:00
Android Build Coastguard Worker 08507ea6d8 Snap for 7779164 from ba4b8e145d to sc-v2-release
Change-Id: I5fc2abae99865e1a82d1c4a4913780d6437dc437
2021-09-29 23:12:22 +00:00
Tony Wickham a93e158352 Update stashed handle region to only include the handle
Before it included the whole width/height of the view, rather than just the outline where the handle is drawn.

Test: Swipe up from a light app on dark wallpaper, ensure handle changes color as soon as the white app background is past halfway through the handle
Bug: 193938970
Change-Id: Ic8b83f60976f05b8ff56590422bd9b2fa6140e76
2021-09-29 15:47:58 -07: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 aab3edf950 Merge "[Foldable] Apply max width to AllApps in unfolded state." into sc-v2-dev am: abb827b376
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15882894

Change-Id: I663deca71027dc1d558f012dfbf04e743a5719de
2021-09-29 22:21:48 +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
Alina Zaidi 61d6aea926 Merge "Do not reorder recommended widgets in widget picker." into sc-v2-dev am: a4c1d0cfa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15921288

Change-Id: I991f263529eee35fcc866b4ed8e0cf983ee35c5d
2021-09-29 21:36:23 +00: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 148b8bd2eb Merge "Add TAPL tests for hiding the actions view when scrolling away from focused task in overview." into sc-v2-dev am: 429b8df180
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804385

Change-Id: I7f5979e5d94ff8d3cc280af4cd694425e28f838c
2021-09-29 21:20:48 +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
Zak Cohen 018a761e17 Merge "Remove RecentsExtraCard plugin hook." into sc-v2-dev am: ba4b8e145d am: a3553ac013
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936271

Change-Id: Ic3658840206e8a1ff6f8f9868209a219a82b47e2
2021-09-29 20:43:45 +00:00
Zak Cohen a3553ac013 Merge "Remove RecentsExtraCard plugin hook." into sc-v2-dev am: ba4b8e145d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936271

Change-Id: I16cf062e888a898c3c2f24947c342f393b1865cd
2021-09-29 20:29:53 +00:00
Zak Cohen ba4b8e145d Merge "Remove RecentsExtraCard plugin hook." into sc-v2-dev 2021-09-29 20:15:14 +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
Schneider Victor-tulias 20ab96ab1b Merge "Update gesture navigation tutorial for foldable devices." into sc-v2-dev am: 5b563706e3 am: 70c43e7f13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779642

Change-Id: Ib4102d0d3aa3b7b91a0d4e68c2ab4fecec6ab2d1
2021-09-29 20:09:21 +00:00
Brian Isganitis 40817cc68e Merge "Only set arrow color once when below icon." into sc-v2-dev am: 3fca6717ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936545

Change-Id: I6c1d7d2daa9cc78f3c9ca3b57234d6e0d02aaa15
2021-09-29 19:59:53 +00:00
Schneider Victor-tulias 70c43e7f13 Merge "Update gesture navigation tutorial for foldable devices." into sc-v2-dev am: 5b563706e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779642

Change-Id: I50c8c97a29427bbbeab2ae814c28e52a76b0326d
2021-09-29 19:59:46 +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 5b563706e3 Merge "Update gesture navigation tutorial for foldable devices." into sc-v2-dev 2021-09-29 19:42:43 +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
Bill Yi dce5eaa7bc Merge changes from topic "presubmit-am-38ca296c39a34a24b9e36e667e4f04a8" into sc-qpr1-dev am: e758de7f64 am: 4a0ab290b5 am: 15eba8c1f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15926980

Change-Id: Ic705b0fc22ebfb3266d1f5e24ed244472b599282
2021-09-29 17:50:20 +00:00