Commit Graph

6493 Commits

Author SHA1 Message Date
Luca Zuccarini 4e813d37c0 Merge "Refactor the floating header's positioning." into tm-dev 2022-03-30 13:03:48 +00:00
Thales Lima 080d890383 Add border space to all apps cells
Also remove tablet condition, phones should also follow the workspace size.

Fix: 218638090
Test: visual and HSV
Change-Id: Ib201011391c28c0f1dcd0ce8645c3191655a7227
2022-03-30 11:56:27 +01:00
Sihua Ma 59cfcd0946 Updating font to Google Sans for widget dialog when work profile is paused
Changing the font family of no_widgets_text to Google Sans.

Test: Manual
Fix: 226612140
Change-Id: I70d98c9571aa3a62bb61685b10ae46530630bf97
2022-03-30 00:23:44 +00:00
TreeHugger Robot c248d6f005 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 17:53:29 +00:00
Luca Zuccarini 0c3961c367 Refactor the floating header's positioning.
Maintains the existing behavior while simplifying the overall layout.

See go/all-apps-qsb-positioning for details.

Bug: 221418522
Test: manual
Change-Id: I25a737cdfa431e8eb3a00b639984caed70819252
2022-03-29 10:18:33 +00:00
Sebastián Franco 9d5eef80cd Merge "Brighten theme-icons when in Dark mode and add dark color for taskbar" into tm-dev 2022-03-29 00:00:33 +00:00
Sebastián Franco 50d5e9a145 Merge changes from topic "cherrypick-217247494-b0lshr6mfa"
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Bill Yi c84b58beda Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3be3f48686dffb7e57b7acef22185df2bf78476b
2022-03-28 23:54:55 +00:00
Pat Manning e372366bb3 Revert "Adjust edit state drop targets, workspace scaling, and m..."
Test: manual

Revert submission 17004675-edit-state

Reason for revert: b/226274309
Reverted Changes:
Ib50509b6f:Adjust edit state drop targets per device type and...
Id1817cd3c:Adjust edit state drop targets, workspace scaling,...

