Commit Graph
49925 Commits
Author SHA1 Message Date
Vinit Nayak c609421f2a Maintain fake nav bar position in overview for landscape
NavBar defaults to display when quickswitch ends,
which is always portrait since home is now always
in portrait. We keep the same nav region that the
user used to swipe up to enter recents and reset once
they swipe to home.

Fixes: 156053957
Test: Swipe up from landscape app, then swipe up
from the same nav bar region to go home.

Change-Id: Ia4cf8172850b991aa5e145897622be3b2afa3779
2020-05-21 11:24:16 -07:00
Vadim Tryshev a49f9930d0 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev am: 2c75d08806
Change-Id: Ie6d9e6b7555dd3bc021b11b25f3d79409161baa8
2020-05-21 18:06:26 +00:00
Vadim Tryshev 2c75d08806 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev 2020-05-21 17:53:03 +00:00
android-build-team Robot 26c99fc939 Snap for 6517089 from 063267b017 to mainline-release
Change-Id: Ieb0376d91a23f03d24c1d1c61be555af59e39ea7
2020-05-21 07:13:26 +00:00
Tony Wickham c613d9fe42 Update some TouchInteractionService logs am: c7c883a880
Change-Id: Ief38dc10c14dc628abb3a620f5793aefa1f107da
2020-05-21 07:10:43 +00:00
Tony Wickham 17312c3566 Keep recents attached to app window on continued switching
- LAST_TASK now has recentsAttachedToAppWindow = true, to match
  NEW_TASK. Though this does mean there's a small chance of
  seeing recents translating in if you swipe up and back down,
  this is preferable to seeing recents translate away if you
  swipe right and back left in two consecutive gestures.
- Until passing the touch slop for a new gesture, keep recents
  attached to the app window. This avoids cases where you
  could have recents view translate away mid-gesture, such as
  in the following case: swipe from A to B, swipe from B back
  to A, touch down during the transition back to A. Before this
  change, you would see recents translate away; with this
  change, recents instead stays in place until we get another
  signal indicating it should detach, such as swiping to home.

Bug: 157153404
Change-Id: I63a3a8b988af1aac5177f101b0b75e73e56b1ceb
2020-05-21 00:55:54 -05:00
android-build-team Robot a1198b8dd2 Snap for 6516244 from 49b9207af5 to sc-release
Change-Id: I0ba94df5bdd3e81dfba44e1bd3cf5cf125eadbce
2020-05-21 02:01:20 +00:00
android-build-team Robot 487b818346 Snap for 6516174 from 41dc164d11 to rvc-release
Change-Id: I3456ca36b4a954d3d3bc37b96ddf12c8452cde52
2020-05-21 01:06:32 +00:00
Sreyas 1e2457743b Logging to debug Overview Actions not working.
Change-Id: Ic5571ce0c02296415f24413403cbdf62fa9b4594
2020-05-20 17:53:48 -07:00
Automerger Merge Worker 49b9207af5 Merge "Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c" into rvc-d1-dev-plus-aosp am: 7c47583cc4 am: 35185d7f3b
Change-Id: I9f03b716b8d93fe8672d4f153034593abd47c020
2020-05-20 22:16:53 +00:00
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