Commit Graph

22746 Commits

Author SHA1 Message Date
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
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
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
TreeHugger Robot
cba7f50947 Merge "Validate pointer index in PagedView#onMotionEvent" into ub-launcher3-rvc-dev 2020-05-27 05:03:38 +00:00
Vinit Nayak
93bf1fe1f0 Validate pointer index in PagedView#onMotionEvent
Fixes: 157400422
Change-Id: I556e2e05323ec7f0a47a8a8e3321b8196ee77bcc
2020-05-26 17:22:13 -07:00
Tracy Zhou
b1eeeafa6f Merge "Permission protect GridOptionsProvider" into ub-launcher3-rvc-dev 2020-05-26 22:36:37 +00:00
Tony Wickham
c093b25c75 Use splitscreen 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: I25216fef0d804704e7c7bd84316f932767c2f110
2020-05-26 16:55:58 -05:00
TreeHugger Robot
0bef6c937a Merge "Fix NPE when recents animation controller is null" into ub-launcher3-rvc-dev 2020-05-26 18:48:42 +00:00
Tony Wickham
a47a8f1b1d Fix NPE when recents animation controller is null
If it's null, that means the animation was already canceled or
finished, so we don't need to finish it anyway.

Bug: 157383670
Change-Id: I9b0dde76d5756536d8d97bc3d7f13723f903a79c
2020-05-26 13:05:29 -05:00
Tracy Zhou
c6f3b4d0c7 Permission protect GridOptionsProvider
Fixes: 152004429
Test: Manual
Change-Id: I2576322b68b128acf28536a5e37a9853ac9d03c3
2020-05-23 01:24:25 -07:00
TreeHugger Robot
69d772633d Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-05-22 23:23:03 +00:00
TreeHugger Robot
667ebafdfa Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-05-22 23:22:07 +00:00
Bill Yi
2a5d15c182 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0391eda3ce9c7d9b9f90de359b5cf0b0363c0d00
2020-05-22 23:09:44 +00:00
Bill Yi
5051db820b Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I37782ef5afd3cf3606bef863f14731996ae9e0c9
2020-05-22 23:09:02 +00:00
Vinit Nayak
c217c72bcc Merge "Maintain fake nav bar position in overview for landscape" into ub-launcher3-rvc-dev 2020-05-21 20:59:25 +00:00
TreeHugger Robot
1152e4526d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev 2020-05-21 20:47:31 +00:00
TreeHugger Robot
9eae863216 Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev 2020-05-21 20:39:29 +00:00
TreeHugger Robot
bfe7b44a91 Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev 2020-05-21 20:29:34 +00:00
vadimt
e238271384 Adding a method checking whether Overview has tasks
Change-Id: I9817218990c470ad7f266e336d931e2cd313535e
2020-05-21 13:11:42 -07:00
vadimt
f5e98ead9d Insert delays in dumping input state
Hpoing to avoid overwhelming logcat

Bug: 156287114
Change-Id: Ia0e95ade205a2c5cd6d7a27b59c9896fb78370af
2020-05-21 12:42:32 -07:00
vadimt
623670c2e3 Checking success of injectInputEvent
Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
2020-05-21 12:32:33 -07:00
Vinit Nayak
c609421f2a Maintain fake nav bar position in overview for landscape
NavBar defaults to display when quickswitch ends,
which is always portrait since home is now always
in portrait. We keep the same nav region that the
user used to swipe up to enter recents and reset once
they swipe to home.

Fixes: 156053957
Test: Swipe up from landscape app, then swipe up
from the same nav bar region to go home.

Change-Id: Ia4cf8172850b991aa5e145897622be3b2afa3779
2020-05-21 11:24:16 -07:00
Vadim Tryshev
2c75d08806 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev 2020-05-21 17:53:03 +00:00
Tony Wickham
17312c3566 Keep recents attached to app window on continued switching
- LAST_TASK now has recentsAttachedToAppWindow = true, to match
  NEW_TASK. Though this does mean there's a small chance of
  seeing recents translating in if you swipe up and back down,
  this is preferable to seeing recents translate away if you
  swipe right and back left in two consecutive gestures.
- Until passing the touch slop for a new gesture, keep recents
  attached to the app window. This avoids cases where you
  could have recents view translate away mid-gesture, such as
  in the following case: swipe from A to B, swipe from B back
  to A, touch down during the transition back to A. Before this
  change, you would see recents translate away; with this
  change, recents instead stays in place until we get another
  signal indicating it should detach, such as swiping to home.

Bug: 157153404
Change-Id: I63a3a8b988af1aac5177f101b0b75e73e56b1ceb
2020-05-21 00:55:54 -05:00
vadimt
8a8255916f Failing with diags when UiObject2 container disappears
Change-Id: If6af49087a5afd6374776e55067b0502dabb7585
2020-05-20 15:05:49 -07:00
Tony Wickham
c7c883a880 Update some TouchInteractionService logs
- Move "finishRecentsAnimation" for NEW_TASK to where we actally
  finish the controller after onTaskAppeared()
- Add "setEndTarget" and "onSettledOnEndTarget" logs

Bug: 156412706
Change-Id: I0a0f81d3b601fc1eed72b372235bbb92368ec246
2020-05-20 14:30:31 -05:00
Jon Miranda
517cec5344 Add all apps education tutorial.
* Added FeatureFlag.ENABLE_ALL_APPS_EDU
* When user swipes up on nav bar three times and goes to hint state
  consecutively, we show the new All Apps education tutorial.
* For now we block interaction while the animation is playing,
  and we remove the view when the animation is done.
* Future CL will leave view up until user successfully reaches All Apps state.

Bug: 151768994
Change-Id: I903e0a3914d0558950ecb8cd714d97ddc10ca06b
2020-05-20 11:44:23 -07:00
Adam Cohen
0a1cefa497 Merge "Delegate horizontal scrolls from the Hotseat to the Workspace" into ub-launcher3-rvc-dev 2020-05-20 16:08:23 +00:00