Commit Graph

33301 Commits

Author SHA1 Message Date
Vinit Nayak b0961acdb6 Merge "Maintain fake nav bar position in overview for landscape" into ub-launcher3-rvc-dev am: c217c72bcc
Change-Id: I7b79762b31bfc34f67a5ec738c106694e725bb1c
2020-05-21 21:02:42 +00:00
Vinit Nayak c217c72bcc Merge "Maintain fake nav bar position in overview for landscape" into ub-launcher3-rvc-dev 2020-05-21 20:59:25 +00:00
TreeHugger Robot 3434958c0d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev am: 1152e4526d
Change-Id: Ibc576da43e3d738cf811b4ae4e84c89deab5e8a7
2020-05-21 20:55:58 +00:00
TreeHugger Robot 2bf7c5114f Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev am: 9eae863216
Change-Id: I1176f367590453d87237edf6ea93fd41f8a67cdb
2020-05-21 20:55:50 +00:00
TreeHugger Robot 91dc7860cd Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev am: bfe7b44a91
Change-Id: I3147762fcd054816e18f8dc0fca10497c0e446f1
2020-05-21 20:55:42 +00:00
TreeHugger Robot 1152e4526d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev 2020-05-21 20:47:31 +00:00
TreeHugger Robot 9eae863216 Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev 2020-05-21 20:39:29 +00:00
TreeHugger Robot bfe7b44a91 Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev 2020-05-21 20:29:34 +00:00
Ben Lin e50d7a2f54 Don't set shelf height if we are in landscape.
Bug: 147155783
Test: Start PIP, Rotate launcher, stop getting height offset update
Change-Id: Ifc6c11882293228ffd19ac534ee59b1cf29d9a96
2020-05-21 13:13:27 -07:00
vadimt e238271384 Adding a method checking whether Overview has tasks
Change-Id: I9817218990c470ad7f266e336d931e2cd313535e
2020-05-21 13:11:42 -07:00
vadimt f5e98ead9d Insert delays in dumping input state
Hpoing to avoid overwhelming logcat

Bug: 156287114
Change-Id: Ia0e95ade205a2c5cd6d7a27b59c9896fb78370af
2020-05-21 12:42:32 -07:00
vadimt 623670c2e3 Checking success of injectInputEvent
Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
2020-05-21 12:32:33 -07:00
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 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