Commit Graph

12387 Commits

Author SHA1 Message Date
Winson Chung 0c1dfbc1d8 Merge "Update constants used for resolving shell services" into tm-qpr-dev 2022-10-07 16:55:55 +00:00
Alex Chau 7a72217ebc Merge "Add logging to help debug flake when swiping home to overview." into tm-qpr-dev am: b7b88b66bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19570889

Change-Id: I225de5cbd96ab12ddb07e18bac72537efd14e504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:59:53 +00:00
Jeremy Sim 78bb2a4850 Merge "Use correct interpolator for tablet split confirm" into tm-qpr-dev am: 65d95a8dae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20130929

Change-Id: I7aff10b877477b9cb77279a5e1d5b79213706c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:57:35 +00:00
Jeremy Sim e0b3e263c3 Merge "Fix bug with DWB banners causing Action Bar to vanish" into tm-qpr-dev am: 15bab334cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20124476

Change-Id: If96e3cf116419fc128b698ca0c00be95ac94f467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:54:10 +00:00
Alex Chau b7b88b66bb Merge "Add logging to help debug flake when swiping home to overview." into tm-qpr-dev 2022-10-07 11:24:43 +00:00
Jeremy Sim 65d95a8dae Merge "Use correct interpolator for tablet split confirm" into tm-qpr-dev 2022-10-07 08:20:58 +00:00
Jeremy Sim 15bab334cc Merge "Fix bug with DWB banners causing Action Bar to vanish" into tm-qpr-dev 2022-10-07 08:20:16 +00:00
Jerry Chang a61d270791 Merge "Support starts a pair of intent/shortcut and task to split" into tm-qpr-dev am: 21373a8521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111333

Change-Id: Ia8a0a91c0945ab38c3582f8e0c526eb3666e601e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:06:44 +00:00
Jerry Chang 080a4f5cb8 Merge "Remove stage concept from split screen APIs" into tm-qpr-dev am: 6aca959b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111332

Change-Id: I0fda136883773fdbcb14c9f12cd459d650a1ab84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:05:26 +00:00
Jerry Chang 21373a8521 Merge "Support starts a pair of intent/shortcut and task to split" into tm-qpr-dev 2022-10-07 04:33:32 +00:00
Jerry Chang 6aca959b5b Merge "Remove stage concept from split screen APIs" into tm-qpr-dev 2022-10-07 04:32:29 +00:00
Jeremy Sim 696fbd66bd Fix bug with DWB banners causing Action Bar to vanish
This patch fixes a bug where entering Overview with 3+ DWB banners active would cause the Actions Bar to disappear, rendering it unusable.

The bug occurred because while the Actions Bar was animating itself in, the entry animation of the DWB banners caused a competing animation to be fired, which attempted to set the Actions Bar alpha back to 0 in a race-conditiony situation.

Fixed by using setAutoCancel() on the Actions View alpha animator, which auto-cancels a running animation when another animation is called on the same target, preventing race conditions.

Outstanding issue: 251277899
Fixes: 241163178
Test: Manual

Change-Id: I4edb5678b4aad5612cd5ef58141d8e22bf8587f0
2022-10-06 17:01:47 -07:00
Jeremy Sim a1d24cb85e Use correct interpolator for tablet split confirm
This patch makes it so that the split-to-confirm animation on tablets uses the EMPHASIZED interpolator instead of the (incorrect) LINEAR interpolator.

Fixes: 241126570
Test: Manual
Change-Id: Ic3c91d439a79a492da7f32bdcd56b954edf6c947
2022-10-06 16:23:20 -07:00
Winson Chung 73ab56a355 Update constants used for resolving shell services
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f
Merged-In: I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f
2022-10-06 22:49:26 +00:00
Alex Chau 2e72e4cda6 Fix taskbar in overview touch and stash behavior
- When taskbar is unstashed in Launcher (e.g. overview), make the unstashed height touchable
- When AllApps button is pressed in taskbar overview, also stash taskbar

Bug: 245320601
Test: manual
Change-Id: Iadd0bea13cf9a779c68e953d25f21f663c15865a
2022-10-06 21:37:56 +01:00
Pat Manning 24b9554086 Add logging to help debug flake when swiping home to overview.
Bug: 238461210
Bug: 246283207
Test: TaplTestsQuickstep#testSwitchToOverview
Change-Id: I8ee9af4f4a331c43761ba3738e12acb376ababc2
(cherry picked from commit 1edba8b0a6)
Merged-In: I8ee9af4f4a331c43761ba3738e12acb376ababc2
2022-10-06 15:37:47 +00:00
Saumya Prakash cd24541c61 Merge "Updated overview exit animation for 3 button navigation" into tm-qpr-dev am: 9860628fcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20065286

