Commit Graph

12553 Commits

Author SHA1 Message Date
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
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
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 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