Commit Graph

4128 Commits

Author SHA1 Message Date
Schneider Victor-tulias 8cb3df4896 Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ib5cdc82f2747a6c1beaf86d86139bf7585798713
2021-08-23 20:00:40 +00:00
Schneider Victor-tulias ff322310a3 Convert gesture navigation tutorial still image vector drawables to layout files
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Alex Chau 3328b32054 Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247

Change-Id: I554e432e4a06e5fcece33efb39dde074a1873ada
2021-08-18 08:56:27 +00:00
Alex Chau 2683bd7728 Merge "Support different task icon margin for grid tasks" into sc-v2-dev 2021-08-18 08:41:42 +00:00
TreeHugger Robot 42a79a3023 Merge "Only add 2nd screen by default for split display" into sc-v2-dev am: cceef46f16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583057

Change-Id: I394ab4a53ccd04da164580312c34e3ea54d36420
2021-08-17 19:49:40 +00:00
TreeHugger Robot cceef46f16 Merge "Only add 2nd screen by default for split display" into sc-v2-dev 2021-08-17 19:45:48 +00:00
TreeHugger Robot 96273bf2ff Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-17 19:39:01 +00:00
Alex Chau eaa6d682d4 Support different task icon margin for grid tasks
- Focused and non focused grid now have differnt margin between icon and snapshot
- The overall margin above snapshot is still the same
- Invoke updateChildTaskOrientations when focus task changes to update the margin
- Also lowered the row spacing according to spec

Bug: 194194694
Test: manual
Change-Id: I25267bef19d5a8b1dc1cf96fc1babdc3ebc39330
2021-08-17 18:33:21 +01:00
Alex Chau fa3a209537 Only add 2nd screen by default for split display
Fixes: 175939730
Fixes: 196951827
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Change-Id: I5b0acf162b7f63c6df8f55a6c7e2975e1748190a
2021-08-17 13:53:07 +00:00
Bill Yi fd68c8bdeb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic974cc411ced8abc87034adcf2e079f42202b98e
2021-08-17 02:17:05 -07:00
Alex Chau 6c0bd21c4e Merge "Remove widget panel" into sc-v2-dev am: dc57b06e29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15547451

Change-Id: I9b5638d2abdfe85f2bb86caaeb884c3d082bc1de
2021-08-17 09:11:46 +00:00
Alex Chau dc57b06e29 Merge "Remove widget panel" into sc-v2-dev 2021-08-17 08:48:26 +00:00
Sunny Goyal ea35a6edcb Merge "Fixing header jump" into sc-v2-dev am: 48b012b148
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550092

Change-Id: Ie59fd030a058a75346869e854ee3549fb1977580
2021-08-16 18:30:47 +00:00
Sunny Goyal 48b012b148 Merge "Fixing header jump" into sc-v2-dev 2021-08-16 18:20:00 +00:00
Sunny Goyal 77acf12905 Fixing header jump
Linking header position to an empty entry in the recyclerView,
instead of calculating the vertical scroll position. This
allows the header to be in sync with the recyclerView scroll and
item animations

