Commit Graph

28165 Commits

Author SHA1 Message Date
TreeHugger Robot 8cea0bcc92 Merge "Add shadow to "Don't suggest app" drop target" into ub-launcher3-master 2020-03-28 15:43:55 +00:00
Tony Wickham 62117d7b8c Don't start task from quickswitch until scrolling finishes
Before, we did this by extending the window/launcher animation to
match the scroller duration. But now that we are using springs to
control the scroller, that duration is not really accurate. So
instead, we now let the window/launcher move at its own pace, and
wait for both that animation and the scroller to finish before
calling onSettledOnEndTarget().

Bug: 147302669
Change-Id: I37a9dd3eea17ebe663c33c3a4478b1b53a63dcc2
2020-03-27 20:56:25 -07:00
TreeHugger Robot 349e95f1e4 Merge "TAPL: Verifying activity start/stop events" into ub-launcher3-master 2020-03-28 03:45:24 +00:00
Tony Wickham bd9754dfc7 Add shadow to "Don't suggest app" drop target
Bug: 142753423
Change-Id: I909409f68bd9a4a04d13a8470a0b65823f42eca7
2020-03-27 20:11:16 -07:00
android-build-team Robot 2a6555e7ce Snap for 6342437 from f1ab2b2a9a to rvc-release
Change-Id: Ic0f104e8cfda82fa88a11a4e155814133ca69922
2020-03-28 02:19:37 +00:00
TreeHugger Robot f64cef8ee6 Merge "Adding more tracing for a widgets test flake" into ub-launcher3-master 2020-03-28 01:37:17 +00:00
vadimt 926ed41fab Adding more tracing for a widgets test flake
Bug: 152354290
Change-Id: Ie3ed8430e3f3d5c93f1bea698be46f2ddd22dea0
2020-03-27 17:40:32 -07:00
Winson Chung 8287721114 Allow delegate input consumer to clear consumer state
- When we have multiple wrapped input consumers, mConsumer will be
  set to the wrapper while the caller can actually be the input
  consumer being delegated to (ie. other activity ic). So we should
  clear the consumer state if the caller is anywhere in the IC
  hierarchy.  This results in a separate issue where mGesture
  could be cleared during onConsumerAboutToBeSwitched() before being
  passed to the new consumer, so make a copy of the previous state
  just for passing to the new consumer.

Bug: 152318829
Change-Id: I4afcef5b18aa772889e9104f3977887893f174ea
2020-03-27 16:58:18 -07:00
Sreyas 1963d3f3ed OverviewActions: Adding action buttons to Oem quickstep.
Change-Id: Id5c0d8f1b41107535c1bac982b47f67eb2574c21
2020-03-27 16:42:10 -07:00
vadimt 75add7cef5 Debug tracing for "widget not present" flake
Bug: 152645831
Change-Id: I1e318650e45ab8e2a60eccef2f4f3c247b2a6b5b
2020-03-27 15:08:36 -07:00
TreeHugger Robot effe04aef4 Merge "Fix NPE on FeatureFlag.addChangeListener" into ub-launcher3-master 2020-03-27 20:37:32 +00:00
Sunny Goyal 17feee8995 Merging stylus click logic in longpress helper for better state-management
Bug: 150825081
Change-Id: I7c507c41e67c09bff5a4ad3abc7a7a62fecf910e
2020-03-27 19:53:20 +00:00
Tracy Zhou 43ef145a99 Merge "Support grid preview with v2 migration algorithm" into ub-launcher3-master 2020-03-27 18:27:12 +00:00
vadimt 0dd1bd1113 TAPL: Verifying activity start/stop events
It also turned out that Pilfer event seems to come in a
non-deterministic order relative to the events from the Main and TIS
sequences. So I moved it to its own sequence.

