Commit Graph

58436 Commits

Author SHA1 Message Date
Tracy Zhou 53ad207008 Use topComponent to get package name
task.topActivity can be null

Fixes: 226232720
Test: manual
Change-Id: I7d0c928871d01402bf41bc96514aae7854045baf
2022-03-22 17:13:52 -07:00
Tracy Zhou 3d83c8ffe4 Merge "Update initial staged split UX." into tm-dev am: 8d06bb8991 am: c1db924479
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17251578

Change-Id: I97d9d6e3d4d8794c8a4bb6de999d17e6b0e4e565
2022-03-22 23:34:00 +00:00
Tracy Zhou c1db924479 Merge "Update initial staged split UX." into tm-dev am: 8d06bb8991
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17251578

Change-Id: Ie59c24a40af87786383f1ac85c7657e68ea64652
2022-03-22 23:20:00 +00:00
Tracy Zhou 69d3477b96 Merge "Update initial staged split UX." into tm-dev am: 8d06bb8991
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17251578

Change-Id: Id2caa24f746921861d8b79fc297bb440588bde1c
2022-03-22 23:19:04 +00:00
Tracy Zhou 8d06bb8991 Merge "Update initial staged split UX." into tm-dev 2022-03-22 22:44:33 +00:00
TreeHugger Robot b90b91afa5 Merge "Fix issue cauing the taskbar to show in the all set page of the SUW." into tm-dev am: 6c7b0f7db8 am: 696f10f76b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17140736

Change-Id: I4ce4d7ff1abeaab99955250f0bfa5d7982ce09e5
2022-03-22 20:39:41 +00:00
Hongwei Wang 4f64998b0b Merge "Add auto-enter-pip support in FallbackSwipeHandler" into tm-dev am: 1acabce45b am: b665810d8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17300479

Change-Id: I94ef39af9dcde1e14a21b7ea3808cadba6ca3776
2022-03-22 20:39:33 +00:00
TreeHugger Robot 696f10f76b Merge "Fix issue cauing the taskbar to show in the all set page of the SUW." into tm-dev am: 6c7b0f7db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17140736

Change-Id: I093469dcbbaf3d9b2abfb7f240bdc94af939f475
2022-03-22 20:31:29 +00:00
TreeHugger Robot 389678cb60 Merge "Fix issue cauing the taskbar to show in the all set page of the SUW." into tm-dev am: 6c7b0f7db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17140736

Change-Id: I07856e744febc61fe111f9d93782dad9124c3bbf
2022-03-22 20:31:22 +00:00
TreeHugger Robot 6c7b0f7db8 Merge "Fix issue cauing the taskbar to show in the all set page of the SUW." into tm-dev 2022-03-22 20:25:32 +00:00
Hongwei Wang b665810d8d Merge "Add auto-enter-pip support in FallbackSwipeHandler" into tm-dev am: 1acabce45b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17300479

Change-Id: I865c39eac5d1afb46fed74d42af304eb32b320ce
2022-03-22 20:22:31 +00:00
Hongwei Wang a603f8017c Merge "Add auto-enter-pip support in FallbackSwipeHandler" into tm-dev am: 1acabce45b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17300479

Change-Id: I5fa4199a14b1c1cf8448c3fd3a88e7fd22434193
2022-03-22 20:22:05 +00:00
Hongwei Wang 1acabce45b Merge "Add auto-enter-pip support in FallbackSwipeHandler" into tm-dev 2022-03-22 20:07:55 +00:00
Schneider Victor-tulias 271500fd28 Merge "Reset the home settings activity when launching it" into tm-dev am: c741210bb1 am: 6117c23cab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17224594

Change-Id: I0065aa4a731ba43c29cd4719f685d9e09b853279
2022-03-22 19:07:27 +00:00
Schneider Victor-tulias 2fbf6fa9f5 Merge "Reset the home settings activity when launching it" into tm-dev am: c741210bb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17224594

Change-Id: Ie8e802aa0a3fcc0aff40bc1c2c7f95be029d027c
2022-03-22 18:46:18 +00:00
Schneider Victor-tulias 6117c23cab Merge "Reset the home settings activity when launching it" into tm-dev am: c741210bb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17224594

