Commit Graph

32630 Commits

Author SHA1 Message Date
Takeshi Hagikura 7937cecde2 Merge "Update the colors of the tabs of work profile pagination" into sc-dev 2021-06-14 07:54:39 +00:00
Samuel Fufa 2f346b8666 Merge "[AllApps][Work] Introduce work toggle Fab" into sc-dev 2021-06-14 02:34:58 +00:00
Samuel Fufa 45e0e26971 [AllApps][Work] Introduce work toggle Fab
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: Ifd8ce20fcf2247a6e80537dc7631458e594a8a63
2021-06-13 20:01:20 -05:00
Winson Chung a50c38c457 Merge "Ignore source hint rect if it is too small" into sc-dev 2021-06-13 22:55:48 +00:00
Winson Chung b009faca5e Merge changes Ib7d3a07e,Ic22ccf17 into sc-dev
* changes:
  Disallow auto-enter PIP when there is an existing PIP
  Don't use icon home animator when entering PIP
2021-06-13 20:50:51 +00:00
Winson Chung be2a0989ce Merge "Ensure we pass the pointer id to the velocity tracker and not the index" into sc-dev 2021-06-13 20:49:58 +00:00
Winson Chung beebc45e5d Merge "Add sdk check to recyclerviewfastscroller" into sc-dev 2021-06-13 03:13:49 +00:00
TreeHugger Robot cfa0baeca6 Merge "Polish the gesture navigation tutorial sandbox" into sc-dev 2021-06-13 01:25:56 +00:00
Stevie Kideckel 2f0c5ac3c8 Merge "Account for header margin depending on which header is selected" into sc-dev 2021-06-12 21:47:01 +00:00
Winson Chung 62b5692736 Ignore source hint rect if it is too small
- When the source hint rect is too small, we can't do a nice transition
  when going home (it would require scaling the surface up to fit the
  rect, which conflicts spatially with the crop down to launcher
  icon/pip), so in this case, just fallback to the overlay

Bug: 190464560
Test: Enter YT Pip, play video, swipe it down to miniplayer then
      enter pip
Change-Id: I44b253ca440f6d2ca0eb20eef3454c5d4e3ae3e9
2021-06-12 13:58:32 -07:00
Winson Chung 954681d837 Disallow auto-enter PIP when there is an existing PIP
- Remove some deprecated calls when registering task stack listeners

Bug: 190464560
Test: Enter YT Pip, try to enter another auto-enter PIP app
Change-Id: Ib7d3a07effadb7b13f7c37f938741e27cf0e254e
2021-06-12 13:58:32 -07:00
Winson Chung 5300fce94f Don't use icon home animator when entering PIP
- If the app supports pip, can just do the fallback workspace
  home animation since the app will not be going to the icon

Bug: 190464560
Test: Open YT, swipe up, ensure it goes to the icon,
      Reopen YT video, swipe up, ensure it goes into PIP without
      icon animation
Change-Id: Ic22ccf17c664b9941ed944c0e39dc1f8d4efa84a
2021-06-12 13:58:17 -07:00
Cyrus Boadway f2ec20325b Merge "Add activity-start/return animation to widget configuration" into sc-dev 2021-06-12 17:15:11 +00:00
Cyrus Boadway 3616f29f83 Merge "Use the splash screen background color as the fallback background color" into sc-dev 2021-06-12 17:14:49 +00:00
TreeHugger Robot 76f5572648 Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev 2021-06-12 12:24:06 +00:00
Hyunyoung Song ebd88cb00b Add sdk check to recyclerviewfastscroller
Bug: 189982238
Test: builds
Change-Id: I2298a67fd957cd2a77c8e5e4c34b828c044f1a61
2021-06-11 15:55:37 -07:00
Steven Ng 77a1393c44 Fix CellLayout cast exception when drag is canceled
Test: Long press a widget and then release when the resize frame is
      shown. Then, click the content of the widget to launch the
      widget's activity. Go back to home screen and then immediately
      long press the same widget again. No crash was observed.
Bug: 189814379
Change-Id: I4232ecf9d9d9efaba817b7777314f0814bb7ef21
2021-06-11 20:18:21 +01:00
Schneider Victor-tulias 7fec8fc10c Polish the gesture navigation tutorial sandbox
- Updated in-memory tutorial steps to a array so we can better track the tutorial progress after changing the theme.
- Added a 1.5 second delay for the gesture video when the user first starts a step, and when the app resumes.
- Updated the tutorial step indicator color: previous color was invisible against the background.

