Commit Graph

32709 Commits

Author SHA1 Message Date
Steven Ng 680ec044e5 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: d78ad7d377
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I603b4628e346f7b8bb822f775558916ccfd2bfa8
2021-05-25 12:57:31 +00:00
shawnlin 121c47cb3e Support the nav animation in widget launch remote animation am: 3380ab3053 am: a55c5923d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I65912499a45939d14982e5d0dd0fab223fc03a6a
2021-05-25 12:57:21 +00:00
András Klöczl 614a98fdea Merge "Add two panel home support for page binding logic" into sc-v2-dev am: adbe369451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14589972

Change-Id: I5ba292eb91bdafc480b9032c07fb0ad9e5c77192
2021-05-25 12:24:49 +00:00
TreeHugger Robot 27a2f3ca25 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89 am: 21d92dc101
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I3973a0917f28da2e67545a89aad3505607d3b949
2021-05-25 12:24:33 +00:00
TreeHugger Robot 744123adea Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7 am: 4cd5fee186
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: Ie439f108e421682f778f5dd29712526f45421fd9
2021-05-25 12:24:14 +00:00
Steven Ng f3738aba22 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704 am: 2ed3087743
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Ibb1803b1722bd370454770f352a2b80b8184ff44
2021-05-25 12:23:56 +00:00
shawnlin a66d58196e Support the nav animation in widget launch remote animation am: 3380ab3053 am: b3b2b64588
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I5e96da20feb2660ba809aed77772a3a645b23ea5
2021-05-25 12:23:37 +00:00
Alex Chau 95f4548a7d Always focus a task in overview am: 960a2b2696
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622874

Change-Id: Icc0c5acb6701347d1d68e45819a8f03406848441
2021-05-25 12:23:17 +00:00
András Klöczl adbe369451 Merge "Add two panel home support for page binding logic" into sc-v2-dev 2021-05-25 12:04:55 +00:00
TreeHugger Robot 21d92dc101 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev am: 8deaffed89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14701660

Change-Id: I7b7c006bf4af71badad74897592fbbd273fc5961
2021-05-25 11:59:30 +00:00
TreeHugger Robot 4cd5fee186 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev am: 1002981fd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14602830

Change-Id: Iab84c81890bbcc9ee50507513f62e0e8cddd812a
2021-05-25 11:59:13 +00:00
Steven Ng 2ed3087743 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: Id206122b6b60ab3228388dca8db67db8318fefd3
2021-05-25 11:58:29 +00:00
shawnlin b3b2b64588 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I9e8632a69c8baa0ffdb4b3d1e83d3f361e40d340
2021-05-25 11:55:07 +00:00
TreeHugger Robot 8deaffed89 Merge "Fix ripple effect shown when tapping an app row in widgets picker" into sc-dev 2021-05-25 11:53:33 +00:00
Steven Ng d78ad7d377 Merge "Remove all apps tabs elevation" into sc-dev am: 2c7c629704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682327

Change-Id: I7a67ee8b6d64c633bcd898e812f3d145d8972f77
2021-05-25 11:50:26 +00:00
shawnlin a55c5923d3 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I71a5271424f76bbbeed44ae6c094f122defee67f
2021-05-25 11:49:41 +00:00
TreeHugger Robot 1002981fd7 Merge "Adjust padding, margin of tabs in the WidgetsFullSheet" into sc-dev 2021-05-25 10:49:39 +00:00
Steven Ng 2c7c629704 Merge "Remove all apps tabs elevation" into sc-dev 2021-05-25 10:33:14 +00:00
shawnlin 3380ab3053 Support the nav animation in widget launch remote animation
Launcher now support remote animation for widget but doesn't add the nav
animation for this type of animation.

Add the nav animation in widget launch remote animation in launcher.

Bug: 185303414
Test: manual - launch a widget in launcher and observe the nav bar
Change-Id: I11f4bd75b9624118b8ffef09c99f54fc7f1fbbca
2021-05-25 03:43:25 +00:00
Andras Kloczl 55edfe55f7 Add two panel home support for page binding logic
There's a logic which prioritizes the binding for the
current page and defers the other pages' binding.
If two panel home is enabled, we want to bind both pages
together. LauncherPageRestoreHelper has been created to
contain the logic for persisting restoring and calculating
which pages to load immediately.

