Commit Graph

11086 Commits

Author SHA1 Message Date
Vinit Nayak db2c726560 Merge "Always look for MODE_OPENING during task launch from overview" into tm-dev 2022-03-29 21:11:26 +00:00
TreeHugger Robot 4cb55616e2 Merge "Close system windows when toggling overview" into tm-dev 2022-03-29 16:56:16 +00:00
TreeHugger Robot 33dd4fc3f1 Merge changes from topic "presubmit-am-9de16cff35414de28b1c0e513808501b"
* changes:
  [automerge] Close system windows when toggling overview 2p: 6be66c96ef 2p: aa624d0364
  [automerge] Close system windows when toggling overview 2p: 6be66c96ef
  Close system windows when toggling overview
2022-03-29 16:56:16 +00:00
Tony Wickham 2abae73d7e Merge "Fix problems with taskbar floating views on rotation" into tm-dev am: b2aa48cad6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454588

Change-Id: I7e13f8465af418d799a37d21626bad731150e213
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 16:47:42 +00:00
Tony Wickham b2aa48cad6 Merge "Fix problems with taskbar floating views on rotation" into tm-dev 2022-03-29 16:36:16 +00:00
Tony Wickham c30e733d5f Merge "Update gesture region when display size changes" into tm-dev 2022-03-29 16:33:58 +00:00
Presubmit Automerger Backend 79f9df7284 [automerge] Close system windows when toggling overview 2p: 6be66c96ef 2p: aa624d0364
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: I1b2abf1eb7b475fc29221799937013592f3d305e
2022-03-29 15:28:25 +00:00
Presubmit Automerger Backend aa624d0364 [automerge] Close system windows when toggling overview 2p: 6be66c96ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: Iab40a4eff58a4e5d684cc639493a7e1d1e105d77
2022-03-29 15:28:18 +00:00
Presubmit Automerger Backend 2850ed83cf [automerge] Update gesture region when display size changes 2p: 30be4bfdb3 2p: 00ede443b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454826

Change-Id: If25f27a5e3c6e07cecc02801869d527925533882
2022-03-29 15:26:18 +00:00
Presubmit Automerger Backend 00ede443b1 [automerge] Update gesture region when display size changes 2p: 30be4bfdb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454826

Change-Id: I3fc27e42bf3cc86a65715e80e0ff89ecf41a5290
2022-03-29 15:26:07 +00:00
Jason Chang ae4d2193d9 Fix One-handed mode tutorial broken on large screen device
Change the orientation judgement by checking display info's
width & height

Bug: 223486060

Test: manual
Change-Id: I94947ad635146dcb656e5074577b297617326c8d
2022-03-29 13:46:27 +00:00
Kholoud Mohamed 964bc9a0c7 Merge "RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3" 2022-03-29 11:01:19 +00:00
Vinit Nayak 526f4ce7ae Always look for MODE_OPENING during task launch from overview
* Previously the target mode was dependent on whether liveTile
was running or not, opposite targets seem to be coming in from
WM now.
* Remove a bunch of un-used code from LauncherSplitScreenListener
that was used when we only allowed one split pair in overview
previously. Now that is handled by RecentTasksController in shell
so we don't need any additional bookkeeping.

Fix: 212220301
Test: Able to launch side tasks in overview
Change-Id: I002340d98ba379cb4ab9ae37eadfa235d6b5e56d
2022-03-28 21:32:09 -07:00
Sebastián Franco 9d5eef80cd Merge "Brighten theme-icons when in Dark mode and add dark color for taskbar" into tm-dev 2022-03-29 00:00:33 +00:00
Sebastián Franco 50d5e9a145 Merge changes from topic "cherrypick-217247494-b0lshr6mfa"
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Sebastián Franco 0c391a7df2 Merge changes from topic "cherrypick-217247494-b0lshr6mfa" into tm-mainline-prod
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Tony Wickham 30be4bfdb3 Update gesture region when display size changes
Test: change resolution on device, ensure bottom gestures work
Fixes: 225169659
Change-Id: Iafc4a797741092c82bc89b46dd2babe6d1c13512
2022-03-28 16:50:01 -07:00
Hongwei Wang b46d6ebc01 Handle shadow radius for auto-pip in Launcher
Bug: 206508708
Test: Verify the auto-enter-pip transition
Change-Id: I1e99c3e1ce890885d95006293a1469491c5c6672
2022-03-28 16:44:28 -07:00
Vinit Nayak 6be66c96ef Close system windows when toggling overview
Fix: 203835798
Test: Tap on overview with notification shade,
it closes

