Commit Graph

5675 Commits

Author SHA1 Message Date
Jagrut Desai 753e99d784 Merge "Design review updates for Taskbar Pinning" into udc-dev am: 5dbfe1f238 am: 11c18bf7a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22956388

Change-Id: I75b4d0d7aaec9dc1dff616a02755ed25580f22e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 19:37:03 +00:00
Jagrut Desai 11c18bf7a2 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: I07d0b29555abbae613b721817aee49a35793ed95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 18:25:26 +00:00
Jagrut Desai 5dbfe1f238 Merge "Design review updates for Taskbar Pinning" into udc-dev 2023-05-03 18:24:07 +00: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
Treehugger Robot 53778c4f37 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-04-29 07:57:32 +00:00
Marcello Galhardo 1fa73807af Merge "Remove white boarders from Shortcut Category icon" into udc-dev am: 9cba6b6751 am: e829350f65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22931837

Change-Id: Ia15365371dca783870d5e20c203577ed50766f35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 22:59:55 +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
Bill Yi 6e8a0063de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I022a3dff53869da3119f47a50a18280c2449ce05
2023-04-27 12:16:07 -07:00
Andy Wickham ee40661f7b Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev am: a4627d2235 am: d00b5e34f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22243545

Change-Id: I685057806e410bde21823130f5f3b55d6349c634
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 22:30:08 +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 f4815e7392 Merge "Add custom widget category for Note Taking" into udc-dev am: 0745f507a4 am: 206811ef6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21480232

Change-Id: I7e3a8e9c6fe0555ef68ffeb6ef4c3f5e61b44da3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 15:24:52 +00: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 dc22d38d4b Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev am: 64b79a9fad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22519946

Change-Id: I1afdf6544379983d854722c3729e2816c110c718
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 16:57:39 +00: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 800d31d0be Merge "Update colors for widget picker" into udc-dev am: 67f72bfdd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22640806

Change-Id: I06558b0258a01207b38e10ffb842613ef648f8a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 00:03:18 +00: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 c3063f3f01 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b057768752b18abdbc5f78e7b0ef5be33003f46
2023-04-18 01:11:55 -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 cb10852386 Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev am: 348e518b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22578910

Change-Id: I38abe3973760f55f07b171e0d5d7457bbfd840ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 18:37:43 +00: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 36a5a138f4 Merge "Fix droptarget button wrong radius on hover" into udc-dev am: cc79886814
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22627995

Change-Id: I8a6d47a2a681c23c8c9813d72fc9919ddfdf45d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 00:26:31 +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
Federico Baron 408d757b54 Merge "Add entry point for home gardening" into udc-dev am: 65795b090e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22581087

Change-Id: Ia8501fc63efb6e376bd007edeab7f28375776564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 21:43:37 +00:00
Treehugger Robot 4fe040a7ca Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-04-12 19:27:17 +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 b132cd6842 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic0dd529a5f2a711608fd9648237db8fbe2e4dc6f
2023-04-11 12:51:27 -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
Sunny Goyal 5cd1b198b0 Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""
This reverts commit 7025765c72.

Reason for revert: 274169859

Change-Id: I86a114bf2c713fea6ec7095f68816820ba5f7495
2023-04-06 22:33:11 +00:00
Federico Baron 890acb9549 Merge "Make suggestions header sticky in widget picker two pane" into udc-dev 2023-04-06 20:13:57 +00:00
Charlie Anderson 471b88269f Prevents cropping of shortcuts in the app popup menu by limiting rows to available screen space.
- Limit the number of shortcut rows shown to what will fit the screen.
 - Fix drag testDragShortcut so that it works for all screen sizes.
 - Prevent cropping and misalignment of shortcut text.

Bug: 247880037
Fixes: 275115239
Test: locally on different devices, and with Display Size set to different sizes
Change-Id: I18b27ec302c34d1d801171ab18c64169a9f252ee
2023-04-06 15:23:38 -04:00
fbaron fad5b7ebae Make suggestions header sticky in widget picker two pane
The final design makes the suggestions header sticky, but the implementation has it following the original design which wasn't sticky. This CL makes the header sticky.

Bug: 277163859
Test: Verify that suggestions header is sticky in both 1 profile view and in work/personal profile view
Change-Id: I795617edc6d5ba410a97ff87385ec40a62abbc3e
2023-04-06 10:21:39 -07:00
TreeHugger Robot 75f7bbc150 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I41eea8cf3fa15c9c5c3f3184f2ba75318332f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:36:14 +00:00
TreeHugger Robot a2b770b484 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I71c7f33286ccfa770f87b812c8ec27fa4ecb25ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:06:49 +00:00
Jon Miranda 04f051045c Allow grids to specify if we should start align taskbar in 3 button
nav.

Bug: 259712417
Test: check layout on tablet
      check layout on multi_display devices

Change-Id: I282f51e5d76a30e9ad9d8c52d03d4853e965d65a
2023-04-05 10:29:51 -07:00
Federico Baron 7122921153 Merge "Rename widgets two pane sheet layout files and spec files to more fitting name" into udc-dev 2023-04-05 16:36:36 +00:00
fbaron 55fed64ced Rename widgets two pane sheet layout files and spec files to more fitting name
Currently the names used for widgets two pane sheet files are similar to full sheet files, just with "_large_screen" added to it. This is not a good name as it can cause confusion. The new name includes "_two_pane" which is more indicative of the actual functionality of these files.

Fix: 276917926
Test: verify widget picker two pane still works
Change-Id: I23cf2a20fc137cc3e99c5fdc90100648a0926368
2023-04-04 09:55:31 -07:00