Commit Graph

3558 Commits

Author SHA1 Message Date
Steven Ng 400a4e8cd0 Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev am: 99d4010c6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339830

Change-Id: I67b0433988291f046650152aecb32a0a423410c4
2021-04-29 14:08:32 +00:00
Steven Ng 99d4010c6e Merge "Use widget picker color surface for WidgetsBottomSheet" into sc-dev 2021-04-29 13:51:51 +00:00
Steven Ng 1777a1be4f Use widget picker color surface for WidgetsBottomSheet
Test: Launch widgets bottom sheet, search popup to confirm the expected
      background color is applied.
Bug: 183601302
Change-Id: I300a364605e00a0d8046a907a40f4cb797ec161e
2021-04-29 12:44:31 +01:00
Shan Huang 278a73e4df Merge "Updated launcher text shadow values." into sc-dev am: 64fc7543f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14204932

Change-Id: Ib8325a14df32b0b9e374433b58f6e257975521c7
2021-04-29 03:02:33 +00:00
Shan Huang 64fc7543f0 Merge "Updated launcher text shadow values." into sc-dev 2021-04-29 00:16:47 +00:00
TreeHugger Robot b3d620eaf4 Merge "Removing dependency on wallpaper colors and using theme resources" into sc-dev am: 45167d6030
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14331414

Change-Id: Ic5be23db834ce301f3e142300e3d1b83755cc482
2021-04-28 03:16:24 +00:00
TreeHugger Robot 45167d6030 Merge "Removing dependency on wallpaper colors and using theme resources" into sc-dev 2021-04-28 03:00:17 +00:00
TreeHugger Robot 96b1cea6eb Merge "Allow Workspace Scrim to be colored per state" into sc-dev am: 222b4757f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14297677

Change-Id: I0a8174bddc11b16919ce2b40591fb9f4b2fc9080
2021-04-28 00:23:11 +00:00
TreeHugger Robot 222b4757f5 Merge "Allow Workspace Scrim to be colored per state" into sc-dev 2021-04-28 00:10:26 +00:00
Sunny Goyal 4ed0fb5074 Removing dependency on wallpaper colors and using theme resources
Bug: 184676715
Test: Manual
Change-Id: Ie9a9a784c4a8a8cd484bfd8ea463deedcd4deed6
2021-04-27 16:29:08 -07:00
Zak Cohen 4d35ac3020 Allow Workspace Scrim to be colored per state
Make it possible to set the color of workspace scrim to a different color
per state. Motivated by making Overview Scrim and All Apps scrims different
colors.

Bug: 186253733
Test: Local build and flash
Change-Id: Id7c38ce3c9173308eedfcb7592ececa7bd6bf220
2021-04-27 14:04:46 -07:00
Steven Ng e523e3f65c Merge "Add a11y action for expand / collapse items in WidgetsFullSheet" into sc-dev am: f4bd91f0ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14314645

Change-Id: Ib14b24b6d241c574a790798a8cdb12b483216a36
2021-04-27 16:54:46 +00:00
Steven Ng f4bd91f0ab Merge "Add a11y action for expand / collapse items in WidgetsFullSheet" into sc-dev 2021-04-27 16:28:11 +00:00
Steven Ng fd68f757c8 Add a11y action for expand / collapse items in WidgetsFullSheet
Test: Enable talkback. When focusing on a collapsed item, it announces
      Collapsed "App Name" "n widgets/shortcuts". Action available. Use
      tap with 3 fingers to view. 3 fingers tap > Action > Expand.
      Widgets are expanded.
      When focusing on an expanded item, it announces
      Expanded "App Name" "n widgets/shortcuts". Action available. Use
      tap with 3 fingers to view. 3 fingers tap > Action > Collapse.
      Widgets are collapsed.
Bug: 183120145
Change-Id: Ibbb6025b929c141aa9e2fd2c72dce314e8be837e
2021-04-27 16:28:00 +00:00
Cyrus Boadway 3b0e6a7064 Merge changes I65d2b1bc,I35bf9cb4 into sc-dev am: 5f35ff021d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14281907

Change-Id: Ifa36f2d756f4226793faf0a24b789bffa82fa930
2021-04-27 10:22:28 +00:00
Cyrus Boadway 5f35ff021d Merge changes I65d2b1bc,I35bf9cb4 into sc-dev
* changes:
  Animate App Widget activity launch from Quickstep launchers
  Add a mechanism to temporarily defer App Widget updates
2021-04-27 10:17:00 +00:00
TreeHugger Robot 007a33aedd Merge "Include recommended widgets table vertical padding in the height estimation" into sc-dev am: c2f4f0de02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14314646

