Commit Graph

32519 Commits

Author SHA1 Message Date
TreeHugger Robot f0a32f13b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-09 20:29:17 +00:00
Bill Yi 8fa997f2b0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c77f5561818d4516e821e7f11d01178e8272df1
2021-05-09 10:50:52 -07:00
Bill Yi 14980fe0dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I67cae1b3cc2fd0e16750dd31f762b9d480792595
2021-05-09 10:50:07 -07:00
Bill Yi 1ac7b83521 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7dd72869281cae2bb6d5c40899856fec566a7670
2021-05-09 10:49:37 -07:00
TreeHugger Robot 5c57f89243 Merge "Add local wallpaper color extraction to folder backgrounds." into sc-dev am: 32ee8c6a51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14330015

Change-Id: I1166962a80ff0f4e2f924f09bd3b7fea5de74dd3
2021-05-09 04:17:12 +00:00
TreeHugger Robot 32ee8c6a51 Merge "Add local wallpaper color extraction to folder backgrounds." into sc-dev 2021-05-09 04:02:12 +00:00
TreeHugger Robot 89f1686ba1 Merge "New motion for ArrowPopup open/close." into sc-dev am: 21d9239559
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14390710

Change-Id: Id98c3c6aac6041090ef8e4526a32bd31fee0a256
2021-05-08 20:19:54 +00:00
TreeHugger Robot 21d9239559 Merge "New motion for ArrowPopup open/close." into sc-dev 2021-05-08 20:04:40 +00:00
Winson Chung 35226124e3 Removing some unused logs
Fixes: 185820525
Fixes: 177316094
Fixes: 158017601
Fixes: 180915942
Change-Id: I8ce5bde08e1728d3209762c5f061245386408825
2021-05-07 20:52:33 -07:00
Jon Miranda 94e43bd7d8 New motion for ArrowPopup open/close.
Bug: 175329686
Test: long press on apps where container opens above & below
      and where container is aligned left & right

Change-Id: I09bbf57b6e19cc6f022b9a96fb48d8c4ae080813
2021-05-07 19:33:22 -07:00
Sunny Goyal ce0c857e45 Avoid rebind if data didn't change
Bug: 187531176
Test: Manual
Change-Id: I94ab7ecfbed0cb8f0fbae995b4e2ff9c9cdaa808
2021-05-07 16:16:59 -07:00
Jon Miranda 0b6fa71deb Add local wallpaper color extraction to folder backgrounds.
- Starts listening to local wallpaper colors as soon as folder
  is positioned.
- The folder open animation already has a background color
  animator.
- For simplicity, folder open animation always starts
  first, and then we cancel its background color animator,
  and start a new animator to the extracted color.
- setAutoCancel would be handy here, but it does not work, will
  track in a separate bug.
- Since folders are reused, we clear our the color extractor on
  folder close.

Bug: 175329686
Test: multiple folders on rainbow background
      open each folder, ensure bg animates to proper color
Change-Id: Ie0f2c0632fa2361f7710ba247d74f882620dec16
2021-05-07 16:16:36 -07:00
Sunny Goyal c86eb1abf4 Ignoring invalid deep shortcuts during load
Bug: 182728800
Test: Manual
Change-Id: I880c2c8898f7a968024bf7b95e763f4293ee19a0
2021-05-07 16:06:20 -07:00
zakcohen 85961fa44b Make foreground scrim darker on Recents View.
Make the foreground scrim darker, not just scrimming to the target color.
Waiting for real token for the scrim color.
Moves the COLOR_TINT property from TaskView to RecentsView to make
coordinating the animation simpler.

Bug: 187320416
Test: Local
Change-Id: I300f98f78e33476ee604d4dd61b485326356eb5b
2021-05-07 14:19:30 -07:00
Steven Ng e19bda0be5 Merge "Fix UI overlapping and void space in the full widgets picker" into sc-dev am: bcf85de807
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442204

