Commit Graph

49925 Commits

Author SHA1 Message Date
TreeHugger Robot 37e254d948 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 9aef05102a -s ours am: 1c1c5b91ef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I34bbe332978ad98409784fc535218dbd15a01bd7
2021-05-25 23:59:06 +00:00
Vinit Nayak b74b9d2966 Merge "TaskMenu in overview UI polish" into sc-dev 2021-05-25 23:56:00 +00:00
TreeHugger Robot 3f7a9c198d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 23:44:56 +00:00
TreeHugger Robot 3b20449045 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 23:41:55 +00:00
TreeHugger Robot 03334795e7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 23:41:26 +00:00
TreeHugger Robot ed976973b9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fce84542ad -s ours
am skip reason: subject contains skip directive

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

Change-Id: I09fe011e79de9afedd181dc2d8000a46ffcb048d
2021-05-25 23:39:03 +00:00
TreeHugger Robot 317617fedf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: ccbcdc511d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I575a2d84e67282c82cbd4763d8d326c7045a0345
2021-05-25 23:38:59 +00:00
TreeHugger Robot 1c1c5b91ef [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 9aef05102a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I67dbcaa0c102c589e6cf234a8d6df4eb452a848b
2021-05-25 23:38:44 +00:00
TreeHugger Robot fce84542ad Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-25 23:20:18 +00:00
TreeHugger Robot ccbcdc511d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-25 23:19:38 +00:00
TreeHugger Robot 9aef05102a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-25 23:15:38 +00:00
Steven Ng b1628ea0a6 Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788 am: 88bb7ec522 am: 376f8e3c26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I7b724745fac5f80b000dbbcab98afe83fefedc4d
2021-05-25 23:01:13 +00:00
TreeHugger Robot 8eafb08b95 Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e am: 99623596ac am: c6fc15d9cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I20f3c0e2ec4029a8236af84a5c56a660cda8ac9b
2021-05-25 23:01:07 +00:00
Steven Ng 97bdebe3ba Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788 am: 0bc0f10aac am: 783d99a6b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: Iaba5a18ed0235e189874b5bf78fabd5ddea8439a
2021-05-25 23:00:46 +00:00
TreeHugger Robot 36fa3d48c5 Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e am: 9d308d0af0 am: d751b126e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I5ff1fafcdca771b7b1d3f78a2e552b49faacbc9c
2021-05-25 23:00:16 +00:00
Tony Wickham 1fe96abb86 Set mEnableDrawingLiveTile = false in RecentsView#reset()
This should help ensure we only finish the recents controller when we're actually still in live tile mode.

Test: theoretical (no repro steps)
Fixes: 187354606 (hopefully)
Change-Id: If0632f03535e4aafaea751724f080f272a6af58f
2021-05-25 15:59:31 -07:00
Bill Yi fef0d31c26 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8cc873466d754aa7dff797a209956c7bf897de7f
2021-05-25 22:40:46 +00:00
Steven Ng 376f8e3c26 Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788 am: 88bb7ec522
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I52f0c0c8f5460f4dca42ad3ae2f1489e5fdfe821
2021-05-25 22:40:14 +00:00
Bill Yi d9217b1eb8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2dd26d4f0076d933151923ca9ece40baa855385b
2021-05-25 22:40:09 +00:00
TreeHugger Robot c6fc15d9cb Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e am: 99623596ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I9ca3c51ad60c4e96cc95c870c8310dc0d2e20b19
2021-05-25 22:39:52 +00:00
Bill Yi c2aec9b3b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I804fd295d96ddf2123ccaa8ff48c66ea92b70d33
2021-05-25 22:39:43 +00:00
Steven Ng 1ef7e145d2 Fix add extra empty screen logic
The bug occurred when there are two widgets in a CellLayout. When
dragging one of the widget, ShortcutAndWidgetContainer#getChildCount
returns 1 rather than 2 because the LauncherAppWidgetHostView of the
widget in drag has been detached from its parent and reattached to
DragView (introduced in ag/14234627).

Test: Place only two widgets on the last page of the home screen. Drag
      one widget. The new page indicator on the right is shown.
Bug: 188494523
Change-Id: I8255dd1b72ad7f18f4cb35a9e14ac8e61804980c
2021-05-25 23:39:40 +01:00
Bill Yi 4060c680aa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I22959ee18a399ff18edd1a73bf40d4fa3d809e1e
2021-05-25 22:39:11 +00:00
Steven Ng 783d99a6b5 Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788 am: 0bc0f10aac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I1fa2ee5011b0a3e7a8ce1445c4e40eb086d60f7b
2021-05-25 22:38:35 +00:00
Bill Yi c84ee09dbd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifca3cdf2713b121701f57a02c88353397a2a9222
2021-05-25 22:38:33 +00:00
Steven Ng fbbb122752 Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I7cd9cb314e1880d954d4e339a09c37b9dd88a371
2021-05-25 22:38:06 +00:00
TreeHugger Robot d751b126e3 Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e am: 9d308d0af0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I53dec94dd5f3c82556218f4001a60d1d082e0875
2021-05-25 22:38:04 +00:00
Bill Yi 6e3b6a95d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If51c7ec51fd23edb42c51526d85a992bc71be8e3
2021-05-25 22:37:54 +00:00
Steven Ng 88bb7ec522 Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I3a1277dfe590cc44e1816ee8748a3df24775be94
2021-05-25 22:37:50 +00:00
Bill Yi 1276d7b8d7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49ec409fe6df98ada02d378db1f652f5a7e0b278
2021-05-25 22:37:31 +00:00
Bill Yi 5a3b982292 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c8c62ce573c641cf38c6fc6cb15fcf208289c20
2021-05-25 22:37:05 +00:00
Bill Yi e70d6c492b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I46496d705598b872aedbf575425d371d291c157d
2021-05-25 22:36:33 +00:00
Tony Wickham 8ac277ebd8 Taskbar drag starts internal pre-drag before system drag
- TaskbarDragController now extends DragController.
- Currently there is no pre-drag condition, so we immediately get onDragStart(), which starts the system global drag (which cancels the original internal drag).
- Make the original view invisible during the drag and drop operation, across both internal and system drag events.
- No longer handle onDragEvent() in TaskbarView, as TaskbarDragController handles all of it now.

Test: Drag and drop from taskbar still works (bonus: starts from the correct registration point that you touched down on). Locally added a PreDragCondition and verified a seamless handoff to system drag and drop when the pre drag end condition was met.
Bug: 182981908
Change-Id: I6bf48141a5eedfc6db6f461258e880ef8146e733
2021-05-25 15:35:58 -07:00
Tony Wickham c7cbf254f3 Let DragView use ActivityContext instead of Launcher
- Make DragView abstract and extended by LauncherDragView for the explicitly Launcher-specific parts.
- Some other methods like Utilities.getFullDrawable() now accept (Activity)Context rather than Launcher.

Test: Compiles and runs, manual drag and drop
Bug: 182981908
Change-Id: I77b7a2e48ce864dd711c3232217fdba4d60c546f
2021-05-25 15:35:55 -07:00
Samuel Fufa 41f15a107f [Search] Resolve afterimage when closing allapps
Preview: https://drive.google.com/file/d/1AM6WAY4kImCgHueNvH6eXUtnHgK3U6vo/view?usp=sharing&resourcekey=0-3mzBobzFuzQXCNZRUlToYA
Test: Manual
Bug: 184711608
Bug: 188556051
Change-Id: Ib43c71083460c236347dd1f340b1ad95d7d4aa15
2021-05-25 17:34:18 -05:00
zakcohen dad8a80d19 Overview - Remove the space withheld for proactive chips
Remove the space in the ui that was being used for chips.
Centralize some of the logic around calculating the action margins to aid
that.

Bug: 179922117
Test: Local build and flash and run
Change-Id: Icd2f894c858fab475c5411f3f7c412b899d5b220
2021-05-25 15:29:08 -07:00
Steven Ng 0bc0f10aac Merge "Fix tabs abruptly reset during swipe" into sc-dev am: 530f644788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690878

Change-Id: I0fdaead265b85eac1221add68a0d1ca8ed20331f
2021-05-25 22:23:54 +00:00
Steven Ng 530f644788 Merge "Fix tabs abruptly reset during swipe" into sc-dev 2021-05-25 22:21:25 +00:00
TreeHugger Robot 9d308d0af0 Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I778e855c91ace63fc7386a6995056adf4fe9e228
2021-05-25 22:16:12 +00:00
TreeHugger Robot 73f78e5da9 Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: Ia99517b8ac343ca9298d938f0c0bf5dbeb647b5e
2021-05-25 22:14:46 +00:00
TreeHugger Robot 99623596ac Merge "Fix full widgets picker fast scroller height." into sc-dev am: 17385ce33e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683794

Change-Id: I8670660b77be16f8e1cbd8e44b7aeb4116c1564c
2021-05-25 22:14:21 +00:00
TreeHugger Robot 17385ce33e Merge "Fix full widgets picker fast scroller height." into sc-dev 2021-05-25 21:43:40 +00:00
Vinit Nayak 063cb2d892 TaskMenu in overview UI polish
Bug: 188168717
Test: TaskMenuLooks closer to mocks.
Change-Id: I1560b66a48c4c70c7c79f7307b2b76f22e30c653
2021-05-25 14:42:35 -07:00
Schneider Victor-tulias 8a3a857668 Update Gesture nav tutorial.
- Seperated back left and right edge tutorial steps
- updated back left and right tutorial step strings
- Removed feedback view timeout
- Added accessibility focus on title when feedback view appears
- Added logic to show feedback when the tutorial fragment is stopped then resumed

Test: manual

Bug: 169687177
Fixes: 188116424
Fixes: 188115939
Fixes: 188124784
Fixes: 188555152
Fixes: 188972969

Change-Id: I97755a455bf3fa4674955d5cc91ed8b02f484b76
2021-05-25 14:16:41 -07:00
Winson Chung bd6a0881d1 Merge "Revert "Enable SplitSelect flag by default"" into sc-v2-dev am: e6ba6cf940 am: 64bd150d6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722088

Change-Id: I4145df5c6cf3d7c7447b6c627882fdbcc9a89a29
2021-05-25 21:01:20 +00:00
Winson Chung 64bd150d6a Merge "Revert "Enable SplitSelect flag by default"" into sc-v2-dev am: e6ba6cf940
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722088

Change-Id: I1aded82a92c42255b23869314777f9f782f0cb2e
2021-05-25 20:46:30 +00:00
Winson Chung e6ba6cf940 Merge "Revert "Enable SplitSelect flag by default"" into sc-v2-dev 2021-05-25 20:27:49 +00:00
Winson Chung bdaa6036ec Revert "Enable SplitSelect flag by default"
This reverts commit 3f47826339.

Reason for revert: b/189245318

Bug: 189245318

Change-Id: I5e6704711cc7577102123ffc67c97a5644e7e86b
2021-05-25 20:26:01 +00:00
Samuel Fufa 880fc577c0 Remove AllApps prediction edu
Test: Manual
Bug: 183579072
Change-Id: Ibaffc5ac711e35df5256baed8be57159046fbdda
2021-05-25 14:48:14 -05:00
Sunny Goyal e20611d6f1 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 1d5c0754d6 am: 285a492a09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I8abd74db1f835dee3da9cfec0ae6a1d772f760c7
2021-05-25 19:29:19 +00:00