Change-Id: I155d24adcf210fee0eb4be48fcfc2b045997eb6f
2021-04-27 10:13:55 +00:00
TreeHugger Robot c2f4f0de02 Merge "Include recommended widgets table vertical padding in the height estimation" into sc-dev 2021-04-27 08:57:32 +00:00
Cyrus Boadway 61110601f6 Animate App Widget activity launch from Quickstep launchers
Following the general pattern on icon launch animations, define a
'floating widget view' to represent the appearance of the app widget
through the launch animation.

The floating widget view separates the foreground and background
components of the LauncherAppWidgetHostView, which can be positioned
and animated separately.

The background (or placeholder if no background can be identified)
moves and grows from its original position and size to the launched
app's position and size.

The widget's foreground scales and moves to match, fading out to be
replaced with the app window.

Bug: 169042867
Test: manual
Change-Id: I65d2b1bc80275f9df460790720e13d1650093347
2021-04-27 08:31:49 +00:00
Jonathan Miranda 2f5a07ce15 Merge "Use separate color for popup when on top of another surface (folder/all apps)." into sc-dev am: 19c1b86bc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14314778

Change-Id: If6b327cda6ded5803fc4edca28c9b806f16df2ea
2021-04-27 00:16:05 +00:00
Jonathan Miranda 19c1b86bc3 Merge "Use separate color for popup when on top of another surface (folder/all apps)." into sc-dev 2021-04-26 23:59:04 +00:00
TreeHugger Robot 4958e0b0b2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-26 22:50:35 +00:00
Jon Miranda a3c8662a56 Use separate color for popup when on top of another surface (folder/all apps).
This ensures the two surfaces contrast.

Bug: 175329686
Test: long press on item in folder
Change-Id: Ic2ac9c433ce219452024071388fa0cfb51487fb6
2021-04-26 17:59:21 -04:00
Steven Ng c7d7410178 Include recommended widgets table vertical padding in the height estimation
Test: run AddWidgetTest, AddConfigWidgetTest
Bug: 186450511
Change-Id: If306b569058edb3edb3c741199e9c0d96a88f412
2021-04-26 22:19:58 +01:00
Bill Yi 32ca4c3476 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If093427db67d1d6809f0ba59aac1a18ccddaf8f1
2021-04-26 19:16:09 +00:00
Alina Zaidi 3deb1cb010 Merge "Fix few UI bugs in widget picker." into sc-dev am: af4806067f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14199562

Change-Id: Ib3053504efc0c96bdfb8892bef6f2cd482fc40a0
2021-04-26 17:48:07 +00:00
Alina Zaidi b7f5ab04ad Fix few UI bugs in widget picker.
- Update colors for widget picker (b/184236316)
- Adjust padding according to mocks (b/184236316)
- Make sure view holders refresh corners in search mode. (b/185099541)
- Fix search bar shadow being cropped (b/183602001)

Bug: 184236316
Bug: 185099541
Bug: 183602001
Test: Manually tested
Change-Id: Ifa33e090cdf31c95db9c1145e623ef55c42dd52e
2021-04-26 16:48:14 +01:00
TreeHugger Robot 6d115b395c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-23 17:05:16 +00:00
Bill Yi 22a8c92361 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0753ecdead89494ec98b72e7fb3a6a46a848291b
2021-04-23 08:49:13 +00:00
Jonathan Miranda ae601181a5 Merge "Add new app close implementation." into sc-dev am: 02f12006fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14039004

Change-Id: I6a94b4b7b6c32e0983d98d0f996870055f66859e
2021-04-22 22:23:42 +00:00
Jonathan Miranda 02f12006fb Merge "Add new app close implementation." into sc-dev 2021-04-22 22:17:02 +00:00
Jon Miranda c9ad2dd6c7 Add new app close implementation.
- We remove the fling completely
- We set damping to 1 for x/y springs so there is no
  bounciness, and updated the stiffness and bounds to tighten
  up the path to the final location.
- During the animation, we translate all launcher content
  down
- When the x/y springs, and rect animator all finish,
  we use a spring to bounce the launcher content back up

- Added AppCloseConfig so that the entire animation can
  be defined in one location, with getter methods so that
  all the involved parties of the animation can access the
  current value.
- The animations are all defined linearly, and then
  interpolated over using a 3 point curve.

Building behind feature flag as we tune the values.

Bug: 173107751
Test: manual, visual
Change-Id: I83ad0fa2c4234cf30004240d43e191354595adc8
2021-04-22 16:11:11 -04:00
Schneider Victor-tulias aa66ec9227 Merge "Complete gesture nav sandbox for for UXR." into sc-dev am: 5a6e10bba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13854481