Test: manual + run LauncherPageRestoreHelperTest robo test
Bug: 174464691
Change-Id: I57ac3f7150303b95b272e922f44bda26f9d5ce2a
2021-05-24 23:22:06 +02:00
Alex Chau 960a2b2696 Always focus a task in overview
- Focus first task when applying load plan
- Focus the next task in shorter row when focused task is dismissed, scale the snapshot and translate the task into focused position
- Always show actions view as there is always a focused task. Update scroll alpha when toggling grid enabled
- In fallback recents, take into account that home task will be dismissed when determining rows for the grid, ensuring next focused task won't affect row balancing
- Bring back clearAllShortTotalCompensation as there isn't always a snappedTaskView (e.g. when snapped to ClearAllButton)
- Ensure that getFocusedTaskView is only used when showAsGrid is true

Bug: 187839470
Fixes: 188001858
Fixes: 189057812
Test: manual
Change-Id: I6f31ef469c58fda70d2dd8caa2ee7d8a80c7f03b
2021-05-24 18:13:04 +01:00
Steven Ng f375e8bebc Fix ripple effect shown when tapping an app row in widgets picker
Test: Open the full widgets and tap an app. Ripple effect is applied
      to the entire row rather than just on the arrow.
Bug: 188873069
Change-Id: Id77b2055f6bc31c12bb19e695ea44aeaff36c4a6
2021-05-24 16:32:56 +01:00
Steven Ng f4afb6bc17 Remove all apps tabs elevation
Test: Set up a work profile. Open all apps and observe no shadow around
      tabs.
Bug: 188727345
Change-Id: I5b8594002dbd8155b45376103d44fbda12ebe001
2021-05-24 14:55:33 +01:00
Steven Ng ede641bd77 Adjust padding, margin of tabs in the WidgetsFullSheet
Also remove elevation set to tab to remove unwanted shadow.

Test: Set up a work profile. Then, open the full widgets picker.
      Observe padding & margin of the work / personal tabs.
Bug: 188221455
Change-Id: I761cb1c1410f87c80a5fdca3803fb8b099d499d6
2021-05-24 11:40:16 +01:00
Jonathan Miranda e9031274a2 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b am: a4b834fe72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I7e74cd1602beb5a259f4cd9642e16f825a50ac17
2021-05-22 05:03:00 +00:00
Jonathan Miranda 6f8bc6502f Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b am: f3649f5e98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I9c6c072b82ae8ef8f52f8ec80f0f71057d1ee787
2021-05-22 05:01:45 +00:00
Jonathan Miranda f3649f5e98 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I4090adb746e959d66ac33940e1989ea30c97ee8f
2021-05-22 04:38:50 +00:00
Jonathan Miranda a4b834fe72 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: Idf378e441611a5dc6f2c291c0ec5b0db8239a587
2021-05-22 04:37:31 +00:00
Jonathan Miranda 81f5ff3b3b Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev 2021-05-22 03:45:29 +00:00
Sunny Goyal d106111de3 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e am: 12829aee27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I65b0e03a8786f209516ad1bcd99b504d246fe91a
2021-05-22 02:54:43 +00:00
Sunny Goyal 7796916a88 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e am: 1b72c0ea35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: Id67c295d6a09ea99b39497654fd1eb7cfce34bf5
2021-05-22 02:46:58 +00:00
Sunny Goyal 12829aee27 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: Ic3aa579ebc2df7b3053f8df14bceebea0e2850aa
2021-05-22 02:32:40 +00:00
Sunny Goyal 1b72c0ea35 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I4668106ead95e6a58d3fe30d5c4e0da3d90e11c4
2021-05-22 02:29:23 +00:00
Sunny Goyal 2f0595e76e Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev 2021-05-22 02:16:34 +00:00
TreeHugger Robot db94817163 Merge "Fixing missing unlinktoDeath" into sc-dev am: eb0a14ad79 am: 903141dbbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684233

