Commit Graph
58436 Commits
Author SHA1 Message Date
Hyunyoung Song 12084a47a8 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I7eec995ead1d7714f0b5dbf223c589f01c664c03
2021-06-11 16:58:53 +00:00
Hyunyoung Song 40344e2d7b Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev am: 6e673c7ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14931940

Change-Id: I0bb0d1bd2994e562a8d07da030306b3b63a4791b
2021-06-11 16:58:36 +00:00
Hyunyoung Song 6e673c7ed8 Merge "Fix RecyclerViewFastScroller bugs, hide keyboard" into sc-dev 2021-06-11 16:45:23 +00:00
Hyunyoung Song 7cc29dc44d Fix RecyclerViewFastScroller bugs, hide keyboard
Bug: 189982238
Bug: 187561242
Bug: 187909098

Test: manual
Change-Id: I693810e5761004c48d028253c25a2fe96477af40
2021-06-11 09:43:10 -07:00
Stevie Kideckel 2dab912b95 Use LayoutManager.onLayoutCompleted as a signal that content has changed
onChildAttachedToWindow is called before the layout manager is finished
processing the layout, so incorrect measurements / intermediate
animation states can be present.

onLayoutCompleted occurs after each full layout calculation, including
measuring multiple views or animating, and is a better signal to use.

Fix: 190391539
Test: verified locally with search use case and other expand collapse
cases

Change-Id: If01caf33c6c3371636895e1361d80de536363239
2021-06-11 16:40:49 +00:00
Anton Hansson 6dda209af4 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: d7b9bf8995 am: 1823c61ec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I792459ad5b25703dd480caa0db488705c1d71027
2021-06-11 15:34:23 +00:00
Anton Hansson ff369c1f5c Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 8b780d8517 am: 9d76378464
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Ib566f7899c046d19ad6cac9e58e88e0c0535cfd0
2021-06-11 15:34:13 +00:00
Anton Hansson 1823c61ec8 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: d7b9bf8995
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Ieccd3a52addc4ddf6e86cc898a3467010ee368a7
2021-06-11 15:25:12 +00:00
Anton Hansson 9d76378464 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 8b780d8517
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: Id8c453621a6a4ae3d6e49ec86b53e2764adf7382
2021-06-11 15:24:49 +00:00
Anton Hansson ac68fe0f3f Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb am: 6ad1a8d1d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I1fa905ca481e450e1fb0017de9e781c52adc2c98
2021-06-11 15:24:23 +00:00
Anton Hansson 8b780d8517 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I47bd374d48ee1cdbdc69b4cb3504296c7d475396
2021-06-11 15:13:08 +00:00
Anton Hansson 6ad1a8d1d2 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I77f6ce3a2108f4e1547e11d85b16d15483f175e4
2021-06-11 15:12:20 +00:00
Anton Hansson d7b9bf8995 Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev am: 17ef90b2cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14939015

Change-Id: I75e6989b9cf1d82eb3d5df9a32f9047f63387314
2021-06-11 15:12:19 +00:00
Anton Hansson 17ef90b2cb Merge "Revert "[AllApps][Work] Introduce work toggle Fab"" into sc-dev 2021-06-11 15:02:25 +00:00
Anton Hansson fc235903ab Revert "[AllApps][Work] Introduce work toggle Fab"
This reverts commit 08cca82eca.

Reason for revert: broke errorprone build
Bug: 190150515

