Commit Graph

5684 Commits

Author SHA1 Message Date
Thales Lima 2df31e3568 Merge "Add feature flag and attribute for responsive grid" into udc-dev am: 0740b7fb43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22476842

Change-Id: I38fb1b4e7af09d9ad617b1bc40a0a3138f71189e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 10:00:04 +00:00
Thales Lima 0740b7fb43 Merge "Add feature flag and attribute for responsive grid" into udc-dev 2023-05-10 09:44:49 +00:00
Marcello Galhardo 707d8231ef Merge "Move Note Shortcut from Settings to SystemUI" into udc-dev am: 09b42b3d83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23049102

Change-Id: I457b18c7b202e6e21bef1b3e81354ce55bfd7438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 09:40:30 +00:00
Marcello Galhardo 09b42b3d83 Merge "Move Note Shortcut from Settings to SystemUI" into udc-dev 2023-05-10 09:23:54 +00:00
Treehugger Robot 20cee49543 Merge "Removing unused wallpaper-scrim feature" into udc-dev am: 386f9796e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23039034

Change-Id: I9d230d90f707a2f3b91b77974ef9cb6840a12acb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:14:12 +00:00
Treehugger Robot 386f9796e3 Merge "Removing unused wallpaper-scrim feature" into udc-dev 2023-05-09 20:57:33 +00:00
Thales Lima ec5abba93b Add feature flag and attribute for responsive grid
This shouldn't change anything in the grids, only support the creation of responsive grids in the future. For now, to check that the flag works, turn it on and check the dumpsys. There is also a dump test created for this.

Fix: 277064696
Fix: 277064702
Test: DeviceProfileResponsiveDumpTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: I1bef87043a100234bd661cd6ac00007fdc654116
2023-05-09 12:06:18 +01:00
Sunny Goyal 25799faf72 Merge "Fixing WidgetBottomSheet getting cut off around insets" into udc-dev am: 3a75b494f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23064199

Change-Id: I3339df05359eb148dd61fa6f657e01361d725665
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-06 10:16:33 +00:00
Sunny Goyal e7da062d9a Fixing WidgetBottomSheet getting cut off around insets
Bug: 265639220
Test: Verified on device
Flag: N/A
Change-Id: If595fde8e84a226aef82f41caa0be913b22d99c2
2023-05-05 23:15:31 +00:00
Sunny Goyal 88a4de4806 Merge "Simplifying widget cell layout" into udc-dev am: 2e17bcaa0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23061041

Change-Id: I82c71a396a24144c59ac4d923ad06bd602f68500
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 19:36:06 +00:00
Sunny Goyal 2e17bcaa0b Merge "Simplifying widget cell layout" into udc-dev 2023-05-05 19:18:46 +00:00
Marcello Galhardo b9f1e73087 Move Note Shortcut from Settings to SystemUI
* Change Note Shortcut category package name from Settings to SystemUI

Test: manual
Flag: not needed
Fixes: b/280431176
Change-Id: I50f4550ad98f4c4959731b456a846faa2ec5a1a9
2023-05-05 18:44:50 +00:00
Sunny Goyal 8de4199463 Simplifying widget cell layout
Calculating the preview scale during onMeasure to ensure the
content is never clipped.

Bug: 268715418
Test: Verified on device
Change-Id: Ia0fd5ca3ccaae9644e043d75f810e91909a2aea0
2023-05-05 09:28:30 -07:00
Jordan Silva 0f0ab20852 Merge "Fix text sizes and alignment in drop target" into udc-dev am: 11167aa1f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22302682

Change-Id: I4ca550b6bd609f58222e1d4b5a5b15ea7c8be8b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05 14:55:41 +00:00
Jordan Silva 11167aa1f2 Merge "Fix text sizes and alignment in drop target" into udc-dev 2023-05-05 14:09:23 +00:00
Sunny Goyal db19958b82 Removing unused wallpaper-scrim feature
Bug: 270393604
Test: Presubmit
Flag: N/A
Change-Id: I10df3a96eb26b9871eb1b330ea5b2c0797d0668d
2023-05-04 14:02:41 -07:00
Treehugger Robot 09df16f400 Merge "Always insetting the widget by a minimum of 6dp" into udc-dev am: c2dca5fec4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22953988

