Commit Graph

27531 Commits

Author SHA1 Message Date
Automerger Merge Worker 25d655cdc4 Merge "Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2deb21875d" into rvc-d1-dev-plus-aosp am: 7f602a95cc am: 80e7090bbe
Change-Id: I07ed6266dd14e818e612429088e2d38fa3c8737d
2020-05-30 04:48:51 +00:00
Tracy Zhou 6699858d49 resolve merge conflicts of 5d065997f8 to master
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I277a74dac999f3f56836fafc04ac799f84154013
2020-05-29 19:38:36 -07:00
Automerger Merge Worker 80e7090bbe Merge "Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2deb21875d" into rvc-d1-dev-plus-aosp am: 7f602a95cc
Change-Id: I6c6e9e750d2f65faf8cc707b582eba1692200c42
2020-05-29 17:53:17 +00:00
Tracy Zhou 5d065997f8 Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2f02c55f1e am: 6d22f255ca
Change-Id: Iefa487a137b28b09e995263073969a3f67a84340
2020-05-29 17:52:47 +00:00
Automerger Merge Worker 7f602a95cc Merge "Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2deb21875d" into rvc-d1-dev-plus-aosp 2020-05-29 17:38:50 +00:00
Tracy Zhou 3ca23ead69 Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2deb21875d
Change-Id: Id9a53d8a681e4d9260868fe03b8587b58b40a21a
2020-05-29 17:38:44 +00:00
Tracy Zhou 6d22f255ca Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2f02c55f1e
Change-Id: If9a9db9effb6dcd3bd8947200b7216d96c0c2884
2020-05-29 17:38:39 +00:00
Tracy Zhou 2deb21875d Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066
Change-Id: Ibbedc831d13ae87ab94aa110aef85777e70abb34
2020-05-29 17:20:52 +00:00
Tracy Zhou 2f02c55f1e Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066
Change-Id: I478bf64e645d189e29086a3f13af7eec60dbc194
2020-05-29 17:20:48 +00:00
Tony Huang 7d375e31fe Enable one-handed mode gestural in QuickStep
Handling swipe-down/swipe-up gestural in device bottom area
for one-handed mode

1) The regsion is larger than gesture navigationbar view
2) One handed gestural in quickstep only active on NO_BUTTON, TWO_BUTTONS mode
3) One handed gestural only support on portrait mode

Bug: 150747547
Bug: 154189137
Bug: 156988988

Test: make and install
Test: manual enable one handed mode and swipe down to trigger
Test: manual start one handed and rotate device

Change-Id: I7b2447bfb2fe4082c95176b62934b98077b84920
2020-05-29 19:40:15 +08:00
Tracy Zhou d67be77066 Merging from ub-launcher3-rvc-dev @ build 6538292
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6538292.html

Change-Id: I53b084ca2dc94d94f87d696bbfd7666b55d712ad
2020-05-28 17:45:04 -07:00
TreeHugger Robot 065c84cbeb Merge "Putting Overview Share button behind flag" into ub-launcher3-rvc-dev 2020-05-28 20:38:46 +00:00
Sreyas dbedb91ad8 Putting Overview Share button behind flag
https://drive.google.com/file/d/1Io5N-LyXoRa9LHQjJNd1BAgBkVuBvnhr/view?usp=sharing
https://drive.google.com/file/d/15HhNvNoUn5qX1GhkjDaifA3G05PLoIwO/view?usp=sharing
Bug: 157174391

Change-Id: I8314d5aa309fe020a4121753d4e76ca10370c626
2020-05-28 12:03:12 -07:00
Tony Wickham b4d75d2931 Merge "Don't run finish callback until we actually finish" into ub-launcher3-rvc-dev 2020-05-28 17:18:09 +00:00
TreeHugger Robot ef7184c8a7 Merge "Logging to debug Overview Actions not working." into ub-launcher3-rvc-dev 2020-05-28 17:02:15 +00:00
TreeHugger Robot 938fccd3da Merge "Move content resolver call to constructor and cache" into ub-launcher3-rvc-dev 2020-05-28 05:55:42 +00:00
thiruram 62c7b5c8f7 Adds WW logging for QSB search results & all-apps predicted row.
SearchResultContainer represents apps rows displayed within QSB search results for both default scenario(without search term) and actual search result(with search term).

SearchResultContainer is used for both homescreen QSB and all-apps QSB.

Follow up CLs will add searchOrigin and queryLength in SearchResultContainer

