Commit Graph

60459 Commits

Author SHA1 Message Date
Abhilasha Chahal fa71aec80a Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev am: c7115ec833
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133627

Change-Id: Ia1550660d2c29c707a383b57c6c5d481e2c1f9ba
2022-03-10 00:39:47 +00:00
Abhilasha Chahal d2f7839069 Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev am: c7115ec833
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133627

Change-Id: I17ff403417ae9fb2ed93f333a7d018f7996bfb81
2022-03-10 00:39:29 +00:00
Brian Isganitis 5b79bbbcbc Merge "Add support for dedicated executors for package tasks." into tm-dev 2022-03-10 00:29:37 +00:00
Abhilasha Chahal c7115ec833 Merge "Revert "Revert "Extract out common adapter logic to support diff..."" into tm-dev 2022-03-10 00:18:07 +00:00
TreeHugger Robot 19a6a032a6 Merge "Make AllAppsEntry and exit events optional." into tm-dev am: 8e432009d6 am: b763b01b4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126208

Change-Id: I735ba6743b85badb89d6ee4cfc571e80cce5c1fa
2022-03-10 00:05:33 +00:00
TreeHugger Robot 00d3c41b66 Merge "Make AllAppsEntry and exit events optional." into tm-dev am: 8e432009d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126208

Change-Id: I4da5abf29393305cd10bf7e351b2ea2df9da0e29
2022-03-09 23:52:51 +00:00
TreeHugger Robot b763b01b4d Merge "Make AllAppsEntry and exit events optional." into tm-dev am: 8e432009d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126208

Change-Id: Ia411741616f07ec4c380c688916aab87d094cdb2
2022-03-09 23:52:00 +00:00
Thiru Ramasamy 0c3ea2ac19 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev am: fe72583a86 am: 6e71694737
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128393

Change-Id: Ia5978536bbfc454d444af47f16e5ace09b6d41e7
2022-03-09 23:40:37 +00:00
TreeHugger Robot 8e432009d6 Merge "Make AllAppsEntry and exit events optional." into tm-dev 2022-03-09 23:36:30 +00:00
Thiru Ramasamy 6e71694737 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev am: fe72583a86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128393

Change-Id: I59a8612d5e91eff38bcfcc0e28b2e2c606fdb843
2022-03-09 23:28:05 +00:00
Thiru Ramasamy aeadd1e729 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev am: fe72583a86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128393

Change-Id: Ic6d8605d6ae50fbd56ee3836a83ccfdb1358e6d0
2022-03-09 23:28:03 +00:00
Tracy Zhou d9cb8cfa0d Support launching an intent and a task from the same app as multi-instance
Similar to ag/16820166, add FLAG_ACTIVITY_MULTIPLE_TASK to the fillInIntent

Fixes: 222583964
Fixes: 217965464
Fixes: 221415250
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/7606236a-3350-49d6-bfad-9e6a609413d1
Change-Id: I676358ef1cbff8317995430de961a0a3242c0cbf
2022-03-09 15:21:45 -08:00
Thiru Ramasamy fe72583a86 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev 2022-03-09 23:11:16 +00:00
Tracy Zhou dd2bea9e70 Fix wrong initial staged split position
This is caused by having set a wrong animation duration in the 3 button case. Before this change we have a fixed duration of 370ms which happens to be almost match the Overview transtion duration in gesture nav. However the transition duration in 3-button is set to 250ms. After the transition duration, any unfinished animation is cancelled including this one, resulting in the wrong staged split position. Instead this change pulls the transition duration of toState from the caller = RecentsViewStateController.

Fixes: 222210349
Test: manual
Change-Id: Ie2f3dbe38bb6df33961e2ee78b8a55d0e925501f
2022-03-09 14:44:35 -08:00
Tony Wickham 1c98ceccae Merge "Keep reporting > 0 insets on home screen" into tm-dev am: 808b6c2fed am: 34ef5b416a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084127

Change-Id: I7897649bb59f6759e9e349b83aacdf9135ef380e
2022-03-09 22:39:36 +00:00
TreeHugger Robot cffc34c37c Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b am: 6ed2ec5532
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: Ia382c127d51b0b6b1eea79993e3bdebf897ed6f5
2022-03-09 22:39:30 +00:00
TreeHugger Robot f76b0898c9 Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9 am: f60c42c4bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: I6328e6dca121248b3433e7de7dab3a417decde00
2022-03-09 22:39:24 +00:00
Tony Wickham 65d26c5f20 Merge "Keep reporting > 0 insets on home screen" into tm-dev am: 808b6c2fed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084127

Change-Id: I2c7136fd125da0bee3af21cb8ff440af03b11073
2022-03-09 22:39:00 +00:00
Brian Isganitis a1a97018a2 Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0 am: 6c620ac5c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: I0116ff1fd2408dc475bf4f78016c15193125bea0
2022-03-09 22:38:48 +00:00
Tony Wickham 34ef5b416a Merge "Keep reporting > 0 insets on home screen" into tm-dev am: 808b6c2fed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084127

