Commit Graph

34630 Commits

Author SHA1 Message Date
Joshua Trask c2a89f5457 Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 286f7d511c am: 7251bd40df am: 0d9e0e61a1
Change-Id: I67f85e04079edd8f24bd885f5ba0ef1569e6c2d7
2020-05-20 22:16:29 +00:00
Joshua Trask 2ec25956af Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c am: e7f0d0ab9d am: 72139e2d8b
Change-Id: I7cdba25d938f4ef1a6f355f58ab5085ea17b8730
2020-05-20 22:16:03 +00:00
Automerger Merge Worker 35185d7f3b Merge "Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c" into rvc-d1-dev-plus-aosp am: 7c47583cc4
Change-Id: Ia8a66ae5613ac2e7149904a563dd17a42b4937ef
2020-05-20 22:06:26 +00:00
vadimt 8a8255916f Failing with diags when UiObject2 container disappears
Change-Id: If6af49087a5afd6374776e55067b0502dabb7585
2020-05-20 15:05:49 -07:00
Joshua Trask 0d9e0e61a1 Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 286f7d511c am: 7251bd40df
Change-Id: I89fd67f83192a8529e8945b3c81ce39393ed5d0f
2020-05-20 22:05:24 +00:00
Joshua Trask 72139e2d8b Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c am: e7f0d0ab9d
Change-Id: Ic29be466c92a60b95976df0aed63a4055c49859e
2020-05-20 22:05:01 +00:00
Automerger Merge Worker 7c47583cc4 Merge "Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c" into rvc-d1-dev-plus-aosp 2020-05-20 21:46:40 +00:00
Joshua Trask 7251bd40df Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 286f7d511c
Change-Id: Ia34c42606845af394a3fe54ad09045fd10c883b2
2020-05-20 21:46:34 +00:00
Joshua Trask 0e16b814ac Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c
Change-Id: I61b4edceb7f22407570b16dd0cc27197d701a324
2020-05-20 21:46:33 +00:00
Joshua Trask e7f0d0ab9d Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c
Change-Id: I5ac68dd50e0ee10b014461ae1f5220eccc953961
2020-05-20 21:46:21 +00:00
Joshua Trask 063267b017 Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11
Change-Id: I11db980ed94153e8789a86df7a5e7675211a9f96
2020-05-20 21:29:43 +00:00
Joshua Trask 286f7d511c Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11
Change-Id: Ib5fca7d359c81058ee950d51f5f7fdd166842f33
2020-05-20 21:29:42 +00:00
Joshua Trask 3ec5c4970c Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11
Change-Id: I6045b70bfff3b0200ad6b0bd43ed908a887de0de
2020-05-20 21:29:10 +00:00
android-build-team Robot 0df9fee2fe Merge cherrypicks of [11559179, 11556529] into rvc-release
Change-Id: I6e43521080be7f8b4393efe56ac4c29f9edbe859
2020-05-20 20:07:31 +00:00
Samuel Fufa a7a9154f24 Switch to new protocol for hybrid hotseat
- create predictor from items in bgModel instead of scanning views
- Launcher no longer checks for duplicates before sending pin/unpin events
- sending cached items from last prediction to reduce UI shuffle
- Switch to using UserCache to persist and read ComponentKey

Bug: 148814143
Bug: 156413231
Bug: 156200931
Change-Id: Ide6330bed8eb7f0c6fbec1d1ac21e7f67a9b2be2
(cherry picked from commit d12d6ab98a)
(cherry picked from commit fa369310e2108a6e5915b5873d3bab16482213fd)
2020-05-20 20:07:25 +00:00
Jon Miranda 68e1d6a060 Add all apps education tutorial. am: 517cec5344
Change-Id: I0425fd2c1fc9bff20817a40d7daeba3b54f52b30
2020-05-20 19:37:32 +00:00
Tony Wickham c7c883a880 Update some TouchInteractionService logs
- Move "finishRecentsAnimation" for NEW_TASK to where we actally
  finish the controller after onTaskAppeared()
- Add "setEndTarget" and "onSettledOnEndTarget" logs

Bug: 156412706
Change-Id: I0a0f81d3b601fc1eed72b372235bbb92368ec246
2020-05-20 14:30:31 -05:00
Jon Miranda 517cec5344 Add all apps education tutorial.
* Added FeatureFlag.ENABLE_ALL_APPS_EDU
* When user swipes up on nav bar three times and goes to hint state
  consecutively, we show the new All Apps education tutorial.
* For now we block interaction while the animation is playing,
  and we remove the view when the animation is done.
* Future CL will leave view up until user successfully reaches All Apps state.

