Commit Graph

15040 Commits

Author SHA1 Message Date
Randy Pfohl 77344f8d6f Merge "switching animation to screenshot to avoid visual jank" into udc-dev am: f5bec7dd30 am: c338164e7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23665476

Change-Id: If68c8ddb36e9d1984b8e206f00f4ee540c3d71f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 06:47:17 +00:00
Saumya Prakash aecdb4dd6e Merge "Scale the gesture tutorial animation to work on smaller devices" into udc-dev am: cb5e2cfd3e am: 83301267f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23632910

Change-Id: I07877a6057799392f4cc0e758787438f7439ed5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 06:46:46 +00:00
Randy Pfohl f5bec7dd30 Merge "switching animation to screenshot to avoid visual jank" into udc-dev 2023-06-13 05:43:21 +00:00
Saumya Prakash cb5e2cfd3e Merge "Scale the gesture tutorial animation to work on smaller devices" into udc-dev 2023-06-13 05:38:01 +00:00
Saumya Prakash 6ebddb1d52 Merge "Update the strings in the gesture nav tutorial" into udc-dev am: 0d87c4766e am: 87085d3b4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23659350

Change-Id: I83ec0867a74a8f0bee3754e17e06fdc8379a8a99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 05:21:45 +00:00
Saumya Prakash 0d87c4766e Merge "Update the strings in the gesture nav tutorial" into udc-dev 2023-06-13 03:39:38 +00:00
randypfohl d3cc664391 switching animation to screenshot to avoid visual jank
Test: built locally, recorded, and slow replayed it to verify no jank/visual anomalies visible.

Bug: 245750127
Change-Id: If7e72512d3303222f4d006a9e2a1639b2f86b1af
2023-06-12 18:28:57 -07:00
Vadim Tryshev f8814d1c3c Merge "Revert "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test"" into udc-dev am: af641a6e80 am: 27e2251b7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23662872

Change-Id: Ia3d518be4d57ee77adfded8f10fe87e134bbaba0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-12 23:04:29 +00:00
Vadim Tryshev af641a6e80 Merge "Revert "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test"" into udc-dev 2023-06-12 21:49:39 +00:00
Saumya Prakash b932cf4b64 Update the strings in the gesture nav tutorial
Change the strings for the instructions and feedback for the gesture navigation tutorial to align with new UX changes.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fix: 286547594
Test: Manually went through the redesigned tutorial and verified that
the new strings correctly show up. Also checked that the previous
tutorial remains unchanged.

Change-Id: I27a3e8c0f09e7755e6087ce5b004b687f229d153
2023-06-12 21:26:43 +00:00
Brian Isganitis 6a5c91e503 Merge changes If4669756,Ide702745 into udc-dev am: 77a40999e1 am: d0e61e3eef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23603557

Change-Id: Ibec41dd7c9dd71804f21071e5609238d68b54f0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-12 18:05:39 +00:00
Saumya Prakash 08a2708739 Scale the gesture tutorial animation to work on smaller devices
The lottie animations in the gesture navigation tutorial would get cut
off due to having to crop them to smaller devices. This change uses a
matrix to correctly scale the animation such that the aspect ratio is
maintained.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fix: 283969417
Test: Went through the tutorial on devices of different sizes and aspect
ratios and ensured that the lottie animation isn't cut off.

Change-Id: I4b4cc9e11a68daef29fa31d6a89a1c9006041937
2023-06-12 17:55:00 +00:00
Vadim Tryshev b5057c496a Revert "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test"
This reverts commit 1a2462914d.

Reason for revert: Likely culprit for b/286115393

Change-Id: I613ca9f62c5b9f43f2e3cd240e45bc1a0db0e661
2023-06-12 17:40:22 +00:00
Brian Isganitis 77a40999e1 Merge changes If4669756,Ide702745 into udc-dev
* changes:
  Make sure FLAG_IN_APP is set when launching apps from keyguard.
  Report unstashed content insets for notification panel.
2023-06-12 16:51:37 +00:00
Saumya Prakash 1d73aa9da2 Merge "Enforce the correct orientation for the gesture navigation tutorial" into udc-dev am: 372de4f521 am: 4522e5d2ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23493333

Change-Id: Ia4093c65ff8eeb97d3d1952a6d2399123cf4490a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-11 23:52:33 +00:00
Saumya Prakash 372de4f521 Merge "Enforce the correct orientation for the gesture navigation tutorial" into udc-dev 2023-06-11 22:24:13 +00:00
Jagrut Desai 289010894c Merge "Set AccessibilityPaneTitle for taskbar view" into udc-dev am: 2d5bb34b6b am: 45263ef98a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23624910

Change-Id: I33da842c2bd0f5bf47cd377684776735ba917e7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 23:25:59 +00:00
Randy Pfohl bf44d185e8 Merge "Updating content description of taskview after latest update" into udc-dev am: 5e1ccf2e96 am: f076999f4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23623291

