Ryan Lin
845fbfa7b7
Merge "Fix the cutout of magnification border" into sc-v2-dev am: b6e3caeb7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214743
Change-Id: Ie8b622bd531ca8600a7737b0ff5ea4c024db0be9
2021-11-11 02:19:56 +00:00
Ryan Lin
b6e3caeb7a
Merge "Fix the cutout of magnification border" into sc-v2-dev
2021-11-11 01:56:21 +00:00
TreeHugger Robot
bf6842025b
Merge "launcher: use a different task menu for foldables" into sc-v2-dev am: 0aadbc6b37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214330
Change-Id: I99b1bb0531dcbfdbc6e8899da06ff7d82c817fed
2021-11-10 20:18:23 +00:00
TreeHugger Robot
0aadbc6b37
Merge "launcher: use a different task menu for foldables" into sc-v2-dev
2021-11-10 19:45:36 +00:00
Thales Lima
c335ad28a2
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
Fixes: 205298731
Test: atest NexusLauncherTests
Change-Id: I7a5c1fb4800a309f40fadb2df0f6c3a4c3f42679
2021-11-10 17:30:13 +00:00
Winson Chung
52d22171a2
Merge "Support multiple tasks in recentsaninmation onTaskAppeared" into sc-v2-dev am: 7ce4af988b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16184047
Change-Id: Iea2192b1d3f8c7289877657fbf4a1abe018be2b6
2021-11-10 17:29:16 +00:00
Winson Chung
7ce4af988b
Merge "Support multiple tasks in recentsaninmation onTaskAppeared" into sc-v2-dev
2021-11-10 17:05:46 +00:00
Vinit Nayak
6f15d11ebf
Merge "Shows AppPairs in previous tasks" into sc-v2-dev am: 524d6b83e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134803
Change-Id: I726ce816e156897ec719cc7108315a7f49b5d2d1
2021-11-10 16:47:30 +00:00
Vinit Nayak
524d6b83e9
Merge "Shows AppPairs in previous tasks" into sc-v2-dev
2021-11-10 16:33:50 +00:00
TreeHugger Robot
3f6a430c20
Merge "Don't skip adding stub home task if applyLoadPlan hasn't run" into sc-v2-dev am: e4f6f951da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16221737
Change-Id: Id43dc63c7799e1ebedecac7f524e4b66a6772546
2021-11-10 09:52:15 +00:00
ryanlwlin
1ee6bd7bb6
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.
To fix NexusLauncherTests, we add a flag to avoid updateViewLayout
too frequently that would impact memory test and have the performance
issue.
Bug: 196510717
Test: manual test on gestural and 3-button navigation
presumbit test pass
run atest NexusLauncherTests with foldables
Change-Id: Ifef81640fe6c08ee1b0dcd3915227fba3002ea43
Merged-In: Ifef81640fe6c08ee1b0dcd3915227fba3002ea43
(cherry picked from commit c8d588cff6 )
2021-11-10 09:51:54 +00:00
Vinit Nayak
4d57e7091f
Shows AppPairs in previous tasks
...
Fixes: 203006080
Change-Id: I63912a61e7617ec41f229c19cc267dc5a1857bae
2021-11-09 13:47:18 -08:00
Alex Chau
7c4bc7dd74
Don't skip adding stub home task if applyLoadPlan hasn't run
...
- In FallbackRecentsTest.goToOverviewFromHome, home task gesture starts before applyLoadPlan, causing shouldAddStubTaskView to return false because getTaskViewCount is 0. This falsely avoid home task to be added to RecentsView, causing the animation to be drastically different from what user sees outside the test
- Added a check on whether applyLoadPlan is ever called to solve the problem
Fix: 205580523
Test: FallbackRecentsTest.goToOverviewFromHome
Change-Id: I2e435e56008e916e8f7e1037d3fa3c8177437d13
2021-11-09 19:01:23 +00:00
TreeHugger Robot
13b23613fa
Merge "Fix a case that task jump when dismissing" into sc-v2-dev am: 055d9a5f07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16194618
Change-Id: I31aae2a9bed46f7421f330126a4a1f5cbca48767
2021-11-09 16:19:50 +00:00
TreeHugger Robot
055d9a5f07
Merge "Fix a case that task jump when dismissing" into sc-v2-dev
2021-11-09 16:03:45 +00:00
TreeHugger Robot
382f0482db
Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev am: ef18f8c5a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200930
Change-Id: If8de6389bb53307def876328001092aeb3504b3a
2021-11-09 02:00:36 +00:00
Evan Rosky
e4102c6ffe
Support multiple tasks in recentsaninmation onTaskAppeared
...
Needed for app-pairs support
Bug: 204094785
Test: TODO
Change-Id: I3c5f8097b04b4033ba887e3c6d9e5ffd900df80e
2021-11-08 17:40:13 -08:00
TreeHugger Robot
ef18f8c5a2
Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev
2021-11-09 01:35:48 +00:00
TreeHugger Robot
1f60b796e3
Merge "Play fallback animation when overlay is shown." into sc-v2-dev am: 44fcfa5bfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202910
Change-Id: I2d805b0b53dfcf4ca94debafca0d41ce3efb5c23
2021-11-08 20:59:53 +00:00
TreeHugger Robot
b441ef3a4f
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: c010ea2f1b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200933
Change-Id: Iea056ea82f4dfb1b7ba01e1fbd59b55c5055b88b
2021-11-08 20:59:48 +00:00
TreeHugger Robot
44fcfa5bfd
Merge "Play fallback animation when overlay is shown." into sc-v2-dev
2021-11-08 20:49:58 +00:00
TreeHugger Robot
c010ea2f1b
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev
2021-11-08 20:33:00 +00:00
Alex Chau
5885b074dc
Fix a case that task jump when dismissing
...
- Fixed an edge case that RecentsView was not snapped to last tasks, but become snapped to last tasks after dismiss, as last pages' scroll is the position where ClearAllButton is barely invisible, instead of aligned to mLastComputedTaskSize.
- Fixed a case that misclassifed as split select
Fix: 202941373
Test: manual
Change-Id: Ib50dda471189da4325cd8ed57d600cc64907c978
2021-11-08 16:57:38 +00:00
TreeHugger Robot
6bef61cb68
Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650
Change-Id: I1e6a4b81d0c4f8865f84c4252887d0e16ec310af
2021-11-08 13:31:17 +00:00
TreeHugger Robot
3555ef3b31
Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev
2021-11-08 13:15:44 +00:00
Pat Manning
04486f19bb
Add to tapl quickswitch test for testing intermediate carousel.
...
Test: TaplTestsQuickstep.java
Fix: 197630182
Change-Id: I5f325995e22b76eee710154ca54a050eaf70b150
2021-11-08 11:32:56 +00:00
Jerry Chang
68f7c965b4
Merge "Accept snapshot list when cancelling recents animation" into sc-v2-dev am: 2e2f49e8a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16192191
Change-Id: I6a316c2378fc10cf0d6a04e258192e174ceeb8bb
2021-11-08 10:39:13 +00:00
Jerry Chang
2e2f49e8a5
Merge "Accept snapshot list when cancelling recents animation" into sc-v2-dev
2021-11-08 10:22:34 +00:00
TreeHugger Robot
c2f320703c
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-11-08 02:32:52 +00:00
Jerry Chang
331f46fab3
Accept snapshot list when cancelling recents animation
...
Bug: 200813008
Test: enter overview after activated split screen, observed task
thumbnails showing with correct bounds after roation.
Change-Id: Ifea17d2c685d16db111c4fab88e131595254b9a5
2021-11-08 09:55:43 +08:00
TreeHugger Robot
a3e2aa240e
Merge "Add popup menu and click handling to taskbar." into sc-v2-dev am: 68953fc693
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16042092
Change-Id: I797ed800a07854f47f7732600232457790be0bb1
2021-11-05 23:42:59 +00:00
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
Bill Yi
1e479563d5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7998165953f478389339b0530be5b6a56e72950b
2021-11-05 22:09:01 +00: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
82a7d3424d
Merge "Show divider when GroupedTaskView expanded from recents" into sc-v2-dev am: 160b1357bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16199625
Change-Id: Ie03a52d0467e6c5c664481bdaeff6c9dbfc5ff81
2021-11-05 20:12:00 +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
e09eda858b
Remove debug tracing checks to get logs beteween tests am: cc4a1925a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16198834
Change-Id: I11364873c660b0dbdd72e5e52ff60279e0ee1742
2021-11-05 18:41:58 +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
6017bc5d28
Merge "Revert "launcher: use a different task menu for foldables"" into sc-v2-dev am: 5b4145e34b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16199031
Change-Id: I0a3bee097128497403f56971341c9430eeed833a
2021-11-05 16:38:21 +00: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
Alex Chau
82d68a1737
Merge "Update overview clear all button to be larger" into sc-v2-dev am: 67ddd0fefd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183382
Change-Id: I4ff1fc6e8cc2c2f0f558e9f84e83c6280848d92c
2021-11-05 12:03:06 +00:00
TreeHugger Robot
0fe09176bf
Merge "Make Launcher activity restart on density change" into sc-v2-dev am: e641701c9f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16183372
Change-Id: I101821fd52f736fe0859f5dbe694bc33dec06da0
2021-11-05 12:03:01 +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
TreeHugger Robot
e641701c9f
Merge "Make Launcher activity restart on density change" into sc-v2-dev
2021-11-05 11:48:20 +00:00
Thales Lima
44d51af218
Merge "launcher: use a different task menu for foldables" into sc-v2-dev am: ed7a7b23d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16174368
Change-Id: I6ca50a5571ad050f2e911b1eaf406e3961e04baa
2021-11-05 10:30:08 +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