Commit Graph

34630 Commits

Author SHA1 Message Date
Tracy Zhou 37d548d5d0 Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2f02c55f1e am: bf4414fb05
Change-Id: I393eb4bf6f8429368769133517a6565e32a91b99
2020-05-29 17:58:37 +00: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
Tracy Zhou bf4414fb05 Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066 am: 2f02c55f1e
Change-Id: I3288fef64f6019de71dfb28f670f868a24a4ab0b
2020-05-29 17:38:58 +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 143653d578 Merging from ub-launcher3-rvc-dev @ build 6538292 am: d67be77066
Change-Id: Ib1c28fe1a14e0307ccaad8a930c1aa1a1c1c3b81
2020-05-29 17:24:50 +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
Tracy Zhou bc305fc7fe Support predicted icons in preview
Fixes: 152789575
Test: https://screenshot.googleplex.com/r3AtHp3TAh0
Change-Id: I22f7ee2a69f2df12ade16f50bf455651dbfce597
2020-05-29 09:58:01 -07:00
Tony Wickham 244e173a68 Fix all apps alpha applying twice
Test: quick switch from home, ensure QSB fades out at the same
rate as the workspace/hotsea

Change-Id: I59ecd0c65a6abf3e24ea1c2bfba3c84f6a88e653
2020-05-29 11:10:10 -05: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
TreeHugger Robot 22696f0842 Merge "Using unstable client for fetching test info for oop tests" into ub-launcher3-rvc-dev am: fd522fe13e
Change-Id: I5744f09943d4aa0d798d217b22c070cedcdc4717
2020-05-29 05:53:40 +00:00
TreeHugger Robot fd522fe13e Merge "Using unstable client for fetching test info for oop tests" into ub-launcher3-rvc-dev 2020-05-29 05:26:46 +00:00
Winson Chung bc849d6159 Using unstable client for fetching test info for oop tests
Bug: 157661745
Change-Id: Ifbb211f9bbaa444df682145a0a9e82c5d0f24bdf
2020-05-28 20:14:54 -07:00
TreeHugger Robot 1ea847ff42 Merge "Fix actions view showing up when it shouldn't in a couple spots" into ub-launcher3-rvc-dev am: 172ea18639
Change-Id: Icc849de108154f66613d957f962556a0daf730af
2020-05-29 01:28:04 +00:00
TreeHugger Robot 172ea18639 Merge "Fix actions view showing up when it shouldn't in a couple spots" into ub-launcher3-rvc-dev 2020-05-29 01:16:31 +00:00
TreeHugger Robot b14c703579 Merge "Remove overview share to match spec" into ub-launcher3-rvc-dev am: 06fcfe1f5f
Change-Id: I53c28941881b083d7a7312377a280bc4ea1f8d55
2020-05-29 00:56:33 +00: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 06fcfe1f5f Merge "Remove overview share to match spec" into ub-launcher3-rvc-dev 2020-05-29 00:40:20 +00:00
Samuel Fufa d0807585e5 Merge "Flush pending logs before sending hotseat feedback" into ub-launcher3-rvc-dev am: f8613c67ba
Change-Id: I94bc7fa72cbf5bf498f4ac8df380a23ac9fa0149
2020-05-29 00:12:33 +00:00
Tony Wickham 1fbf3c76f6 Fix actions view showing up when it shouldn't in a couple spots
- Replace HIDDEN_FULLSCREEN_PROGRESS with INDEX_FULLSCREEN_ALPHA
- When animating actions in after swiping to overview from an app,
  start at alpha 0 (since we setState(OVERVIEW) without animation
  when we settle, meaning alpha would already be 1).
- Fade in actions at the same duration as the icon scale when
  entering overview from an app
- Hide actions during quick switch from home

Tests:
- Start quick switch from home and swipe up back to home
- Start quick switch from home and swipe up to overview
- Go to overview from home
- Go to overview from an app
Verify actions don't appear on the first, and fade in
for the rest.

Bug: 157597385
Change-Id: I43a0be702066f91e13ce2a720278aae27160c557
2020-05-28 19:10:38 -05:00
Sreyas ae23746fa0 Remove overview share to match spec
Bug: 157174391
Change-Id: Iabfeb34b77abcb885b1518d348cac45e71dc92a9
2020-05-28 17:04:42 -07:00
Samuel Fufa f8613c67ba Merge "Flush pending logs before sending hotseat feedback" into ub-launcher3-rvc-dev 2020-05-28 23:57:04 +00:00
Samuel Fufa f0dc0b6ae0 Remove dependency on Launcher notification for hotseat edu
Doc: go/hybrid-hotseat-tips