Change-Id: I73eee4772d669edbca7b0adb668ef0acdd32f9a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 18:32:29 +00:00
Treehugger Robot c2dca5fec4 Merge "Always insetting the widget by a minimum of 6dp" into udc-dev 2023-05-04 17:48:48 +00:00
Treehugger Robot b87399af44 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-05-03 21:31:19 +00:00
Sunny Goyal 6c304b157d Always insetting the widget by a minimum of 6dp
Removing default widget padding logic. Also widget padding it applied
at ShortcutAndWidgetContainer so that the widgetView always has the
correct size.

Bug: 274826296
Bug: 257589413
Test: Verified using screenshots
Flags: N/A
Change-Id: Id4b5e94db6ec7b2aa3dca87b1e9ccc831b608cac
2023-05-03 12:18:33 -07:00
Jagrut Desai 492e90b114 Merge "Design review updates for Taskbar Pinning" into udc-dev am: 5dbfe1f238
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22956388

Change-Id: I4e90e4f2c8f10eb3dfc068d863f50d472633a998
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 18:26:50 +00:00
Jagrut Desai 5dbfe1f238 Merge "Design review updates for Taskbar Pinning" into udc-dev 2023-05-03 18:24:07 +00:00
Bill Yi 566418d7d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3ff1d6201b126f19812620ed44701f598e8ac0d4
2023-05-02 11:30:05 -07:00
Jordan Silva 567372fbda Fix text sizes and alignment in drop target
Drop target button texts are being resized incorrectly.
When both buttons are visible, the text is considerably smaller compared
to only one visible button. This happens even for the default display and font scale 1.

Fix: 271279172
Test: manual. test all combinations of display size and font size.
Test: HomeScreenEditStateImageTest
Change-Id: Ib001dcf8b096c65b138946bdad49cf8199fb5b1d
2023-05-02 14:57:49 +02:00
Jagrut Desai 1c9c6d0ea9 Design review updates for Taskbar Pinning
Changes:

- icon allignment animation for taskbar diviver view
- taskbar divider background color according to spec.

Test: Manual
Bug: 265170176
Flag: ENABLE_TASKBAR_PINNING
Change-Id: Ief45e48f4fc9f9b4cc30124c4c93cd3c5a880a33
2023-05-01 14:57:54 -07:00
Marcello Galhardo f089391837 Merge "Remove white boarders from Shortcut Category icon" into udc-dev am: 9cba6b6751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22931837

Change-Id: Ie2c7427ab78999315996848615046d656c3dad25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 22:17:29 +00:00
Marcello Galhardo b771653919 Remove white boarders from Shortcut Category icon
* The icon works with light mode, but breaks the UI with dark mode on.
* Previously, the icon would be show as a white square in dark mode.
* The new version shows it correctly, as a circle.

Test: manual
Flag: not needed

Change-Id: I61838266494a9a2c3048030ff3c95ced3db6347c
Fixes: 280069069
2023-04-28 17:10:31 +00:00
Andy Wickham d00b5e34f3 Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev am: a4627d2235
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22243545

Change-Id: I7f1092a2c0d1f4febb5ed0d04e98bf50cae9f770
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:03:28 +00:00
Andy Wickham a4627d2235 Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev 2023-04-26 21:30:53 +00:00
Andy Wickham 830e4b7ce0 Add long swipe from app to overview gesture (with flag).
High level:
 - As you swipe up from an app (OtherActivityInputConsumer),
   a state transition animation to All Apps is created in
   AnimatorControllerWithResistance. The animation is played
   alongside the Recents resistance animation (i.e. past the
   settling point of Overview, which is at mCurrentShift 1).
 - The actual state transition to All Apps only happens if you
   release your finger in the "all apps region." This is set to
   mCurrentShift 2, so double the distance that Overview rests.
 - A haptic plays whenever you enter or exit this region, and
   the all apps animation is set to 0 until the region is
   active. This is so it's clear that something different is
   happening.
 - The panel that was previously used for tablets is now used
   for phones during this transition. It comes in at full
   opacity when you enter the region, and the contents (apps
   and search suggestions) fade in as you continue swiping.
 - The only gesture that is recognized in the all apps region
   is a fling downwards, which will return you to the previous
   app. Otherwise a left/right/up fling or slow release will
   finish the all apps transition.
 - The threshold is ignored if the flag is disabled (default)
   or if FallbackActivityInterface is active.

Flag:
The threshold is ignored if ENABLE_ALL_APPS_FROM_OVERVIEW is
disabled (default).

