Commit Graph

10270 Commits

Author SHA1 Message Date
TreeHugger Robot 0500a5479c Merge "Adjust the insets frame providing method per API change" into tm-dev am: d9939d8174
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17517844

Change-Id: I8616ee972a683e61168d821f2e01efbf0fe620c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 02:29:35 +00:00
TreeHugger Robot d9939d8174 Merge "Adjust the insets frame providing method per API change" into tm-dev 2022-04-13 01:53:04 +00:00
Presubmit Automerger Backend 97c752a7b5 [automerge] Animate clear all button's alpha after last task has scrolled beyond its edge. 2p: 29fbab4ddd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17319410

Change-Id: I3c6a4bc96a24c72880be522d98d271fcb7889483
2022-04-12 14:32:28 +00:00
Pat Manning 29fbab4ddd Animate clear all button's alpha after last task has scrolled beyond its edge.
Test: manual
Fix: 208879377
Change-Id: Iad43abbe36d11317869a0c5aa6a8d59fd1fddb67
2022-04-12 15:32:06 +01:00
Brian Isganitis d4db67233e Defer unstashing taskbar on all apps close if gesture in progress. am: 4ad53f1268
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625367

Change-Id: I765601d616763ea80261a0c00376fe07a9586d38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 05:38:25 +00:00
Brian Isganitis 4ad53f1268 Defer unstashing taskbar on all apps close if gesture in progress.
This behavior is more consistent with how we update taskbar stashing when IME is dismissed.

Test: Verified stashing behavior with gestures, 3-button, and bottom sheet dismiss.
Fix: 223837786
Change-Id: Ib85ebe629f33f0bddc36bbc8d99136711105b279
2022-04-11 19:54:53 -07:00
Tracy Zhou b5d7744c1b Merge "Play icon alignment animation in live tile mode" into tm-dev 2022-04-12 00:05:34 +00:00
Tracy Zhou 7cec3b9a4c Merge changes from topic "presubmit-am-216ff17d358d48469a36af82b0d743de" into tm-mainline-prod
* changes:
  [automerge] Play icon alignment animation in live tile mode 2p: 42e30963c3
  Play icon alignment animation in live tile mode
2022-04-12 00:05:34 +00:00
Tracy Zhou abc2288399 Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev 2022-04-12 00:03:15 +00:00
Presubmit Automerger Backend 6113a9420f [automerge] Update task bar icon alignment logic when launcher is paused and resumed in Overview 2p: d4ed2f7717
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17677036

Bug: 223109070
Change-Id: Ifb4c9b373bacce8f15a125b5b9cf97f20cd3d097
2022-04-11 23:12:58 +00:00
Tracy Zhou d4ed2f7717 Update task bar icon alignment logic when launcher is paused and resumed in Overview
If launcher is paused and resumed in overview, goingToUnstashedLauncherStateChanged doesn't change, so we should not use goingToUnstashedLauncherState as a signal for the end value of mIconAlignmentForResumedState anim

Bug: 223109070
Test: go to overview, use the share functionality, share to drive, and make sure task bar ends up in stashed state. Making sure that it never unstashes is out of scope for this change
Change-Id: I5684be6b58279a9b41e257dd72591f7d692c2fbc
2022-04-11 23:12:49 +00:00
Presubmit Automerger Backend 9299049935 [automerge] Play icon alignment animation in live tile mode 2p: 42e30963c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17464395

Change-Id: I39ab52b492edcefe1f30120fe8f2f2625bd27fb1
2022-04-11 23:11:51 +00:00
Tracy Zhou 42e30963c3 Play icon alignment animation in live tile mode
aka launcher is not resumed but recents animation is running

Fixes: 210047102
Test: Go to overview in live tile mode, tap on somewhere outside any task in overview, and make sure icon alignment animation is played.
Change-Id: Ic300ee296049b6fdcdf6d2595916cc84c09d95fa
2022-04-11 16:11:28 -07:00
Bill Yi 795a9a8cee Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-11 15:15:08 +00:00
Josh Tsuji 538581639e Merge "Add the staggered ring appear animation!" into tm-dev 2022-04-11 14:32:44 +00:00
Josh Tsuji 86262c94e1 Merge changes from topic "tsuji-staggered-unlock" into tm-mainline-prod
* changes:
  [automerge] Add the staggered ring appear animation! 2p: feb31ca567
  Add the staggered ring appear animation!
