Commit Graph

12387 Commits

Author SHA1 Message Date
Jon Miranda 29f7474056 Have responsive taskbar UI during swipe up gesture.
- Makes taskbar threshold an absolute Y threshold
  instead of a distance threshold.
- Moves handle, taskbar view, and taskbar background
  during the swipe up gesture

Next CL will address transforming the nav handle <-> taskbar
and ensuring that there's a clean handoff

Bug: 246631059
Test: swipe up on taskbar, release. see bounce
      swipe up on taskbar to go home, proper icon alignment
      swipe up on taskbar, pause for overview, see bounce
      -> further movement should not move taskbar
      test launcher3

Change-Id: I141236fd72428cda7edd0ff116de1d478d18c722
2022-11-08 14:50:02 +00:00
Jerry Chang e444ffb124 Make multi-instances split opt-in based
Remove appending MULTIPLE_TASK flag when starting an intent and a task
into split screen and leave it to wm-shell to decide whether to append
the flag or not.

Bug: 255224696
Test: atest WMShellFlickerTests
Test: manual check the start intent and task flow
Change-Id: I3d887f8dcea67b12a7e94cef55850d52a79a8d2d
2022-11-08 08:59:35 +00:00
Jon Miranda 97198b03f7 Merge "Stash taskbar if user touch down above the gesture height." into tm-qpr-dev am: 92564539d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20391178

Change-Id: I7e55d23264446cdb747682acbf01468a1487535f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-08 01:24:00 +00:00
Jon Miranda 92564539d2 Merge "Stash taskbar if user touch down above the gesture height." into tm-qpr-dev 2022-11-08 01:00:46 +00:00
Jon Miranda d5a6b5f688 Add TaskbarModeSwitchRule to test both transient/persistent taskbar.
- Lays the foundation for transient taskbar tests.
- Does not add flags that would add ACTION_OUTSIDE in tests.
  We can address testing this functionality in a separate CL

Bug: 257549303
Test: TaplTestsTaskbar
Change-Id: I44acc5e589b959e6d4bc93fdc369e503c54e7d87
2022-11-07 14:18:37 -08:00
Schneider Victor-tulias aa631328c5 Merge "Refactor recents attached to window animation to keep state handling synchronized." into tm-qpr-dev am: cd587212a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20388919

Change-Id: I1a6f8f2191d2b9a01f89279c6a04f101c72a1611
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-07 18:48:15 +00:00
Alex Chau 6d18d1a974 Merge "Change taskbar corner roundness when entering overview" into tm-qpr-dev am: 3cf779270b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20311858

Change-Id: I938abff8fcd1c435724d26d884a3546e87ba08c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-07 18:46:49 +00:00
Jon Miranda b0523697c6 Stash taskbar if user touch down above the gesture height.
Bug: 252905206
Test: open taskbar, tap in gesture area, confirm no stash
      open taskbar, tap on taskbar item, confirm no stash
      open taskbar, tap to the side above gesture area, confirm stash

Change-Id: Ide030840440b5f0541d0ccfb055b8a8a7e851657
2022-11-07 10:37:28 -08:00
Schneider Victor-tulias cd587212a2 Merge "Refactor recents attached to window animation to keep state handling synchronized." into tm-qpr-dev 2022-11-07 18:21:53 +00:00
Alex Chau 3cf779270b Merge "Change taskbar corner roundness when entering overview" into tm-qpr-dev 2022-11-07 18:08:22 +00:00
Nicolo' Mazzucato 2370406efb Add CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS
Bug: 231130484
Bug: 228969045
Test: recorded prefetto trace while going to recents
Change-Id: If33daaa22f904c928f5d4a561a7ac1a03d82b7eb
2022-11-07 16:52:32 +00:00
Alex Chau 68e7fe6b7d Change taskbar corner roundness when entering overview
- Roundness will be 0 in Launcher, and 1 in an app

Bug: 250645563
Test: With and without taskbar in overview, switch between home/overview/app and observe the round corners above taskbar
Test: Ensure corner above taskbar is correct in overview and in app when chat bubble is active
Change-Id: I1f4911626c8e79fce8d81a76a9bd0d0670d111da
2022-11-07 12:58:47 +00:00
Schneider Victor-tulias 5bb69206a3 Refactor recents attached to window animation to keep state handling synchronized.
Bug: 244593270
Bug: 243471493
Test: went from from app, launched overview from app/home, started overview, then swiped to home from app/home
Change-Id: If3ce8d5d145941af3fac936be28c0fc59c18932b
2022-11-04 15:14:54 -07:00
Schneider Victor-tulias 924e673804 Merge "Improve RecentsModel log dump for ease-of-use and readability." into tm-qpr-dev am: 345ef9ffba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20290151