Change-Id: I01a5cab4fabf7950f48290418df3ae6cb270305c
2022-03-28 14:54:07 -07:00
Tony Wickham 538c9a0b52 Fix problems with taskbar floating views on rotation
- Close all views except TYPE_REBIND_SAFE
- Make All Apps TYPE_REBIND_SAFE again
- Reapply fullscreen to ensure any remaining floating views such as taskbr edu are laid out correctly upon rotation

Test: Rotating with folder and/or popup closes them; rotating with all apps stays open; rotating with all apps + popup closes popup but not all apps; rotating taskbar edu lays out correctly; opening shortcut or notification from all apps popup still closes all apps
Fixes: 220074790
Fixes: 219981733
Change-Id: I1dfea4ed0a636ab84bcc4e33304c80a689da01cd
2022-03-28 14:48:20 -07:00
Jeremy Sim db92b5d73f Merge "Fix issue with camera overlapping split staging UI" into tm-dev 2022-03-26 19:41:48 +00:00
Presubmit Automerger Backend 82a04f427b [automerge] Fix issue with camera overlapping split staging UI 2p: b8eeb41ee0 2p: 8846338a7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17311863

Change-Id: I4dcb66f8b2f8b1e138623007fdf702144afc3c8c
2022-03-26 00:39:44 +00:00
Presubmit Automerger Backend 8846338a7c [automerge] Fix issue with camera overlapping split staging UI 2p: b8eeb41ee0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17311863

Change-Id: Ib54908a8a30c03e7e4b1b81dc6f3ad315d4dbb75
2022-03-26 00:39:32 +00:00
Jeremy Sim b8eeb41ee0 Fix issue with camera overlapping split staging UI
Fixes an issue on some devices where initiating a split in Overview would cause an icon to be placed partly under the camera cutout.

Fixed by adding some padding to FloatingTaskView#mSplitPlaceHolderView, so that it always respects the device's insets.

Fixes: 220997064
Test: Manual
Change-Id: I7270bde3320f562519ea8e36a38e49609e0d6cd7
2022-03-25 16:31:46 -07:00
Chavi Weingarten 7ab7a51b16 Merge "Replace consumeNextDraw with SurfaceSyncer" into tm-dev am: ba653b3b92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17262739

Change-Id: Ia37bddc2194aa12f3897e533f907a45dcda0c7e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 22:24:52 +00:00
Chavi Weingarten ba653b3b92 Merge "Replace consumeNextDraw with SurfaceSyncer" into tm-dev 2022-03-25 22:08:17 +00:00
Evan Rosky 5a7d6e93af Merge "Implement switchtoScreenshot recents callback" into tm-dev 2022-03-25 21:26:12 +00:00
Evan Rosky f128662e61 Merge changes from topic "pip_over_recents"
* changes:
  [automerge] Implement switchtoScreenshot recents callback 2p: e81d9679c1 2p: 6fbe85be7d
  [automerge] Implement switchtoScreenshot recents callback 2p: e81d9679c1
  Implement switchtoScreenshot recents callback