Change-Id: I72b3410081ed849f175e9aba2b1fcd103c7e1eb8
2021-04-22 18:51:47 +00:00
Schneider Victor-tulias 5a6e10bba8 Merge "Complete gesture nav sandbox for for UXR." into sc-dev 2021-04-22 17:35:29 +00:00
Shan Huang 5620c75c01 Updated launcher text shadow values.
Also update the way we compute shadow alpha so that it combines both text
alpha and shadow color alpha.

Test: Manually checked text appearances in launcher.
Bug: 185890335

Change-Id: I720a97bbaf21de86a5c446529109ce5b9ac5f6f7
2021-04-22 12:13:17 +08:00
Bill Yi 8954828d68 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f16395279d44a14cc82e54188978bfb8a1a9be7
2021-04-21 08:50:07 +00:00
TreeHugger Robot 58c6ae1852 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-20 18:14:08 +00:00
Samuel Fufa 55fc876f8f Merge "[Search][Keyboard] Update default allApps vertical transition inset" into sc-dev am: 93573f0165
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14235427

Change-Id: I790ccae3cae2d0811e6a4243758970f76b328d4f
2021-04-20 16:25:59 +00:00
Bill Yi 5a3b0497c8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdb448fe337ff8ebb0ec85928563e18d09603bb5
2021-04-20 15:56:18 +00:00
Schneider Victor-tulias fb552936fd Complete gesture nav sandbox for for UXR.
- Removed All set screens altogether.
- Added "x" button to feedback view. This button now launches a dialog that allows the user to skip the tutorial.
- Added a progress tracker to the feedback view.
- Created a launch option to launch the back, home, then overview gesture tutorials in order.
- Added a button in the feedback view to progress through the tutorial.
- Updated tutorial animations to AnimatedVectorDrawables (with green accents).

Bug: 148542211

Test: manual
Change-Id: Icf3ec424141069895f97da74cd4ae881ff898d3f
2021-04-19 13:41:57 -07:00
Samuel Fufa 3722bb5620 [Search][Keyboard] Update default allApps vertical transition inset
Bug: 184721373
Test: Manual
Change-Id: I96c930a05055caa6ae1789c9d82810c099a0d133
2021-04-19 17:23:04 +00:00
Bill Yi e01c1f5354 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idf2317e39764e840bd008282c629f8d863bc33a9
2021-04-19 03:45:43 +00:00
Bill Yi 2875c4daa2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I244c0a7b406c4fe2629f682e9813c835be8c82ef
2021-04-17 22:15:44 -07:00
Andy Wickham 2b8b312b5b Merge "Sandbox changes for use in UXR prototype." into sc-dev am: 6c9f4ef566
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13829605

Change-Id: I93869e6515385ddad5e9aa868ad7154c2807f7d5
2021-04-17 05:53:36 +00:00
Andy Wickham 6c9f4ef566 Merge "Sandbox changes for use in UXR prototype." into sc-dev 2021-04-17 05:37:41 +00:00
TreeHugger Robot 29a722e07d Merge "Fix errorprone build" into sc-dev am: 871895da4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14217047

Change-Id: Ib1b4a6e428cba8a3f7f234bf6ff19c39ce987b41
2021-04-17 03:26:16 +00:00
Andy Wickham 855072cda5 Sandbox changes for use in UXR prototype.
- "All Set" screen doesn't show after Home/Overview/Back tutorials.
 - X button in top left is hidden (we'll want to move this to the
   feedback view).
 - Feedback pops in and out from the top of the screen.
 - Hand animation is replaced by video feedback at start and after
   incorrect gesture.
 - Back tutorial goes left then right, in order to match video.
 - Updated strings and marked translatable (UX-reviewed already).
 - Added Chinese translations.
 - Many other things.

Test: Manual
Change-Id: I126a3ea0dad645014fab9cdee2ed19e06a8a56e9
2021-04-16 16:54:41 -07:00
Adam Cohen 868cab175b Fix errorprone build
=> dialogCornerRadius introduced in v28; this is enforced by errorprone build

Bug: 185623950

Test: manual

Change-Id: I8913cc4645a2f5a26f9b98226ba66f8a8b27c77c
2021-04-16 16:12:17 -07:00
TreeHugger Robot 1d51229b6e Merge "Fix the corner radius on workspace page outlines" into sc-dev am: 447dcd4052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14214261

Change-Id: I916886c06f49cbac072fa683d2b98e0a09254b59
2021-04-16 21:19:54 +00:00
TreeHugger Robot 447dcd4052 Merge "Fix the corner radius on workspace page outlines" into sc-dev 2021-04-16 21:01:58 +00:00