Jeremy Sim
43c79704ed
Fix placement bug with split staging icon in RtL
...
Fixes a bug where switching the phone to RtL caused Overview's split staging icon to be placed incorrectly.
The bug was caused by the fact that FrameLayout margins were not working consistently in RtL. This may be another bug; more investigation required (b/201920967).
This fix makes it so that the icon is positioned using setX and setY rather than margins.
Fixes: 227372971
Test: Manual
Change-Id: I6e5371d20e8e2e4e6f41ba93d0dfa36ed085c103
2022-04-08 18:05:05 -07:00
Vinit Nayak
62d0609da6
Merge changes from topic "presubmit-am-65236292503c47e89824f0dfda012d6a" into tm-mainline-prod am: 6d9f02efb7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17661889
Change-Id: I9dfa7100fc242b47bc54a16b8500a361d40dd831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-08 22:13:52 +00:00
Vinit Nayak
9ef75227c0
Merge "Revert "Animate overivew actions view hiding on scroll."" into tm-dev
2022-04-08 22:12:46 +00:00
Presubmit Automerger Backend
75fab2112a
[automerge] Implement splitting from Taskbar long-press 2p: abdf25d226 2p: 5c638fdfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17530994
Bug: 217964720
Change-Id: I97bc3a9c202ffb6897b66319ae7e0f722f4903cf
2022-04-08 19:16:20 +00:00
Presubmit Automerger Backend
5c638fdfbe
[automerge] Implement splitting from Taskbar long-press 2p: abdf25d226
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17530994
Bug: 217964720
Change-Id: Ie8cc35c7ba358782186d5c0a9e9d994dfd8ba9a1
2022-04-08 19:16:13 +00:00
Jeremy Sim
abdf25d226
Implement splitting from Taskbar long-press
...
Implements the ability to split the screen by long-pressing a Taskbar icon.
Bug: 217964720
Test: Manual
Change-Id: I5d324d8ca912c10cc3c3de21cae98fad546b85ac
2022-04-08 12:15:16 -07:00
Vinit Nayak
c5e23ef1ec
[automerge] Revert "Animate overivew actions view hiding on scroll." 2p: f5f14acba3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17661889
Change-Id: I77ab238b8c11b20047e64d0a57c7278c3be5221c
2022-04-08 17:26:56 +00:00
Vinit Nayak
f5f14acba3
Revert "Animate overivew actions view hiding on scroll."
...
This reverts commit 458dcdbe1e .
Reason for revert: b/228137694
Change-Id: I6992b380d9cacee2afa98e02ba406793a440e703
2022-04-08 17:26:46 +00:00
Tracy Zhou
2766e77294
Merge changes from topic "presubmit-am-2eb27cabdda4410b8ead207e2f7f1d78"
...
* changes:
[automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b 2p: 37d9c87f7d
[automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
Set finishedToApp = false when rotating in Overview
2022-04-08 16:05:21 +00:00
Tracy Zhou
b34b442032
Merge "Set finishedToApp = false when rotating in Overview" into tm-dev
2022-04-08 16:05:21 +00:00
Tracy Zhou
6206463d94
Merge changes from topic "presubmit-am-2eb27cabdda4410b8ead207e2f7f1d78" into tm-mainline-prod
...
* changes:
[automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
Set finishedToApp = false when rotating in Overview
2022-04-08 16:05:21 +00:00
Sunny Goyal
1eb1140129
Merge "Fixing spring animation for fallback launcher activity" into tm-dev
2022-04-08 07:19:51 +00:00
Sunny Goyal
ddd63596fc
Merge changes from topic "presubmit-am-7e6a3da5189c4781908ebfa1452aaef4"
...
* changes:
[automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4 2p: 6c4b435575
[automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
Fixing spring animation for fallback launcher activity
2022-04-08 07:19:51 +00:00
Sunny Goyal
d211779aab
Merge changes from topic "presubmit-am-7e6a3da5189c4781908ebfa1452aaef4" into tm-mainline-prod
...
* changes:
[automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
Fixing spring animation for fallback launcher activity
2022-04-08 07:19:51 +00:00
Wei Sheng Shih
ef9c8e44fe
Merge "Update orientation state while gesture animation start." into tm-dev am: 342446d105 am: 56261d8ad4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17463944
Change-Id: I55aee485ff4643ada0be5e0bad62e45e67d27d76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-08 02:11:51 +00:00
Jon Miranda
812feca9ef
Merge "Revert "Revert "Sync hotseat/taskbar handoff""" into tm-dev
2022-04-08 01:39:42 +00:00
Jon Miranda
34f459806d
Merge changes from topic "presubmit-am-1219c4ff284044b7ac999b75c13ead7c"
...
* changes:
[automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
[automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Revert "Revert "Sync hotseat/taskbar handoff""
2022-04-08 01:39:42 +00:00
Jon Miranda
caf5577940
Merge changes from topic "presubmit-am-1219c4ff284044b7ac999b75c13ead7c" into tm-mainline-prod
...
* changes:
[automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Revert "Revert "Sync hotseat/taskbar handoff""
2022-04-08 01:39:42 +00:00
Wei Sheng Shih
342446d105
Merge "Update orientation state while gesture animation start." into tm-dev
2022-04-08 00:39:04 +00:00
Schneider Victor-tulias
2ff0a66b8e
Merge "Add logging to debug incorrect taskbar states caught by flaky tests." into tm-dev
2022-04-07 21:05:39 +00:00
Schneider Victor-tulias
1abab5be55
Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc"
...
* changes:
[automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
[automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
Add logging to debug incorrect taskbar states caught by flaky tests.
2022-04-07 21:05:39 +00:00
Presubmit Automerger Backend
b91555f2fa
[automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b 2p: 37d9c87f7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132
Change-Id: I65757d0e1d13cfb258b40eda75c6e3e13cfaabc4
2022-04-07 20:34:19 +00:00
Presubmit Automerger Backend
37d9c87f7d
[automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132
Change-Id: Ia37a9a05a06f0610cbf8a4bbf731744a10c44d62
2022-04-07 20:34:13 +00:00
Tracy Zhou
655627f70b
Set finishedToApp = false when rotating in Overview
...
The issue is that we always assume finishedToApp = true when recents animation is cancelled and use that to set FLAG_IN_APP. However, we don't return to app in overview after the device is rotated. Ideally we want to get signal from onRecentsAnimationCancelled, but at this point in the release it's probably ok to use launcher state to determine it.
Fixes: 227565959
Test: manual
Change-Id: I6be800aff8108b382ca3947cd1d0a45c9e9571eb
2022-04-07 20:34:00 +00:00
Presubmit Automerger Backend
4ca8d158d5
[automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4 2p: 6c4b435575
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829
Bug: 228260232
Change-Id: I8c302578e0756d3111ee7b0ec636ef77085e0c4d
2022-04-07 18:49:54 +00:00
Sunny Goyal
c327e6bad4
Fixing spring animation for fallback launcher activity
...
Bug: 228260232
Test: Verified on device
Change-Id: I7b630fd6936b49214cffd01981e75aeb6b3b5d24
2022-04-07 18:49:41 +00:00
Jason Chang
cbf03aa64e
Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399 am: 68c42f2742
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735
Change-Id: I580c911c120e47512a612f498ebfeebab578739b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 14:02:39 +00:00
Jason Chang
4d3995b399
Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev
2022-04-07 13:58:52 +00:00
TreeHugger Robot
0e508ba727
Merge changes from topic "presubmit-am-6e7b87d8c6594f9d9d7fb9f70b2a9861"
...
* changes:
[automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
[automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Clone mInsets when copying DeviceProfile to taskbar
2022-04-07 13:44:14 +00:00
TreeHugger Robot
833c210550
Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev
2022-04-07 13:44:14 +00:00
Alex Chau
9e9dd8fa43
Merge "Make AllApps bottom sheet follow finger and snap after 30% progress" into tm-dev
2022-04-07 09:50:04 +00:00
Alex Chau
51bf7af3df
Merge changes from topic "presubmit-am-91d9a2708d3b405695b3a3a0998b8f6e"
...
* changes:
[automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb 2p: 49520d892d
[automerge] Make AllApps bottom sheet follow finger and snap after 30% progress 2p: c83ea5f8fb
Make AllApps bottom sheet follow finger and snap after 30% progress
2022-04-07 09:50:04 +00:00
TreeHugger Robot
c0c1276197
Merge changes from topic "presubmit-am-d97629e947434fe09a62af1bca34a360" into tm-mainline-prod am: 7cc9dcf664
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880
Change-Id: Ide8fd1d4ebe9b8abc8261ce5bdd24fc922f4fd5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 03:54:44 +00:00
TreeHugger Robot
e633cca3bc
Merge "Adding finish signal to GestureNavContract." into tm-dev
2022-04-07 03:24:01 +00:00
Presubmit Automerger Backend
5d4c1490eb
[automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832
Bug: 227657604
Bug: 225205246
Change-Id: Iee994b293e1136d6b1ae6c315e1084836e9b9565
2022-04-06 21:29:24 +00:00
Presubmit Automerger Backend
977f8873f3
[automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832
Bug: 227657604
Bug: 225205246
Change-Id: I6f79835edd8495fc5b91dcabeb2e6b68b7ce52fa
2022-04-06 21:29:18 +00:00
Schneider Victor-tulias
1823bdba6e
Add logging to debug incorrect taskbar states caught by flaky tests.
...
- Various TAPL tasts are flaking because the taskbar is present when navigating home. Several TAPL taskbar tests are also flaking because the taskbar is missing when opening an app. Adding logging to catch when FLAG_IN_APP is being set and why it isn't being applied.
Bug: 227657604
Bug: 225205246
Test: manual
Change-Id: Ia976bb0a6c7764e571fab3ac98ee21ff22ef7674
2022-04-06 14:26:47 -07:00
Presubmit Automerger Backend
3e6259671d
[automerge] Adding finish signal to GestureNavContract. 2p: 5c20fdd73f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17610880
Bug: 228260232
Change-Id: Iaac9f45042aff84fab7232672cec522bacaac902
2022-04-06 20:43:30 +00:00
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
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