2022-03-25 21:26:12 +00:00
Tony Wickham 59d4896635 Merge "Don't recreate taskbar on rotation" into tm-dev 2022-03-25 16:14:04 +00:00
Tony Wickham c537713768 Merge changes from topic "presubmit-am-30501b00e25a47e3a8031a0c6059a1ac"
* changes:
  [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b 2p: 35c52bc1cb
  [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b
  Don't recreate taskbar on rotation
2022-03-25 16:14:04 +00:00
kholoud mohamed 8d7cfd1d36 RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3
Bug: 217388602
Bug: 218875965
Test: atest EnterpriseResourcesTests
Test: manual
Change-Id: I095a1da30766e4b4eab33f42b034601b3322eb3d
(cherry picked from commit e210b47c20)
Merged-In: I095a1da30766e4b4eab33f42b034601b3322eb3d
2022-03-25 14:40:15 +00:00
Nicolò Mazzucato 51171c51af Merge "Tune fold animation on top of apps" into tm-dev am: 286dd249e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17377104

Change-Id: Ib121e9b91e952e9734e61f38d69b6fd75ea8dfa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 09:33:06 +00:00
Nicolò Mazzucato 286dd249e0 Merge "Tune fold animation on top of apps" into tm-dev 2022-03-25 09:31:10 +00:00
Vinit Nayak df16fe608c Merge changes from topic "presubmit-am-bc79a9a41aaf49ac813fd4322be9fb10"
* changes:
  [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa 2p: ea034204db
  [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa
  Hide taskbar when launcher receives nav and keyguard showing
2022-03-24 22:01:15 +00:00
Vinit Nayak 7ac2116fcc Merge "Hide taskbar when launcher receives nav and keyguard showing" into tm-dev 2022-03-24 22:01:15 +00:00
Evan Rosky a11d8e9a19 [automerge] Implement switchtoScreenshot recents callback 2p: e81d9679c1 2p: 6fbe85be7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17363980

Bug: 223321653
Change-Id: Ic8eef0faef9cd4620922d19acbc61c0464ce8e15
2022-03-24 21:14:32 +00:00
Evan Rosky 6fbe85be7d [automerge] Implement switchtoScreenshot recents callback 2p: e81d9679c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17363980

Bug: 223321653
Change-Id: Iab3eb961a0c14fc0515f4e59f239775603ff2842
2022-03-24 21:14:24 +00:00
Evan Rosky e81d9679c1 Implement switchtoScreenshot recents callback
This lets the recents animation trigger a switchToScreenshot
to avoid premature live-tile disappearance.

Bug: 223321653
Test: put app in pip, open another app, go to recents, expand pip
Change-Id: I7ddcd891978fca7e91d7d90c1c8d9b824f5652a6
2022-03-24 14:13:59 -07:00
Sebastián Franco 67e5d10c7a Merge "Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it" into tm-dev am: 1c11c5319c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17060224

Change-Id: I18b31808544ed5102e1fce974e6d35558bc221b2
2022-03-24 18:37:22 +00:00
Sebastián Franco 1c11c5319c Merge "Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it" into tm-dev 2022-03-24 18:17:39 +00:00
Tony Wickham 6ddc109775 [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b 2p: 35c52bc1cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17384265

Bug: 219981733
Change-Id: I33fd5069129dcb107220f12aff669ad27d304cfe
2022-03-24 17:39:55 +00:00
Tony Wickham 35c52bc1cb [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17384265

Bug: 219981733
Change-Id: Ic70d6ad697dd5182579f7409999f7f74233a4345
2022-03-24 17:39:48 +00:00
Tony Wickham 3b7a391c2b Don't recreate taskbar on rotation
This was a regression due to ag/17241303, since technically the size changes when rotating (width and height swap). Now we detect that case and don't recreate, but instead propagate the new DeviceProfile via TaskbarActivityContext#updateDeviceProfile()

Test: Open an app, rotate device, ensure taskbar isn't recreated. Changing properties such as dark theme does still recreate taskbar.
Bug: 219981733
Change-Id: Ic827c8e697a284a085609ea8653d77900686306a
2022-03-24 10:35:10 -07:00
TreeHugger Robot 181f803258 Merge "Prevent removing the feedback view and callbacks when the user completes a gesture." into tm-dev 2022-03-24 12:17:42 +00:00
TreeHugger Robot fd94106366 Merge changes from topic "presubmit-am-eb37b7cc8d444482bb756474cc862d14"
* changes:
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db 2p: 57d709f70c
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
  Prevent removing the feedback view and callbacks when the user completes a gesture.
2022-03-24 12:17:42 +00:00
TreeHugger Robot e34ee57bf0 Merge changes from topic "presubmit-am-eb37b7cc8d444482bb756474cc862d14" into tm-mainline-prod
* changes:
  [automerge] Prevent removing the feedback view and callbacks when the user completes a gesture. 2p: c7dee917db
  Prevent removing the feedback view and callbacks when the user completes a gesture.
2022-03-24 12:17:42 +00:00
Nicolo' Mazzucato ff84d2bc66 Tune fold animation on top of apps
On top of apps, the fold animation is triggered only after a threshold. On Launcher, there is not threshold.

In this way, we don't show fold animation while apps might be handling table top/half_folded state.

+ timeout to finish the animation made shorter

Test: atest DeviceFoldStateProviderTest
Bug: 225185239
Change-Id: I5adf82e853af9a5dee5af41a853abb84c9926ccd
2022-03-24 11:31:51 +00:00
Hongwei Wang f6d1e7e03a 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: I08dae192c4a4223fbdacaa7b12e5ef55a88b4868
2022-03-24 01:04:03 +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