Change-Id: Ib7bb1edac58ee58874f747cfeb100eb945b5627d
2022-03-22 18:46:03 +00:00
Schneider Victor-tulias c741210bb1 Merge "Reset the home settings activity when launching it" into tm-dev 2022-03-22 18:23:41 +00:00
Pat Manning b04dd608bf Add workspace page translations for edit state.
Bug: 202971709
Test: manual
Change-Id: Ic807d380053b8cc5aaf521513c308854e1b14a43
2022-03-22 17:58:19 +00:00
Schneider Victor-tulias 44aadeaef6 Fix issue cauing the taskbar to show in the all set page of the SUW.
Some missing state handling was causing the taskbar to show in the all set page of the SUW.

Fixes: 218507703
Test: build change, flashed and factory reset device
Change-Id: If3a280ef6416f0821cf6a9b1ab0a65d58c5c8221
2022-03-22 10:50:26 -07:00
Brian Isganitis babe67707f Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c am: 365ce6879b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: I9b14d454af357b0a0a65f3191a1b4dd1fe549ab0
2022-03-22 16:42:32 +00:00
Brian Isganitis 365ce6879b Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: Iec1754737b4e824d53b892b7cf43c4e1ee555c44
2022-03-22 16:27:22 +00:00
Brian Isganitis 7aa64493db Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: I6119c7637a391a4d2bf89537e900c2c1940eec24
2022-03-22 16:27:21 +00:00
Brian Isganitis 98214d072c Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev
* changes:
  Have taskbar all apps extend ActivityAllAppsContainerView.
  Refactor ActivityAllAppsContainerView to depend on ActivityContext.
  Refactor allapps.search package to depend on ActivityContext.
2022-03-22 16:11:35 +00:00
Thales Lima cbebb367a5 Merge "Change size of All Apps bottom sheet" into tm-dev am: 042482e94c am: f8fbfcad80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17154983

Change-Id: Ie49868ca9c78a000bf7a940702ea84413b8cd881
2022-03-22 16:00:12 +00:00
Thales Lima f8fbfcad80 Merge "Change size of All Apps bottom sheet" into tm-dev am: 042482e94c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17154983

Change-Id: Ie248b0bb7789e1d3548b87e87e8374a6b67d3fc2
2022-03-22 15:45:11 +00:00
Luca Zuccarini b21fd239a9 [Toast] Flip the QSB motion flag to true by default.
Bug:225749858
Test: manual with soong build as well as server build image with this
change

Change-Id: I5658bae753a7112a64fc89ae54c10c5af3a09654
2022-03-22 15:45:07 +00:00
Thales Lima 2f284c67c7 Merge "Change size of All Apps bottom sheet" into tm-dev am: 042482e94c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17154983

Change-Id: I2a221957ada802aa531c834f197b7bd4e35c1808
2022-03-22 15:45:05 +00:00
Thales Lima 042482e94c Merge "Change size of All Apps bottom sheet" into tm-dev 2022-03-22 15:25:50 +00:00
Thales Lima b7ef569591 Change size of All Apps bottom sheet
This brings the size of the bottom sheet closer to the spec provided by UX. For that type of flexibility to be possible, more attributes are introduced and some calculations had to be changed.

This shouldn't affect phones.

Bug: 218638090
Test: visual, with dumpsys and HSV
Change-Id: Ieee7580d80d8e100837b1cdd7a1455c4d65612dc
2022-03-22 12:19:46 +00:00
Thales Lima b2b437269e Merge "Fix height of hotseat" into tm-dev am: 60dc19cb71 am: 37a1664ff6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295527

Change-Id: Ia522e24ea4768e637a3361ca8e5c7de751ea1956
2022-03-22 12:16:28 +00:00
Thales Lima 37a1664ff6 Merge "Fix height of hotseat" into tm-dev am: 60dc19cb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295527

Change-Id: Iceb0e48c0fce10637917830fe797bd0fc22d2b8a
2022-03-22 11:56:54 +00:00
Thales Lima ca571f20c0 Merge "Fix height of hotseat" into tm-dev am: 60dc19cb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295527

Change-Id: I1221d5ea90ee4f2dd555913d40784f7f0c2a0daa
2022-03-22 11:56:50 +00:00
Thales Lima 60dc19cb71 Merge "Fix height of hotseat" into tm-dev 2022-03-22 11:43:13 +00:00
Thales Lima bcd5707fdb Merge "Reset the size of hotseat cells" into tm-dev am: f49dce6961 am: cda49fb6b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198306

