Brian Isganitis
2b81fec450
Add flag for widgets in Launcher preview
...
Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
2021-06-11 16:04:54 -04:00
Brian Isganitis
93031bc2ae
Revert "Revert "Update preferences to Material Next styling""
...
There should be enough free space to merge this change into S V2.
This reverts commit 19d623d921 .
Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I346bbf819f3fe1eb13b47125b53c15baab11e439
2021-06-11 16:04:35 -04: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
a51ef571ad
Merge "Adding color back to popup container." into sc-dev am: d88f572864
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372
Change-Id: If0211bbefae257d97e7b652acff0b569bf088b4d
2021-06-11 17:30:04 +00:00
Jonathan Miranda
d88f572864
Merge "Adding color back to popup container." into sc-dev
2021-06-11 17:16:27 +00:00
Hyunyoung Song
877e193ed0
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: I5bec96c3038121247bed12a6f8bdf8f32ca46e2e
2021-06-11 16:59:39 +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
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
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
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
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
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
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
Jonathan Miranda
7b3816cdeb
[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 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: Id96cbb627cca6ee7254887f68607e607d97c6c6a
2021-06-10 20:59:36 +00:00
Jonathan Miranda
43cf4563ed
[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 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: I460320305b6a0b822bd642fc0c93de91a798af8e
2021-06-10 20:59:28 +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
Santhosh Thangaraj
192924459b
Fix the page number based Seen impression.
...
Test: On device.
Bug: 183117427
Change-Id: Ic1b11fb7630f60f11387951749420653aa3f0c8a
2021-06-10 20:44:09 +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
Zak Cohen
e3ae74943c
Merge "Suppress failing view inflation tests until investigation" into sc-dev am: 20832e64a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14938006
Change-Id: I0aacc8114111bc792a98129f0c8455d41b123b5c
2021-06-10 20:37:19 +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
TreeHugger Robot
c9565c2444
Merge "Add a content description for the widget reconfigure button." into sc-dev am: 0dfabe0a1e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690881
Change-Id: Iec5619e8b03da7239a5200dfa5acd45a75dea2af
2021-06-10 19:27:03 +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
9c6b9c311d
Merge "Fix height estimation of the widgets recommendation table" into sc-dev am: d4bae086d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937090
Change-Id: I64a55365b1e1a50104b6d4199c5a153f4bde3299
2021-06-10 18:30:24 +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
3fd1188651
[automerger skipped] Merge "[DO NOT MERGE] Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-dev am: 09a102b89d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817818
Change-Id: Ic127377dcd3322e354d4a4683a84a2a030e93542
2021-06-10 16:33:43 +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
177be58138
[automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 5bd2f65258 -s ours am: f2947b8a06 -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: I4ff69e396c7f49a9c394724be703246101160a73
2021-06-10 16:29:06 +00:00
Ryan Savitski
f1bce40581
[automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: 55e7fc6841 -s ours am: 33c40bfbf3 -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: Icde5542495ff81c3be05f856feb7d8221f7bfd63
2021-06-10 16:29:05 +00:00
Ryan Savitski
0595b13cbb
[automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 04dd2e4f9b -s ours am: 3c87d08394 -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: Idead8d8f0a38f6c24c3690b771495dc221a5ea37
2021-06-10 16:28:55 +00:00
Ryan Savitski
eab0feb5cf
[automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: ad9addd590 -s ours am: b0cb9e75e4 -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: I83639a730906f524eb7f099486885369dfed1f44
2021-06-10 16:28:54 +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