2022-04-11 14:32:44 +00:00
Alex Chau e7b727e88e Merge "Force update orientation handler for initial recents view state." into tm-dev 2022-04-11 12:43:54 +00:00
Presubmit Automerger Backend a0db0c3373 [automerge] Force update orientation handler for initial recents view state. 2p: 671d44b36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17658703

Bug: 228565696
Change-Id: I0b7360ea44d8076fd3c17348e173a6e66e0c0dc9
2022-04-11 02:55:17 +00:00
wilsonshih 671d44b36b Force update orientation handler for initial recents view state.
Force execute updateSizeAndPadding at onGestureAnimationStart to ensure
there has computed the initial task size even if orientation didn't
changed.

Bug: 228565696
Test: run "atest NexusLauncherTests" on tablet device.
Change-Id: I175754a68e91039dffdfd4035414885417882a07
2022-04-11 10:53:18 +08:00
Jeremy Sim 5d2a1f47c0 Merge "Fix placement bug with split staging icon in RtL" into tm-dev 2022-04-10 01:48:53 +00:00
Jeremy Sim 70760fdf34 Merge changes from topic "presubmit-am-8e96c6381a9e4b5293842cc17f174988" into tm-mainline-prod
* changes:
  [automerge] Fix placement bug with split staging icon in RtL 2p: 43c79704ed
  Fix placement bug with split staging icon in RtL
2022-04-10 01:48:53 +00:00
Bill Yi 92fd7b6e20 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I62411927e91b9b57de2ed2d28d35b47c6069a6e7
2022-04-09 04:06:52 +00:00
Jeremy Sim e15927eec7 Merge "Implement splitting from Taskbar long-press" into tm-dev 2022-04-09 01:21:14 +00:00
Jeremy Sim e3e4c9802f Merge changes from topic "presubmit-am-66c2d088f05444b5984eb37e35ba24a0" into tm-mainline-prod
* changes:
  [automerge] Implement splitting from Taskbar long-press 2p: abdf25d226
  Implement splitting from Taskbar long-press
2022-04-09 01:21:14 +00:00
Presubmit Automerger Backend 05cd7428a7 [automerge] Fix placement bug with split staging icon in RtL 2p: 43c79704ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17668514

Change-Id: I4a85a0dd0acb50a37736220c560d72ad24866797
2022-04-09 01:05:30 +00:00
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 9ef75227c0 Merge "Revert "Animate overivew actions view hiding on scroll."" into tm-dev 2022-04-08 22:12:46 +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 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 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
Jon Miranda 812feca9ef Merge "Revert "Revert "Sync hotseat/taskbar handoff""" into tm-dev 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 56261d8ad4 Merge "Update orientation state while gesture animation start." into tm-dev am: 342446d105
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17463944

Change-Id: I423bcad74e2e42b005ee21fb65369b7c5c637802
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 01:35:27 +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
Benno Lin ed40b335e2 Merge "Enable pressback tests" into tm-dev am: edb576fba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17501930

Change-Id: I6058ebc21dfe6c1ae22b0c3fe5fe90a04ae312a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:58:10 +00:00
Benno Lin edb576fba8 Merge "Enable pressback tests" into tm-dev 2022-04-07 23:39:20 +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 408e8b0677 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc" into tm-mainline-prod
* changes:
  [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
TreeHugger Robot 117a0f2afb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 20:55:25 +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 6c4b435575 [automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829

Bug: 228260232
Change-Id: I26b21ef9c55be8bde372d56ba7e8aea715def2f3
2022-04-07 18:49:47 +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 68c42f2742 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: Ie86e71d15251f98e43684fe6abd06f998d29f710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:00:03 +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