Change-Id: I67b5b9c1f60a4c1b2af44d16b6c20d34b4314fed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 18:26:58 +00:00
Schneider Victor-tulias 345ef9ffba Merge "Improve RecentsModel log dump for ease-of-use and readability." into tm-qpr-dev 2022-11-04 18:17:51 +00:00
Ats Jenk 60e0de347b Merge "Clean up bubbles home gesture flag" into tm-qpr-dev am: 70d8a12c60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20377785

Change-Id: I7cef413766ad64bddd45b0803ce148799e4d43ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 18:13:35 +00:00
Schneider Victor-tulias 626bb9fded Merge "Update all set page navigations settings button callback" into tm-qpr-dev am: 0994f74f76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20376505

Change-Id: I7b290597981453166f4cf7d957038876987a4464
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 18:13:00 +00:00
Ats Jenk 70d8a12c60 Merge "Clean up bubbles home gesture flag" into tm-qpr-dev 2022-11-04 17:56:17 +00:00
Schneider Victor-tulias 0994f74f76 Merge "Update all set page navigations settings button callback" into tm-qpr-dev 2022-11-04 17:16:09 +00:00
Sunny Goyal e869850fa6 Merge "Relying on the controller state instead of animator state for icon alignment" into tm-qpr-dev am: eeaba0903a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20291844

Change-Id: I95c2a079a8cc41f1a2592704f5f1ea0ca2baad6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 15:52:49 +00:00
Sunny Goyal eeaba0903a Merge "Relying on the controller state instead of animator state for icon alignment" into tm-qpr-dev 2022-11-04 15:40:17 +00:00
Jon Miranda 264e97feea Merge "Update insets for transient taskbar" into tm-qpr-dev am: 71370c58eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20307069

Change-Id: I46bdfbf96ca0b0be53f04c0c4aef8f07e1a56297
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 15:37:15 +00:00
Jon Miranda 71370c58eb Merge "Update insets for transient taskbar" into tm-qpr-dev 2022-11-04 15:09:12 +00:00
Sunny Goyal d5bb6459f0 Merge "Adding support for multiple overlay callbacks" into tm-qpr-dev am: 8d3241b359
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20362704

Change-Id: I5a6dc4d339b175062a158444a3afbdc645748a4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 14:37:12 +00:00
Sunny Goyal 8d3241b359 Merge "Adding support for multiple overlay callbacks" into tm-qpr-dev 2022-11-04 14:13:12 +00:00
Ats Jenk 20ed998a51 Clean up bubbles home gesture flag
Flag is enabled by default. Removing as it is no longer used.

Bug: 256873558
Test: mp launcher
Change-Id: I8cdfde754aec7b683ae9e47aa8861ddc41460a59
2022-11-03 20:22:56 -07:00
Sunny Goyal 67a46acab9 Merge "Removing unused SplitScreen bounds notification from systemUI" into tm-qpr-dev am: 17b4e8bbda
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20378525

Change-Id: I85b2ba62be8092f9423781fc63fe217ecd6f7a7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 02:39:49 +00:00
Sunny Goyal 17b4e8bbda Merge "Removing unused SplitScreen bounds notification from systemUI" into tm-qpr-dev 2022-11-04 02:03:46 +00:00
Jon Miranda 7e8195081e Update insets for transient taskbar
Bug: 252905206
Test: manual
Change-Id: I03bd493dbe63274c8e90cb5e415127a1dd93e9b8
2022-11-03 17:16:48 -07:00
TreeHugger Robot 6eb2a7354a Merge "Update active gesture error detection" into tm-qpr-dev am: a30a016191
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20067246

Change-Id: Ic8efaa8da297ed84a7a58eced24b638ad2354b7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 23:41:54 +00:00
Vinit Nayak 1169fd447d Merge "Switch to screenshot when finishing recents animation for split select" into tm-qpr-dev am: 7fb1336de7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20364924

Change-Id: I48dc3166018934e249eea473aab3b459819cdeb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 23:41:42 +00:00
TreeHugger Robot a30a016191 Merge "Update active gesture error detection" into tm-qpr-dev 2022-11-03 23:29:00 +00:00
Vinit Nayak 7fb1336de7 Merge "Switch to screenshot when finishing recents animation for split select" into tm-qpr-dev 2022-11-03 22:26:36 +00:00
Sunny Goyal 82379187ea Adding support for multiple overlay callbacks
Bug: 193244407
Test: Presubmit
Change-Id: Ic345972056752238e7e46226533fd8f33d664213
2022-11-03 14:37:40 -07:00
Sunny Goyal 774dcd06ae Relying on the controller state instead of animator state for
icon alignment

