Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot 670c17c48f Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev am: ccf588d36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11994586

Change-Id: Ic189d580a0b86481eb002eb0c1d2c8f8668f87ba
2020-06-25 16:49:42 +00:00
TreeHugger Robot a2c80c2a1e Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev am: ccf588d36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11994586

Change-Id: I26e24cc4d0a5d4ad075a8e3ee358071b6c3dcec6
2020-06-25 16:49:23 +00:00
TreeHugger Robot 6be2c6cb83 Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev am: ccf588d36b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11994586

Change-Id: If5bd4173783df2ffa89062dece3b0a6b1aa1ffe7
2020-06-25 16:49:17 +00:00
TreeHugger Robot ccf588d36b Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev 2020-06-25 16:38:47 +00:00
Andy Wickham 0358dfd435 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 9befc26ea2 am: 88a3101efe am: 5a25790ded
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: Iec2e7cb1259a210cd644f02db281c06c5aa2ffe1
2020-06-25 03:21:49 +00:00
Andy Wickham 0ed1db591a Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d am: 221d9b90c9 am: cda55605ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: Ic01b981d002515a1c6deeff75fc6e9ce188c34a6
2020-06-25 03:21:28 +00:00
Andy Wickham 3b98451394 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d am: 98f26d1a15 am: 5cf822dff3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I2769af25a543a8860d7533f8e677e958d2b4b0ef
2020-06-25 03:21:00 +00:00
android-build-team Robot 4ff8176505 Snap for 6626737 from 975d792bf7 to mainline-release
Change-Id: Ic3c68d95375d180f2928eedb69f6f2e301adf05e
2020-06-25 03:10:50 +00:00
Andy Wickham 5a25790ded Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 9befc26ea2 am: 88a3101efe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I99b27e74513afd627f77d28d203adbdd1094de59
2020-06-25 03:10:48 +00:00
Andy Wickham cda55605ce Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d am: 221d9b90c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I60e4c2ead8f9011306263622a140e93a2f06036f
2020-06-25 03:10:41 +00:00
Andy Wickham 5cf822dff3 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d am: 98f26d1a15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: Icd0730419ab07fc1379a4686dce2691d7999a55f
2020-06-25 03:10:35 +00:00
Andy Wickham 88a3101efe Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 9befc26ea2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I9c15d2c268879ee5201389cd48e3e9c62bcabd21
2020-06-25 02:56:36 +00:00
Andy Wickham 221d9b90c9 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I56eb67aa43786f970a39e65b25a9c4245c10fa77
2020-06-25 02:56:15 +00:00
Andy Wickham 98f26d1a15 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I5d090cbf082d62fd783ed27faa6fed602c1b8d20
2020-06-25 02:56:05 +00:00
Andy Wickham fafff26524 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: Idbc9f144081d65d62665a91194252efb046d98c2
2020-06-25 02:39:46 +00:00
Andy Wickham 9befc26ea2 Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: I63e52519cf6a1ab15d5efce76f8ef120ba142b01
2020-06-25 02:39:27 +00:00
Andy Wickham 3fef2dd92d Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046

Change-Id: Iacfc6d6f8d8eb7eda45137d7aef8941c9620cb39
2020-06-25 02:39:14 +00:00
Tony Wickham 072e4c276d Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into ub-launcher3-rvc-dev am: 9d69370095
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11990144

Change-Id: I0b8a7052caf6352f4505a4327385332f2a6ef934
2020-06-25 02:28:27 +00:00
Tony Wickham 9e84745e4b Pass isLikelyToStartNewTask to onGestureStarted()
This ensures we immediately setRecentsAttachedToAppWindow(). As
mentioned in the bug, there was an edge case where we would animate
the attached state if the first move event passed the touch slop,
causing the adjacent task view to lag behind during the gesture.