Change-Id: I1d8707392310e745713b8780bdb957299b88a3a6
2021-06-11 14:05:07 +00:00
android-build-team Robot 212616fba8 Snap for 7445904 from 7c9e8c2ed7 to tm-release
Change-Id: I47c719d22fa4beb54f6ddddb2a210864fef17ca6
2021-06-11 03:07:44 +00:00
android-build-team Robot c7fbb428b5 Snap for 7447849 from 6247cf8a68 to sc-v2-release
Change-Id: I1960fa6fddb6ec733398a501e07bae58d3bbce7c
2021-06-11 01:21:50 +00:00
android-build-team Robot eabc4ea4c5 Snap for 7447836 from 65c20f4a91 to sc-release
Change-Id: I218f980cd0bbf7c2d727260498a32c6ee5b4f38a
2021-06-11 01:08:40 +00:00
Hongwei Wang cb5c35e5d1 Calculate the position from start bounds for auto-enter PiP
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eUpkH2il1vYBVBPt1Vks2u
Bug: 190748719
Test: manual, see video
Change-Id: I053bd5607200ad6341d04c9bcfec5222f101cf65
2021-06-10 17:59:00 -07:00
Jonathan Miranda 96a22670c5 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: b0cb17aa95 am: d00ab6057f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I0d8c3fe0218286d3c6528da8a5074c6445c5629f
2021-06-10 23:49:04 +00:00
Jonathan Miranda 43c9212fcb Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 6247cf8a68 am: 06fc7bc1f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: Ibff1db24cd4e9199b5e8a449302ecf1eb8a14757
2021-06-10 23:48:56 +00:00
Jonathan Miranda d00ab6057f Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: b0cb17aa95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I80ca9f11a82203b878daad00ae6c89fe494579b1
2021-06-10 23:37:54 +00:00
Jonathan Miranda 06fc7bc1f7 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 6247cf8a68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I39ee96a082aa6679b0d84cc06f7379ec0ddb94d8
2021-06-10 23:37:33 +00:00
Jonathan Miranda 80accb6b07 Merge "Folder preview polish." into sc-dev am: 65c20f4a91 am: 685a32f666
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I86f0b4110e9886ff9370fa2a965e7efc97f98617
2021-06-10 23:37:08 +00:00
Jonathan Miranda 6247cf8a68 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I7f9abd7f390c7bec329b8600faa051d162e68d1d
2021-06-10 23:24:35 +00:00
Jonathan Miranda 685a32f666 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: If4a5430bf410f69d34c92279636cd19d430899a1
2021-06-10 23:23:52 +00:00
Jonathan Miranda b0cb17aa95 Merge "Folder preview polish." into sc-dev am: 65c20f4a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14912724

Change-Id: I517db45b1857b52c61b13468877a528ed3ba8e55
2021-06-10 23:23:51 +00:00
Jonathan Miranda 65c20f4a91 Merge "Folder preview polish." into sc-dev 2021-06-10 23:11:06 +00:00
Evan Rosky 8a672e15cc Finish wrapped launcher animations if impl is gone
If the runner impl is gone (since it is a weakreference), we
still need to complete the animation contract by calling the
finish callback, so do that.

Bug: 183993924
Test: atest ActivityMetricsLoggerTests
Change-Id: Idce1859f0417cb74bbb9884e0d06750539e4545e
2021-06-10 14:54:12 -07:00
Winson Chung e46c7613a3 Ensure we pass the pointer id to the velocity tracker and not the index
Bug: 189259717
Test: Swipe up with two fingers using accessibility + gesture nav
Change-Id: Icef48276c6da824d43dea0f7d567691af9cdedaf
2021-06-10 14:50:17 -07:00
Cyrus Boadway 2668e731a0 Add activity-start/return animation to widget configuration
When launching the configuration activity for a widget, use the
activity transition animation.

Test: manual
Bug: 190487998

