Commit Graph

13651 Commits

Author SHA1 Message Date
Sunny Goyal 5c20fdd73f Adding finish signal to GestureNavContract.
Also fixing also-closing behavior for FloatingSurfaceView for Android S

Bug: 228260232
Test: Verified manually on device
Change-Id: I83f6417a756c1459533294d681e83abba6ea58aa
2022-04-06 13:42:59 -07:00
Alex Chau ef7b504bef [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id9f6f9eb9f50bd4d2d07e979f1b90c500f75e2eb
2022-04-06 18:45:32 +00:00
Alex Chau 3d3b263bf0 [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: I3caf1b56cb39c2cf5dbf88a379bec8d955c0c080
2022-04-06 18:45:25 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Presubmit Automerger Backend 51b0a0f4cb [automerge] Add the staggered ring appear animation! 2p: feb31ca567 2p: 3cee2086ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: Ide12f85d642a427c5e4a1463bbcade9fdad7310b
2022-04-06 18:27:39 +00:00
Presubmit Automerger Backend 3cee2086ed [automerge] Add the staggered ring appear animation! 2p: feb31ca567
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Bug: 197636896
Change-Id: I43f6c0bb6889398db42d95495064b586a18f3492
2022-04-06 18:27:33 +00:00
Josh Tsuji feb31ca567 Add the staggered ring appear animation!
Bug: 197636896
Test: a lot of unlocking
Change-Id: I9a713ac12eae5128d409166110cece0b86d89ae4
2022-04-06 14:26:50 -04:00
Jon Miranda b6e33441d2 [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I4c81d223826ba53f18b6e03d603e2a8ffb694f35
2022-04-06 17:29:26 +00:00
Jon Miranda debdedebed [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: If72bec9d681a0fdb873a77cf8d5e67fc5be56801
2022-04-06 17:29:17 +00:00
Jon Miranda 27f9559203 Revert "Revert "Sync hotseat/taskbar handoff""
This reverts commit efca5c8655.

Reason for revert: ANR no longer happening

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I03bfe8642ef4ed0f9e8fbd543141d39c66375604
2022-04-06 17:29:09 +00:00
Presubmit Automerger Backend 21833871cb [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521 2p: afeb386645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: If2f11aa645c865be2b21388e724fa04660f2e8b1
2022-04-06 17:22:59 +00:00
Presubmit Automerger Backend afeb386645 [automerge] Show an 'Undo' snackbar when users dismiss a predicted hotseat item. 2p: 510a818521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17509020

Bug: 200841778
Change-Id: I6ad967a6e2a412611ad045854f699fc376d4dbac
2022-04-06 17:22:53 +00:00
Stefan Andonian 510a818521 Show an 'Undo' snackbar when users dismiss a predicted hotseat item.
Bug: 200841778
Test: Hard-coded the flag to be true, and verified that the snack bar
is shown with the correct text. Also verified that talkback announces
"Item Removed" properly and that the correct log event is produced by
the AppEventProducer which AiAi needs to process the user action.

Change-Id: Ifbb9cf7aecf26cd4bcebf48d4fb07fb3d5af46bb
2022-04-06 17:22:40 +00:00
Alex Chau 1bdb0646d6 [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851 2p: 45e6bc6447
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: If879b31ee6511b9ca78cde33ce3b244176f10fc5
2022-04-06 15:00:01 +00:00
Alex Chau 45e6bc6447 [automerge] Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..." 2p: c3d2d45851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17619705

Change-Id: I1f19d89d6b84b083e95eab17f79ae339333cf066
2022-04-06 14:59:53 +00:00
Alex Chau c3d2d45851 Revert "Add screen record to FallbackRecentsTest#goToOverviewFro..."
Reason for revert: b/223278795 resolved
Reverted Changes:
I3ddcf5db0:Add screen record to FallbackRecentsTest#goToOverv...

Change-Id: I668637bf1733feb2de8c0ee3c70cbfb3adc269e1
2022-04-06 14:59:45 +00:00
Alex Chau dee631c221 [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: If1a5da4570f79d5ab1bd6281d8a90ee31877fead
2022-04-06 12:31:15 +00:00
Alex Chau 49520d892d [automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17523008

Bug: 220336617
Change-Id: I0e9fa83437dafb91ba22e929b31f55cbf88c3189
2022-04-06 12:31:08 +00:00
Alex Chau c83ea5f8fb Make AllApps bottom sheet follow finger and snap after 30% progress
Bug: 220336617
Test: manual
Change-Id: I0b6296cf5abf0f0a5f34fc2a0b5be93dc93ebf3f
2022-04-06 13:30:41 +01:00
Alex Chau b38d6727dd Merge changes from topic "presubmit-am-ebc280344a1741ab828678f9f4570c21" into tm-mainline-prod am: 73c076e901
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586927

Change-Id: Ia76ae81ab63021921e251a613d855e5b13991703
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:06:38 +00:00
Alex Chau f5f589ad52 Merge "Ensure TestLauncher is actaully shown in goToOverviewFromHome" into tm-dev 2022-04-06 09:41:02 +00:00
Alex Chau 73c076e901 Merge changes from topic "presubmit-am-ebc280344a1741ab828678f9f4570c21" into tm-mainline-prod
* changes:
  [automerge] Ensure TestLauncher is actaully shown in goToOverviewFromHome 2p: 499723636d
  Ensure TestLauncher is actaully shown in goToOverviewFromHome
2022-04-06 09:41:02 +00:00
Sunny Goyal c0849b39a3 Merge "Fixing crash when unfolding with an app already open" into tm-dev am: 5e16325ccd am: 6c4433a8a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489726

Change-Id: Ia6c9ce46e82858c78cfed23b3a65945d74a94324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 08:35:17 +00:00
Sunny Goyal 6c4433a8a1 Merge "Fixing crash when unfolding with an app already open" into tm-dev am: 5e16325ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17489726

Change-Id: I821000bd56ed1530f00811ea0f75f1a59b32b633
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 08:08:34 +00:00
Sunny Goyal 5e16325ccd Merge "Fixing crash when unfolding with an app already open" into tm-dev 2022-04-06 07:46:46 +00:00
Shawn Lin 91ab328855 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev am: d1567efff5 am: d01522e17a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395787

Change-Id: I05435c4c5ef65aff7f000c3360b6a125d12622d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 03:26:13 +00:00
Shawn Lin d01522e17a Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev am: d1567efff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395787

Change-Id: If8b97219c1005e7880cb977ec2215301e8e8f743
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 02:58:45 +00:00
Shawn Lin d1567efff5 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev 2022-04-06 02:37:24 +00:00
Andy Wickham 894c0479ad Merge "Removes deprecated uses of Display#getRealSize in Gesture Nav Edu." into tm-dev 2022-04-06 01:43:05 +00:00
Andy Wickham 6cb733276d Merge changes from topic "presubmit-am-42d1f5c1a21f4309a8f90dc16543747a"
* changes:
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead 2p: 258c7ea7b5
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
  Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
2022-04-06 01:43:05 +00:00
Andy Wickham 53087ebce9 Merge changes from topic "presubmit-am-42d1f5c1a21f4309a8f90dc16543747a" into tm-mainline-prod
* changes:
  [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
  Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
2022-04-06 01:43:05 +00:00
Bill Yi 794a254346 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I61523b8dde087b80195da2e692f442118b728fd9
2022-04-05 21:26:06 +00:00
Bill Yi 42cd81c449 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c6b89e13c7eb1ce127b5379070d16e8aacf074d
2022-04-05 21:25:31 +00:00
Bill Yi e9903f38db Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I079f72f6b183f11535e77f03ab6a3f9c0bf1da93
2022-04-05 21:23:51 +00:00
Brian Isganitis 807d650143 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev am: fe5684c2e8 am: 870f0c3b22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17333256

Change-Id: I3a1b978d4ec2c3723bdf39a0379d0826927f7078
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 20:10:15 +00:00
Presubmit Automerger Backend 7261236ff8 [automerge] Ensure TestLauncher is actaully shown in goToOverviewFromHome 2p: 499723636d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586927

Bug: 223278795
Change-Id: I37011cfad68162475e8ea5b249a624b35911106c
2022-04-05 19:56:00 +00:00
Alex Chau 499723636d Ensure TestLauncher is actaully shown in goToOverviewFromHome
- The previous activity can be other test activity with same package name, the check should be more speciifc on the launcher activity itself

Bug: 223278795
Test: com.android.quickstep.FallbackRecentsTest#goToOverviewFromHome
Change-Id: Ie9b88fa0ee16a5b1aec23258b09ab2a22450ac38
2022-04-05 19:55:53 +00:00
Brian Isganitis 870f0c3b22 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev am: fe5684c2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17333256

Change-Id: Iced2d3e43c352f0eedcb2788e128d643bc5ec21b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:44:07 +00:00
Andy Wickham fe19a4a99e [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead 2p: 258c7ea7b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528592

Change-Id: Ifc4b7271f8be3b28457f59b758f6ebed5a44a15b
2022-04-05 19:12:12 +00:00
Andy Wickham 258c7ea7b5 [automerge] Removes deprecated uses of Display#getRealSize in Gesture Nav Edu. 2p: 936c6c6ead
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528592

Change-Id: Id37014877c26e22055021e32fb0f6ddc636eecf6
2022-04-05 19:12:05 +00:00
Andy Wickham 936c6c6ead Removes deprecated uses of Display#getRealSize in Gesture Nav Edu.
Fix: 227307214
Test: Manually went through the gesture nav tutorials.
Change-Id: I0c6fec12915bacec7933a4beb1a6aa68dc49dd67
2022-04-05 12:11:15 -07:00
Brian Isganitis fe5684c2e8 Merge "Create ResourceBasedOverride for SearchSessionManager." into tm-dev 2022-04-05 17:22:13 +00:00
Alex Chau 9d8eeabfec Reset touch state when removing all tasks in RecentsView.applyLoadPlan
Fix: 223245248
Test: com.android.quickstep.FallbackRecentsTest#goToOverviewFromHome
Change-Id: I1cc8952e077b9cc79a93d909b80e215e61e8deab
2022-04-05 17:13:56 +01:00
Thiru Ramasamy 2ce66ab267 Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev am: b266baa64d am: 5e8dc996d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17514640

Change-Id: I00435ed11972055f436b7b2a61289e6f7de5de86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 14:59:40 +00:00
Thiru Ramasamy 5e8dc996d2 Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev am: b266baa64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17514640

Change-Id: I5eb79a523386e8d07c4a661bd918fc78ad51ef65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 14:39:53 +00:00
Thiru Ramasamy b266baa64d Merge "Rename "ONE_SEARCH" attributes to "WEB_SEARCH"" into tm-dev 2022-04-05 14:20:13 +00:00
Alex Chau cf888b8bc9 Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev am: d5d06190a7 am: 4d797754b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570026

Change-Id: Ia704c61af4c3020bffa6b2307b681b0225591cbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 11:44:48 +00:00
Alex Chau 4d797754b4 Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev am: d5d06190a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570026

Change-Id: Ib81e7c35566ccd0a9afc4d0af17ea01ecf696bf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 11:22:33 +00:00
Alex Chau d5d06190a7 Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev 2022-04-05 10:19:55 +00:00
Brian Isganitis 63c32cab98 Create ResourceBasedOverride for SearchSessionManager.
This override will allow Launcher3 to initialize and control a search session implementation.

Bug: 216683257
Test: Manual
Change-Id: I43d4793ef176cfd8e074961286356b96f9222ca9
2022-04-04 17:02:41 -07:00