Change-Id: Ic6f4fd2a614d7121d720dbde1c4bf75130bc1d48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 23:25:23 +00:00
Jagrut Desai 2d5bb34b6b Merge "Set AccessibilityPaneTitle for taskbar view" into udc-dev 2023-06-09 22:26:39 +00:00
Randy Pfohl 5e1ccf2e96 Merge "Updating content description of taskview after latest update" into udc-dev 2023-06-09 22:06:41 +00:00
Saumya Prakash e2711c254a Enforce the correct orientation for the gesture navigation tutorial
The lottie animations used for the gesture navigation tutorial are
designed for specific orientations depending on the device. This change
ensures that users are in the correct orientation for their device. For large screen users in portrait mode, we display a prompt to rotate the screen.

Flag: ENABLE_NEW_GESTURE_TUTORIAL
Fix: 277781713
Bug: 276515961
Test: Manually went through the tutorial starting from both
orientations on handheld, foldable, and tablet to ensure that the prompt
was shown and hidden correctly. Also ensured that gestures cannot be
completed in the background while the prompt is being shown.

Change-Id: I86ae566721f240264177ad4ec7fc12e58d1b95cd
2023-06-09 21:41:07 +00:00
Jagrut Desai eaaaa764a6 Merge "Suspend immersive mode autohide while pending transient taskbar timeout" into udc-dev am: 5e9203e737 am: 72bd10ee95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23544158

Change-Id: Iee9ca6e0322c273538bd7baa1b874385f741302c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 20:23:04 +00:00
randypfohl 62eb722726 Updating content description of taskview after latest update
Description: we wait for icon updates to receive the title of the task. However we still set the description immediately upon digitalwellbeingtoast creation.
this creates a null set for contentDescription resulting in incorrect talkbalk. This will listen for icon updates and will reiniitialize the toast ensuring
taskview is set properly.

Test: built and tested locally with talk back ensuring the titles are being set correctly

Bug: 280908761
Change-Id: I946e7190114cbdccb75883965b1fdf85ed6ad17a
2023-06-09 12:10:14 -07:00
Jagrut Desai 5e9203e737 Merge "Suspend immersive mode autohide while pending transient taskbar timeout" into udc-dev 2023-06-09 18:50:52 +00:00
Tony Wickham 0a074648c2 Suspend immersive mode autohide while pending transient taskbar timeout
Test: open Youtube fullscreen video, swipe up on taskbar; ensure taskbar autostashes before immersive mode autohides
Fixes: 260765455
Flag: none

Change-Id: I05c61de911f1bf326962d84c4f7c3e12135f23cf
2023-06-09 10:08:45 -07:00
Sunny Goyal 9128dc5634 Merge "Fising launcher stuck on blur" into udc-dev am: ef6fbb5be8 am: 81b856468e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23621509

Change-Id: Iba1b1c43c67c986dce4f1f796ab9c45cd2c4dc74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 07:35:39 +00:00
Sunny Goyal ef6fbb5be8 Merge "Fising launcher stuck on blur" into udc-dev 2023-06-09 06:07:31 +00:00
Jon Miranda 52eb5a8a9f Merge "Update taskbar paddings/sizes to match spec." into udc-dev am: 10b3e64d51 am: b6e38fb23f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23597945

Change-Id: Ic16cd0e553808e4b3bf936b5c63664ae3721f7cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 01:29:22 +00:00
Jagrut Desai 78ddf47150 Set AccessibilityPaneTitle for taskbar view
we need to set pane title for taskbar view so accessibility service knows to focus/unfocus on it upon it appearing and disappearing

Test: Manual
Bug: 284081291
Flag: Not needed
Change-Id: I5404c97bdc3e1d3308942cd907e7f7701a04bee3
2023-06-08 17:08:40 -07:00
Jon Miranda 10b3e64d51 Merge "Update taskbar paddings/sizes to match spec." into udc-dev 2023-06-08 23:55:06 +00:00
Sunny Goyal 521c2a038b Fising launcher stuck on blur
The same surface can become invalid, in which case we need to wait
until the next draw to apply blur

Bug: 284411563
Test: Verified on device
Change-Id: Ifb6be94756fd00c5925e11a6b7d57f206e063a17
2023-06-08 13:18:34 -07:00
TreeHugger Robot 2205fae82f Merge "Check pendingIntent for intent fullscreen launch type" into udc-dev am: a11802c486 am: 7d17d40b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23571512

Change-Id: I7baecc0de4d0be49ca8cfbf4b8c4bd458c66bc4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:47:12 +00:00
TreeHugger Robot 319a44a0ab Merge "Fix null-pointer in AbsSwipeUpHandler.buildAnimationController" into udc-dev am: 737c7f21ec am: 0f8401c721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23603592