Bug: 152978018
Change-Id: Id5f96490686c4141e3e6b2516907ac0505a777e6
2020-05-27 20:29:40 -07:00
Hyunyoung Song db8c1381d3 Merge "AllAppsSearch interface change Version 3" into ub-launcher3-rvc-dev 2020-05-28 02:06:26 +00:00
Tony Wickham 5cf9edc1f2 Don't run finish callback until we actually finish
This fixes the issue where the app re-appears on top if you touch
the nav bar during the animation to home.

The sequence of events leading to this behavior is pretty long,
but actually always should have happened, it was just masked
until the ag/11172732 fix went in.

Here's an abbreviated version of what was happening
on the touch down during the animation to home:
1 Set mRecentsAnimationController#mTouchInProgress = true
2 Cancel the running animation to home
3 onSettledOnEndTarget(HOME) (this is what was missing before)
4 finishCurrentTransitionToHome(), which, due to #1, doesn't
  actually finish the controller, but does run the callback
5 Invalidate the handler due to #4, leading to TIS#reset()
6 Create a new handler (still from the original touch down),
  which is mResetGestureInputConsumer
7 mResetGestureInputConsumer handles touch down to finish
  the controller the app

This change addresses #4. Instead of calling the callback
immediately, we defer it to when we actually finish the
controller, which ensures there's no longer premature
cleanup that leads to the rest of the sequence.

Bug: 157407284
Change-Id: I0b2ff57bfa77a25c2bf1aece4b0ae7f943637ce6
2020-05-27 19:26:16 -05:00
Hyunyoung Song ef9a6972ce AllAppsSearch interface change Version 3
Change-Id: I79f635582075a1e33e970e4f4eb6ec653572fefe
2020-05-27 17:16:56 -07:00
thiruram c85095b0e9 Fixes missing WW logs for drag and drop events.
Change-Id: I31f8aa132d70b42c3b8213daf0bbd5c555cf3895
2020-05-27 16:35:14 -07:00
TreeHugger Robot b0948db99d Merge "Dumping TIS state on failures" into ub-launcher3-rvc-dev 2020-05-27 21:38:55 +00:00
TreeHugger Robot fcfba815af Merge "Avoid unnecessary predictor recreations." into ub-launcher3-rvc-dev 2020-05-27 21:30:31 +00:00
Hyunyoung Song cf0e79916d Merge "use LauncherAtom.ItemInfo.getDefaultInstance inside StatsLogManager" into ub-launcher3-rvc-dev 2020-05-27 21:29:54 +00:00
TreeHugger Robot 3fc6e4c76f Merge "Update LauncherState toString()" into ub-launcher3-rvc-dev 2020-05-27 21:28:13 +00:00
TreeHugger Robot 5a763db39d Merge "Clearing track-path bitmap cache when the icon shape changes" into ub-launcher3-rvc-dev 2020-05-27 21:12:51 +00:00
vadimt 835e612aee Dumping TIS state on failures
Bug: 156287114
Change-Id: Ib438aae3cc4682b1f1c958e59337c095480d910a
2020-05-27 13:48:58 -07:00
Tony Wickham f844ee9f8d Update LauncherState toString()
Change-Id: Iea3b219da546fce27480304eb3b82b4dacb907ee
2020-05-27 15:41:32 -05:00
Sunny Goyal 0b83e24216 Clearing track-path bitmap cache when the icon shape changes
Bug: 157123766
Change-Id: Ie7efaab55de47afff593012a906f3912aca90ce9
2020-05-27 20:14:53 +00:00
Sunny Goyal a314d5ad58 Updating swipe up on home animations
> Scaling down home activity on swipe-up from home and spring back to place on cancel
> Fading out recents on swipe-up to home, so ensure that adjecent tiles also dissapear
> Instead of controlling alpha, controlling full transform for base and home task. This allows adding custom animation for home task on swipe up.
> Removing alpha hanging for fallback activity in baseSwipeHandler. Instead controlling full transform for home activity
> Adding feature flag to use QuickstepLauncher as 3P Launcher to make development easier.

Bug: 156398988
Change-Id: I69cc59f2c9c95d15df6926ba635e7d6c251dceb6
2020-05-27 19:49:46 +00:00
TreeHugger Robot 32f6cd1116 Merge "Using TaskViewSimulator for animating task launch" into ub-launcher3-rvc-dev 2020-05-27 19:35:44 +00:00
Samuel Fufa eec3d09828 Avoid unnecessary predictor recreations.
Bug: 156778758
Test: Manual
Change-Id: I1bb53273c1976f700596b5ec34697ed4e1788e55
2020-05-27 12:33:53 -07:00
Vinit Nayak 281193e996 Move content resolver call to constructor and cache
Changing fixed rotation enabled system setting flag
should be followed by a restart of launcher for it
to take effect.

