Commit Graph

60459 Commits

Author SHA1 Message Date
Winson Chung de3be5a164 [automerger skipped] Merge "Call into shell for recent tasks" into sc-v2-dev am: b35b56af65 am: 2371c5107e -s ours
am skip reason: Merged-In I4ac7b472ce2e0a3b2574dc6d8f4c1761a0ad993a with SHA-1 487ccf4cd3 is already in history

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

Change-Id: Ia93997a5e3fdd209e11f36c24b26354285781e4d
2021-11-04 23:27:35 +00:00
Winson Chung 2371c5107e Merge "Call into shell for recent tasks" into sc-v2-dev am: b35b56af65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16070584

Change-Id: I7b1cceb698c774f1c14ace7586f5ade1c0ff2611
2021-11-04 23:11:59 +00:00
Winson Chung 8eb6215419 Merge "Call into shell for recent tasks" into sc-v2-dev am: b35b56af65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16070584

Change-Id: I8b973e7d0cd85432eb58f228779f0b1997afe4fb
2021-11-04 23:11:42 +00:00
Android Build Coastguard Worker e2bd59dc74 Snap for 7883892 from a8c19019c6 to sc-v2-release
Change-Id: I3aa62158c0c178294e61e75fd89992a87251fd13
2021-11-04 23:10:42 +00:00
Winson Chung b35b56af65 Merge "Call into shell for recent tasks" into sc-v2-dev 2021-11-04 22:59:40 +00:00
Samuel Fufa efb2f147bd Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev am: 4112ae6a5b am: 2dd7be71fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16172124

Change-Id: I7f7aca8646a4a7f9033864e1d69096ad164695aa
2021-11-04 21:11:19 +00:00
Vinit Nayak 52550cc464 Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev am: 04d52b48ac am: ac29ae1847
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16149981

Change-Id: I9f5cf444a15ec02f80ae2acc82df79b8dca35a1d
2021-11-04 21:11:07 +00:00
Samuel Fufa 3e2d4d3c1e Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev am: 4112ae6a5b am: 7f355ff178
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16172124

Change-Id: I4476210f378bdfe5e311ab8814db563524638880
2021-11-04 21:10:19 +00:00
Samuel Fufa 2dd7be71fd Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev am: 4112ae6a5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16172124

Change-Id: Ia70b58dae6b9f7c10c85c2d8f88408828b361f85
2021-11-04 21:05:52 +00:00
Samuel Fufa 7f355ff178 Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev am: 4112ae6a5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16172124

Change-Id: I8dac511ad4116e9a1355962b5ec12f2f28029591
2021-11-04 21:04:37 +00:00
Vinit Nayak 57221ac7f9 Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev am: 04d52b48ac am: 410dc840dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16149981

Change-Id: I58fec441fcf24f29415cf8f283dbf6956b6792a4
2021-11-04 21:02:11 +00:00
Samuel Fufa 4112ae6a5b Merge "[Search] Show search suggestions with in Recyclerview" into sc-v2-dev 2021-11-04 21:00:15 +00:00
Vinit Nayak ac29ae1847 Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev am: 04d52b48ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16149981

Change-Id: I15483596ba5920048e5eca1f95274feb6bdddefc
2021-11-04 20:59:39 +00:00
Vinit Nayak 410dc840dc Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev am: 04d52b48ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16149981

Change-Id: I8e46d5d41e950a9b913f9f6060aaa08bb11629c1
2021-11-04 20:59:25 +00:00
Vinit Nayak 04d52b48ac Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev 2021-11-04 20:47:05 +00:00
Tony Wickham 3cfa5edc93 Fix misaligned folder creation drag over target
Previously, the folder creation distance was based on the center of the cell, rather than the *visual* center, i.e. around the icon. Updated to use existing getWorkspaceVisualDragBounds() to handle this.

Test: with DEBUG_VISUALIZE_OCCUPIED=true, ensure green circles are centered around the app icons; manually drag and drop to check the drawn regions are correct
Bug: 204406063
Change-Id: I691a5cbbfc18c88436b88b7bda42f7920b9a5750
2021-11-04 13:40:05 -07:00
Tony Wickham 0ac045fe23 Update CellLayout.DEBUG_VISUALIZE_OCCUPIED to include drag over targets
Instead of just drawing the occupied cells in red, now we draw the occupied cells based on drag over regions:
- Dragging over the red regions will reorder the cell
- Dragging over the green regions will create/add to a folder