Bug: 188972959
Test: manual
Change-Id: Ia1a67f7cd9e7ed9802dbc0d88d1e3b432acfa127
2021-06-11 12:16:28 -07:00
Jonathan Miranda d88f572864 Merge "Adding color back to popup container." into sc-dev 2021-06-11 17:16:27 +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
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
Jonathan Miranda 65c20f4a91 Merge "Folder preview polish." into sc-dev 2021-06-10 23:11:06 +00: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
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 1fbf9200f1 Merge changes I5d1c9e4b,I08154c94 into sc-dev
* changes:
  Flip ArrowTipView when it goes beyond screen height.
  Add more education tips for widgets. (3/3)
2021-06-10 20:46:20 +00:00
Jonathan Miranda 20a582167a [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 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: I8364b723afd3e249e6eb1a4df26f6ec8072ba310
2021-06-10 20:42:28 +00:00
Jonathan Miranda babf48c636 [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 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: Ib3ea4f1bc6f1ab3a01614a8b19922781c0f2b8f6
2021-06-10 20:42:09 +00:00
Jonathan Miranda 89e9723fcb [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 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: I80264e65cc5f5aff4bed3136bab84b12e445a968
2021-06-10 20:26:27 +00:00
Jonathan Miranda 8d398a8892 [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 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: I2db3d09a547d2633a4242f479c555c5df93a9e0e
2021-06-10 20:25:59 +00:00
Zak Cohen 20832e64a4 Merge "Suppress failing view inflation tests until investigation" into sc-dev 2021-06-10 20:06:17 +00:00
Jonathan Miranda d11638739c [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -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: Ifa305375e8cc4eb32d9d09f6c780613727d14940
2021-06-10 20:04:21 +00:00
Jonathan Miranda 209035afce Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I87759b61b2744db4792e46b7b0907dd3fad0e5b1
2021-06-10 19:40:30 +00:00
Jonathan Miranda 4401663f4a Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I8c2e58a032fea1b556a32079aed32efe11ab2139
2021-06-10 19:23:41 +00:00
Jon Miranda 32ff76cb4e Adding color back to popup container.
For Color exctraction now occurs in groups:
- System shortcuts
- Deep shortcuts
- Notifications

For home setting popup, each DeepShortcutView will have its own
extracted color.

Bug: 188095443
Test: manual
Change-Id: I7e209f863ff180b8f017aeb2a73c6f1a51842e68
2021-06-10 19:15:24 +00:00
TreeHugger Robot 0dfabe0a1e Merge "Add a content description for the widget reconfigure button." into sc-dev 2021-06-10 18:39:04 +00:00
Steven Ng d4bae086d3 Merge "Fix height estimation of the widgets recommendation table" into sc-dev 2021-06-10 18:11:45 +00:00
zakcohen 139a54f20e Suppress failing view inflation tests until investigation
Widget parts of ViewInflationDuringSwipeUp are failing on some devices,
looks like a test architecture problem, not a code failing problem.


Bug: 190729479
Test: Ran remaining tests
Change-Id: I7598f381053f7136b2fcd861ec73d2fda239bb8d
2021-06-10 10:39:32 -07:00
Jonathan Miranda 89299047d7 Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
Bug: 179289753
Bug: 183927137
Test: restore phone and ensure broadcast is sent

Change-Id: I60e179d35957309f404937473fb5272f115b65ce
Merged-In: I70acd4ce48853be728be1fb80b4b885d00a059a9
2021-06-10 17:03:30 +00:00
Pat Manning 09a102b89d Merge "[DO NOT MERGE] Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-dev 2021-06-10 16:30:44 +00:00
Ryan Savitski f2947b8a06 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 5bd2f65258 -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

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

Change-Id: I2ca39e2c1fe1a419f170b133f2dde8b7c7e184a0
2021-06-10 16:16:26 +00:00
Ryan Savitski 33c40bfbf3 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: 55e7fc6841 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history

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

Change-Id: Ia4831447289e414247ddf490e0beb505f3b72e08
2021-06-10 16:16:25 +00:00
Ryan Savitski 3c87d08394 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 04dd2e4f9b -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

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

Change-Id: Ic56b6be86962c48dfa6e878024368a536c486377
2021-06-10 16:15:59 +00:00
Ryan Savitski b0cb9e75e4 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: ad9addd590 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history

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

Change-Id: Ia4aba271856a449a7119220a6f4b3cf91227db0e
2021-06-10 16:15:57 +00:00
Ryan Savitski 5bd2f65258 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: I4259af112c4c59f4537fe785982369b9937525bd
2021-06-10 16:00:06 +00:00
Ryan Savitski 55e7fc6841 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history

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

Change-Id: I06e7124fd696e419e531d3fc2ab983c86f1459be
2021-06-10 16:00:05 +00:00
Ryan Savitski 04dd2e4f9b Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: Ia57de8ee289f2cef2af64fe0bdeff5c99aef12d5
2021-06-10 15:59:37 +00:00
Ryan Savitski ad9addd590 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history

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

Change-Id: Ia0c3dee0bbab4383825e91fffd4b24acc0cb166d
2021-06-10 15:59:36 +00:00