Commit Graph

22131 Commits

Author SHA1 Message Date
Hyunyoung Song 7ac0ef1cb1 ItemInfo supports lite proto builder (1/n)
Bug: 144953948
Bug: 137777105

The new lite proto builder is used to send two types of logging to statsd
1) Snapshot logging
2) App launch, task launch, task dismiss

Statsd will be connected once platform CL is submitted

Change-Id: If606cee5288fe4bd6c522605ae84eb0f24174f5b
2020-03-31 20:52:36 -07:00
Sunny Goyal 514dfa2deb Changing actions button visibility to match clear-all button
> Removing translation when animating actions button

Change-Id: I6875e03f9c55f00232c605743348175ea132cb15
2020-03-30 16:46:06 -07:00
Sunny Goyal c2203b13a4 Removing drag handle from overview state
Change-Id: Icbd486857c1caf8f96e5afed2fcf3f2960f50692
2020-03-30 13:21:10 -07:00
TreeHugger Robot 33f9849685 Merge "Merging stylus click logic in longpress helper for better state-management" into ub-launcher3-master 2020-03-30 19:51:25 +00:00
TreeHugger Robot 5c359efc5b Merge "Adding tracing for quick switch not working" into ub-launcher3-master 2020-03-30 19:14:44 +00:00
TreeHugger Robot 7192c08c1e Merge "Delete AndroidManifest meta-data for dump_provider Bug: 144953948" into ub-launcher3-master 2020-03-30 18:59:28 +00:00
Hyunyoung Song 25a78400d5 Delete AndroidManifest meta-data for dump_provider
Bug: 144953948

Change-Id: I3c625eae7e4b20a34c9e471d55a339442a6b36b8
2020-03-30 11:16:59 -07:00
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
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
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
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
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
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
TreeHugger Robot c7189a6f2d Merge "Enabling Least square velocity tracker algorithm" into ub-launcher3-master 2020-03-26 17:56:24 +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
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 3984530f8c Merge "Beta specific hotseat opt in behavior" into ub-launcher3-master 2020-03-25 23:27:13 +00:00
Samuel Fufa 6b13c841c9 Beta specific hotseat opt in behavior
https://docs.google.com/document/d/1CKK-3vTl-SPGxx3Cwty7r69jk_vaDs9MlanbhpH85cY/edit

Bug: 142753423
Test: Manual
Change-Id: I51e949fa9962bc8e9d0cdb66d07fbe9e344fb35d
2020-03-25 15:51:01 -07:00
TreeHugger Robot 6a72017a84 Merge "Remove Edu notification if predictions are empty" into ub-launcher3-master 2020-03-25 22:43:28 +00:00
TreeHugger Robot 239e05eccb Merge "Highlight personal tab on work profile reinstallation" into ub-launcher3-master 2020-03-25 22:14:23 +00:00
Sunny Goyal 3e94faa5de Merge "Removing animation when stripping empty pages, as the animation is run by LayoutAnimation already" into ub-launcher3-master 2020-03-25 22:06:40 +00:00
Samuel Fufa e0914e21ea Merge "Resume UI update on user active" into ub-launcher3-master 2020-03-25 21:36:21 +00:00
Samuel Fufa ca1c32537c Remove Edu notification if predictions are empty
Bug: 142753423
Test: Manual
Change-Id: I1111fa15b9b677bb077478309a185e70e6784bce
2020-03-25 13:42:23 -07:00
Samuel Fufa 28f3136c6a Resume UI update on user active
resume UI update for hybrid hotseat if user returns to launcher while app launch transition is animating.

Bug: 142753423
Test: Manual
Change-Id: I11ffa080bb78e7b4269747b1602b32d706f2405d
2020-03-25 13:15:54 -07:00
Samuel Fufa dc3eb8642b Merge "Personalize hotseat education" into ub-launcher3-master 2020-03-25 19:43:57 +00:00
TreeHugger Robot 7f571f6214 Merge "Go home when new tab is installed" into ub-launcher3-master 2020-03-25 19:15:38 +00:00
Samuel Fufa 41d909ff67 Go home when new tab is installed
Bug: 150943778
Test: Manual
Change-Id: Iccd7f62c4cad856849fc1afb2faac9b9fa2f9f97
2020-03-25 11:29:56 -07:00
Samuel Fufa 6fb959d8cc Highlight personal tab on work profile reinstallation
Bug: 145595763
Test: Manual
Change-Id: I4da5e03c3aa66b324bc375d328e7b81278d58aca
2020-03-25 11:26:25 -07:00
Josh Tsuji 1e080b8c2b Merge "Ignore system gestures while bubbles are expanded." into ub-launcher3-master 2020-03-25 14:16:48 +00:00
Sunny Goyal 6ad8a7e6f7 Merge "Fixing drag getting stuck due to mismatch touch events" into ub-launcher3-master 2020-03-25 04:33:59 +00:00
TreeHugger Robot bc89d17690 Merge "Debug tracing to repro a flake" into ub-launcher3-master 2020-03-25 01:49:04 +00:00
Samuel Fufa aa2aff5a8f Personalize hotseat education
If a user has has 0 apps in the hotseat, jump directly to showing predications.
Otherwise show migration dialog as usual and if user rejects it, show different tips based on the number of available spots.

Bug: 142753423
Test: Manual
Change-Id: Ic5202caf074db2409f6468dd9373875571f3f3c1
2020-03-24 18:37:30 -07:00
TreeHugger Robot ee24e84a3d Merge "Decoupling some dragController methods" into ub-launcher3-master 2020-03-25 01:07:25 +00:00