Commit Graph

32739 Commits

Author SHA1 Message Date
TreeHugger Robot eb3aafde5a 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: I2d8e71118e8b530d1b1e42a9679e43a64ed72d19
2021-05-09 04:19:43 +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 e00df13995 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: I6458542e7080a676a386474bcc58848794ae569f
2021-05-08 20:20:16 +00:00
TreeHugger Robot 21d9239559 Merge "New motion for ArrowPopup open/close." into sc-dev 2021-05-08 20:04:40 +00: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
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
Steven Ng 7077f9c4ce 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: I729fb20589164b8a78eb58997a8cabf9ada1ff69
2021-05-07 18:16:58 +00:00
Samuel Fufa bea2954ee4 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: I9fd67bc0902a441c3bac6936a692c092a9c2af0c
2021-05-07 18:16:53 +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
Samuel Fufa 054f45486e Merge "[Search][Motion] Introduce header protection in AllApps" into sc-dev 2021-05-07 17:59:08 +00:00
TreeHugger Robot 134d158e50 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: Ic7686503b93f8b60f6fb871d442d9f9d14a0569e
2021-05-07 16:30:39 +00:00
TreeHugger Robot 7a1b53c46b [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: I8e2d9cfbe8528a4a69bb9bfca0987efd5fac7685
2021-05-07 16:30:34 +00:00
TreeHugger Robot 715f2a27ac [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: If5641baa65dde90ea01548fa801b06c2867ff5de
2021-05-07 16:30:30 +00:00
Steven Ng e69a4b7f6a 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: I98d3bde9fea32c9b3e2ad03eeaae6713940dc6dd
2021-05-07 16:30:26 +00:00
TreeHugger Robot ab0f007281 [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: I49eaa938ec782c95027d32476b90f108acbc1346
2021-05-07 16:29:25 +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 ad78ba7017 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: I5fbade6a370988147f1f2c2c01003867ec3665a0
2021-05-07 15:22:56 +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
Alex Chau defc15faae 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: I448c48cae24b9ae7341deeebf2f70e3b33040ca4
2021-05-07 11:09:48 +00:00
TreeHugger Robot 0bc9b05173 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: Ibf2275e02eb65352c1e4d0f4190b774575e3f57a
2021-05-07 11:09:28 +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 313946ebb4 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: Ib0f462ebd22dbe4453e1b291899b5d83dcb77e61
2021-05-07 06:13:54 +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 3a2fb50dac 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: I5d06b055c1e715099535ba1b4172f25a029c1f1f
2021-05-07 04:14:06 +00:00
Tracy Zhou 3572f54faf 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: Ia560e850bdcedcefed3b3e8851f2d5e758b3304e
2021-05-07 04:13:15 +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 5b8dabc275 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: Iea6df3b889a5ccc0648ea44c0d87239805e5b691
2021-05-07 01:11:16 +00:00
Hongwei Wang ea34ef9f5f Merge "Support entering PiP from live tile" into sc-dev 2021-05-07 00:57:46 +00:00
Winson Chung bcc2fdeb69 Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869

Change-Id: I43d3cd3cd9523051491de7e9d3b2ae8fb80639a5
2021-05-07 00:52:32 +00:00
Winson Chung 45849e22c9 Merge "Handle volume key events while in overview" into sc-dev 2021-05-07 00:36:48 +00:00
Winson Chung 5da72b5be8 Handle volume key events while in overview
- Normally this gets dispatched to an app's phone window to notify
  the media session manager, but because the recents input consumer
  routes to the launcher window bypassing phone window, the event
  never gets processed.

Fixes: 185520916
Test: Open overview from an app, ensure volume dialog still shows
Change-Id: I8784a6211e56f320b8b9d688fa0568c583652725
2021-05-07 00:36:34 +00:00
Samuel Fufa 043072e3bf Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679

Change-Id: Ia10c1288043d9594c92be9bae399df8d174ea01a
2021-05-06 23:48:27 +00:00
TreeHugger Robot 39cc77ba92 Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776

Change-Id: I081a7e4e365f902b701ca3319641666686ef529b
2021-05-06 23:48:02 +00:00
Tracy Zhou adc109cabe Null check RecentsView before calling launchSideTaskInLiveTileMode
Test: N/A
Fixes: 185066406
Change-Id: Ic85bbe02b93c7cc652543138d3ea79f7892c7268
2021-05-06 16:36:31 -07:00
Samuel Fufa f94540b28a Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev 2021-05-06 23:33:06 +00:00
TreeHugger Robot 2b93dbb0b8 Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev 2021-05-06 23:26:14 +00:00
Hongwei Wang a608df0c81 Support entering PiP from live tile
When finish the recents animation, send user leave hint if live tile is
currently on. Note that we force the PiP window fades in in this case.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bLoRpbgcyZBt1UiQPZEXcF
Bug: 187421300
Test: manual, see video
Change-Id: I07bc307c5eb895cd23b764af92e39ff7e6f8e805
2021-05-06 16:10:44 -07:00