Test: visual with internal flag on
Bug: 204406063
Change-Id: I62105c1c1a1101b6cd6f9fd222980d03ba6d8b84
2021-11-04 13:27:56 -07:00
TreeHugger Robot 1a39c02d87 Merge "Fix overview scroll triggering haptics on swipe up gesture" 2021-11-04 20:10:47 +00:00
Schneider Victor-tulias f46c3dcb45 Merge "Fix lost gesture nav progress on screen rotation." into sc-v2-dev am: cc0224fe52 am: d424a365c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150114

Change-Id: I08727129b0b1071ee82ebd6be1106c9e467aac28
2021-11-04 19:59:08 +00:00
Schneider Victor-tulias 8b31b6d0e5 Merge "Fix lost gesture nav progress on screen rotation." into sc-v2-dev am: cc0224fe52 am: 1851d8498e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150114

Change-Id: I3f3105478825de0bd8a0a3162d977e98c39b9903
2021-11-04 19:58:21 +00:00
Schneider Victor-tulias d424a365c1 Merge "Fix lost gesture nav progress on screen rotation." into sc-v2-dev am: cc0224fe52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150114

Change-Id: I9611dd9244896b8a616b949f8c6b268cecfbdabf
2021-11-04 19:44:33 +00:00
Schneider Victor-tulias 1851d8498e Merge "Fix lost gesture nav progress on screen rotation." into sc-v2-dev am: cc0224fe52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150114

Change-Id: I739fe7980761daa9dd7566def2a18496e7eed32a
2021-11-04 19:43:07 +00:00
Schneider Victor-tulias cc0224fe52 Merge "Fix lost gesture nav progress on screen rotation." into sc-v2-dev 2021-11-04 19:32:15 +00:00
Winson Chung f097e628dc Call into shell for recent tasks
- No change in behavior from today until groups are actually returned
  from the shell

Bug: 202740477
Test: atest RecentTasksListTest
Change-Id: I4ac7b472ce2e0a3b2574dc6d8f4c1761a0ad993a
Merged-In: I4ac7b472ce2e0a3b2574dc6d8f4c1761a0ad993a
2021-11-04 18:42:46 +00:00
Winson Chung 4c3b9bf77b Merge "Call into shell for recent tasks" 2021-11-04 18:39:32 +00:00
Zak Cohen ecd9d87946 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 75cc3a2f86 am: 0b33b419e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16185550

Change-Id: I9e5db47213de4c7e347f7a8a53a762a4fd119ab1
2021-11-04 18:29:32 +00:00
Alex Chau a8dfee001f Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b am: 46d39671e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: I3f59ac2e3c520074df69b7528a43db41ab8fb2c5
2021-11-04 18:29:23 +00:00
TreeHugger Robot 14666d76f1 Merge "Update all home screen widgets size upon workspace inset change" into sc-v2-dev am: 4c96d446a5 am: 75a0932fc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191333

Change-Id: I918dcf2436efe23a13784ba6fe458b510c176148
2021-11-04 18:29:13 +00:00
Zak Cohen e66c0d562c Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 75cc3a2f86 am: 387052d932
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16185550

Change-Id: If0d92814446bde9b227040ce4c8a51f9a2d24d54
2021-11-04 18:28:51 +00:00
Alex Chau b0f5e857c7 Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b am: eeef3b637a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: Iaa5d012ab76021d25607d54444db8d41dc578f8a
2021-11-04 18:28:44 +00:00
TreeHugger Robot 30fedb9a4f Merge "Update all home screen widgets size upon workspace inset change" into sc-v2-dev am: 4c96d446a5 am: 5d9278bcec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191333

Change-Id: Ic1407c141713259701844452cb4185dc0a06891e
2021-11-04 18:28:22 +00:00
Zak Cohen 0b33b419e0 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 75cc3a2f86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16185550

Change-Id: I899470e4f44ca492071d59774b86285725b6c83d
2021-11-04 18:12:24 +00:00
Alex Chau 46d39671e2 Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: I7cfaefd1b136a92c29a46dfc178f1133cb9ec4da
2021-11-04 18:12:19 +00:00
TreeHugger Robot 75a0932fc6 Merge "Update all home screen widgets size upon workspace inset change" into sc-v2-dev am: 4c96d446a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191333