Change-Id: Ic13e773f2e83e87e5ea41b26e0cdd29cf5c23e87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:46:46 +00:00
Schneider Victor-tulias 19917cf9ed Merge "Fix layout issues in suw all set page" into udc-dev am: 8ee4ad6604 am: 32a14e59bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23502666

Change-Id: I85dd4ee0d91ece8e7440b3fe03ba42c9843098aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 19:46:32 +00:00
TreeHugger Robot a11802c486 Merge "Check pendingIntent for intent fullscreen launch type" into udc-dev 2023-06-08 18:48:55 +00:00
TreeHugger Robot 737c7f21ec Merge "Fix null-pointer in AbsSwipeUpHandler.buildAnimationController" into udc-dev 2023-06-08 18:42:53 +00:00
Vinit Nayak 02fa19b0ec Merge "Include assistant in RemoteTargetGluer" into udc-dev am: 76ad67a07a am: 229d56ae95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23574112

Change-Id: I38059c67c9c39ffc44f331366995ba5d446d56e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 18:19:19 +00:00
Randy Pfohl 390c0db47c Merge "Cleaning up liveview in overview while returning home for visual fix" into udc-dev am: f2d46812f8 am: 95a6047a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23595177

Change-Id: I22dcdc854547c3d71635032f1b31417f48d6517f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 18:19:05 +00:00
Schneider Victor-tulias 8ee4ad6604 Merge "Fix layout issues in suw all set page" into udc-dev 2023-06-08 18:15:34 +00:00
Vinit Nayak 76ad67a07a Merge "Include assistant in RemoteTargetGluer" into udc-dev 2023-06-08 16:54:31 +00:00
Randy Pfohl f2d46812f8 Merge "Cleaning up liveview in overview while returning home for visual fix" into udc-dev 2023-06-08 16:48:36 +00:00
Jagrut Desai ed6cee47ff Merge "Remove Hotseat Education from Large Screens" into udc-dev am: 0704595a99 am: c457d85fec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590297

Change-Id: I8fef8750e22980e1b07c06107060f7f1067a0b89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 00:26:44 +00:00
randypfohl 680b8de0c9 Cleaning up liveview in overview while returning home for visual fix
Test: built and tested locally, verified bug doesn't occur during 3 button nav nor gesture nav animations. video in bug.

Bug: 245750127
Change-Id: I6e52722e73ff64e81686ee2ef3f7b2f7f5b1daa9
2023-06-07 23:55:41 +00:00
Brian Isganitis fd896ed6bd Make sure FLAG_IN_APP is set when launching apps from keyguard.
This flag was not being set in the case where you lock from launcher and
then unlock by tapping on launcheable items from keyguard such as home
controls, notifications, smartspace, etc. This change makes sure we
double check if we are unlocking to launcher or not and then setting
FLAG_IN_APP accordingly.

Test: manual
Fix: 284314711
Change-Id: If46697566d252c649a00a7b3d728a14789dc6aed
2023-06-07 18:28:30 -04:00
Brian Isganitis 63582a0a00 Report unstashed content insets for notification panel.
Test: FlickerTests, manual
Bug: 284314711
Flag: no
Change-Id: Ide7027454f8b447f82778c8e24dbc39c5ade0248
2023-06-07 18:26:58 -04:00
Vinit Nayak 5fa247fd43 Include assistant in RemoteTargetGluer
* The UI isn't terribly great, but this fixes the crashes

Bug: 285781761
Change-Id: Ie3376a98b16c19bbdb4e39e7a0a436ddae200c4a
2023-06-07 12:05:00 -07:00
Jon Miranda 95f4472ba9 Update taskbar paddings/sizes to match spec.
Bug: 282798528
Test: manual with screenshots
Change-Id: I00c646d9cd11a9015e14f8311ba2ff233d8321ac
2023-06-07 11:19:50 -07:00
Schneider Victor-tulias dd876d36a7 Merge "Add null-check to findLastActiveTaskAndRunCallback" into udc-dev am: bfa0fae851 am: 396bb7c262
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590296

Change-Id: I0f7cec81ed479ff2d000d986a9213c7ae4b3c2ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 18:17:10 +00:00
Jagrut Desai d94017474f Remove Hotseat Education from Large Screens
Currently there is an taskbar icon unstashing animation that happens on top of hotseat education. Hotseat education is redudunt for large screens(Tablets, Foldable-unfolded). To solve this we will remove this reduntdant feature for large screens

Test: Manual
Bug: 282617747
Flag: not needed
Change-Id: Ia5e2c51f7ef927a59cb6efa195c1cdfc627205d9
2023-06-07 10:52:39 -07:00
Schneider Victor-tulias 1834581bc0 Fix null-pointer in AbsSwipeUpHandler.buildAnimationController
Flag: not needed
Fixes: 271248485
Test: ran launcher
Change-Id: Ia9e0e68b9ee9273d82ed791b421a10ccb1fcdef2
2023-06-07 10:39:25 -07:00