Change-Id: I91a2697307ec737d11d385e6bd6f6ce47e86ec2f
2021-05-22 01:46:42 +00:00
TreeHugger Robot 55b8f873fa Merge "Fixing missing unlinktoDeath" into sc-dev am: eb0a14ad79 am: b841731a35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684233

Change-Id: I7663699b60fedfc0b4350899788a48a0004c99a2
2021-05-22 01:46:20 +00:00
TreeHugger Robot b841731a35 Merge "Fixing missing unlinktoDeath" into sc-dev am: eb0a14ad79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684233

Change-Id: I3acf3f5c5a340b3686e41e67fb885b072de44ead
2021-05-22 01:25:26 +00:00
TreeHugger Robot 903141dbbc Merge "Fixing missing unlinktoDeath" into sc-dev am: eb0a14ad79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684233

Change-Id: I3a774cb468e187ff32bfdba045606d8baaa0f17d
2021-05-22 01:22:07 +00:00
TreeHugger Robot eb0a14ad79 Merge "Fixing missing unlinktoDeath" into sc-dev 2021-05-22 01:05:05 +00:00
Jon Miranda 7c9dca2df2 Fix PathParser error when parsing app close interpolator in RTL languages.
Setting locale to english so that the numbers don't get reverted

Bug: 188552618
Test: set language to arabic, swipe up to home
Change-Id: I736c83984b472d9ad09207927743c87b18637db4
2021-05-21 17:20:07 -07:00
Sunny Goyal b5596f72e4 Fixing missing unlinktoDeath
Bug: 186712316
Test: Manual
Change-Id: If06737403c346c5ccca533dec647e3a0691f1bfa
2021-05-21 15:29:33 -07:00
Sunny Goyal 5584513500 Renamin TaskbarContainerView to TaskbarDragLayer
Bug: 187353581
Test: Presubmit
Change-Id: I9164a956aaa896111f287ab4e97b091a7d4d30ee
2021-05-21 14:42:18 -07:00
TreeHugger Robot b382cddd57 Merge "Apply the current system window insets to launcher preview" into sc-dev am: 576722164a am: 4d87ea7298
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14646650

Change-Id: I75cd96996a5f8ff528a3327473885c869db1ce05
2021-05-21 18:33:51 +00:00
TreeHugger Robot 4fb59e1434 Merge "Avoid drawing tall header when scrolling search results" into sc-dev am: 3350508bb6 am: 25ac3bebc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14661228

Change-Id: I004e421e71ed1fcb3ee634e7387bb3c35cc8bf13
2021-05-21 18:33:22 +00:00
TreeHugger Robot 0c8751121d Merge "Apply the current system window insets to launcher preview" into sc-dev am: 576722164a am: bd966d6c12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14646650

Change-Id: Ia61a9a3c177009cca0275848f88d1c2354ce7d9e
2021-05-21 18:33:18 +00:00
TreeHugger Robot 2f7f788304 Merge "Avoid drawing tall header when scrolling search results" into sc-dev am: 3350508bb6 am: 02567591a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14661228

Change-Id: Ide2c03f83d3ec82d927e5d312f1c2129524d3ed1
2021-05-21 18:33:13 +00:00
Vadim Tryshev 520094cec7 Merge "Improving TAPL messaging" into sc-dev am: 9a6ba8cfa4 am: be275da816
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669955

Change-Id: Ic686f819bf283ba1f66215c7ee77e198bce244e7
2021-05-21 18:33:05 +00:00
Vadim Tryshev ae537f6e89 Merge "Improving TAPL messaging" into sc-dev am: 9a6ba8cfa4 am: b815ff8546
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669955

Change-Id: Ib590b1d58869d1d56f120557967a92ad53016451
2021-05-21 18:32:55 +00:00
TreeHugger Robot 4d87ea7298 Merge "Apply the current system window insets to launcher preview" into sc-dev am: 576722164a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14646650

Change-Id: I1cef8a3e92093079739a3c120420dc10a88ea203
2021-05-21 18:27:49 +00:00
TreeHugger Robot bd966d6c12 Merge "Apply the current system window insets to launcher preview" into sc-dev am: 576722164a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14646650

Change-Id: I99cc8ff6901cfde5bf2e4e18e7e3626fd91b041f
2021-05-21 18:26:46 +00:00