Commit Graph

16456 Commits

Author SHA1 Message Date
vadimt e277fec466 Events checking for long press events
Also fixing duplicate long press events resulting from both framework
and Launcher own detection reporting long presses.

Change-Id: Ib46de5bd60850f1c5578992c8c1172ddbc0961f3
2020-03-31 19:08:17 -07:00
TreeHugger Robot 29f241c698 Merge "Tracing widgets page events propagation to catch flake" into ub-launcher3-master 2020-03-31 22:38:22 +00:00
vadimt 8e981a74c3 Tracing widgets page events propagation to catch flake
Bug: 152354290
Change-Id: Ia2c9e0ade8f2777e085381d10e8461f97e76de7d
2020-03-31 14:50:45 -07:00
Sunny Goyal 8b37c57804 Fixing widget sheet not scrolled using external mouse
> Fixing crash when some properties are not initialized if draw is not called
> Adding robolectic support for UI testing
> Adding robo tests to verify workspace, all-apps, widgets and folder scrolling

Bug: 147312357
Change-Id: Id7756e07f06396359e441cdff2e4f992bdcb97bb
2020-03-31 12:17:09 -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 b681ebe3d2 Fixing Search box placement in Launcher3
Bug: 152372445
Change-Id: Ifabcc73f33f18de48b737d3e325b14fba75d0d96
2020-03-30 15:25:29 -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
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 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
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
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 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
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
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
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
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
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
Jon Miranda 7899902b12 Ensure current animation is cancelled before building new folder animation.
Fixes bug where folder clip padding gets stuck as false.

Bug: 146884730
Change-Id: I3a24e561d15fbc46837bb21cd8f97283e69f9ce1
(cherry picked from commit 9794d4d52a)
2020-03-25 15:27:52 +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
TreeHugger Robot ee24e84a3d Merge "Decoupling some dragController methods" into ub-launcher3-master 2020-03-25 01:07:25 +00:00
Sunny Goyal a306e59c69 Fixing drag getting stuck due to mismatch touch events
Bug: 150825081
Change-Id: Ib0613ff145fe308800eae85f2148b22ee01db91d
2020-03-24 18:05:45 -07:00
vadimt ac752e39f5 Debug tracing to repro a flake
Bug: 152354290
Change-Id: I06c9ad131ab125226dfdd548121d0aa3f26c7bc7
2020-03-24 17:58:03 -07:00
Sunny Goyal deb91c46eb Decoupling some dragController methods
Change-Id: I7c4ab5f1504c49eaa0566afe643d7672faa80205
2020-03-24 17:27:58 -07:00
Sunny Goyal 8b4c975546 Merge "Adding some wallpaper depth to drag and drop" into ub-launcher3-master 2020-03-25 00:13:09 +00:00
TreeHugger Robot b2f76460b6 Merge "Removing base no-op implementation of depth controller" into ub-launcher3-master 2020-03-24 23:43:49 +00:00
Sunny Goyal 284a6cfdd7 Removing base no-op implementation of depth controller
Change-Id: Ibf46c0a147d2772033ad469b803e606376978cd7
2020-03-24 16:11:06 -07:00
Sunny Goyal 95613d93a2 Adding some wallpaper depth to drag and drop
Change-Id: Ib9acee6dcf8b2883cb66b65159d049bd8cbc2e8b
2020-03-24 12:13:17 -07:00
TreeHugger Robot 8ca3d852e5 Merge "Default fixed_rotation to off" into ub-launcher3-master 2020-03-24 18:39:29 +00:00
Sunny Goyal 3abaae6c3c Fixing userControlled flag not properly set when building state animation
Bug: 152278197
Change-Id: Icc7d7444f7744c0614b03241d65156d6d493df84
2020-03-24 01:27:53 -07:00
Jonathan Miranda 5d87e9a1ae Merge "Polish badge animation on app open/close." into ub-launcher3-master 2020-03-24 04:11:38 +00:00
TreeHugger Robot 839a0f32e5 Merge "Cleanup LoggerUtils" into ub-launcher3-master 2020-03-23 23:21:34 +00:00
thiruram ed538e53b0 [DO NOT MERGE] Adds basic smart-folder logging.
This would allow collecting trimmed down version of smart-folder logs from QPR devices.

Change-Id: Ida332bd969774cabcfd72def5bed0e6409d6c8e1
(cherry picked from commit d684eddd9f)
2020-03-23 23:11:41 +00:00
Sunny Goyal 062c84663a Enabling Least square velocity tracker algorithm
Bug: 139750033
Change-Id: I6b4e755f983ae23343a242f69b51f3fccd7a9fc5
2020-03-23 14:38:20 -07:00
Sunny Goyal 7fb01cc6b3 Restring the item rank to valid range since the folder contents
change during drag operation

Bug: 152193591
Change-Id: I71a3c44e84fe8c3bf787ad28c2f2fad48f0ad70a
2020-03-23 21:19:07 +00:00
Hyunyoung Song 4d9ad3a196 Cleanup LoggerUtils
Change-Id: Ibeccb61b25236ee905f61bdb5ea2255f778d4b05
2020-03-23 13:57:10 -07:00
Jon Miranda 4848604882 Polish badge animation on app open/close.
Create new ClipIconView so that the adaptive icon foreground/background can
get clipped properly, and the badge gets drawn separately on top of it.

Bug: 142105172

Change-Id: Ie5d65c20f845d9219fd01daa383f273dde0e096c
2020-03-23 12:24:04 -07:00
TreeHugger Robot 7a84dd66f6 Merge "Parse share-targets defined by non-main activities" into ub-launcher3-master 2020-03-23 18:27:27 +00:00