Commit Graph

10418 Commits

Author SHA1 Message Date
Vinit Nayak 29e900b907 Reset split selection state on animation end instead of success
When overview button tapped in while in overview,
the animation to undo split gets cancelled
(probably because Launcher gets destroyed before the animation
can fully run successfully)

Fixes: 201011797
Test: Same steps in bug don't cause placeholder view
to be shown

Change-Id: I2ea1eac637d6f2a3185d50d01601d3588ec9f535
2021-09-27 16:14:58 -07:00
Vinit Nayak a26e4f8e43 Unbind service only if it was bound
Removed unused SplitPlaceholderView

Fixes: 200004580
Change-Id: I54ee819260ad6e4e6da2d3efafd38bad0336486e
2021-09-27 14:56:45 -07:00
Schneider Victor-tulias ab60c1fc6e Update gesture navigation tutorial for foldable devices.
- Updated mock conversation layout to work on large devices.
- Added AnimatedTaskView helper view to animate previous task view.
- Added animation from single previous app to two peaking previous apps.
- Updated app orientation to work with larger screens (forced protrait was causing letterboxing).

Test: manual, tested tutorial on non-foldable device, foldable device (closed, opened in landscape, opened in portait and switching between the three)
Bug: 198434693
Bug: 187701213
Known issue: 200579260

Change-Id: I98cb269f7d25985989cf66e791bf535228ab5293
2021-09-27 19:55:53 +00:00
Zak Cohen b48b84634f Remove Content Push prototype.
Bug: 201314561
Test: Build and run
Change-Id: I64f5ab40b349d68a50b0f49361f019456667b933
2021-09-27 11:57:50 -07:00
TreeHugger Robot 2c93d473dd Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71 am: 19fcff9657
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I4d196c9caafc48ed7f504673c89d84b053460937
2021-09-27 18:18:17 +00:00
TreeHugger Robot 19fcff9657 Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I64ef858331653aaea2804b9fdc69c3c9400eb7c5
2021-09-27 18:04:25 +00:00
TreeHugger Robot fd583efb71 Merge "Remove screen actions plugin" into sc-v2-dev 2021-09-27 17:52:28 +00:00
TreeHugger Robot bd7cead303 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4 am: 3a684ac265
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Iedec7b38faa175c0ca655fd5ef1d7e32aee3f2ed
2021-09-25 04:33:00 +00:00
TreeHugger Robot 3a684ac265 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Idf1e7806ce0dfd81cfd1986b75fdaa587eb67d55
2021-09-25 04:19:27 +00:00
TreeHugger Robot d58e7b6fc4 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev 2021-09-25 04:06:48 +00:00
Jonathan Miranda 535b128fdf Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781 am: 508814d8f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: I94e130af99a41f856399f14f0a761bba1599f433
2021-09-25 02:27:22 +00:00
Jonathan Miranda 508814d8f3 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: Ifba94b72bd0dfe9f57a230f1bdcae7d45f26c526
2021-09-25 02:17:30 +00:00
Jonathan Miranda 2eb7511781 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev 2021-09-25 02:04:48 +00:00
Zak Cohen 0ba6058f8c Remove screen actions plugin
Bug: 201115460
Test: local build
Change-Id: I22774e464d1230fffff3d512b0b906f999d51080
2021-09-24 23:11:18 +00:00
Jon Miranda 3940470bed Avoids animating the background when launching app targets are translucent.
Bug: 200052247
Test: Pause an app, click on paused app and ensure background does not animate
Change-Id: Ib0a7cac0ab866441dd8fb27831a8333d0c931723
2021-09-24 16:00:25 -07:00
Tony Wickham 2fb815b2fd Cleanup split screen offset in TaskViewSimulator
- Removed mRunningTargetWindowPosition and mSplitOffset, as they countered each other out anyway
- Removed PagedOrientationHandler#setLeashSplitOffset() since it's no longer used

Test: Swipe up from split and non split apps in both orientations on large and small devices, with and without home rotation enabled
Bug: 200817624
Change-Id: I78a80cbc718ee38a8933fa323798fb436710d59f
2021-09-24 15:37:30 -07:00
Tony Wickham ed58800b9b Merge "Fix right split screen app going to wrong target" into sc-v2-dev am: 9a0d98f483 am: 9e3792819d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900907

