Commit Graph
54966 Commits
Author SHA1 Message Date
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
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 10b3d2954b Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: cdc4789db8 am: cc51e3aaa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I781ae552c90682bf37c3e8adf6d1d49b732f259d
2021-06-11 18:03:24 +00:00
Jonathan Miranda 65c0324c23 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: a51ef571ad am: 9210b14c22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: If17c9d237eae4fb4825c909e29c99ab3cbf5994f
2021-06-11 18:03:13 +00:00
Jonathan Miranda cc51e3aaa9 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: cdc4789db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I1e32348d8790d24bcbbbbb8109eed5e105b3ee04
2021-06-11 17:44:45 +00:00
Jonathan Miranda 9210b14c22 Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: a51ef571ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: I5e462f782416356c6eedbc8341ef6c89c44f45ff
2021-06-11 17:44:25 +00:00
Jonathan Miranda 670348b9fa Merge "Adding color back to popup container." into sc-dev am: d88f572864 am: 8b14b2da8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14796372

Change-Id: Ief9fa2a56db25bfcb0870b3db7004c0fc114a33c
2021-06-11 17:43:58 +00: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 8b14b2da8a 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: I04cf5e44f34ef354959ccc9fe7aaac5f09bb2f45
2021-06-11 17:29:26 +00:00
Jonathan Miranda cdc4789db8 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: I449e101bc4fca3f9f8672d6b889406dac25b6c42
2021-06-11 17:29:23 +00:00