Commit Graph

33301 Commits

Author SHA1 Message Date
Tony Wickham c4822a3701 Merge changes I37a9dd3e,I6a386626 into ub-launcher3-master
* changes:
  Don't start task from quickswitch until scrolling finishes
  Fix flicker near end of quick switch
2020-03-30 17:57:24 +00:00
vadimt 459a6b091b Adding tracing for quick switch not working
Bug: 152658211
Change-Id: I61686452eb1eeffbfd8ab74c59532807968068ae
2020-03-30 10:25:04 -07:00
TreeHugger Robot d4e7782d75 Merge "Remove SetData from ImageApiImpl for sharing image." into ub-launcher3-master 2020-03-30 17:03:24 +00:00
TreeHugger Robot 103dfd8816 Merge "Remove workspace layout logging that used dumpsys" into ub-launcher3-master 2020-03-30 15:33:19 +00:00
Hyunyoung Song d1efd4ed21 Remove workspace layout logging that used dumpsys
Bug: 144953948
More context: in next CL, migration will happen to StatsLog

Change-Id: If8ace91ceff6daf1a0af5963b538d7e14401e497
2020-03-29 21:03:38 -07:00
android-build-team Robot 05af2f31f6 Snap for 6344429 from aa11e63633 to mainline-release
Change-Id: Ia8067ff0fb769fa53ff8a548b656b0e7bb0228a5
2020-03-29 07:15:54 +00:00
Sreyas a13250e927 Remove SetData from ImageApiImpl for sharing image.
Change-Id: I8a91df336921d824257b819538bc63784f64b873
2020-03-28 14:18:49 -07:00
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 b9d56bdcf9 [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: aa11e63633 -s ours am: 449f1b8cd1 -s ours
am skip reason: subject contains skip directive

Change-Id: Ibc4347a0ce1b5307d162b06b27edf9449dc518fb
2020-03-27 12:12:55 +00:00
jayaprakashs 6da7be437a [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 2a3f09b657 -s ours am: 0ef40356fe -s ours am: 551a21ef67 -s ours
am skip reason: subject contains skip directive

Change-Id: I6cfc99a8a9f3ce80a6aad3467d2eccec31d83b6b
2020-03-27 12:12:28 +00:00
jayaprakashs 449f1b8cd1 [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: aa11e63633 -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 e0ae1afd51 is in history

Change-Id: Ia06d98f7828808a72e4104c31bd13530b95ace5a
2020-03-27 12:12:22 +00:00
jayaprakashs 940d4d966b [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 0ddb3cb790 -s ours am: 32cbb3f1ff -s ours am: 9ed308f55d -s ours
am skip reason: subject contains skip directive

Change-Id: I4194622c1ccb6bc05a51a7dfe9f86319ba171550
2020-03-27 12:11:57 +00:00
jayaprakashs 551a21ef67 [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 2a3f09b657 -s ours am: 0ef40356fe -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 e0ae1afd51 is in history

Change-Id: I843ffef420f8ee6505e43b2af2267fbf3d725a2f
2020-03-27 11:56:29 +00: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 9ed308f55d [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 0ddb3cb790 -s ours am: 32cbb3f1ff -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 6b6dbc3442 is in history

Change-Id: Ibd73569eff678043d42dae23321649b3c616d1f0
2020-03-27 11:56:04 +00:00
jayaprakashs 0ef40356fe [automerger skipped] [DO NOT MERGE] Enable APP_SEARCH_IMPROVEMENTS flag. am: e0ae1afd51 -s ours am: f1ab2b2a9a -s ours am: 2a3f09b657 -s ours
am skip reason: Change-Id I0665be5d585f64f3d43d42201a6529fd88247ca4 with SHA-1 e0ae1afd51 is in history

Change-Id: I801d74765e42d030771e0050e4c224e858fd2a9b
2020-03-27 11:44:55 +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 32cbb3f1ff [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: I8805bfaa4ff1d0885afeb8c5918b82dc08eb4308
2020-03-27 11:44:19 +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
Winson Chung 800ad916d4 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1 am: 156f5a50ea am: e674e62a3d
Change-Id: Ief377c55a35063438405725bca8e6bf60c59d3a8
2020-03-27 04:28:06 +00:00
Winson Chung 3413c10210 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: b9fbc92a4d am: 91629d45e1 am: 04cb878809
Change-Id: I7a23ccb8411646feedf7a391341e485df032f50f
2020-03-27 04:26:39 +00:00
Winson Chung 4205a574dd Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1 am: a925158dd2 am: 0c8f85001f am: d8ea72c097
Change-Id: Ic1b1e85078593ced3c841fdb40c05b97f46ce571
2020-03-27 04:14:44 +00: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 e674e62a3d Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1 am: 156f5a50ea
Change-Id: I2798c9fc700e14dd92c3186b6dc90b378ec86fed
2020-03-27 03:42:44 +00:00
Winson Chung 04cb878809 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: b9fbc92a4d am: 91629d45e1
Change-Id: I977e4d1a663e48b72a6ce484e0fa25d3d34d1869
2020-03-27 03:41:41 +00:00
Winson Chung d8ea72c097 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1 am: a925158dd2 am: 0c8f85001f
Change-Id: Ib6e1370bc8fc56e2c2d1d7c803c3adcb1643a647
2020-03-27 03:37:45 +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 156f5a50ea Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: da126057e1
Change-Id: Ic5c84936a3f829ea3241f995ea7f6e757cf635a4
2020-03-27 03:12:00 +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 91629d45e1 Merge "Update launcher call to fetch recent tasks" into rvc-dev am: 88fb279975 am: b9fbc92a4d
Change-Id: I996a80e30e5e5c04bde8a79e5e7f65c0e881afdf
2020-03-27 03:06:31 +00:00