Change-Id: I24e976fd4b8be4cead3569631e4e451e9a84a656
2021-09-24 22:32:51 +00:00
sfufa@google.com de0132939b [Foldable] Apply max width to AllApps in unfolded state.
Since we are applying the same iconWidth in AllApps as Workspace in unfolded state, this change restricts AllApps to span only the area required to display AllApps contents and not span full available width. Unfolded/phone behavior remains the same.

Bug: 199959857
Bug: 194259694
Test: visual
Change-Id: Ie5658d566f20e825e666ef17db79a87b07dc2936
2021-09-24 15:18:01 -07:00
Tony Wickham 9e3792819d Merge "Fix right split screen app going to wrong target" into sc-v2-dev am: 9a0d98f483
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900907

Change-Id: I668265cd6ce821159338f0fda05c78c9a19aadcc
2021-09-24 22:17:43 +00:00
Tony Wickham 9a0d98f483 Merge "Fix right split screen app going to wrong target" into sc-v2-dev 2021-09-24 22:01:06 +00:00
Schneider Victor-tulias f41ae7bc42 Merge "Fix stalled gesture navigation tutorial." into sc-v2-dev am: 405400c2fe am: 22dbdd2407
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15889275

Change-Id: I41b0a1b4b25db5441cafb90c4330d71eec2a289b
2021-09-24 19:42:52 +00:00
Schneider Victor-tulias 22dbdd2407 Merge "Fix stalled gesture navigation tutorial." into sc-v2-dev am: 405400c2fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15889275

Change-Id: Ia550f01bf1a319c7687303881edf6f74029ab361
2021-09-24 19:25:50 +00:00
Schneider Victor-tulias 405400c2fe Merge "Fix stalled gesture navigation tutorial." into sc-v2-dev 2021-09-24 19:12:26 +00:00
Vadim Tryshev 62077ca9ca Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev am: fcc51bd1fa am: 250509522e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15902027

Change-Id: Id325878f808ae900782a9e022e413190c76c4951
2021-09-24 18:43:50 +00:00
Vadim Tryshev 250509522e Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev am: fcc51bd1fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15902027

Change-Id: I904f418dd824c3cdf16a1f4616a5625c14f82ee0
2021-09-24 18:29:36 +00:00
Vadim Tryshev fcc51bd1fa Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev 2021-09-24 18:15:07 +00:00
Automerger Merge Worker cb86aa7ed0 Merge "Merge "Hide split options for focused task." into sc-v2-dev am: f2907c6ce3" into sc-v2-dev-plus-aosp am: f297df02ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900194

Change-Id: I597ba9aceacd75af11c17ecccf58b43bf0371701
2021-09-24 17:38:17 +00:00
Vinit Nayak 1ce1696e0d Merge "Hide split options for focused task." into sc-v2-dev am: f2907c6ce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900194

Change-Id: I31f8a3e3915011411473d4532686b554a49998ca
2021-09-24 17:27:24 +00:00
Vinit Nayak f2907c6ce3 Merge "Hide split options for focused task." into sc-v2-dev 2021-09-24 17:18:02 +00:00
TreeHugger Robot 3a42851c71 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-09-24 16:51:27 +00:00
TreeHugger Robot 3eecc1b472 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-24 16:45:36 +00:00
Bill Yi 25f20a2bd9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9eb9ce67a7ad21ed7bcb907a52b795520a21d7a
2021-09-24 09:29:22 +00:00
Bill Yi a08c24cb12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6cbb9e2db4da931ba13fa066ae4b1e1553a8a3dd
2021-09-24 09:25:02 +00:00
Bill Yi a403f12c5d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I51f51675ef566765c288b7db04e643e465103b00
2021-09-24 09:24:30 +00:00
Bill Yi aefa1b2863 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If057c9cbfed10654d7914936b1e4b2f4a4dab460
2021-09-24 09:23:57 +00:00
Iris Yang 239e2353e9 Move/Launch task on the TaskView's display. am: 8bf24a58ae am: bb5fa0f234
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15839496

Change-Id: I010723127e691041ba6a411772a6462e3fdef27d
2021-09-24 07:22:54 +00:00
Iris Yang bb5fa0f234 Move/Launch task on the TaskView's display. am: 8bf24a58ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15839496

