Commit Graph

5786 Commits

Author SHA1 Message Date
Jon Miranda 4e5664ac28 Play fallback animation when overlay is shown.
Bug: 205086529
Test: go to -1, click to open app, swipe back
Change-Id: I905511e0ac7576d2134a10088289a5ca37d1b257
2021-11-05 16:16:12 -07:00
Zak Cohen 605d89af37 Add temporary logging to try and debug: b/202414125
Bug: 202414125
Test: Local
Change-Id: I4b3a9c9bfffe72990773344762187b6cd8bf09aa
2021-11-05 14:10:58 -07:00
TreeHugger Robot f05e541234 Merge "Show divider when GroupedTaskView expanded from recents" into sc-v2-dev am: 160b1357bf am: 74cc6bfd12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16199625

Change-Id: Ie49158f4d2da863c734618953621403c52a35600
2021-11-05 20:28:49 +00:00
Schneider Victor-tulias 2bfbf3bffa Add popup menu and click handling to taskbar.
- Added popup menu support to taskbar icons
- Added item click handling for taskbar icon popup menu items

Bug: 198438631
Test: long pressed taskbar icons, pressed popup menu items, dragged taskbar icons to start multi-window mode
Change-Id: Ibc59c1eada50a877a863c075fbfd3e4accaae008
2021-11-05 13:07:09 -07:00
Sunny Goyal beefd1890c Fixing allSet page not closed if recentsAnimation takes time to start
> Also finishing the activity so that it doesn't show in home settings backstack

Bug: 204541138
Test: Manual
Change-Id: I7deec0d1ef7eec0464a0f21bf30b25cd5e18d02d
2021-11-05 13:05:49 -07:00
TreeHugger Robot 160b1357bf Merge "Show divider when GroupedTaskView expanded from recents" into sc-v2-dev 2021-11-05 19:50:24 +00:00
Winson Chung eddf565326 Remove debug tracing checks to get logs beteween tests am: cc4a1925a6 am: 45c7ff149f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16198834

Change-Id: Ida236bd009987bbc72365367b489fe29f642903a
2021-11-05 19:08:44 +00:00
Vinit Nayak d0eea50a0c Show divider when GroupedTaskView expanded from recents
* Also increased animation duration to allow
apps to get ready

Fixes: 202928293
Change-Id: I8814ec2415e7985e4f433695f6cc55f83f0c0ac2
2021-11-05 11:15:01 -07:00
Winson Chung cc4a1925a6 Remove debug tracing checks to get logs beteween tests
Bug: 201305599
Test: Presubmit
Change-Id: Iab4430f88a2cac97a056486edd97895bc30a03b1
2021-11-05 09:45:13 -07:00
Greg Kaiser 5b4145e34b Merge "Revert "launcher: use a different task menu for foldables"" into sc-v2-dev 2021-11-05 16:19:43 +00:00
Greg Kaiser 24898d3be0 Revert "launcher: use a different task menu for foldables"
This reverts commit 10eb3cd98b.

Reason for revert: Root cause of P0 b/205278434
Bug: 205278434
Bug: 193432925
Test: Local reverted and now launcher works on wembley

Change-Id: I3605c01066a3ce383d45e0a938f1e00b3c7f7bb9
Merged-In: I5ee18d3ee1b671fcaedda633e7a268addd5c5c15
2021-11-05 16:19:05 +00:00
Greg Kaiser e755dc980a Merge "Revert "launcher: use a different task menu for foldables"" 2021-11-05 16:15:15 +00:00
Greg Kaiser 6f220d92b6 Revert "launcher: use a different task menu for foldables"
This reverts commit 238f630001.

Reason for revert: Root cause of P0 b/205278434
Bug: 205278434
Test: Local reverted and now launcher works on wembley

Change-Id: I5ee18d3ee1b671fcaedda633e7a268addd5c5c15
2021-11-05 16:12:47 +00:00
Alex Chau 5544cd254e Merge "Update overview clear all button to be larger" into sc-v2-dev am: 67ddd0fefd am: 9184e1f3f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183382

Change-Id: Ic9b9ca681e0030b3076f3607788c42b0f2a89019
2021-11-05 12:13:02 +00:00
Alex Chau 67ddd0fefd Merge "Update overview clear all button to be larger" into sc-v2-dev 2021-11-05 11:49:56 +00:00
Thales Lima ed7a7b23d4 Merge "launcher: use a different task menu for foldables" into sc-v2-dev 2021-11-05 10:13:38 +00:00
Winson Chung b35b56af65 Merge "Call into shell for recent tasks" into sc-v2-dev 2021-11-04 22:59:40 +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
Vinit Nayak 04d52b48ac Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev 2021-11-04 20:47:05 +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 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 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
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
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
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
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
Winson Chung 7047a1d80e Merge "Add some logging for taskbar recreation" into sc-v2-dev am: 3b5dddbce1 am: 00ad5612b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184040