Change-Id: I56f80a0ac9d024d082d9f7fc30de91bf60449c85
2021-05-07 18:16:39 +00:00
Samuel Fufa 449c5b2ad1 Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev am: 054f45486e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14454752

Change-Id: I1a562b88f809b8c2ae6c62045a250c539f242f00
2021-05-07 18:16:32 +00:00
Steven Ng bcf85de807 Merge "Fix UI overlapping and void space in the full widgets picker" into sc-dev 2021-05-07 18:11:05 +00:00
Vinit Nayak f4f0c4d82a Prevent thumbnails from shifting if placeholder view doesn't overlap
Always shift thumbnails when in phone mode.

Bug: 181705607
Test: Placeholder view didn't shift when no thumbnails underneath
it in portrait.

Change-Id: Ib2f066fdf17134b3f5bbd9b465b87868e9ce7583
2021-05-07 11:01:52 -07:00
Samuel Fufa 054f45486e Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev 2021-05-07 17:59:08 +00:00
TreeHugger Robot 38b58b9b98 Merge "Updated launcher logging." into sc-dev am: e227451142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444247

Change-Id: I8e941087b3924677d43396799a076874c87cab8b
2021-05-07 16:30:27 +00:00
TreeHugger Robot cadf1a096a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8d9605c978 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I25159137949c96a1a20368c113863720ce88b2fd
2021-05-07 16:30:22 +00:00
TreeHugger Robot 01afc0c6fc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 794cae05ac -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1cdaeea39df90a6689ac9d26ade98e3d8a5b3d4b
2021-05-07 16:30:19 +00:00
Steven Ng 97d8f5a485 Merge "Fix full widgets picker fast scroll offset issue" into sc-dev am: b0fdd58a9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442201

Change-Id: Ie5f8322d29165d1c23ca89d6e2ce257a4fc85ef6
2021-05-07 16:30:14 +00:00
TreeHugger Robot 77cd139065 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 2f1d8ed522 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic082753e095c33a408dbb78fee9e9ffac1b642d4
2021-05-07 16:28:55 +00:00
TreeHugger Robot e227451142 Merge "Updated launcher logging." into sc-dev 2021-05-07 16:26:37 +00:00
TreeHugger Robot 8d9605c978 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-07 16:24:29 +00:00
TreeHugger Robot 794cae05ac Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-07 16:23:18 +00:00
Steven Ng b0fdd58a9a Merge "Fix full widgets picker fast scroll offset issue" into sc-dev 2021-05-07 16:16:56 +00:00
Samuel Fufa acebd1f69a [Search][Motion] Introduce header protection in AllApps
ScrimView exposes ScrimDrawingController that allow FloatingHeaderView to observe AllApps scroll progress and draw header protection on Scrim. In addition, search box independently adopts header protection background to ensure proper clipping behavior.

Test: local
preview: https://drive.google.com/file/d/1_E577AAJ0LBg0zrKJQSEJK9GQnrtx7uv/view?usp=sharing&resourcekey=0-MTxjlB3xWyJ3qPvr4qMdig
Bug: 184946772
Change-Id: I64c0f4f50d26c475d31542148a15c7c145588d3f
2021-05-07 11:15:05 -05:00
TreeHugger Robot 2f1d8ed522 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-07 16:12:22 +00:00
Lucas Dupin 1c233daa4c Merge "Fix launcher ripple opacity" into sc-dev am: f6f0892467
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14460819

Change-Id: I9556a939e13de989c761b57814881cf04386ca7d
2021-05-07 15:21:46 +00:00
Lucas Dupin f6f0892467 Merge "Fix launcher ripple opacity" into sc-dev 2021-05-07 15:08:45 +00:00
Bill Yi 3cf8cace5b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I290c44f7134dc44c6ef200215d32c8c8a893e501
2021-05-07 14:44:16 +00:00
Bill Yi 2ca3f98921 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I432d4ee0276275401879ce050f9600e2319ef883
2021-05-07 14:43:37 +00:00
Bill Yi 31d41e4ead Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b40206f9edbf432abf3a2555c1c9cf18ff1885c
2021-05-07 14:43:12 +00:00
Cyrus Boadway e2ea1f3f33 Add interaction jank monitoring for widget app launch CUJ
Instrument the widget app launch animation with interaction jank monitoring.