Other simplifications:
> Moving top collapse handle out of header view (it doesn't scroll)
> Removing background clipping logic from full-sheet
> Moving tab bar inside the header view

Bug: 196464142
Test: Verified on device
Change-Id: Iae5a0ae9af7ce258e1b391b8e85c5c270fe56197
2021-08-16 09:45:14 -07:00
Alex Chau 298db67fd8 Merge "launcher: hide grid options for foldables" into sc-v2-dev am: 0cba30e990
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472531

Change-Id: Ifd297a22641a8d3a074c27d637ee895a1fc24de0
2021-08-13 21:59:14 +00:00
Alex Chau 1e4484669d Remove widget panel
- Remove all usage of LEFT_PANEL_ID and fixed left panel code
- For preview renderer, load screen 0 + screen 1 instead
- Added a split display specific default workspace layout, with a placeholder app to pass test before we implement page pairing(b/196376162)
- Known issue: If screenId 1 is deleted, right panel will disappear from Wallpaepr & Style because there is no screenId 1. Will be resovled after page pairing(b/196376162)

Bug: 175939730
Test: manual and TaplTestsLauncher3#testWorkSpace
Change-Id: Icac1c94165c14a49c17897c45355b6cdc4d87e91
2021-08-13 21:48:35 +01:00
Thales Lima 7ec8382044 launcher: hide grid options for foldables
Some grid options are too dense for foldables (those with 5 icons), so
we are hiding them on those devices.

This also move the parsing to be done on InvariantDeviceProfile only.

Fixes: 183140646
Test: open Wallpaper & style and change app grid options
Change-Id: I771571db02709db5d0f814236060c57ce0180cd1
2021-08-13 16:07:05 +00:00
TreeHugger Robot 39a93b1d8d Merge "Update two panel specific launcher home icon sizing" into sc-v2-dev am: 00d0ce9b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472539

Change-Id: I5d2fbfd71d5d69f3343854e94498ed5c23c84770
2021-08-13 01:26:37 +00:00
Andras Kloczl 30fe9152d5 Update two panel specific launcher home icon sizing
Test: manual
Bug: 191879424
Change-Id: I4f51616004d78036ad801298bb5ba72af8de3f30
2021-08-12 18:46:01 +01:00
TreeHugger Robot 6f12fc09d9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-10 04:07:34 +00:00
Bill Yi 2121fa024a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9756b94a3aa7a2184028620a9c569e6cad763e55
2021-08-09 22:32:39 +00:00
Brian Isganitis 129bbbbc25 Merge "Update folder pagination dot color to match mocks." into sc-v2-dev am: 47f0c5fba4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15466621

Change-Id: I82ab8332ab8e51eca10982f9b80875e86ad17853
2021-08-09 22:19:45 +00:00
Brian Isganitis cbaf149f87 Update folder pagination dot color to match mocks.
Test: Folder page dot color matches mocks in light and dark mode.
Fix: 195045519
Change-Id: Ib485e51fbb903b1345ee865ddd8614f280e7608a
2021-08-09 16:03:54 -04:00
Alex Chau f8829ff94f Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151

Change-Id: Ibc12a6482224012efbaa596e84eda13dd39a2182
2021-08-05 10:19:03 +00:00
Alex Chau 42f914e254 Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev 2021-08-05 09:57:19 +00:00
Bill Yi de9757333d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0b9d15548e43296333e114040f18d787cef6349
2021-08-04 22:17:33 +00:00
Alex Chau ac9df38e9f Make icon drawable for non-focused grid tasks smaller
- Center the icon drawable in center of IconView with and allow a smlaler size to be set

Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01:00
Brian Isganitis e1ef8e8dc8 Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev am: bb6bb5bbbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15433782

Change-Id: I1df5db465f747ceb32c91b7952a122fc87fdae6d
2021-07-30 22:50:04 +00:00
Brian Isganitis bb6bb5bbbd Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev 2021-07-30 22:47:46 +00:00
Sunny Goyal 831212ec92 Adding support for overriding long-press menu in Launcher
Bug: 188222480
Test: Manual
Change-Id: Ic0b425fafde8beedc15a5aa42a8897b9143a3309
2021-07-30 16:07:26 -04:00
TreeHugger Robot 9e08d559a4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-30 14:11:50 +00:00
TreeHugger Robot ae72fc0587 Merge "Fix cell size calculation in large screen devices" into sc-v2-dev am: 02d45252f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420815

Change-Id: Ib057e0d174e5629c7e47c881e4e55dd8483fd7b7
2021-07-30 11:50:39 +00:00
Steven Ng 2a5c594855 Fix cell size calculation in large screen devices
Test: Digital clock widget is no longer cropped.
Bug: 184966000, 194784402
Change-Id: I26c406da1e10232019f34620a4d2bc0dbafcbb31
2021-07-30 11:14:11 +01:00
Bill Yi 942331fd18 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idf735446d5b173d6c9b2718e8225ee1aa86c1579
2021-07-30 04:59:54 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00
Alex Chau 8e83f31100 Merge "Tune Overview size according to VisD" into sc-v2-dev 2021-07-28 10:41:16 +00:00
TreeHugger Robot 2789a69509 Merge "Do not allow add view in DeferredAppWidgetHostView" into sc-v2-dev am: 83ba333604
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15401959

Change-Id: I287600467bb8b183917e3d6be73ee1ac1a345864
2021-07-27 18:36:18 +00:00
Steven Ng 522c1506f1 Do not allow add view in DeferredAppWidgetHostView
Also set rounded corners to DeferredAppWidgetHostView

Test: manual
Fix: 193885118
Change-Id: I663b5b4a50da1f2348be1792923ee73fe8e6a2e8
2021-07-27 17:11:35 +01:00
TreeHugger Robot 6f13505be7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-27 14:23:34 +00:00
Steven Ng f7418f95c1 Merge "Remove drop target button drawable padding if text isn't hidden" into sc-v2-dev am: 3de51d518d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371938

Change-Id: I6054111277804770f24028a80a2c876708492248
2021-07-27 13:36:16 +00:00
Steven Ng 3de51d518d Merge "Remove drop target button drawable padding if text isn't hidden" into sc-v2-dev 2021-07-27 13:21:57 +00:00
TreeHugger Robot 72e564e247 Merge "Use 32dp as the content margin for widgets pickers in large screen devices" into sc-v2-dev am: 8d5cd17801
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15393091

Change-Id: I8353ecd2a63559ee82d7cc7a70d5c5b7300b632a
2021-07-27 13:02:04 +00:00
Steven Ng 24c16de329 Use 32dp as the content margin for widgets pickers in large screen
devices

Test: manual
Bug: 194369046
Change-Id: I7376eab59d57bdd9ccc8a64e9f321358e09ee579
2021-07-27 12:00:52 +01:00
Bill Yi f71ffc5206 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I54d14e6ea8ae5c1194f8ca4c78730b7f243be5c9
2021-07-27 09:14:05 +00:00
Steven Ng a1dcbce15a Remove drop target button drawable padding if text isn't hidden
Test: manual
Fix: 194320733
Change-Id: I12adeaf37cee5a0fcf383641f24b7750f14daf27
2021-07-26 17:10:56 +01:00
Alex Chau 5fd9d491b0 Tune Overview size according to VisD
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params

Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
TreeHugger Robot e0b30e3ff1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-24 05:14:57 +00:00
Bill Yi 5b78cc194c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I30b5d8d19b9f860cb611416c7beefaee091900a5
2021-07-24 03:08:07 +00:00
Jonathan Miranda 0658dc78e3 resolve merge conflicts of 2e8356ba64 to sc-v2-dev-plus-aosp
Add more extra space to hotseat for taller devices.

Bug: 194533332
Bug: 192520231
Change-Id: Ia0fa307bb4085e6fbc5d873b6dec63ab7fb53fea
Test: manual test on taller devices
2021-07-23 23:14:12 +00:00