Bug: 151768994
Change-Id: I903e0a3914d0558950ecb8cd714d97ddc10ca06b
2020-05-20 11:44:23 -07:00
Adam Cohen 2fb7a22b52 Merge "Delegate horizontal scrolls from the Hotseat to the Workspace" into ub-launcher3-rvc-dev am: 0a1cefa497
Change-Id: Ia055f691bad0e835af680dace93f35e2b79ac762
2020-05-20 16:21:35 +00:00
Adam Cohen 0a1cefa497 Merge "Delegate horizontal scrolls from the Hotseat to the Workspace" into ub-launcher3-rvc-dev 2020-05-20 16:08:23 +00:00
Joshua Trask 41dc164d11 Merging from ub-launcher3-rvc-dev @ build 6511067
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6511067.html

Change-Id: Ifc8c251ef0f03e66de3b1c9fa94bfcb980704769
2020-05-20 11:12:54 -04:00
android-build-team Robot e7d3e369c9 Snap for 6512749 from 77aaa90b8b to mainline-release
Change-Id: I9970ffc4ef09a456dd8e1091019ed42c630868e3
2020-05-20 07:06:52 +00:00
TreeHugger Robot 892ebe10a4 Merge "Unifying swipe handling for fallback launcher" into ub-launcher3-rvc-dev am: 6928c3bc05
Change-Id: I1e6a90a23ce71bc398fc9195c137098f94e5f778
2020-05-20 05:45:34 +00:00
TreeHugger Robot 6928c3bc05 Merge "Unifying swipe handling for fallback launcher" into ub-launcher3-rvc-dev 2020-05-20 05:32:36 +00:00
Ming-Shin Lu c3d2c0492c Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: 5674b16660 am: 820b4e16ad
Change-Id: I4212f2d19bc6f9cc1a68876d849da78a580a7887
2020-05-20 03:13:01 +00:00
Ming-Shin Lu 7e3ebed86a Fix weird split-screen secondary task animation am: 1eedfc33c5 am: bfb07e5a99 am: b5efb27a7e am: 2caf344fe2
Change-Id: I9064e9955b3334936669809d049e6ad363d912bf
2020-05-20 03:10:48 +00:00
Ming-Shin Lu ed709f8ed0 Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: caca2aaf0a am: f5066538eb
Change-Id: I724418957e7c4aff1737eb4718f2e4b951fcce54
2020-05-20 03:10:05 +00:00
TreeHugger Robot f51d21a92f Merge "Re-enable app long-press menu on Go devices" into ub-launcher3-rvc-dev am: 764f67e967
Change-Id: I3ff7a044b1aa378c481e5761fcb40bf9404277c1
2020-05-20 02:53:07 +00:00
Ming-Shin Lu 820b4e16ad Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: 5674b16660
Change-Id: I3a16edbede7b2923e7c7bd265306b1c2fdeb0630
2020-05-20 02:48:22 +00:00
Ming-Shin Lu 2caf344fe2 Fix weird split-screen secondary task animation am: 1eedfc33c5 am: bfb07e5a99 am: b5efb27a7e
Change-Id: Ic6c55e05d409ffc4cbae5817531ed2c43f7bc680
2020-05-20 02:45:34 +00:00
Ming-Shin Lu f5066538eb Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357 am: caca2aaf0a
Change-Id: I8a1e88aa1f5436bd39596fdcecd639f4d2b3e910
2020-05-20 02:45:25 +00:00
TreeHugger Robot 764f67e967 Merge "Re-enable app long-press menu on Go devices" into ub-launcher3-rvc-dev 2020-05-20 02:43:38 +00:00
Sunny Goyal 672d02cd39 Unifying swipe handling for fallback launcher
Previosuly we had a different swipe handler for 3P Launcher which
started either recents or Launcher based on the initial interaction
(horizontal or vertical). This was primarily because we had to wait
for recents transition to finish before starting another activity
which could delay going to home.

Now we always start recents transition to recentsActivity. This allows
us to use the same swipe handling logic as QuickstepLauncher. Home
activity can be started while recents transition is running and can be
controlled using onTaskAppeared callback.