Bug: 169042867
Test: presubmit
Change-Id: Icc9c7cceee7950272fa5d58e0a2f18efc022ce69
2021-05-07 13:29:11 +00:00
Alex Chau 32a2f8ca22 Merge "Use mWindowContext instead of re-creating to avoid stale Resource" into sc-dev am: 5160385a0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14455656

Change-Id: I693fe140a8e6c66beaaef76200c32ed7a8577718
2021-05-07 11:09:37 +00:00
TreeHugger Robot 20910448d5 Merge "Remove widget launch CUJ from jank monitoring" into sc-dev am: 7f6691bef5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467302

Change-Id: I0280aa16ab998a179f67b706abd2aff3b58cd652
2021-05-07 11:09:13 +00:00
Alex Chau 5160385a0b Merge "Use mWindowContext instead of re-creating to avoid stale Resource" into sc-dev 2021-05-07 10:57:51 +00:00
TreeHugger Robot 7f6691bef5 Merge "Remove widget launch CUJ from jank monitoring" into sc-dev 2021-05-07 10:52:53 +00:00
Cyrus Boadway 1c5ddff010 Remove widget launch CUJ from jank monitoring
The widget launch animation should not be measured with the icon launch
animations. No widget launch CUJ yet exists, so no jank monitoring
should be applied to widget app launches.

Bug: 169042867
Test: manual
Change-Id: I2a525c42cca8dd17c4a96bde7f11b14cfe87cabc
2021-05-07 09:38:40 +00:00
Steven Ng 095e7562a4 Fix UI overlapping and void space in the full widgets picker
The issue is caused by not updating the header container after widgets
recycler view items changed due to item click.

Test: Expand / collapse items in the full widgets picker. No UI
      overlapping or void space is observed.
Bug: 186121915
Change-Id: I6a12bbdcca921d66c6d62601bb59cea66a33640b
2021-05-07 10:21:24 +01:00
TreeHugger Robot 8ff25d8944 Merge "Make focus task a bit bigger" into sc-dev am: 1eba68385a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453617

Change-Id: Iafa85ed96c949750aa1658cc5b403f7a912981c2
2021-05-07 06:13:32 +00:00
TreeHugger Robot 1eba68385a Merge "Make focus task a bit bigger" into sc-dev 2021-05-07 05:53:52 +00:00
Shan Huang 232fadabb8 Merge "Add a background scrim to launcher for text protection." into sc-dev am: f1d3cf02c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14243130

Change-Id: I885f7171f787e49119a7bbab56a59feed9f81e94
2021-05-07 04:12:22 +00:00
Tracy Zhou 3d2f3ed3a3 Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev am: 8d8a655bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14457135

Change-Id: I9f2ed5cef4017582ff1ced2d37e662c6aced09d8
2021-05-07 04:12:08 +00:00
Shan Huang f1d3cf02c9 Merge "Add a background scrim to launcher for text protection." into sc-dev 2021-05-07 03:59:26 +00:00
Tracy Zhou 8d8a655bbb Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev 2021-05-07 03:49:52 +00:00
Lucas Dupin e4d07f960b Fix launcher ripple opacity
colorControlHighlight has a might higher opacity on the launcher theme.
themes_material.xml defines it with 10% opacity instead, for both light
and dark themes.

Test: manual
Bug: 187465854
Change-Id: I9abb44aec1fe40db500c9ebdadd5877d1246331b
2021-05-07 02:06:11 +00:00
Hongwei Wang 4bc28f4813 Merge "Support entering PiP from live tile" into sc-dev am: ea34ef9f5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14455858

Change-Id: Ic12bd2977fa7ef71992ba338ebe6e63c9f91dc4f
2021-05-07 01:11:25 +00:00