Change-Id: I95491f5fe09cb54ff922bbcab634766e74fdcbcd
2022-03-22 10:40:34 +00:00
Thales Lima cda49fb6b0 Merge "Reset the size of hotseat cells" into tm-dev am: f49dce6961
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198306

Change-Id: I94b26311d80218fcf4995e3cc80d8c8b7f13ff07
2022-03-22 10:26:15 +00:00
Thales Lima ce884b4050 Merge "Reset the size of hotseat cells" into tm-dev am: f49dce6961
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198306

Change-Id: I05a2d1d82c70656e980974e9528da8f436e8450b
2022-03-22 10:25:02 +00:00
Thales Lima f49dce6961 Merge "Reset the size of hotseat cells" into tm-dev 2022-03-22 10:06:22 +00:00
Vinit Nayak a9cc5d852f Merge "Keep live tile running when TaskMenuView is showing" into tm-dev am: b85e0afe70 am: f3202e4bb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17304993

Change-Id: I77e26cb37f6b9ba9d6fd95268963d4c2db380466
2022-03-22 05:18:00 +00:00
Vinit Nayak f3202e4bb8 Merge "Keep live tile running when TaskMenuView is showing" into tm-dev am: b85e0afe70
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17304993

Change-Id: I5fe813e92b9e5ce5dccc9a527e857293c88c4332
2022-03-22 05:02:57 +00:00
Vinit Nayak 840c9967fb Merge "Keep live tile running when TaskMenuView is showing" into tm-dev am: b85e0afe70
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17304993

Change-Id: Iae812e9d9dfc5fad61c4c3614296dcae8604fec9
2022-03-22 05:02:43 +00:00
Vinit Nayak b85e0afe70 Merge "Keep live tile running when TaskMenuView is showing" into tm-dev 2022-03-22 04:48:43 +00:00
Tracy Zhou 4ff3615b23 Update initial staged split UX.
- Introduce inset to the staged split view
- Update width of the staged split view
- Introduce rounded corners to staged split view. It's tricky to animate it in with smooth transition considering the rounded corners. The best way to handle it is to draw content as if part of it is off the screen, so that when it's animated in, the rounded corners can slide in onto the screen correctly.

Fixes: 219085340
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/09a99b75-3614-4d20-b6d4-a78108f769d8

Change-Id: I24d90cc9e2695d822cb2de8b21e2d5519f2e344d
2022-03-21 21:21:42 -07:00
Becky Qiu f49a8e72e3 Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev am: fd6b0d5617 am: d0b522918e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295526

Change-Id: I8b261a5423bc1489e7baed31782da8e4c2bba6a6
2022-03-22 01:24:49 +00:00
Vinit Nayak a5addf0e89 Keep live tile running when TaskMenuView is showing
* Doesn't fix the bug, but a nicer UX to have

Bug: 223317893
Test: Live tile was running after tapping app icon.
Was able to enter split just fine

Change-Id: I50c5d5623546d19d216beae09b76c310e8b3c815
2022-03-21 18:15:28 -07:00
Becky Qiu 73a01b6ab6 Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev am: fd6b0d5617
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295526

Change-Id: Ib6b8b5900eb9c4a99baee06ca8f239566192e5ca
2022-03-22 01:09:54 +00:00
Android Build Coastguard Worker fc5b4e3b4f Snap for 8332931 from 84c9d3ec90 to tm-release
Change-Id: I7da94ca79533d705c7aba1d0306862a40e0bf9bd
2022-03-22 01:09:18 +00:00
Becky Qiu d0b522918e Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev am: fd6b0d5617
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295526

Change-Id: Ifb1387cbb3120577d02d8a9f0a4972286fffde9d
2022-03-22 01:08:55 +00:00
Becky Qiu fd6b0d5617 Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev 2022-03-22 00:58:07 +00:00
Jeremy Sim 1fc74ff059 Merge "Fix crash condition by adding a null check in DigitalWellBeingToast" into tm-dev am: c789ade45e am: 43ce1fd84e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17264615

Change-Id: I859009c56e2155279cb0a8a9fdf3c5d3deae5388
2022-03-22 00:55:07 +00:00
Jeremy Sim 1ac9ea204c Merge "Fix issue with split thumbnails overflowing during rotation" into tm-dev am: c0422b8a48 am: c5fdd7ba55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17264877

Change-Id: Ic113da1d7b46871fd72841a4872e2385cd14990c
2022-03-22 00:54:55 +00:00