Change-Id: Ie4ea5865afd900bebbd8287dad2372c94dce8ad5
2020-03-27 10:23:33 -07:00
jayaprakashs aa11e63633 [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 0ddb3cb790 -s ours am: fc0b1bdad1 -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 6b6dbc3442 is in history

Change-Id: I96f6f711a0cd2c0895773cd735d46659c8bc64f7
2020-03-27 11:56:12 +00:00
jayaprakashs fc0b1bdad1 [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 0ddb3cb790 -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 6b6dbc3442 is in history

Change-Id: Ib6298a0a1c8cb384baa74dc7dbb0f435c4b4d3a4
2020-03-27 11:44:28 +00:00
jayaprakashs 2a3f09b657 [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 6b6dbc3442 is in history

Change-Id: Ic5075d0e5ba3fc9f3ddeedf8972011adeec4ff2a
2020-03-27 11:21:53 +00:00
jayaprakashs 0ddb3cb790 [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 6b6dbc3442 is in history

Change-Id: I9a81a86792e65be3455bf2e6d7d007a47075c60a
2020-03-27 11:21:20 +00:00
jayaprakashs 6f2825025c [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51
Change-Id: I1596e9ccf2558a729750ca610359e1002b9c370e
2020-03-27 11:06:24 +00:00
jayaprakashs f1ab2b2a9a [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours
am skip reason: subject contains skip directive

Change-Id: I8a3204145b3333f35b05d6b5b95bfc2894fa2358
2020-03-27 11:05:53 +00:00
android-build-team Robot adb13ecb40 Snap for 6338932 from 0c8f85001f to mainline-release
Change-Id: I5e6633c3fbf0f9d69967b1b9a98d6b7f22f135e5
2020-03-27 07:13:44 +00:00
jayaprakashs e0ae1afd51 [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag.
Bug: 151196870

Merged-In: I0665be5d585f64f3d43d42201a6529fd88247ca4
Change-Id: I0665be5d585f64f3d43d42201a6529fd88247ca4
(cherry picked from commit 6b6dbc3442)
2020-03-27 06:52:24 +00:00
TreeHugger Robot 88a9946b54 Merge "Revert "Default fixed_rotation to off"" into ub-launcher3-master 2020-03-27 04:57:08 +00:00
Tony Wickham aa8a77b8c3 Fix flicker near end of quick switch
Unlike isStarted(), mHasLauncherTransitionControllerStarted is true
even after the animation has ended. Once it's ended, we shouldn't
continue updating it even if window shift is still changing.

This can happen when springs are enabled, as that can increase the
recents scroll duration beyond the window/launcher animation
duration (and we updateFinalShift() when the scroll changes).

Test: quick switch by swiping up and over at angle, or really hard
directly to the right, to engage the springs long enough to have a
few frames where you can notice the flicker before this change.

Bug: 147302669
Change-Id: I6a38662612de91352c0f956e6a3137f6c24eba66
2020-03-26 21:30:30 -07:00
TreeHugger Robot 98783d03c1 Merge "Remove max displacement threshold in 2-zone model" into ub-launcher3-master 2020-03-27 03:49:49 +00:00
Winson Chung 0c8f85001f Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1 am: a925158dd2
Change-Id: Ibadd35ffcdbd32f3e1bebb5f88b0e1c1dfedf547
2020-03-27 03:26:05 +00:00
Winson Chung a925158dd2 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1
Change-Id: I50171bacc81212c196ad2dc55d2e56ab7bb7954e
2020-03-27 03:11:28 +00:00
Winson Chung da126057e1 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975
Change-Id: Ia0d68c0b399829feb9382898ee2745a38bf44ac0
2020-03-27 03:03:40 +00:00
Winson Chung b9fbc92a4d Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975
Change-Id: Ia5ec5ef959539df490a07c31c6d347180162b9d9
2020-03-27 03:03:18 +00:00
Winson Chung 88fb279975 Merge "Update launcher call to fetch recent tasks" into rvc-dev 2020-03-27 02:37:10 +00:00
android-build-team Robot 6f1b324765 Snap for 6338078 from 76dd667310 to rvc-release
Change-Id: Ib7ff4baf7a8e2464096cf9a4de5ffbc1562cddda
2020-03-27 02:15:45 +00:00
Samuel Fufa 0928456d55 Fix NPE on FeatureFlag.addChangeListener
Bug: 152400212
Change-Id: I64890370f1d638048b0340bcb537ffdbf7011681
2020-03-26 17:03:44 -07:00
Hongwei Wang 3b99a6c7d6 Revert "Default fixed_rotation to off"
This reverts commit c0b289c93e.

Reason for revert: fixed in ag/10826395

Bug: 151727009
Change-Id: I0c71d5d47a6825c2445bf8dc9d8a9a1ca23f9e64
(cherry picked from commit 08c4d99237)
2020-03-26 23:48:26 +00:00
Samuel Fufa fff4386bc7 Merge changes I51e949fa,Ic5202caf,I1111fa15,I11ffa080,I8d2f5f59 into rvc-dev am: 76dd667310 am: f1995e0261 am: 8149f5d9e5
Change-Id: Ie59decbdcc4767cb1df97bb91ce6a5a01fdda94d
2020-03-26 22:23:59 +00:00
Samuel Fufa 8149f5d9e5 Merge changes I51e949fa,Ic5202caf,I1111fa15,I11ffa080,I8d2f5f59 into rvc-dev am: 76dd667310 am: f1995e0261
Change-Id: I2d56f6271350ca6a4f9b3be74252e72856a3def2
2020-03-26 22:09:52 +00:00
Samuel Fufa f1995e0261 Merge changes I51e949fa,Ic5202caf,I1111fa15,I11ffa080,I8d2f5f59 into rvc-dev am: 76dd667310
Change-Id: I9a4ccb6b8c6951e4fbed742d4658b6769257fc6d
2020-03-26 21:59:11 +00:00
Samuel Fufa 08d8ab171b Merge changes I51e949fa,Ic5202caf,I1111fa15,I11ffa080,I8d2f5f59 into rvc-dev am: 76dd667310
Change-Id: Iaec08e3ca6e85122180c696eb9ca04be1482fcb3
2020-03-26 21:59:03 +00:00
Samuel Fufa 76dd667310 Merge changes I51e949fa,Ic5202caf,I1111fa15,I11ffa080,I8d2f5f59 into rvc-dev
* changes:
  Beta specific hotseat opt in behavior
  Personalize hotseat education
  Remove Edu notification if predictions are empty
  Resume UI update on user active
  enable prediction logging
2020-03-26 21:17:38 +00:00
Jon Miranda cafe918ff3 Remove accessibility long click option if no long click action occurs.
Bug: https://b.corp.google.com/issues/149370403
Change-Id: I265b60ed0f8f816c842d167520657e0bff442a04
2020-03-26 11:22:02 -07:00
TreeHugger Robot c7189a6f2d Merge "Enabling Least square velocity tracker algorithm" into ub-launcher3-master 2020-03-26 17:56:24 +00:00
Hongwei Wang 09c6e6462f Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 5effc98b20
Change-Id: I236c25bfd6e01cf3386050550fd79e2eb3cc8e36
2020-03-26 08:31:27 +00:00
Hongwei Wang 5effc98b20 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53
Change-Id: I9ae7c17155d2dd4b0417a53f0a8ae571dc734490
2020-03-26 08:15:34 +00:00
Hongwei Wang c915022606 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a
Change-Id: I41b626a96ef7cbf7802e144fd6b2ae645ff004a8
2020-03-26 08:01:19 +00:00
Hongwei Wang a6a192ae53 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a
Change-Id: Ia4c13c8efc6771584e8781a4afe1d6182bc50caa
2020-03-26 08:01:07 +00:00
Hongwei Wang 644e1a6f9a Merge "Revert "Default fixed_rotation to off"" into rvc-dev 2020-03-26 07:48:02 +00:00
Tony Wickham c94a5bfbce Remove max displacement threshold in 2-zone model
We had a max displacement for detecting pause before because people
were falsing into overview when they dragged all apps all the way
up. In this mode, there's no way to get to all apps from the nav
bar so the threshold doesn't make sense.

Bug: 151039912
Change-Id: I349f38ec1589f8b151cfbe32542159b3eb92bf61
2020-03-26 00:34:43 -07:00
android-build-team Robot f24f809aa2 Snap for 6334680 from 453241d789 to mainline-release
Change-Id: Idf1742958f87cf4562a3e04a47c8ca561596fec6
2020-03-26 07:13:26 +00:00
Tracy Zhou c0000450b5 Support grid preview with v2 migration algorithm
The focus of ag/10346770 is around the actual algorithm, while in the meantime our preview logic has changed during the code review of ag/10100264.

GridSizeMigrationTaskV2 addresses both cases, the difference being preview passes in constructed IDP while actual migration uses IDP from the current Context.

When doing actual migration, we call METHOD_UPDATE_CURRENT_OPEN_HELPER to update the current db helper and copy the favorites table from the previous db into the current db in favorites_tmp table. Then we do migration from there.

When calculating preview, I added METHOD_PREP_FOR_PREVIEW in this change to copy the favorites table from the intended grid setting to the current grid setting in favorites_preview table. Then we calculate migration from the current favorites table to favorites_preview table and save into favorites_preview table.

Bug: 144052802
Fixes: 144052839

Test: Manual

Change-Id: I64a8b61a4e0bf8399c0ae1af4ef9d2bde0f1ee2f
2020-03-25 21:58:19 -07:00
Samuel Fufa 59affa428e Beta specific hotseat opt in behavior
https://docs.google.com/document/d/1CKK-3vTl-SPGxx3Cwty7r69jk_vaDs9MlanbhpH85cY/edit

Bug: 142753423
Test: Manual
Change-Id: I51e949fa9962bc8e9d0cdb66d07fbe9e344fb35d
(cherry picked from commit 6b13c841c9)
2020-03-26 02:38:12 +00:00
android-build-team Robot 01ecb85178 Snap for 6333744 from ace493908c to rvc-release
Change-Id: I74e1a785d409770aac290de51a847d815fc792bb
2020-03-26 02:08:18 +00:00