Change-Id: I10d214e827dd30b3013dad70a39b2c8173c27d15
2021-09-24 07:14:15 +00:00
Iris Yang 8bf24a58ae Move/Launch task on the TaskView's display.
Add ActivityOptions#setLaunchDisplayId to the display that the TaskView
is currently on. So the task will be moved to the display as the user is
interactiving with.

This change is adding ag/15604010 back since b/197293995 is fixed.

Bug: 183461428
Test: Manually tested using Exo. Open appliction(e.g.Calculator) on
Exo virtual display, and tapping on the phone's recents to bring the
application back to phone.
The demo video  https://drive.google.com/file/d/1JMncvsI-VPosK4ql2xeVA8csVAF7Rb16/view?usp=sharing&resourcekey=0-PYRw1k3KdtY0-KZNo6OqjQ

Change-Id: I39b1825b69d55001f66ee01a982e3cd366da56bd
2021-09-24 05:27:32 +00:00
Vinit Nayak 740dc3285a Merge "Don't show taskbar when keyguard occluded" into sc-v2-dev am: e046ea22e9 am: 7920c99e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15899958

Change-Id: Icfd17f9b7c7817b90bfe5600b6d3ee8dc2526d61
2021-09-24 03:13:57 +00:00
Vinit Nayak 7920c99e6c Merge "Don't show taskbar when keyguard occluded" into sc-v2-dev am: e046ea22e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15899958

Change-Id: Ie54364075f792f9e7708674f972e98487a5c875f
2021-09-24 03:05:35 +00:00
Vinit Nayak e046ea22e9 Merge "Don't show taskbar when keyguard occluded" into sc-v2-dev 2021-09-24 03:02:34 +00:00
vadimt bf41844ad4 Allowing having only SysUI views before pressHome()
pressHome can be called just after another test that
can, for example, pull down the status bar to
occupy the whole screen.

Bug: 201005881
Test: presubmit
Change-Id: Ifc0ae4d66d573720f70aa4e734da03add3d86b57
2021-09-23 19:19:53 -07:00
Vinit Nayak d09ff3771f Merge "Reset floating split task view after remote animation finished" into sc-v2-dev am: e9fbcc4aeb am: 868e6e38eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15809021

Change-Id: I69203356e93c0f382b0d6b36e67695240d06fa98
2021-09-24 01:33:47 +00:00
Vinit Nayak 868e6e38eb Merge "Reset floating split task view after remote animation finished" into sc-v2-dev am: e9fbcc4aeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15809021

Change-Id: I7596c805d44815084f888675308f99a5a0488c8f
2021-09-24 01:29:17 +00:00
Tracy Zhou d7dd32924f Merge "Hide task bar icons when notification shade is expanded" into sc-v2-dev am: ba086b8125 am: 46c3f1e3f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15850809

Change-Id: Ieb38ae475876d7f88446920a790ebc169c5645ba
2021-09-24 01:29:10 +00:00
Vinit Nayak e9fbcc4aeb Merge "Reset floating split task view after remote animation finished" into sc-v2-dev 2021-09-24 01:18:03 +00:00
Tracy Zhou 46c3f1e3f5 Merge "Hide task bar icons when notification shade is expanded" into sc-v2-dev am: ba086b8125
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15850809

Change-Id: I1e8617484ba8a241011d62d7ae2bcecf9813c7e9
2021-09-24 01:09:45 +00:00
Tracy Zhou ba086b8125 Merge "Hide task bar icons when notification shade is expanded" into sc-v2-dev 2021-09-24 00:57:26 +00:00
Vinit Nayak 2308702687 Merge "Allow tapping on app icon for second split app." into sc-v2-dev am: 03396d4fba am: 8a1749f0d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900195

Change-Id: I5f03e6346c0c28bdbe28b0e7d49026c166a67cfe
2021-09-24 00:43:50 +00:00
Vinit Nayak 8a1749f0d9 Merge "Allow tapping on app icon for second split app." into sc-v2-dev am: 03396d4fba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900195

Change-Id: I61cbf3b9cd07c148019b85c6c7b070fd69bfa816
2021-09-24 00:27:02 +00:00