Commit Graph

14731 Commits

Author SHA1 Message Date
Hongwei Wang 9ffd7495dc Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev am: ca9f9ebec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17339827

Change-Id: If7e76daf0b5fda4be9506b47e7db9422c1c94f31
2022-03-23 22:50:16 +00:00
Hongwei Wang ca9f9ebec5 Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev 2022-03-23 22:38:48 +00:00
Vinit Nayak 6996c40660 [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa 2p: ea034204db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17358924

Change-Id: I72147a61f31a62f0a33def4e275c6ff6b46210e9
2022-03-23 21:11:42 +00:00
Vinit Nayak ea034204db [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17358924

Change-Id: I226fc5ade3d197e16479bf46c65328bc87c3fa7d
2022-03-23 21:11:32 +00:00
Vinit Nayak c750e3d3aa Hide taskbar when launcher receives nav and keyguard showing
* On large screen we receive notification shade expanded
signals even on keyguard.
* Add a check to not show taskbar if keyguard is showing

Fixes: 223465924
Test: Taskbar doesn't show on 3 button nav except
on bouncer, as expected.

Change-Id: I4a7ea14422eda13ae8571793ed7ba1a1964072d6
2022-03-23 14:09:25 -07:00
Tony Wickham 0bf6a14a79 Log when calling disposeEventHandlers
Test: local logs
Bug: 210426498
Change-Id: If9dadcb45a03a81d9e82932997ba5297534e0b81
2022-03-23 13:39:57 -07:00
Sebastián Franco 7480980dca Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev am: da297fb0f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17299099

Change-Id: I112ec42762f246af0e68194aa77974fd2b3ac703
2022-03-23 20:14:18 +00:00
Sebastián Franco a6246b06eb Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev am: da297fb0f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17299099

Change-Id: I30ffda32e94e7881d65bfd44d491df8d5c5a1c02
2022-03-23 20:14:17 +00:00
Sebastian Franco 12db27fe34 Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it
This change ag/17003268 was meant as a solution for b/146521490 but
it's ineficient so this other solution is simpler and more performant.

This solution only makes the background 1px smaller and that prevents
it from spilling in the Anti Aliasing.

Test: Put Telegram in recent Task (shouldn't be the first one) and you won't see a white border. Also when a task was in multitask the backgroudn should be draw.
Fix: 223761979
Change-Id: I6855e9ecce1e06f7a9311c62a038d34b04fe2398
2022-03-23 13:11:20 -07:00
Sebastián Franco da297fb0f1 Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev 2022-03-23 20:01:42 +00:00
Schneider Victor-tulias cef4eb1f64 [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db 2p: 57d709f70c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17353319

Change-Id: I78e9dc3af40fac7913681b1c7fb9b4308bcf9b86
2022-03-23 18:15:25 +00:00
Schneider Victor-tulias 57d709f70c [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17353319

Change-Id: I93eff85f975432d03e32c1aec3f97211759bf8a5
2022-03-23 18:15:18 +00:00
Schneider Victor-tulias c7dee917db Prevent removing the feedback view and callbacks when the user completes a gesture.
Touching the screen immediately removed the feedback view and any callbacks attached. When the user successfully completed a gesture, one of those callbacks progresses the tutorial to its next step.

Fixes: 226028473
Test: manual
Change-Id: Ic432a5b73aa4410cb0188f50a57e3df637afb52d
2022-03-23 11:08:08 -07:00
Presubmit Automerger Backend 9a60b2baf8 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I049e1980b49f16ca694f6ad8a6835e29369eb332
2022-03-23 17:48:15 +00:00
Presubmit Automerger Backend e3a8e17984 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I6c9679e4078b9f7c15eb5de422c4386a53142d32
2022-03-23 17:48:08 +00:00
Sebastian Franco 5282efddc9 Brighten theme-icons when in Dark mode and add dark color for taskbar
Bug: 217247494
Test: change between dark and light mode and transition in and out of apps
Change-Id: Ia5e38d674a56eb95a48cb1e8c2688586594a69f9
2022-03-23 10:47:52 -07:00
Tracy Zhou 7ab44c3a5b Merge "Fix thumbnail disappearing during staged split animation" into tm-dev am: f3d81b0a1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17343720

Change-Id: Ib53c016128b8c883bbcba239e002069b84aec3dd
2022-03-23 16:40:04 +00:00
Tracy Zhou 18fb026b34 Merge "Fix thumbnail disappearing during staged split animation" into tm-dev am: f3d81b0a1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17343720

Change-Id: Ie8582b665e1dd2bac23f6c9d475278b81970cb67
2022-03-23 16:39:05 +00:00
Tracy Zhou f3d81b0a1c Merge "Fix thumbnail disappearing during staged split animation" into tm-dev 2022-03-23 16:06:37 +00:00
Vinit Nayak 95d4e41458 Merge "Null out mRemoteTargetHandles when swiping to home" into tm-dev am: aa2f879c55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17247804

Change-Id: I27e04a6d0fab3aa6b2b5fc17d195f9c9c6c3eafc
2022-03-23 15:11:42 +00:00
Vinit Nayak 4c81346f18 Merge "Null out mRemoteTargetHandles when swiping to home" into tm-dev am: aa2f879c55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17247804

Change-Id: I32c7a34b68d0b405d9c1373a15481a052cc15497
2022-03-23 15:11:37 +00:00
Vinit Nayak aa2f879c55 Merge "Null out mRemoteTargetHandles when swiping to home" into tm-dev 2022-03-23 14:58:19 +00:00
Tracy Zhou 67bc75a8a9 Fix thumbnail disappearing during staged split animation
Previous set the thumbnail view to be visible initially. After deciding not to do so, forgot to put the visibility statement back. Also the transform matrix needs to reset before posting new scales.

Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/6576df3a-6d14-4b7e-8fb2-1c0a335472e4
Fixes: 194414938
Change-Id: I25fe39ea99943a3c1e2257681df3eb379bc30e51
2022-03-22 22:01:27 -07:00
Tracy Zhou 5a5575e5ed Use topComponent to get package name am: 53ad207008
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17338873

Change-Id: Ib6ce676647b04f301fb2df443468288d0cd7ac37
2022-03-23 04:01:48 +00:00
Tracy Zhou 176e4fa7da Use topComponent to get package name am: 53ad207008
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17338873

Change-Id: Ie6b7f3c13a3719809f3544ba0dcb9a812f87eaa1
2022-03-23 04:01:41 +00:00
Vinit Nayak 1d6058c2cd Null out mRemoteTargetHandles when swiping to home
* Also all null check when trying to show divider
after swipe down animation from overview

Fixes: 223946009
Test: Steps in bug no longer cause crash
Change-Id: I2c8484c37b863c4cb6aba7e274c1eb76bce92b4a
2022-03-22 20:47:54 -07:00
Hongwei Wang 808d568367 Hide the Taskbar when user leaves PiP mode
This is to prevent the Taskbar from flickering when the app settles in
full-screen mode.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dIgvinb9yEB8MYfYDx0Ijy
Bug: 218450853
Test: see video
Change-Id: I9cfb0ca151dea6951561f78798bb16bafa48eba0
2022-03-22 18:45:31 -07:00
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 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 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 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 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
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
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
Jeremy Sim 43ce1fd84e Merge "Fix crash condition by adding a null check in DigitalWellBeingToast" into tm-dev am: c789ade45e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17264615

Change-Id: I0d94e30131bf91bf4f8cb8b4b68dce5e7e20aafc
2022-03-22 00:45:50 +00:00
Jeremy Sim efc1480ab2 Merge "Fix crash condition by adding a null check in DigitalWellBeingToast" into tm-dev am: c789ade45e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17264615

Change-Id: I022a6049936c724b7acb2ad1feae962865c444bc
2022-03-22 00:45:24 +00:00
Jeremy Sim c789ade45e Merge "Fix crash condition by adding a null check in DigitalWellBeingToast" into tm-dev 2022-03-22 00:39:47 +00:00
Jeremy Sim 79252b726c Merge "Fix UI overlap when rotating in split select mode" into tm-dev am: 7a84442436
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17264876

Change-Id: I2991a1ce834c1102ebf1102aa497ab7db058d65c
2022-03-22 00:38:30 +00:00