Bug: 156924169
Bug: 156398988
Bug: 156295255
Change-Id: Ib9f02e0281e8d674bde2f4a81eca5fc8a5962144
2020-05-19 19:41:30 -07:00
Ming-Shin Lu 5674b16660 Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357
Change-Id: I6b2f7331118c7e6f9d308792e88a4e49fe4bf533
2020-05-20 02:19:51 +00:00
Ming-Shin Lu caca2aaf0a Fix weird split-screen secondary task animation am: 1eedfc33c5 am: 8e4811e357
Change-Id: I29bfc7372a5c86d4358794f5a2c33fbff738dc0a
2020-05-20 02:19:23 +00:00
Ming-Shin Lu b5efb27a7e Fix weird split-screen secondary task animation am: 1eedfc33c5 am: bfb07e5a99
Change-Id: I40a4e235ef7d392d0a93b2a447317660e3a1033d
2020-05-20 02:19:20 +00:00
TreeHugger Robot 8cb5a760ed Merge "Fix weird split-screen secondary task animation" into ub-launcher3-rvc-dev am: c475f28b4f
Change-Id: Ie99414430cb9f6d4f8942e5aa692416b8c6e5018
2020-05-20 02:12:27 +00:00
Ming-Shin Lu bfb07e5a99 Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Ia564bdf0c73278296532cbaaa4dc3dd7ee3b9c1d
2020-05-20 02:07:36 +00:00
Ming-Shin Lu 77aaa90b8b Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Idede4a762c224959dd153c01c01808ddbeec40c8
2020-05-20 02:07:19 +00:00
Ming-Shin Lu 8e4811e357 Fix weird split-screen secondary task animation am: 1eedfc33c5
Change-Id: Ief71245077b8695b72ed459f3f0dd43d9507c2a5
2020-05-20 02:07:13 +00:00
TreeHugger Robot c475f28b4f Merge "Fix weird split-screen secondary task animation" into ub-launcher3-rvc-dev 2020-05-20 01:57:15 +00:00
TreeHugger Robot 2ee582650f Merge "More logging for swiping to Overview instead of All Apps" into ub-launcher3-rvc-dev am: a41f9dcbe9
Change-Id: I23621d2e172af2fe1266c9cc72fbf81791187521
2020-05-19 21:08:34 +00:00
Vinit Nayak 11b1c23aa0 Merge "Increase overview thumbnail size for 2 button landscape." into ub-launcher3-rvc-dev am: a8f083b581
Change-Id: I4b395e3068d2935c26f4aa2e6de79f3b3db8316d
2020-05-19 21:08:28 +00:00
TreeHugger Robot a41f9dcbe9 Merge "More logging for swiping to Overview instead of All Apps" into ub-launcher3-rvc-dev 2020-05-19 21:04:20 +00:00
Vinit Nayak a8f083b581 Merge "Increase overview thumbnail size for 2 button landscape." into ub-launcher3-rvc-dev 2020-05-19 20:49:08 +00:00
vadimt f95cfce267 More logging for swiping to Overview instead of All Apps
Bug: 156095088
Change-Id: Ia4d59b43225c7652cfc0ae72c05a5477deeb842b
2020-05-19 12:49:17 -07:00
Vinit Nayak 88830c0657 Increase overview thumbnail size for 2 button landscape.
With shelf hidden in 2 button landscape, need to fill
in the extra space w/ larger thumbnail.

Fixes: 156442623
Test: Larger thumbnail shows up in 2 button landscape
Change-Id: Ie2856c8d248b28ae7c06cbe40c7417a827c2bd96
2020-05-19 12:07:37 -07:00
thiruram 5c04501c40 Introduces CONTAINER_WIDGETS_TRAY to LauncherSettings.Favorites. am: 6bf6848951
Change-Id: I6056a229bb187c9a52b1f02b012bc7aa19259a03
2020-05-19 18:15:31 +00:00
Ming-Shin Lu ce7eec0bbd Fix weird split-screen secondary task animation
As CL[1] corrects the screenBounds of remote animation target,
and we are now using RemoteAnimationTarget#localBounds to offect the
position.

Remove the offset logics in AppWindowAnimationHelper#updateSourceStack,
and TaskViewSimulator#setPreview, then refine computeSurfaceParams
with offseting the position of HOME task by localBounds.

[1]: I793f01fb290fe65af1bbf8e29e429fbca63ac255

Fix: 153581126
Test: manual as below steps:
     1) Launch a app, swipe up to overview screen.
     2) Tap app icon and pressing "Split screen" item.
     3) After entered split-screen mode, taps the task view.
     4) Make sure the secondary task animation the movement is
        correct and smoothly.

Change-Id: I0e4ed1465e80f48336908813ac694fb3aaa3c347
2020-05-19 17:07:47 +00:00
Ming-Shin Lu 1eedfc33c5 Fix weird split-screen secondary task animation
As CL[1] corrects the screenBounds of remote animation target,
and we are now using RemoteAnimationTarget#localBounds to offect the
position.

Remove the offset logics in AppWindowAnimationHelper#updateSourceStack,
and TaskViewSimulator#setPreview, then refine computeSurfaceParams
with offseting the position of HOME task by localBounds.

[1]: I793f01fb290fe65af1bbf8e29e429fbca63ac255

Fix: 153581126
Test: manual as below steps:
     1) Launch a app, swipe up to overview screen.
     2) Tap app icon and pressing "Split screen" item.
     3) After entered split-screen mode, taps the task view.
     4) Make sure the secondary task animation the movement is
        correct and smoothly.

Change-Id: I0e4ed1465e80f48336908813ac694fb3aaa3c347
2020-05-19 20:02:44 +08:00