Bug: 246644619
Test: Presubmit
Change-Id: Iaa4ddd94a6d85acb9f8501263665ea78394815de
2022-11-03 13:42:09 -07:00
Schneider Victor-tulias 0d8c5923f1 Update active gesture error detection
- Removed some unused error detection event tracking
- Updated incorrect event tracking
- Added debug new debug gesture logs

Bug: 254250355
Test: attempted several gestures and checked logs
Change-Id: Ia1291a08a9a5842addb93c30eb6d21c6c60916c7
2022-11-03 20:26:09 +00:00
Sunny Goyal 6e78a800c1 Removing unused SplitScreen bounds notification from systemUI
Bug: 221961069
Test: Presubmit
Change-Id: I472a94dd1096a3c44cb378e647927637d9d67bf5
2022-11-03 12:47:41 -07:00
Schneider Victor-tulias 3ec7111a02 Update all set page navigations settings button callback
Updated the all set page navigation settings button callback to allow going back to the all set page.

Fixes: 256998811
Test: going to the navigation settings then swiping home/going to another app does not allow the user to then go back to all set page. going to navigation settings then going back sends the user back to all set page
Change-Id: I502e2264886c43fe15bed3fab3a241e9713c5da5
2022-11-03 11:12:30 -07:00
Sunny Goyal ac725654dd Merge "Removing RemoteTransitionCompat and related wrappers" into tm-qpr-dev am: fc01c382bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20275893

Change-Id: Id2f05ba29fc0c5f65074f1a9f3b3f100db12b1fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 17:24:28 +00:00
Sunny Goyal fc01c382bf Merge "Removing RemoteTransitionCompat and related wrappers" into tm-qpr-dev 2022-11-03 16:40:27 +00:00
Jon Miranda 1b4a697e56 Merge "Revert "Revert "Add a way to stash/unstash transient taskbar.""" into tm-qpr-dev am: 8ed5ac05fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20356225

Change-Id: I105e7ac5928083ef4d3793c76a0da357338c8b3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 06:30:53 +00:00
Jon Miranda 8ed5ac05fd Merge "Revert "Revert "Add a way to stash/unstash transient taskbar.""" into tm-qpr-dev 2022-11-03 05:58:38 +00:00
Vinit Nayak 20ce6a97fd Switch to screenshot when finishing recents animation for split select
* There's a situation where we can also let the live-tile play
if it wasn't the one selected for split select, but there's
some bug w/ the focused task that causes the thumbnail and live tile
translations to be incorrect.
* But this maintains parity.

Fixes: 255915066
Test: Starting/ending/ignoring live tile in split
never shows the cutout

Change-Id: I2f63ca44a5a1cc16df12e7b3b06ca211dc995f8d
2022-11-02 22:48:36 -07:00
Sunny Goyal 6988b7b308 Merge "Fixing background jump when closing a widget" into tm-qpr-dev am: 031ee4cbcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20304438

Change-Id: I3d706ddc9847d75f4a5db5966675aa1d7f2be39d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 01:14:26 +00:00
Sunny Goyal 1319de88b4 Removing RemoteTransitionCompat and related wrappers
Bug: 221961069
Test: Presubmit
Change-Id: Ib93640d27a9eb0401882574e37b466163dafa5b3
Merged-In: Ib93640d27a9eb0401882574e37b466163dafa5b3
2022-11-02 23:40:48 +00:00
Sunny Goyal 39b07fd66c Fixing background jump when closing a widget
We do not add background animation when opening target is translucent
Added additional check to not animate background if launcher is not
closing (which is already a subset of all-targets-translucent)

Also removing reverse background animation from widgets, similar
to app-icons as it is never added for launcherNotClosing path

Bug: 242379946
Test: Added translucent activtiy and widget and verified manually
      that the behavior does not change
Change-Id: Icda8007c0063295bf8431c00a0f0b665ecdef109
2022-11-02 19:17:18 +00:00
Saumya Prakash c8964d66a7 Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev am: ccc8e9fcf4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342916

Change-Id: I540d79b259a7d306496882a460984f11ac98a234
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 18:56:37 +00:00
Vinit Nayak b7e684ecc8 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev am: 626f322343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20259172

Change-Id: Id93c88d1125df4f515bcb66a64b5a739e8d090e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 18:56:24 +00:00
Saumya Prakash ccc8e9fcf4 Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev 2022-11-02 18:30:21 +00:00
Vinit Nayak 626f322343 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev 2022-11-02 18:26:02 +00:00