Allow launcher to show hotseat education with intent action "launcher.show_hotseat_edu"

Bug: 157683315
Test: Manual
Change-Id: I62c79b821b79cf1adb831e2f79f6f0f02166ca42
2020-05-28 16:40:46 -07:00
TreeHugger Robot 3092dfac9a Merge "Fix QSB animating separately from workspace during stagger anim" into ub-launcher3-rvc-dev am: f8273b949f
Change-Id: I31459de71e79e29c6cf4c2b7ecc80dbf395ab124
2020-05-28 23:35:52 +00:00
TreeHugger Robot f8273b949f Merge "Fix QSB animating separately from workspace during stagger anim" into ub-launcher3-rvc-dev 2020-05-28 22:43:50 +00:00
Tony Wickham 5d4e8541d0 Fix QSB animating separately from workspace during stagger anim
- Don't play any state animation if animComponents == 0
- StaggeredWorkspaceAnim handles depth controller

Bug: 157596833
Change-Id: I6ae4c5da2e837c61b57349e708b7499af8e14aaa
2020-05-28 16:42:45 -05:00
TreeHugger Robot d1d4c78b12 Merge "Putting Overview Share button behind flag" into ub-launcher3-rvc-dev am: 065c84cbeb
Change-Id: If8d51e1077e61a2c22644f289ef15d3cd6c910cb
2020-05-28 20:58:18 +00: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
Sunny Goyal b46703d538 Fixing incorrect taskView size in multiwindow-landscape
RecentsView uses deviceProfile to calculate the padding.
Device profile had incorrect sizes in multiwindow mode as it
was not considering the insets.

Bug: 155816922
Change-Id: Iaa5b939624b4128ed634e6de1abf8453e2ae852b
2020-05-28 11:49:31 -07:00
Tony Wickham 39046f245b Merge "Don't run finish callback until we actually finish" into ub-launcher3-rvc-dev am: b4d75d2931
Change-Id: I0fbb4b375ba2d19d9b3de20f3a5c6e02768cdd82
2020-05-28 18:00:28 +00:00
TreeHugger Robot 11792138b0 Merge "Logging to debug Overview Actions not working." into ub-launcher3-rvc-dev am: ef7184c8a7
Change-Id: I3d16302afe4f27fd409658beef964437b6c1b063
2020-05-28 18:00:19 +00:00
TreeHugger Robot 6e3fe7207f Merge "Move content resolver call to constructor and cache" into ub-launcher3-rvc-dev am: 938fccd3da
Change-Id: I97bf0bab86cf927a92d219a33aae7b9e47aaf8d1
2020-05-28 17:59:24 +00:00
thiruram 0599c8d11a Adds WW logging for QSB search results & all-apps predicted row. am: 62c7b5c8f7
Change-Id: Idfbc07cf7723c4b6f8b00fc6c5913372110c041d
2020-05-28 17:58:07 +00:00
Samuel Fufa a319f15f78 Flush pending logs before sending hotseat feedback
Test: Manual
Bug: 142753423
Change-Id: I0a5d8e4d50610d2681a707231319c38d3d7191ab
2020-05-28 10:41:47 -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 9fac48ce35 Merge "AllAppsSearch interface change Version 3" into ub-launcher3-rvc-dev am: db8c1381d3
Change-Id: Idec485ca59b678bb54d6a902468c282ab3dfe098
2020-05-28 02:20:54 +00:00
Hyunyoung Song db8c1381d3 Merge "AllAppsSearch interface change Version 3" into ub-launcher3-rvc-dev 2020-05-28 02:06:26 +00:00
android-build-team Robot 5b9903b358 Snap for 6534196 from f71079343a to rvc-release
Change-Id: I4ff24a08d9b3ae8c5ad78c0de66a749db086c980
2020-05-28 01:12:00 +00:00
thiruram 957de6165d Fixes missing WW logs for drag and drop events. am: c85095b0e9
Change-Id: I2ade9346c63cf0373db15b3685f6b96a24d67550
2020-05-28 00:31:16 +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 f64764f36d Merge "Dumping TIS state on failures" into ub-launcher3-rvc-dev am: b0948db99d
Change-Id: I09d934f267ae3362cd665a4c5fd2ee2a452aa97e
2020-05-27 21:43:51 +00:00