Change-Id: If574131911778513de4c436d017aa9990398f2ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 22:28:44 +00:00
Saumya Prakash 9860628fcc Merge "Updated overview exit animation for 3 button navigation" into tm-qpr-dev 2022-10-05 22:02:09 +00:00
Alex Chau 040f9023f3 Merge "Set controllersInitialized to false when destroying taskbar controllers" into tm-qpr-dev am: d5bccf19c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20112637

Change-Id: Id8d068137811f36a3151fc2b8a631f4f8510c698
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 20:51:36 +00:00
Alex Chau d5bccf19c4 Merge "Set controllersInitialized to false when destroying taskbar controllers" into tm-qpr-dev 2022-10-05 20:24:04 +00:00
Alex Chau 72c08d9255 Set controllersInitialized to false when destroying taskbar controllers
Bug: 250912179
Test: presubmit
Change-Id: I16532e99b8f74542def4283b6cc753673eb5ee2d
2022-10-05 15:46:31 +01:00
Nick Chameyev 40497595fe Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev am: 3e7c611358
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20034765

Change-Id: Iadd1c8c50783459352c8543f723b9b1c509eabb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 13:18:03 +00:00
Nick Chameyev 3e7c611358 Merge "Extract PreviewPositionHelper to shared library" into tm-qpr-dev 2022-10-05 12:52:02 +00:00
Johannes Gallmann ad6d2fca0a Merge "Disable split button instead of hiding it" into tm-qpr-dev am: 72f5b73f5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19967444

Change-Id: Idb43c472ee37dc9356ac0c0bb50ac71ba08f3e24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 10:56:54 +00:00
Johannes Gallmann 72f5b73f5d Merge "Disable split button instead of hiding it" into tm-qpr-dev 2022-10-05 10:29:55 +00:00
Thales Lima a3989e5ab8 Merge "Change taskbar edu size to wrap around icons" into tm-qpr-dev am: 9c32f4c7d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20010056

Change-Id: I4370ab13a97d5a0382587d7f1f4e429f8f779d7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 09:41:33 +00:00
Alex Chau 6db97df61b Merge "Taskbar in overview" into tm-qpr-dev am: 5e47e78a17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19866366

Change-Id: I4be28fef85efc59f4f2cd3f183f29b684d5be649
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 09:41:08 +00:00
Thales Lima 9c32f4c7d8 Merge "Change taskbar edu size to wrap around icons" into tm-qpr-dev 2022-10-05 09:39:46 +00:00
Nick Chameyev cbfb35edc7 Extract PreviewPositionHelper to shared library
Moves Launcher's PreviewPositionHelper to shared
library between SystemUI and Launcher to reuse
it in the future in the partial screensharing
recents selector.

There should be no functional changes in the
code itself.

Bug: 240924926
Test: presubmit
Change-Id: Ib38b6f9db91e63a2598bf81229e3cd3e1a49ca60
2022-10-05 10:23:54 +01:00
Alex Chau 5e47e78a17 Merge "Taskbar in overview" into tm-qpr-dev 2022-10-05 08:58:31 +00:00
Ming-Shin Lu 6013ab3776 Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev am: 8ff85dc733
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20064292

Change-Id: I76470c6f6dd2a45ee80682d564b83fd3c24d9069
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-05 07:14:31 +00:00
Jerry Chang 3d39bfcda7 Support starts a pair of intent/shortcut and task to split
Add startIntentAndTask and startShortcutAndTask APIs to support starts a
pair of intent/shortcut and task to split with shell-transition.

Fix: 250875492
Test: atest WMShellFlickerTests
Test: manual check start tasks or start intent/shortcut with task flow
      with shell-transition enabled
Change-Id: Ibce60f3a10e2bbc99ef17185f45680dc23ef5f48
2022-10-05 06:44:25 +00:00
Ming-Shin Lu 8ff85dc733 Merge "TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation" into tm-qpr-dev 2022-10-05 06:43:42 +00:00
Ming-Shin Lu 4d4f62ac77 TAPL: add setIgnoreTaskbarVisibility in LauncherInstrumentation
As now FlickerTests is leveraging TAPL to interact devices CUJs,
we realized in LauncherInstrumentation will verify task bar visibility
automatically to expect it always visible when quick-switch, which is
not always reliable since the task bar may be hidden by manual or
when the activity requests to show IME.