Change-Id: Id9e4825ae08c2d9ab48ce67a557c107c337fa310
2021-11-04 00:07:04 +00:00
Winson Chung 3b5dddbce1 Merge "Add some logging for taskbar recreation" into sc-v2-dev 2021-11-03 23:41:07 +00:00
Winson Chung 487ccf4cd3 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
2021-11-03 23:03:28 +00:00
Zak Cohen a5c1f31110 Add temporary logging to try and debug: b/202414125
Bug: 202414125
Test: Local
Change-Id: I1a0a65467a911eed48592542f4f21bb784286eb2
2021-11-03 15:17:44 -07:00
Tracy Zhou aeebfe7db2 Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev am: 5b92dccc5e am: 8a1eaa6735
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167967

Change-Id: I53b523eef88a2eeed9562c9f46fb6eec59aee3ec
2021-11-03 22:16:58 +00:00
Tracy Zhou 5b92dccc5e Merge "Revert "[Live Tile] App surface is above launcher even after reaching Overview"" into sc-v2-dev 2021-11-03 21:49:41 +00:00
Evan Rosky 767d4ac50e Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev am: a3defa4d39 am: 53f6ec366d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15633306

Change-Id: I5a9746b8af9f3bb7f25f29b51dd8fa1234ad45d4
2021-11-03 21:12:04 +00:00
Evan Rosky a3defa4d39 Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev 2021-11-03 20:59:08 +00:00
Winson Chung 067faf3bbe Add some logging for taskbar recreation
Bug: 201305599
Test: Manual
Change-Id: I437fe3226657ebe7b5507146fbe5e7f32e2e2fce
2021-11-03 11:17:44 -07:00
Winson Chung d9db871f79 Merge "Revert "DO NOT MERGE Fix the cutout of magnification border"" into sc-v2-dev 2021-11-03 16:49:07 +00:00
Alex Chau c91a43e110 Revert "DO NOT MERGE Fix the cutout of magnification border"
Revert "Do NOT MERGE Fix magnification border includes taskbar"

Revert submission 16003793-magnification_border

Bug: 196510717
Reason for revert: Caused NexusLauncherTests and NexusLauncherOutOfProcTests to stop running
Reverted Changes:
Ibbc9c51ea:Do NOT MERGE Fix magnification border includes tas...
Ida2bb5bf1:DO NOT MERGE Fix the cutout of magnification borde...

Change-Id: I6b2123aedd2a2f23142a34f158d2d9ab71948a18
2021-11-03 14:19:23 +00:00
Vinit Nayak 1bdae2753d Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9 am: 2535db410c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161

Change-Id: Ic36f941b1436137c6eb82a0613c9612e61352a47
2021-11-03 05:29:26 +00:00
Ryan Lin 0ee6940bd0 Merge "DO NOT MERGE Fix the cutout of magnification border" into sc-v2-dev 2021-11-03 05:24:27 +00:00
Vinit Nayak 874ea446c9 Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev 2021-11-03 05:04:32 +00:00
ryanlwlin 571df892f7 DO NOT MERGE Fix the cutout of magnification border
If the window is unmagnifiable, it might cause the cutout of
magnification region.
To fix it, we set the flag when the touchable region is not the
entier window frame.

Bug: 196510717
Test: manual test on gestural and 3-button navigation
Change-Id: Ida2bb5bf120038ac9153e12790b93bdec195adbc
2021-11-03 10:50:09 +08:00
Bill Lin 6648ab32bc Merge "Allow One-handed gesture when densityDpi > 600" into sc-qpr1-dev 2021-11-03 00:59:46 +00:00
Zak Cohen 42ff088123 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58 am: 78515f70cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152

Change-Id: I2144a5749005cf28a85cd8dd0d8d4ceb1b006aee
2021-11-03 00:05:22 +00:00
Zak Cohen 427113fa58 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev 2021-11-02 23:33:31 +00:00
Vinit Nayak 3fabe054c2 Revert "Align OverviewActionsView for 3 button taskbar"
This reverts commit 97d64ea8a1.

Reason for revert: b/204891006

Change-Id: I9d40a5c8c9bce6b818779ebaf748bb9bd9231caf
2021-11-02 22:08:33 +00:00
Zak Cohen 21f6189cd5 Add temporary logging to try and debug: b/202414125
Bug: 202414125
Test: Local
Change-Id: I641f9877972f3f584e5fc618d89c65c52f0d1da0
2021-11-02 14:17:15 -07:00
Alex Chau b290e94020 Crop letterbox insets when thumbnail is from different aspect ratio
- Extracted isAspectLargelyDifferent and use that to determine if letterbox inset should be cropped
- Always attempt to fit thumbnail width to avoid drawing area outside the thumbnail

Bug: 199743725
Test: manual
Change-Id: I2a7b20730055858b2376788e3a1fbbc66c0967e2
2021-11-02 18:09:34 +00:00
Tracy Zhou b58eb1bc63 Revert "[Live Tile] App surface is above launcher even after reaching Overview"
This reverts commit e9e5e51d73.

Reason for revert: This change breaks image indicators feature

Fixes: 195665605
Change-Id: I2abff19955e1594a40f06bfb4972721eed1ee16f
2021-11-01 23:49:00 -07:00