Change-Id: I22863d7735f49f6a040a17cf56cc66f20a3e0986
2022-03-28 08:24:54 -04:00
Bill Yi 0437823e12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e25b2357f36ad85b531c7e10cc1b08e4a242567
2022-03-24 05:38:49 +00:00
Bill Yi f36424907b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c6e57268e691ea3a8a1b8039e575e4459cb32c7
2022-03-24 05:38:09 +00:00
Presubmit Automerger Backend 9a60b2baf8 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I049e1980b49f16ca694f6ad8a6835e29369eb332
2022-03-23 17:48:15 +00:00
Presubmit Automerger Backend e3a8e17984 [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003267

Bug: 217247494
Change-Id: I6c9679e4078b9f7c15eb5de422c4386a53142d32
2022-03-23 17:48:08 +00:00
Sebastian Franco 5282efddc9 Brighten theme-icons when in Dark mode and add dark color for taskbar
Bug: 217247494
Test: change between dark and light mode and transition in and out of apps
Change-Id: Ia5e38d674a56eb95a48cb1e8c2688586594a69f9
2022-03-23 10:47:52 -07:00
Tracy Zhou c1db924479 Merge "Update initial staged split UX." into tm-dev am: 8d06bb8991
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17251578

Change-Id: Ie59c24a40af87786383f1ac85c7657e68ea64652
2022-03-22 23:20:00 +00:00
Tracy Zhou 8d06bb8991 Merge "Update initial staged split UX." into tm-dev 2022-03-22 22:44:33 +00:00
Thales Lima f8fbfcad80 Merge "Change size of All Apps bottom sheet" into tm-dev am: 042482e94c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17154983

Change-Id: Ie248b0bb7789e1d3548b87e87e8374a6b67d3fc2
2022-03-22 15:45:11 +00:00
Thales Lima b7ef569591 Change size of All Apps bottom sheet
This brings the size of the bottom sheet closer to the spec provided by UX. For that type of flexibility to be possible, more attributes are introduced and some calculations had to be changed.

This shouldn't affect phones.

Bug: 218638090
Test: visual, with dumpsys and HSV
Change-Id: Ieee7580d80d8e100837b1cdd7a1455c4d65612dc
2022-03-22 12:19:46 +00:00
Tracy Zhou 4ff3615b23 Update initial staged split UX.
- Introduce inset to the staged split view
- Update width of the staged split view
- Introduce rounded corners to staged split view. It's tricky to animate it in with smooth transition considering the rounded corners. The best way to handle it is to draw content as if part of it is off the screen, so that when it's animated in, the rounded corners can slide in onto the screen correctly.

Fixes: 219085340
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/09a99b75-3614-4d20-b6d4-a78108f769d8

Change-Id: I24d90cc9e2695d822cb2de8b21e2d5519f2e344d
2022-03-21 21:21:42 -07:00
Brandon Dayauon dd9f221e50 Merge "Change Home screen to 'home screen' when it's in middle of a sentence" into tm-dev am: 4f733127a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17259361

Change-Id: I2e41ecaf0aa384d14a4da83e24dc049355f006d2
2022-03-21 17:35:23 +00:00
Brandon Dayauon 4f733127a7 Merge "Change Home screen to 'home screen' when it's in middle of a sentence" into tm-dev 2022-03-21 17:25:19 +00:00
TreeHugger Robot 44c9c9fe78 Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev am: 016dd3656d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002680

Change-Id: I6622f99ba36c3d8e61c3d258a2abd76f8500f88e
2022-03-21 17:21:36 +00:00
TreeHugger Robot 016dd3656d Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev 2022-03-21 17:07:10 +00:00
Thales Lima d7efcb8704 Merge "Add more border space options" into tm-dev am: c307cd137f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17252662

Change-Id: I9357d196425e6da392127363bfde2733ff37cfd2
2022-03-21 15:33:54 +00:00
Thales Lima c307cd137f Merge "Add more border space options" into tm-dev 2022-03-21 15:14:18 +00:00
TreeHugger Robot 0a9d1226a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-19 00:35:45 +00:00
Brandon Dayauon 85a6bab0dc Change Home screen to 'home screen' when it's in middle of a sentence
Test: Manual - Tested on local pixel device
Bug: 224967365
Change-Id: I37365167b0be6d654735d46c4a070b926e828f8e
2022-03-18 14:59:31 -07:00
Pat Manning 1acf2b18af Adjust edit state drop targets, workspace scaling, and margins per device type and orientation.
Bug: 202971709
Test: manual
Change-Id: Id1817cd3c7e7bfa5b0aa8aa20565b791ad871f64
2022-03-18 17:43:28 +00:00
Thales Lima 44cc3a2e21 Add more border space options
This give options to landscape layouts to have different border options

Bug: 222109350
Test: manual and HSV
Change-Id: If823dd09c945438f77e57ff80a8a0c4fc0b4c8a6
2022-03-18 14:28:24 +00:00
Bill Yi 0b0442f87e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I838e87377e310d791b401ebbc636587ed61e1d72
2022-03-17 03:03:11 +00:00
TreeHugger Robot ae3a70577b Merge "Tune widget picker bottom sheet VisD for large screen" into tm-dev am: b66fc8b145
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17133671

Change-Id: Ie7b336ef702928f44fcb5e099af2bd986bb8bb1e
2022-03-15 21:58:38 +00:00
Andras Kloczl 142b054e06 Tune widget picker bottom sheet VisD for large screen
Test: Open widget picker by long pressing the home screen.
Open app specific widget picker by long pressing an app icon
that has widgets. Try both landscape and portrait, also on
phone/tablet/foldable.
Bug: 214215594

Change-Id: I7b4b3a8d7421f1d4df84d49a18b465693a17bd7b
2022-03-15 14:01:59 +00:00
Alex Chau 9142cd1aa2 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev am: 85978e7dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17158485

Change-Id: I5643ac17c9fe93450c33e816bdb86f9e1d2175fe
2022-03-14 11:49:27 +00:00
Alex Chau 85978e7dc8 Merge "Use overview_actions_height from Resources to calculate OverviewActionsView alignment" into tm-dev 2022-03-14 11:21:32 +00:00
TreeHugger Robot de686c7293 Merge "Launcher side implementation of gesture seekable back to home animation." into tm-dev am: 1b4d9b3b23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17086406

Change-Id: I480b7a1bbbfac5bae71eb9db297ab8db22b911df
2022-03-11 02:31:59 +00:00
TreeHugger Robot 1b4d9b3b23 Merge "Launcher side implementation of gesture seekable back to home animation." into tm-dev 2022-03-11 02:11:03 +00:00
TreeHugger Robot ceecec6746 Merge "Add taskbar TAPL tests" into tm-dev am: 6b7e469088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016894

Change-Id: I4b21cb49523448eacc8991c7089df99a62fb6264
2022-03-11 00:26:42 +00:00
Shan Huang 581429b3dc Launcher side implementation of gesture seekable back to home animation.
This is a two part animation. The first part is an animation that tracks gesture location to scale and move the leaving app window. Once the gesture is committed, the second part takes over the app window and plays the rest of app close transitions in one go.

This animation is used only for apps that enable back dispatching via {@link android.view.OnBackInvokedDispatcher}. The controller registers an {@link IOnBackInvokedCallback} with WM Shell and receives back dispatches when a back navigation to launcher starts.

Apps using the legacy back dispatching will keep triggering the WALLPAPER_OPEN remote transition registered in {@link QuickstepTransitionManager}.

Bug: b/195946584
Test: m -j
Test: Swipe back to home on pre-T and T apps, at different life cycle
stages.

Change-Id: I615c5171cd875130f10346fa3ca2a8e9670176cf
2022-03-11 00:11:21 +00:00
TreeHugger Robot 6b7e469088 Merge "Add taskbar TAPL tests" into tm-dev 2022-03-11 00:00:36 +00:00
Schneider Victor-tulias fb252e7ce1 Add taskbar TAPL tests
- Added TAPL objects to support TAPL tests for taskbar features
- Added tests for major taskbar features: hiding/showing the taskbar, opening all apps, lauching apps and app deep shortcuts from the taskbar/all apps page, launching apps and app deep shortcuts in splitscreen
- These tests should only run for large devices

Design: go/taskbar-tapl-tests
Test: ran tests locally with invalid configurations and remotely
Bug: 215218813
Change-Id: I3c28c339707467414aa47fa633f87fa0c1fdee57
2022-03-10 13:02:35 -08:00
Alex Chau 19c6eca5c5 Use overview_actions_height from Resources to calculate OverviewActionsView alignment
- startActionView.getHeight() isn't ready when updatePaddingAndTranslations is called, so use overview_actions_height from Resources through DeviceProfile instead.

Fix: 218442870
Test: Restart launcher, go to overveiw from app, rotate and rotate back, overview actions stays in same position
Change-Id: Ia5e234f73100a2f418c17222145a8f993cbfab8a
2022-03-10 20:16:59 +00:00
Schneider Victor-tulias 3508a0d194 Merge "Update home settings subheads' style to Google Sans Text" into tm-dev am: ba02df383d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17142665

Change-Id: I95219cb8af24b2c5054fa6d3d4fd3a56dd8b394f
2022-03-10 19:16:19 +00:00
Schneider Victor-tulias ba02df383d Merge "Update home settings subheads' style to Google Sans Text" into tm-dev 2022-03-10 18:46:34 +00:00
TreeHugger Robot 6ed2ec5532 Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: I7c02941e25b99f4ac42c03a15ef323939f65edab
2022-03-09 22:38:29 +00:00
Schneider Victor-tulias 79e76f4e7b Update home settings subheads' style to Google Sans Text
Fixes: 187671205
Test: manual
Change-Id: I980b6b71900cf90934b562e9b2c313351cdb9e2c
2022-03-09 11:19:37 -08:00
Sunny Goyal 187b16cb91 Updating window manager estimation logic:
> Moving the code from ApiWrapper to Resource overlays for better maintainability
> Accounting for display cutouts in insets estimation
> Using same logic in display controller and view inset dispatching

Test: Verified on device
Bug: 221961069
Change-Id: I78466353563692ce3f7512b0146ef8b61ef14bc0
2022-03-09 11:15:58 -08:00
Alex Chau 0309269a49 Merge "Use less icons in hotseat when in 3 button nav for tablet" into tm-dev am: d8a37c2e12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16988303

Change-Id: I64c002af9019db7e5b39c724135387b343ac0498
2022-03-08 12:24:17 +00:00
Alex Chau 6ed408f59f Use less icons in hotseat when in 3 button nav for tablet
- We have less space on tablets when 3 button nav is enabled because QSB is now inline with the icons. This creates a new attribute to define how many icons should be shown when in that mode. This could be used for other grids in the future as well.
- InvariantDeviceProfile now listens for nav mode changes

Fixes 214882090, 221420204
Test: manual

Change-Id: I012432a1a322c4e5505e46a1198c841ab124aaa6
2022-03-07 18:38:05 +00:00
Bill Yi e40b16c9ea Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1f13e513f700ee28ef7c27bab324d747df4d03c3
2022-03-02 19:28:44 +00:00
Tracy Zhou 26f5393db3 Improve the staged split animation
- Introduce rounded corners (since we scale x and y differently, we can't use outline since it doesn't support rx and ry. It's achieved by custom drawing).
- Make sure the thumbnail content doesn't shift during the transition (we use custom cropping for TaskThumbnailView, and we have to do it accordingly here)

TODO: update UX of the initial split view (b/219085340)

Fixes: 194414938
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/64953aa7-62ea-427c-8ec0-5f2bd96e4762
Change-Id: Id9a5d2f0f41cb4d619c8b3bd3a83c633e3d1f2de
2022-02-28 21:12:16 -08:00