Bug: 259619990
Bug: 275132633
Test: Manual with and without the flag enabled
Change-Id: Ie311b77252416d97677b2c56fad61dfd392b6fe8
2023-04-26 10:52:04 -07:00
Marcello Galhardo 206811ef6a Merge "Add custom widget category for Note Taking" into udc-dev am: 0745f507a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21480232

Change-Id: I05ca5a8a303eee79f3ebd2b90f4efd404c7ad7b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 14:58:41 +00:00
Marcello Galhardo 0745f507a4 Merge "Add custom widget category for Note Taking" into udc-dev 2023-04-26 14:25:33 +00:00
Bill Yi 3eef5d047c Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-24 21:58:48 +00:00
Marcello Galhardo 4b7b7f1cfa Add custom widget category for Note Taking
Test: manual
Flag: not needed

Fixes: b/261853771
Change-Id: I493fd782cf8569ee9efca5134eefb5652a2bf972
2023-04-24 17:09:31 +00:00
Bill Yi b70255ce72 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2b840ef7d54af72f751617fd2244f9bf270ac337
2023-04-21 16:06:20 -07:00
Jagrut Desai 64b79a9fad Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev 2023-04-21 16:15:07 +00:00
Jagrut Desai c6d625b8db Exposing functionality to pin Taskbar from TaskbarDividerPopupView.
This CL allows user to long press on Taskbar divider view to bring up divider popup view. It also included functionality of allowing user to turn on always show taskbar from the divider popup view.

Test: Manual
Bug: 265436055
Bug: 265434718
Bug: 265434902
Bug: 265434705
Flag: ENABLE_TASKBAR_PINNING

Change-Id: Ied54d718483a9b06b053d68988e5c294a786002a
2023-04-20 22:04:21 -07:00
Federico Baron 67f72bfdd1 Merge "Update colors for widget picker" into udc-dev 2023-04-19 22:58:41 +00:00
fbaron 328ca3811c Update colors for widget picker
Bug: 278157622
Test: Look at widget picker on tablet and verify that the colors match the new spec, and verify the portrait mode looks good also.
Change-Id: I634d876dfafc086806b233c500f7d8daddfe7b0b
2023-04-18 16:17:24 -07:00
Bill Yi b9b86a22f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I935d7839185c696387eb2141f6343ccd8876af4d
2023-04-17 14:40:10 -07:00
Sunny Goyal 348e518b2c Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev 2023-04-14 18:12:57 +00:00
Federico Baron cc79886814 Merge "Fix droptarget button wrong radius on hover" into udc-dev 2023-04-13 23:50:12 +00:00
Bill Yi fc7fa8f36b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
fbaron 84e19a9bea Fix droptarget button wrong radius on hover
Fix: 277470359
Test: drag app to uninstall or remove on tablet, verify the button shape doesn't change when hovered over
Change-Id: I6b8b2de7357f8d19cdee7632a9957624a3f242a1
2023-04-13 19:27:00 +00:00
Sunny Goyal ab2f808196 Using a runtime generated layout for tests instead of defining xml
This allows support for easily setting up default layouts

Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
2023-04-12 22:54:14 +00:00
fbaron 6847c9f113 Add entry point for home gardening
Bug: 277817921
Test: Turn on flag MULTI_SELECT_EDIT_MODE and verify that a new button shows up that says "Edit Home Screen"
Change-Id: Ic8027ab80604faf5bdc63a44319ecffc047a495c
2023-04-12 09:31:28 -07:00
Bill Yi 228af26d0a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d3b54881fddf361e1621fec1295cd9da584aa10
2023-04-10 23:16:39 -07:00
Sunny Goyal 84b48d8deb Removing support for adding legacy shortcuts.
All existing legacy shortcuts will be migrated one-time to deep shortcuts
This shortcuts are pinned under the Launcher package, with custom badging

Bug: 275875209
Test: Updated unit tests
Flag: N/A
Change-Id: I7da001f724776ad8d6c807517b7e4e259de626c2
2023-04-10 12:28:52 -07:00
Sunny Goyal 7b74a5c53f Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev 2023-04-07 01:02:09 +00:00
Charlie Anderson 39fbf0e1a7 Merge "Prevents cropping of shortcuts in the app popup menu by limiting rows to available screen space." into udc-dev 2023-04-06 22:44:42 +00:00