Commit Graph
78507 Commits
Author SHA1 Message Date
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
Sunny Goyal c7abbf1149 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372 am: 7c6426c2b4 am: 02cd481027
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: If563b0f1ce4431243a7a03744019e5b23224a52d
2021-05-25 19:29:09 +00:00
Sunny Goyal 1b8bad7610 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 6ba7479cf5 am: 3d22fce89b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I89c8da71f97016a81466462e03c4a0fb7d54854c
2021-05-25 19:28:55 +00:00
Sunny Goyal 0599d27385 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372 am: 867aeb5436 am: 6150dd4a64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: I3f996e3fe83a9c093c24b041c0769647296c82bc
2021-05-25 19:27:35 +00:00
Sunny Goyal 285a492a09 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 1d5c0754d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: Ib8c1d72e5f068bcbb7319d72d4513888a388c077
2021-05-25 19:00:19 +00:00
Sunny Goyal 02cd481027 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372 am: 7c6426c2b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: Ib04b60c4c30af5fe2284b6718af941666ea80f6a
2021-05-25 19:00:11 +00:00
Sunny Goyal 3d22fce89b Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 6ba7479cf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: Ibe400b26bf6ab6466d7c3a3753d307c37b706c45
2021-05-25 18:56:47 +00:00
Sunny Goyal 6150dd4a64 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372 am: 867aeb5436
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: Ib004f44dd66e019cdd913b4f1ca91c37eb39af3c
2021-05-25 18:56:38 +00:00
Sunny Goyal 6ba7479cf5 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I4683179ba16afb819a7059ea3fa5f1f2321c72ff
2021-05-25 18:43:35 +00:00
Sunny Goyal 867aeb5436 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: I5a328837285d1600dd80d0ff9a17cf577f546210
2021-05-25 18:43:23 +00:00
Sunny Goyal d2adddc386 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I72cafafc430b2995226575d3f5d64a0a13a78107
2021-05-25 18:42:03 +00:00
Sunny Goyal 0322ecd639 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: If446a3055be9d3505ec7aaf285c68781a3edd367
2021-05-25 18:41:52 +00:00
Sunny Goyal 1d5c0754d6 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I771a69b3c734ba3de73a84d07a6ce29c125ecc40
2021-05-25 18:41:48 +00:00
Sunny Goyal 7c6426c2b4 Merge "Updating method for getting themed icon" into sc-dev am: a71269e372
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682086

Change-Id: I4f15813317929f1e7ac9e09b34fe50e7d636aaf1
2021-05-25 18:41:39 +00:00
Alina Zaidi 97c998c8e0 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542 am: b4035643f3 am: 7a9a9eea19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I68f3e00e7ac5f3fbb95a0c1580f3d626ae016bbe
2021-05-25 18:29:06 +00:00
Alina Zaidi 82f87a84c5 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542 am: ba4eaf73b5 am: 866bb04449
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I062e92adf8b521a7c63ce7fbbcaea2c94481a6aa
2021-05-25 18:28:08 +00:00
Sunny Goyal c4c3269206 Crossfading splashscreen if icon is themed
Bug: 188840653
Test: Manual
Change-Id: Ibd00bb1a94576a7512872eba39a936c174f9871d
2021-05-25 18:25:18 +00:00
Sunny Goyal 47da5d628c Merge "Using icon color for dot and halo" into sc-dev 2021-05-25 18:24:56 +00:00
Sunny Goyal a71269e372 Merge "Updating method for getting themed icon" into sc-dev 2021-05-25 18:24:38 +00:00
Alina Zaidi 7a9a9eea19 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542 am: b4035643f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: Ibf9d55278f721dba10346bb76485556cd8f5d215
2021-05-25 18:11:26 +00:00
Alina Zaidi 866bb04449 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542 am: ba4eaf73b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I9e3d9742444c679b2bb4e4e117f4f92a6f022388
2021-05-25 18:09:33 +00:00
Alina Zaidi ba4eaf73b5 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I5f8e69315a7752ac2bf0484ec5729016ee1a5687
2021-05-25 17:56:30 +00:00
Alina Zaidi 07fa2439e5 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I2730e1da749e883b65b3d06a5ea4f3b6e841451a
2021-05-25 17:54:57 +00:00
Alina Zaidi b4035643f3 Merge "Add more education tips for widgets. (1/3)" into sc-dev am: e6521ad542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14620021

Change-Id: I513616572145f5079d820c956f6c9314c35615dc
2021-05-25 17:54:33 +00:00
Alina Zaidi e6521ad542 Merge "Add more education tips for widgets. (1/3)" into sc-dev 2021-05-25 17:35:27 +00:00
Evan Rosky e902918a31 Fix launcher-in-transition-targets detection
Shell transitions promotes animation up to root task so
we can't compare to leaf-taskid derived from ActivityRecord.getTaskId
since home tasks are all children of a root and thus aren't
organized.

This replaces the task-id check with a componentname check.

Bug: 172695387
Test: with shell transit enabled, launch an app from launcher
      and observer launcher content animating.
Change-Id: Ieeca72b57ec47c9cbe15e635f5026b53edebd0ad
2021-05-25 10:22:54 -07:00
TreeHugger Robot 1f4a0863c8 Merge "Enable SplitSelect flag by default" into sc-v2-dev am: 1919443e37 am: 4d6e0c8677
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14647731

Change-Id: Id79a9b5abb9e4cf852454d4a7a8169dff185a0f6
2021-05-25 17:08:49 +00:00
TreeHugger Robot 4d6e0c8677 Merge "Enable SplitSelect flag by default" into sc-v2-dev am: 1919443e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14647731

Change-Id: Ief27ebd1b90cefe435dc8558b33f354d1e8308c1
2021-05-25 16:46:12 +00:00
TreeHugger Robot 1919443e37 Merge "Enable SplitSelect flag by default" into sc-v2-dev 2021-05-25 16:29:10 +00:00
Stevie Kideckel 43a6be4b82 Remove intrinsic padding from widget previews
Also, scale down the preview size if it's wider than the target cell.

The intrinsic padding prevents the corners of the preview from being
rounded correctly and can lead to clipping or no rounding, especially at
larger sizes.

Bug: 187141692
Test: verified locally
Change-Id: Ie57ad57ba7c102330324bd0439acc55ff4fd83ff
2021-05-25 16:26:32 +00:00
TreeHugger Robot f14ff042f8 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: ce0e15d409 am: 482021171a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I415073d61576d1b883849c0e4798aadf833057ae
2021-05-25 13:28:26 +00:00
TreeHugger Robot 796ac6e8d7 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 057a0de278 am: 18d4cb6653
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: I12b541f3ec3895b054a9b50559f9918134619c18
2021-05-25 13:28:21 +00:00
Steven Ng 42387aec45 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: d78ad7d377 am: 680ec044e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I9a442b41bcb3546e0ff9c1b42953bbf3eec7788e
2021-05-25 13:28:16 +00:00