Add setIgnoreTaskbarVisibility in LauncherInstrumentation for the caller
to ignore taskbar visibility if the test does not need to verify it.

Bug: 228012334
Bug: 240306344
Test: atest FlickerTests:SwitchImeWindowsFromGestureNavTest
      in tablet device
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.\
       TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet

Change-Id: Id0a35561523d733b8434acb702ec7dcaa466a1c2
2022-10-05 11:37:37 +08:00
Jerry Chang e3f95693ef Remove stage concept from split screen APIs
Since split screen has transferred from stage-based model to app-pair
model. Update to remove the stage concept from split screen APIs, so the
caller won't need to deal with stage concept.

Bug: 250875492
Test: atest WMShellFlickerTests
Test: manual check start tasks or start intent/shortcut with task flow
Change-Id: I36bfb54f3f690cfafd18ba31ab23f5745ead6d97
2022-10-05 03:27:02 +00:00
Tracy Zhou b2cd75e5df Merge "Remove ENABLE_QUICKSTEP_LIVE_TILE flag" into tm-qpr-dev am: d7a7bfc304
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20079254

Change-Id: I35c73d16ad7833faef59009b1d17800570763f13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 20:35:37 +00:00
Tracy Zhou d7a7bfc304 Merge "Remove ENABLE_QUICKSTEP_LIVE_TILE flag" into tm-qpr-dev 2022-10-04 20:02:30 +00:00
TreeHugger Robot 93767d52ad Merge "Reset TaskView transformations on orientationHandler change" into tm-qpr-dev am: 6a84ebc7ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19981469

Change-Id: Idbfcb5231cf25cd402cd70e79e5eb0f75a5b5d2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 19:52:43 +00:00
Vinit Nayak e0f012491c Merge "Hide back button if IME shows in SUW" into tm-qpr-dev am: 188c8916ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20004092

Change-Id: Ia2e8a03d8e0ab2786668300ef611379c742b337c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 19:51:42 +00:00
TreeHugger Robot 6a84ebc7ab Merge "Reset TaskView transformations on orientationHandler change" into tm-qpr-dev 2022-10-04 19:05:43 +00:00
Vinit Nayak 188c8916ee Merge "Hide back button if IME shows in SUW" into tm-qpr-dev 2022-10-04 19:01:42 +00:00
Pat Manning e7fc4b1f63 Use wm shell splash screen animation to reveal app after tasks have appeared.
Bug: 202826469
Test: manual
Change-Id: I6a9e8a932849c30f7b572119a7f607178b5a6437
2022-10-04 19:08:54 +01:00
Winson Chung 7d0d0f2bbd Merge "Updating launcher for pip interface cleanup" into tm-qpr-dev am: a5846c9868
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20106888

Change-Id: I8648bf54cadd21aef823e7881b67e84d6a34f172
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:19:50 +00:00
Winson Chung a5846c9868 Merge "Updating launcher for pip interface cleanup" into tm-qpr-dev 2022-10-04 16:54:48 +00:00
Pat Manning 2d8a1ef7b6 Merge "Refresh taskbar apps show on DeviceProfile change." into tm-qpr-dev am: 0fa114ecc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19951576

Change-Id: I7663f59ecdbca4121d72f8929f74c7a02b89032f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 12:07:08 +00:00
Pat Manning 0fa114ecc0 Merge "Refresh taskbar apps show on DeviceProfile change." into tm-qpr-dev 2022-10-04 11:46:48 +00:00
Alex Chau 4cbe626712 Merge "Refactor TaskbarLauncherStateController to use a single AnimatedFLoat" into tm-qpr-dev am: 2f7fd17dc1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20082145

Change-Id: I719211763f768d08979dce6953e6d5c2bb6a8ea3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 10:34:19 +00:00
Thales Lima 5e92948c42 Merge "Check for view measurement before animating" into tm-qpr-dev am: e8efdc1185
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20073475

Change-Id: Ie0f8c40567dce7ab39ef397f4e135f4378c198d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 10:34:09 +00:00
Alex Chau 2f7fd17dc1 Merge "Refactor TaskbarLauncherStateController to use a single AnimatedFLoat" into tm-qpr-dev 2022-10-04 10:32:54 +00:00
Thales Lima e8efdc1185 Merge "Check for view measurement before animating" into tm-qpr-dev 2022-10-04 10:09:10 +00:00