Change-Id: Ia8209ca860ad9bb0080bf77ef8a3a352ec1b0461
2022-03-09 22:38:37 +00:00
TreeHugger Robot 8ccc2bbf43 Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: I02864003cf66b733a420afec69756edade427cc4
2022-03-09 22:38:35 +00:00
TreeHugger Robot 6ed2ec5532 Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: I7c02941e25b99f4ac42c03a15ef323939f65edab
2022-03-09 22:38:29 +00:00
TreeHugger Robot f60c42c4bc Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: I893b4036e02803ef129fd93b1ce664536d2acbbb
2022-03-09 22:38:22 +00:00
TreeHugger Robot 5e862806ad Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: Ida11bbefeb5ec90c3ce578add4b0a53af1cb7925
2022-03-09 22:38:11 +00:00
Tony Wickham 808b6c2fed Merge "Keep reporting > 0 insets on home screen" into tm-dev 2022-03-09 22:37:13 +00:00
TreeHugger Robot d586e1948b Merge "Updating window manager estimation logic:" into tm-dev 2022-03-09 22:24:12 +00:00
TreeHugger Robot 94a54982b9 Merge "Remove stale log statement for b/195430732" into tm-dev 2022-03-09 22:22:15 +00:00
Brian Isganitis 6c620ac5c9 Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: Ibb43f1f95df77b30df86b3c7a95df5fdcf81cc03
2022-03-09 22:15:08 +00:00
Brian Isganitis 4f6da077ca Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: I0a9315f715d3e266f057697ae1383702632d4ea9
2022-03-09 22:15:02 +00:00
Brian Isganitis 3f7ac842e0 Merge "Close Taskbar AFVs when locking screen." into tm-dev 2022-03-09 21:47:55 +00:00
Schneider Victor-tulias d23c7e42cc Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365 am: f7a6b04ad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: Id208c7aa0f727a556d7acc1097ed378917b80389
2022-03-09 21:28:11 +00:00
TreeHugger Robot bf334b3ff0 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef am: 95cbde4ae3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: I0d8cbeabda3b370708459c54e0fd0ad2cbec9f29
2022-03-09 21:28:04 +00:00
Schneider Victor-tulias f7a6b04ad0 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: I483ca8b2d7cf7b79f1d8376d632ad36c2703e711
2022-03-09 21:05:52 +00:00
TreeHugger Robot 95cbde4ae3 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: I0f927b2f59bfb5a38187731b22f798ac92877b8a
2022-03-09 21:05:44 +00:00
Schneider Victor-tulias 2ab75e9489 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: I3b57c080a828872076f28864efaea705ef090089
2022-03-09 21:05:43 +00:00
TreeHugger Robot 3d46d030b6 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: Icff8c50b7e000b999f2c423ea62ccbd7d33962d0
2022-03-09 21:05:34 +00:00
Schneider Victor-tulias 18bc66e365 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev 2022-03-09 21:04:24 +00:00
TreeHugger Robot 441a7d76ef Merge "Play fallback animation if there are multiple closing targets." into tm-dev 2022-03-09 20:44:18 +00:00
TreeHugger Robot e5be21cf48 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9 am: 064cd357ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: I46262c81b93d24f0a44e50c7dcd984d22b6bd25e
2022-03-09 19:46:03 +00:00
Schneider Victor-tulias 79e76f4e7b Update home settings subheads' style to Google Sans Text
Fixes: 187671205
Test: manual
Change-Id: I980b6b71900cf90934b562e9b2c313351cdb9e2c
2022-03-09 11:19:37 -08:00
TreeHugger Robot 064cd357ba Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: Icf79f043a286f31ae1062d4f60166d44932cc0d3
2022-03-09 19:18:26 +00:00
TreeHugger Robot bd20c78803 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: I31b51fc6b808819c18cfb362aaaf4edd98e83817
2022-03-09 19:18:22 +00:00
Sunny Goyal 187b16cb91 Updating window manager estimation logic:
> Moving the code from ApiWrapper to Resource overlays for better maintainability
> Accounting for display cutouts in insets estimation
> Using same logic in display controller and view inset dispatching

Test: Verified on device
Bug: 221961069
Change-Id: I78466353563692ce3f7512b0146ef8b61ef14bc0
2022-03-09 11:15:58 -08:00
TreeHugger Robot 50ec0e897f Small improvement for ag/17016891 (unstash taskbar input area size)
Get the device width form DeviceProfile instead of context for efficiency.

Bug: 204166104
Test: Unstash and stash taskbar, done in both orientations.
Change-Id: I14c3593552939f3be78f3e5c1193020873555d37
2022-03-09 19:15:51 +00:00
TreeHugger Robot df022bd4c9 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev 2022-03-09 18:51:36 +00:00
Schneider Victor-tulias 149360b59f Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24 am: 59ab0043be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: I049b63d2c72c25e3406a461bbb7da00bc0e9fe5f
2022-03-09 18:34:01 +00:00
Schneider Victor-tulias 59ab0043be Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: Icf97ae1c9de028d9081198a1d7dc831c8b542fd8
2022-03-09 18:33:55 +00:00
Schneider Victor-tulias cb36451121 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: I39b15b54d99aa3ac9c2015e071b580dd112d99c0
2022-03-09 18:33:15 +00:00
Sam Dubey 2cbc43c8b3 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402 am: a728b72970
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: I19675c4eef223f206df9b9a5fa0cdf3bcb5456cf
2022-03-09 18:32:53 +00:00
Schneider Victor-tulias 59534c7a24 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev 2022-03-09 18:13:18 +00:00