Change-Id: Ibeeb4f2b157e2763456663d9dfc72ef61ec6b6d0
2021-11-04 18:12:14 +00:00
Zak Cohen 387052d932 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 75cc3a2f86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16185550

Change-Id: I991e039f03c517feeb805a74967bf72878a48d7a
2021-11-04 18:11:06 +00:00
Alex Chau eeef3b637a Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev am: a917d24d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184044

Change-Id: I03c254acdfc75a256365cc220c6f41189033db65
2021-11-04 18:10:58 +00:00
TreeHugger Robot 5d9278bcec Merge "Update all home screen widgets size upon workspace inset change" into sc-v2-dev am: 4c96d446a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191333

Change-Id: Ic5c66ffb411a1a963da88bb15e4a09f28618977c
2021-11-04 18:10:49 +00:00
Zak Cohen 75cc3a2f86 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev 2021-11-04 18:06:25 +00:00
Alex Chau a917d24d2b Merge "Testing to see if using isInStableState is better condition vs getCurrentStableState" into sc-v2-dev 2021-11-04 17:43:35 +00:00
TreeHugger Robot 4c96d446a5 Merge "Update all home screen widgets size upon workspace inset change" into sc-v2-dev 2021-11-04 17:39:06 +00:00
Thales Lima 10eb3cd98b launcher: use a different task menu for foldables
Foldables use a different menu from phones, positioned either to the
right or left of the app icon, and display an arrow. Since TaskMenuView
is very specific for handhelds, it was cleaner to create another class
to handle foldables case extending from ArrowPopup.

This creates a working menu, the correct style will come in later CLs.

Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
Merged-In: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
2021-11-04 16:40:37 +00:00
TreeHugger Robot a153ab9e2c Merge "launcher: use a different task menu for foldables" 2021-11-04 16:39:20 +00:00
Alex Chau 56bd257478 Update overview clear all button to be larger
- Tuned the size and corner radius
- Tuned the margin from screen edge
- Tuned the vertical position

Bug: 204153113
Test: manual
Change-Id: Ibf3df599b31c7ecc2c9c951fc89e7e09c90253ef
2021-11-04 16:02:17 +00:00
Alex Chau 60fc963ac0 Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6 am: 759ba54852
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: I26656a330bc5e48684e32d6e0b5e6bd101ab66e1
2021-11-04 14:59:02 +00:00
Alex Chau 5a99f47edf Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6 am: 2b2e9e701a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: Ib2f17869f636c379d846bc41f05e5a50e8b78f41
2021-11-04 14:58:26 +00:00
Alex Chau 759ba54852 Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: I9e7a24d8cec0d5b1d4ab603eaa2930725c742d33
2021-11-04 14:41:10 +00:00
Thales Lima 238f630001 launcher: use a different task menu for foldables
Foldables use a different menu from phones, positioned either to the
right or left of the app icon, and display an arrow. Since TaskMenuView
is very specific for handhelds, it was cleaner to create another class
to handle foldables case extending from ArrowPopup.

This creates a working menu, the correct style will come in later CLs.

Bug: 193432925
Test: open Overview and tap the app icon
Change-Id: Icb068954e1e20a52d80c16c52d8e38ce9a181a8b
2021-11-04 14:40:47 +00:00
Alex Chau 2b2e9e701a Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev am: a8c19019c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182791

Change-Id: I84fcfaa55e1ca492e241fe6519e6470e0e90ee2c
2021-11-04 14:39:47 +00:00
Alex Chau a8c19019c6 Merge "Disable Tapl pressBack and dragToFolder Tests" into sc-v2-dev 2021-11-04 14:29:13 +00:00
Steven Ng 91b46d1ba3 Update all home screen widgets size upon workspace inset change
Test: Add a clock widget to the home screen. Then, change the navigation
      gesture. Go to home screen to confirm the clock widget is rendered
      as expected in the portrait. Then, rotate the device to landscape.
      Confirmed the clock widget is rendered correctly in the landscape.
Fix: 202837404
Change-Id: I93b70c53f10c8150131b183defc8baf01e5924a8
2021-11-04 12:00:03 +00:00