Fixes: 159742520
Change-Id: Ie47bb84fdd3dbd69e3b74ca504d487fb9aedb551
(cherry picked from commit c6a56ef7a2)
2020-06-25 02:11:04 +00:00
Tony Wickham 9d69370095 Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into ub-launcher3-rvc-dev 2020-06-25 02:10:54 +00:00
Tracy Zhou dfa3de7d3f Get rid of a weird shadow background when rendering smartspace in preview
I think it has something to do ripple background, clipChildren, focusable, clickable, etc. My previous projects ran into related issues before, which is why I tried to set focusable here to false. Let me know if you have a better idea of what exactly is going on

FYI, I also did go back to my previous CL and confirmed that it's necessary.

Fixes: 152278370
Test: Factory reset the phone (with latest build and launcher built from this CL). Make sure no background is shown
Change-Id: I401ffcccd1e07a3c0beb5ed460a707d25bddf41e
2020-06-24 18:43:37 -07:00
android-build-team Robot 571ddfc6c5 Snap for 6626121 from ca493d1426 to rvc-release
Change-Id: Iaa5aeff0b0e28ce14eae34ec403c256e78af9a7d
2020-06-25 01:02:27 +00:00
Andy Wickham 646f2ab0d9 Merge "Updates Assistant gesture regions when no longer tracking multiple." into ub-launcher3-rvc-dev am: fce6be550b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11989960

Change-Id: Iac670fc5f6cfdb0bb38a571c96136858f1b14f1a
2020-06-24 22:43:38 +00:00
Andy Wickham d2731957ea Updates Assistant gesture regions when no longer tracking multiple.
This should prevent states where Assistant triggers from
the vertical-center of the screen in portrait (see bug).

Also fleshes out OrientationTouchTransformerTests and
adds some new ones that fail without this change:
 - enableMultipleRegions_assistantTriggersInMostRecent
 - enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable

Fixes: 158686674
Change-Id: I6d045a485f62e4010e9e3d00805a50fdd953a2fc
(cherry picked from commit 4b531b972d)
2020-06-24 22:32:14 +00:00
Andy Wickham fce6be550b Merge "Updates Assistant gesture regions when no longer tracking multiple." into ub-launcher3-rvc-dev 2020-06-24 22:29:45 +00:00
vadimt fb099c7fe1 Improving diagnostics when can't find a widget
Instead of "exceeded number of attempts" now printing that can't scroll
to widget.

Change-Id: Ia6f582e038d68fc35f152d94e592f60ef0bc2cf4
2020-06-24 21:54:16 +00:00
Andy Wickham 4b531b972d Updates Assistant gesture regions when no longer tracking multiple.
This should prevent states where Assistant triggers from
the vertical-center of the screen in portrait (see bug).

Also fleshes out OrientationTouchTransformerTests and
adds some new ones that fail without this change:
 - enableMultipleRegions_assistantTriggersInMostRecent
 - enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable

Fixes: 158686674
Change-Id: I6d045a485f62e4010e9e3d00805a50fdd953a2fc
2020-06-24 21:23:35 +00:00
Tony Wickham c6a56ef7a2 Pass isLikelyToStartNewTask to onGestureStarted()
This ensures we immediately setRecentsAttachedToAppWindow(). As
mentioned in the bug, there was an edge case where we would animate
the attached state if the first move event passed the touch slop,
causing the adjacent task view to lag behind during the gesture.