Change-Id: Ife84e86eec74f81fecddce07c833356a7962fd4b
2021-06-10 21:37:04 +00:00
Alina Zaidi 78b0ecdce1 Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: 18d07beef4 am: 001543fdce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I86b96b495c3fee30bebc37a3f62f4d6b34d5895d
2021-06-10 21:31:11 +00:00
Jonathan Miranda 15ad4bf402 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours am: 2425b24747 -s ours am: c11d9e8cff -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Ia209ed837602b9b9711e11661f1d4c1e1ee3e0bf
2021-06-10 21:31:04 +00:00
Jonathan Miranda a41eb9bc4a [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours am: dccbc3d20c -s ours am: f9c38db316 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I8a3f44a3c625b8e6c7f52f853075a8095b7e1cbd
2021-06-10 21:30:55 +00:00
Alina Zaidi bdf578ac7b Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: e908dbba29 am: 784d08da4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I631f290d0df10f42f633c489bdb4043bd6c400d8
2021-06-10 21:30:34 +00:00
Jonathan Miranda 79412e481d [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours am: 7b3816cdeb -s ours am: 30133051d7 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I2e0269f847b7795b1a62fcb1b5f3ff189dd2f703
2021-06-10 21:30:08 +00:00
Jonathan Miranda dbdf5cc077 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours am: 43cf4563ed -s ours am: d2b065e221 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Ib13cecb5360da66d5e1c32701cb9c29224040736
2021-06-10 21:29:54 +00:00
Alina Zaidi 001543fdce Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: 18d07beef4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I721d24e08f6ddf2d9be73392d66f25daa3346d5b
2021-06-10 21:17:26 +00:00
Jonathan Miranda c11d9e8cff [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours am: 2425b24747 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: If481b27cf87633f7921a8d7276cb99d7c09c652b
2021-06-10 21:17:20 +00:00
Jonathan Miranda f9c38db316 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours am: dccbc3d20c -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I4dbdde972f4b05a7968b505415845c07abff0791
2021-06-10 21:16:56 +00:00
Alina Zaidi 784d08da4e Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: e908dbba29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: Icc45b99bc5daac07ab781ec794748218b3ab9087
2021-06-10 21:16:35 +00:00
Jonathan Miranda 30133051d7 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours am: 7b3816cdeb -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I8d597ab9ab758d648b903a31785cf31889285bc9
2021-06-10 21:16:31 +00:00
Alina Zaidi c81e7cea5f Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1 am: 153c81df42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I7f2840229a8ff5bad5c9acaa143b5e6c139c1689
2021-06-10 21:16:15 +00:00
Jonathan Miranda 9f45b4b829 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours am: 3cb4055a09 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Icd0d028a1294017a021f1b91ded84097fcc874c8
2021-06-10 21:16:10 +00:00
Jonathan Miranda d2b065e221 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours am: 43cf4563ed -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I9cae8ac93942acec610a40be18deac1e88c29580
2021-06-10 21:16:08 +00:00
Jonathan Miranda d3b942c65c [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours am: c1d019de69 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Ifeaf03f0eacb955876e3db23c8d579f7500b13c2
2021-06-10 21:16:00 +00:00
Zak Cohen f160fda5ad Merge "Suppress failing view inflation tests until investigation" into sc-dev am: 20832e64a4 am: 86924b3812 am: 914d62a625
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14938006

Change-Id: I60155569303d42b76bb8102eb5a65d69dff2a341
2021-06-10 21:05:42 +00:00
Zak Cohen dd06886103 Merge "Suppress failing view inflation tests until investigation" into sc-dev am: 20832e64a4 am: e3ae74943c am: 5b805ebb17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14938006

Change-Id: I727f936063f21db713dbc0a808d0b526bb51595e
2021-06-10 21:04:30 +00:00
Cyrus Boadway 9f06168692 Use the splash screen background color as the fallback background color
For the widget transition animation fallback background color, use either
the splash screen background color if a task is starting or the task
description-attached background color.

With a background in place, allow the window to fully fade out before
fading in the widget, by moving the window alpha math into an animation
factory-specific implementation.

Bug: 187706750
Test: Manual
Change-Id: I2b5a7783b0585d447ad60534bc48d2e2176877ed
2021-06-10 21:03:24 +00:00
Alina Zaidi e908dbba29 Merge changes I5d1c9e4b,I08154c94 into sc-dev am: 1fbf9200f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899453

Change-Id: I2ad1c6fd6c70d06f3aea57b465cddb107f4aba2e
2021-06-10 20:59:43 +00:00