To match with the UX spec, this CL updates the insets based on the
number of tasks within a tile. It also sets a maximum height to the
task window when multiple apps are available.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: OrganizeDesktopTasksUseCaseTest
Bug: 414614454
Change-Id: Icfecc1e41dfd0b95bae10b495adae95fe10dfef2
* changes:
Update widget picker component to define dependencies and provide full catalog for clients to use.
Add widget picker search screen.
Adds widget picker landing screens
Add WidgetsInteractor that enables view layer to interact with widgets
Add use cases in widget picker domain layer that apply business rules.
Updates to repository interfaces & data types for widget picker
Revert submission 33672643-DataDeviceProfile1
Reason for revert: Droidmonitor created revert due to b/419867875. Will be verifying through ABTD before submission.
Fix: 419867875
Reverted changes: /q/submissionid:33672643-DataDeviceProfile1
Change-Id: Icb66aefbbcee24e05806b2139923e1f2ea1c65e3
This allows using listener pattern instead of coroutines within the recommended repository pattern and avoid the jank due to coroutines
Bug: 390572144
Test: atest ListenableRefTest
Flag: com.android.launcher3.model_repository
Change-Id: I9f74166e01e1bdb4cb8afce3213022ea10137230
This change addresses the desire to lower the footer for SUW content if
the expressive theme is enabled in SUW. This would remove the extra gap
at the bottom of the screen.
Fix: 409897759
Test: Enable expressive theme and relaunch SUW. Check that the bottom
buttons are closer to the bottom edge of the screen.
Flag: EXEMPT bugfix
Change-Id: I7a4961549ec888e57c89a564028843f1e8c0000b
This adds the search screen and view model logic.
It uses the same composable structure as the landing screen.
Bug: 408283627
Flag: EXEMPT independent module
Test: Unit tests
Change-Id: Ic83090be21b31a4f1b416284f78d5a05d5cd2cdc
This CL includes following:
* ViewModel base class for reuse across widget picker.
* Landing screens implemented in both compact and expanded mode.
* Test cases for the same.
Bug: 408283627
Flag: EXEMPT independent module
Test: Unit tests
Change-Id: Ia4a7f0b972ca0d3863f041aac276cb3c5096a258
Check whether autostash is disabled after init due to dependency on
destkop mode controller when taskbar is shown on home with
enable_desktop_taskbar_on_freeform_displays flag disabled.
Bug: 419824639
Test: see repro steps in the linked bug
Flag: EXEMPT bugfix
Change-Id: I53a1f00cef705f291c5e79c32d6508c5d832d45e
Update Share Button and Share Targets to support Blur background
Fix: 408439461
Test: Open chrome with a webpage, tap on smart chip
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: If9290676377a3a48a94800ac3084c52146b0c9ae
- This is responsible for looking up data from repositories and applying
business rules using use cases.
Bug: 408283627
Flag: EXEMPT independent module
Test: Unit tests
Change-Id: I767186a38b3105085637c75d9aec8ca21788f49f
These will be used by the interactor classes to provide data to the
ui layer.
- FilterWidgetsForHostUseCase filters widgets that don't match the
constraints specified by the host
- GroupWidgetAppsByProfileUseCase groups widgets based on their user
profile; and ensures that if work profile is paused, its widgets are
treated as empty list.
Bug: 408283627
Flag: EXEMPT independent module
Test: Unit tests
Change-Id: I676715daf5e400ba12acf50f867a5aa352d7bdf1
- I think the previews / featured / search all could be part of widgets
repository. Internally, it will use separate datasource to prepare the
respective data - but as a repository, they all are probably just
a widgets repo.
- Includes minor changes to data types as well to prepare for upcoming
changes.
Bug: 408283627
Flag: EXEMPT independent module
Test: Not applicable - interface changes
Change-Id: I765c11318a655603becdf2cab081f0fcf777da1a
This is to make tests by composition instead of inheritance.
Bug: 324261526
Flag: EXEMPT test only
Test: All test using BaseLauncherActivityTest
Change-Id: I616207da890e1979480d1b748f69a9c27c53f9db
When in this mode we can let the system rotate the device. In other
cases we have a fake rotation and so we need to manually rotate.
Fix: 401484242
Flag: com.android.launcher3.one_grid_specs
Test: Manual testing
Change-Id: I74e5cb0363a34edb69b39f9a387b9020116d5632
- Support for Compose Screenshot tests using ScreenshotComposeLib.
- Support for custom directory for tests to be used when compose flag is enabled.
Bug: 400436593
Fix: 366387927
Flag: EXEMPT Build flag: RELEASE_ENABLE_COMPOSE_IN_LAUNCHER
Test: Build
Change-Id: I9a5a5fd4942da2b5d8be0e554e1a42b1cde5f2af
This removes the need for a workaround in LauncherInstrumentation.executeAndWaitForLauncherStop for FallbackRecentsTests with recents window enabled
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug: 377678992
Test: FallbackRecentsTest
Change-Id: I1b974cb2bfff4c14e99abb96c35dcdff04ed0be7
- This allows users to dimiss multiple apps as quickly as they want.
- Do not reset task dismiss translation if it is actively being dragged.
Fix: 409485085
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I939ef402ee23b3b1e8df1ae214c5ac60386a7772