Commit Graph

14731 Commits

Author SHA1 Message Date
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 5259a29738 [automerge] Update task bar icon alignment logic when launcher is paused and resumed in Overview 2p: d4ed2f7717 2p: 6113a9420f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17677036

Bug: 223109070
Change-Id: Idb127e1e7ee0c3a583be9ade8540f8a1e5158a36
2022-04-11 23:13:05 +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 21f16037db [automerge] Play icon alignment animation in live tile mode 2p: 42e30963c3 2p: 9299049935
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17464395

Change-Id: I37edb095447018a74021896a83be649f193b4606
2022-04-11 23:11:58 +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
Hongwei Wang 51cf7d18a7 Pass sourceRectHint to auto-enter-pip transition
Bug: 198309223
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eODHpvqAQPfbwjFamtRYC1
Test: manual, see video
Change-Id: I169603c5285f9a226ab0423dbd36d8e3e2ca51a1
2022-04-11 14:33:44 -07:00
Brian Isganitis 5b89b31b12 Log taskbar all apps entrypoint, launches, and drags
Test: wwdebug, wwlogcat, ensure container is formatted as follows:
    container_info {
      all_apps_container {
        taskbar {
        }
      }
    }
Bug: 204696617
Change-Id: I2492b133f95fccb059010bc9e5ed6cce73c211f9
2022-04-11 12:14:14 -07:00
Bill Yi 795a9a8cee Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-11 15:15:08 +00:00
Bill Yi 01ee1ca136 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-04-11 15:14:53 +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 f38a5659a5 Merge changes from topic "tsuji-staggered-unlock"
* changes:
  [automerge] Add the staggered ring appear animation! 2p: feb31ca567 2p: 3cee2086ed
  [automerge] Add the staggered ring appear animation! 2p: feb31ca567
  Add the staggered ring appear animation!
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 8314593e8c [automerge] Force update orientation handler for initial recents view state. 2p: 671d44b36b 2p: a0db0c3373
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17658703

Bug: 228565696
Change-Id: Ibf2160dcbc8b3c21ae51d6bacb1a55648c7c40bf
2022-04-11 02:55:23 +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 47988097b4 Merge changes from topic "presubmit-am-8e96c6381a9e4b5293842cc17f174988"
* changes:
  [automerge] Fix placement bug with split staging icon in RtL 2p: 43c79704ed 2p: 05cd7428a7
  [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
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
Bill Yi eba3739a56 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia84d13e4b1c02afa3938521fbbb9d52d405f9f40
2022-04-09 03:58:14 +00:00
Bill Yi 5aa70fb47c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a3bf6b030ed7d5ba11f062b788c1ca66c1f3b67
2022-04-09 03:56:44 +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 b2b0eb35ae Merge changes from topic "presubmit-am-66c2d088f05444b5984eb37e35ba24a0"
* changes:
  [automerge] Implement splitting from Taskbar long-press 2p: abdf25d226 2p: 5c638fdfbe
  [automerge] Implement splitting from Taskbar long-press 2p: abdf25d226
  Implement splitting from Taskbar long-press
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 e49e68a143 [automerge] Fix placement bug with split staging icon in RtL 2p: 43c79704ed 2p: 05cd7428a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17668514

Change-Id: I04ad77f48de1afdd452bccd8f44f7aece36b30ef
2022-04-09 01:05:36 +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 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 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