Fixes: 159742520
Change-Id: Ie47bb84fdd3dbd69e3b74ca504d487fb9aedb551
2020-06-24 11:59:10 -07:00
TreeHugger Robot 34a73f1611 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: c3adb0a088 am: 0fe041c328 am: efc1b9c1b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: Ic723803d4e089de7d8a9dc663eecf6dd5bb60d0f
2020-06-24 07:51:19 +00:00
Automerger Merge Worker 04ddd3a9ef Merge "Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: cdbf1a1d45" into rvc-qpr-dev-plus-aosp am: 8365aeb657
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I7b6e1f8b772b1b08d6d49e614a44c3242346adfa
2020-06-24 07:51:14 +00:00
TreeHugger Robot bd053698af Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: 39d753dfff am: ebce67c523
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: Ieeca4b86744eedcfc400b31884839c271a77fd8e
2020-06-24 07:50:35 +00:00
TreeHugger Robot efc1b9c1b7 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: c3adb0a088 am: 0fe041c328
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I344b48e96ac8b4bc72abdba7468d3eb82e6a10d6
2020-06-24 07:35:52 +00:00
Automerger Merge Worker 8365aeb657 Merge "Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: cdbf1a1d45" into rvc-qpr-dev-plus-aosp 2020-06-24 07:35:27 +00:00
TreeHugger Robot 9f417cc658 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: cdbf1a1d45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: Ib6cb62b2927b3f7d4601d900ef822a486f299ac4
2020-06-24 07:35:23 +00:00
TreeHugger Robot ebce67c523 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: 39d753dfff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I43e3651bbcb3697e89d40c204de79a06544c456e
2020-06-24 07:35:18 +00:00
TreeHugger Robot 0fe041c328 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: c3adb0a088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I0fb671905def2f1cf989fa8f5e0f1f4d0a566f68
2020-06-24 07:23:09 +00:00
TreeHugger Robot 39d753dfff Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I94a39313a802c38c2107d2fa5d38ea096ab27eea
2020-06-24 07:22:44 +00:00
TreeHugger Robot cdbf1a1d45 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I8879e7653f81dfbeeeb3b19f8b34867351120242
2020-06-24 07:22:32 +00:00
TreeHugger Robot 975d792bf7 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I3683422e2b0be0dd3763607d9b827ca42ac54929
2020-06-24 07:10:29 +00:00
TreeHugger Robot c3adb0a088 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: If8cc8480d4ccf5fa5c62a90a1e72a1cb2041c81b
2020-06-24 07:09:51 +00:00
TreeHugger Robot 3af603f240 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215

Change-Id: I68378ceec09b495b25568571474f2f4b295388d2
2020-06-24 07:09:46 +00:00
TreeHugger Robot ca493d1426 Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev 2020-06-24 06:52:16 +00:00
TreeHugger Robot 7e3d07fc77 Merge "Use isolated display context to get display info" into ub-launcher3-rvc-dev am: a0b0d66e20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11969862

Change-Id: Ibb6496b2ed97f782940cdf8f846731ba6a36811a
2020-06-24 05:37:07 +00:00
Automerger Merge Worker cbbb9407af Merge "Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: e65a33134d am: 9b607eaaee" into rvc-qpr-dev-plus-aosp am: f9c7e02dc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630

Change-Id: Ia1c6cce3657d3b7a29dfe57c143d49359c9c2a35
2020-06-24 05:28:00 +00:00
TreeHugger Robot 1836375fde Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: 968b52bd4c am: f220a3c6eb am: afeb834a46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630

Change-Id: Id57e755b8ac2f108e80787703cadf6ed1a49e20b
2020-06-24 05:27:35 +00:00
TreeHugger Robot cb0bd36e79 Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: e65a33134d am: 373d9f4d88 am: fc8bfcf97f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630

Change-Id: Iac5479c15d9f5562c0af9c1f73bdfb2244bec308
2020-06-24 05:27:12 +00:00
TreeHugger Robot a0b0d66e20 Merge "Use isolated display context to get display info" into ub-launcher3-rvc-dev 2020-06-24 05:25:33 +00:00
Automerger Merge Worker f9c7e02dc7 Merge "Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: e65a33134d am: 9b607eaaee" into rvc-qpr-dev-plus-aosp 2020-06-24 05:15:49 +00:00
TreeHugger Robot 2c02cf2234 Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: e65a33134d am: 9b607eaaee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630

Change-Id: I83b9d6bc6bdbd41f332d6ef90559483baee83d02
2020-06-24 05:15:47 +00:00
TreeHugger Robot afeb834a46 Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: 968b52bd4c am: f220a3c6eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630

Change-Id: I12fb16b5ba07c9171fb30fcb60eafcf33379dee9
2020-06-24 05:15:45 +00:00