Bug: 149571513
Change-Id: I84fbb654c325076571a038604fa929984d22f254
2020-05-27 12:21:40 -07:00
TreeHugger Robot 6137535005 Merge "Use device insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev 2020-05-27 19:13:50 +00:00
TreeHugger Robot 32d76efb79 Merge "Add navigation mode diags to the system anomaly detection" into ub-launcher3-rvc-dev 2020-05-27 19:08:18 +00:00
Sunny Goyal e1e3f6ef5b Using TaskViewSimulator for animating task launch
Bug: 155816922
Bug: 156398988
Change-Id: I8d64322596e9d99df49b01cb9adfbfca6d95b89b
2020-05-27 18:42:49 +00:00
Tony Wickham 7c0f259baa Use device insets for multiwindow, else use thumbnail insets
This is consistent with what we do for the right/bottom clipped
insets already, and fixes cases where the device insets don't
match the thumbnail insets (e.g. for fullscreen apps).

Bug: 157097544
Change-Id: I630bb115cab571f3439bfbe8ded5affd924f7e64
2020-05-27 13:37:52 -05:00
vadimt 3096b78914 Add navigation mode diags to the system anomaly detection
Bug: 156095088
Change-Id: I3504cc2187c4bcc6229ecbcb0da360e310eeaa9f
2020-05-27 11:20:22 -07:00
TreeHugger Robot 37a7d2af42 Merge "Keep recents attached to app window on continued switching" into ub-launcher3-rvc-dev 2020-05-27 18:07:11 +00:00
Tony Wickham 11a2d58bee Merge "Revert "Use splitscreen insets for multiwindow, else use thumbnail insets"" into ub-launcher3-rvc-dev 2020-05-27 18:05:58 +00:00
Tony Wickham a9aa2c6bb3 Revert "Use splitscreen insets for multiwindow, else use thumbnail insets"
This reverts commit c093b25c75.

Reason for revert: seems the flake isn't flaking after this change

Change-Id: I03c003103b610fcdd174fbf820c428d337d9109b
2020-05-27 18:01:30 +00:00
Tony Wickham abaa39b9ea Merge "Use splitscreen insets for multiwindow, else use thumbnail insets" into ub-launcher3-rvc-dev 2020-05-27 17:57:04 +00:00
Hyunyoung Song a451508818 use LauncherAtom.ItemInfo.getDefaultInstance inside StatsLogManager
Bug: 153611516
Change-Id: I8531df7ee61c336c9919f5ff137bb1e113c126ea
2020-05-27 09:59:04 -07:00
Automerger Merge Worker bcbb95892f Merge "Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 326101967c am: ec21c61390" into rvc-qpr-dev-plus-aosp am: bd90fc3723
Change-Id: I6dae26fbd27d5549eb049d9b09c394c2a190da9c
2020-05-27 05:38:02 +00:00
TreeHugger Robot e8a5a69971 Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 5b441fcf42 am: 58b54c303a am: a85b0efa03
Change-Id: I21320cac126674e8294c294351e97c041e63679c
2020-05-27 05:37:52 +00:00
TreeHugger Robot 986d347483 Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 326101967c am: ad33fba798 am: b1f23cda1f
Change-Id: I4a8d52461678ce2b1c4018af8734f4536618a2df
2020-05-27 05:37:38 +00:00
Automerger Merge Worker bd90fc3723 Merge "Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 326101967c am: ec21c61390" into rvc-qpr-dev-plus-aosp 2020-05-27 05:10:08 +00:00
TreeHugger Robot aed3170f63 Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 326101967c am: ec21c61390
Change-Id: I06e0761ca866a842db2a3e02b7c534dc21067d1e
2020-05-27 05:10:05 +00:00
TreeHugger Robot a85b0efa03 Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 5b441fcf42 am: 58b54c303a
Change-Id: I633a2b373ff7524232c139ee5e92a78059650588
2020-05-27 05:10:02 +00:00
TreeHugger Robot b1f23cda1f Merge "Add all apps education tutorial." into rvc-dev am: f71079343a am: 326101967c am: ad33fba798
Change-Id: Id5afdc0ea402f72230ce7e33d3a538c190b2e926
2020-05-27 05:09:50 +00:00