Stevie Kideckel
d6d382db33
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8 am: 86ba4cc157 am: 8d4b9167da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: I1731cec05f47525647d898f9e72107905a1cb192
2021-06-12 22:18:54 +00:00
Stevie Kideckel
abd63b81f1
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8 am: ba637efd62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: Ibfa3be02f7ab7d1ac1682687a7f4f03fb5578f6e
2021-06-12 22:10:09 +00:00
Stevie Kideckel
8d4b9167da
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8 am: 86ba4cc157
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: Idb2c2eea91ecdc9987732a68acbfeea66360977b
2021-06-12 22:09:48 +00:00
Stevie Kideckel
17db4632c5
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8 am: 67c400072d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: I57fb6497f07ab77c164dfaf8088e43e3fc36427f
2021-06-12 22:09:22 +00:00
Stevie Kideckel
86ba4cc157
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: I0fbbb2d708da27c795171baa79e751cc43bb60fc
2021-06-12 21:58:33 +00:00
Stevie Kideckel
67c400072d
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: I6ecdb48cf720e93aa6a3cab43dc59fd0a2ae3f29
2021-06-12 21:57:47 +00:00
Stevie Kideckel
ba637efd62
Merge "Account for header margin depending on which header is selected" into sc-dev am: 2f0c5ac3c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937091
Change-Id: I3beed88b592fa84ec52a45dbe9716a9fc3d134b9
2021-06-12 21:57:43 +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
4e4f75c9bb
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b am: 7b52e28f8c am: 994507f230
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: Ic6fe311d2c05188e4e1fe10b8ff38d22305f81d5
2021-06-12 17:50:06 +00:00
Cyrus Boadway
1d08f95718
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83 am: b0c79d4c28 am: 9c9e9f8d2b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: I12ca950e65ce90383181aec6bb0390d7e72dcad5
2021-06-12 17:49:41 +00:00
Cyrus Boadway
596fc9fd6e
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b am: f3e5b69bce am: 73432a6a03
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: If10cdd29017ff49b22a4493f004f9f97c8a687fd
2021-06-12 17:49:33 +00:00
Cyrus Boadway
1eb580a13c
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83 am: 801dbf90c4 am: 43fa3f3634
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: If5daca691bb54bacbf9b1250b09a5a2630a12ff6
2021-06-12 17:49:16 +00:00
Cyrus Boadway
994507f230
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b am: 7b52e28f8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: If1099db0536678a39fd7fd4d002781fa6e0c43d9
2021-06-12 17:40:48 +00:00
Cyrus Boadway
9c9e9f8d2b
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83 am: b0c79d4c28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: Idf370d91088035e1d4973b6e4d792162c97d933c
2021-06-12 17:40:42 +00:00
Cyrus Boadway
73432a6a03
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b am: f3e5b69bce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: I4b11c6b21c16fa8b362a1dc6da6c6e424181ca8e
2021-06-12 17:40:25 +00:00
Cyrus Boadway
43fa3f3634
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83 am: 801dbf90c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: Ia73716bb16f13045ec8224833497bca37e4f3604
2021-06-12 17:40:14 +00:00
Cyrus Boadway
5c091f57a1
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b am: b9e4ba54cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: I70b416bbbb1083a5e6b56471f6e1534941ce325d
2021-06-12 17:40:02 +00:00
Cyrus Boadway
d65db4a370
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83 am: 93fceb43c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: Id609015dab5ff26f9a9c02fe2e6c07253dad8e69
2021-06-12 17:39:48 +00:00
Cyrus Boadway
f3e5b69bce
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: Icfb0de63cfa3ef4ce9fb018daa9f9608deb2b868
2021-06-12 17:27:34 +00:00
Cyrus Boadway
801dbf90c4
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: I5ad3b65fb0e74ca77e37aa9bea590f82519283a0
2021-06-12 17:27:27 +00:00
Cyrus Boadway
7b52e28f8c
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: Ib36825edc7e0800cbf7ae584117436ad41858711
2021-06-12 17:27:06 +00:00
Cyrus Boadway
b0c79d4c28
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: Ia165949710cc51debbf9d9976a18589e3d020f7a
2021-06-12 17:26:57 +00:00
Cyrus Boadway
b9e4ba54cf
Merge "Add activity-start/return animation to widget configuration" into sc-dev am: f2ec20325b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622872
Change-Id: I3d5433ed123083e36c3d4ad7a8724a02e200de41
2021-06-12 17:26:53 +00:00
Cyrus Boadway
93fceb43c1
Merge "Use the splash screen background color as the fallback background color" into sc-dev am: 3616f29f83
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881306
Change-Id: I4649c41077d41ddf08f60b11a3af5ae9d21d252b
2021-06-12 17:26:40 +00: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
5a0e2228ae
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648 am: bf9d632680 am: e77b13ae11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: Ieb210a4bc49f6770a99fc57f7110b420981d1b85
2021-06-12 13:04:18 +00:00
TreeHugger Robot
00c30070a5
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648 am: c13b47f7bf am: 745ec6050b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: I76e0085bf41271c3cdaeb2ae97160e7a388f6d00
2021-06-12 13:04:05 +00:00
TreeHugger Robot
e77b13ae11
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648 am: bf9d632680
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: Ice942e1456e95271048d409903ff69e2b2ccb8b3
2021-06-12 12:55:46 +00:00
TreeHugger Robot
745ec6050b
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648 am: c13b47f7bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: I77835904fcbef8110d6880566a785999c8d98f79
2021-06-12 12:55:20 +00:00
TreeHugger Robot
c52043e432
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648 am: c86044636d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: Ie813c78235957215bb502ba9b1d6cb076746ce22
2021-06-12 12:54:52 +00:00
TreeHugger Robot
c13b47f7bf
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: I4d23a6d0cc1806761bf9655ba8d823813ec8b630
2021-06-12 12:39:52 +00:00
TreeHugger Robot
c86044636d
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: I8d814a3459ff208c38e2eae6b2cfc6fb88def043
2021-06-12 12:38:54 +00:00
TreeHugger Robot
bf9d632680
Merge "Fix CellLayout cast exception when drag is canceled" into sc-dev am: 76f5572648
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14948453
Change-Id: I5cda3e429ac2e19701667547953f1e14024a4e0c
2021-06-12 12:38:51 +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
android-build-team Robot
ee6077b66c
Snap for 7449603 from a51ef571ad to sc-v2-release
...
Change-Id: I5ae05ca77ffb59e51b6cd64da04d0329c797e923
2021-06-12 03:08:11 +00:00
android-build-team Robot
4b16f49a1d
Snap for 7450397 from d88f572864 to sc-release
...
Change-Id: I6bbfaab8acf2435504c6fb8aee99984ced70d5e9
2021-06-12 03:07:51 +00:00
Jon Miranda
af6ebe87ea
Do not add padding left/right when cell layout border spacing exists.
...
Bug: 188094809
Test: enable layout bounds and view text spanning entire cell
Change-Id: Ia7ed45d0e844b2594a8708e03fe385a321345f5e
2021-06-11 18:02:49 -07:00
Hyunyoung Song
ebd88cb00b
Add sdk check to recyclerviewfastscroller
...
Bug: 189982238
Test: builds
Change-Id: I2298a67fd957cd2a77c8e5e4c34b828c044f1a61
2021-06-11 15:55:37 -07:00
Cyrus Boadway
5fcc3a90b0
Fix foreground position during widget home animation
...
The home return animation applies a position animation to all views in
the workspace. Since the widget uses a GhostView of the original widget
to represent the foreground of the animation, that animation was
reflected in the foreground's positioning.
The CL creates an ignore list of workspace views to which an animator
should not be applied.
Bug: 190488979
Test: manual
Change-Id: I5a86165e945336693eedd253a02bda1e1eb6662d
2021-06-11 22:00:53 +00:00
Sunny Goyal
a7b018535b
Ensure that the cancel and end listener are called when cancelling state animation
...
Bug: 190856140
Test: Manual
Change-Id: Ib6b869445cee9fad2a97a590d27429140f2b3ba9
2021-06-11 14:53:55 -07:00
vadimt
1e1ad449a8
Logging UPs and DOWNs that TAPL injects
...
Test: presubmit
Bug: 190748682
Change-Id: I82e792724bab178a9c3ca190609af913fbaf4a87
2021-06-11 14:10:45 -07:00
Jon Spivack
77edb686d7
Send NIU Actions Intents to default Assistant
...
This changes the recipient for NIU Actions from a package hard-coded in a config file to the currently selected default Assistant. The user can change this under Settings -> Default apps.
ImageActionUtils has also been updated to handle the case where its
Intents cannot be resolved, preventing a crash if the user sets the
default Assistant to something that cannot receive NIU Actions.
Bug: 186655099
Test: Manual (Pixel 3A, set default Assistant to Google Go and None)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I03b93597092575902d507615f32b63f4050c4c69
2021-06-11 13:58:57 -07:00
vadimt
6c2e3b3031
Removing UB flavor of TAPL library
...
Test: presubmit
Bug: 187761685
Change-Id: Ide5060886f1b9856c1046bc2028f55418e8c1e0e
2021-06-11 13:34:57 -07:00
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