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
This change simplifies the TaskViewIcon interface by inheriting directly from View, removing redundant method declarations like `getWidth()`, `getHeight()`, `setOnClickListener()`, etc.
Affected classes are updated to use the new interface, primarily by calling `asView()` to access the underlying View methods where necessary.
Bug: 415265678
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual.
Change-Id: I281f495116a841338075d0ff35effd19316aaeec
Fixes an issue where the live tile would flicker and briefly show the
background, then switch to screenshot and animate
Fix: 399847132
Flag: EXEMPT. Bugfix
Test: Manual. See bug
Change-Id: I373e052f32af1b7fade4cce509c820d29deafe97
Reset in-app display override progress when transitioning from home -1
page. In order to come back to the -1 page user has to swipe left from
home again so in-app display override progress will be updated again.
Fixes: 416163737
Flag: EXEMPT - bugfix
Test: Manual. enable 3 buttons navigation mode. Have bubble bar with
bubbles. Swipe to -1 page. Click recent apps button. Click home.
Change-Id: Ibc67f6e024f5c89efb7f80f420fc859aaa9d3e33
In some cases, the bitmap that is needed for FastBitmapDrawable
can fail to render. Return a placeholder in that case.
Bug: 416779946
Flag: EXEMPT Bug fix
Test: manual
Change-Id: I188a820157f4ac43b8a13a99f3ac2c2348afbc13
* changes:
Filter out DEFAULT_DISPLAY from Taskbar unit tests.
Refactor test dagger graph to stub PerDisplayRepository instances.
Only use mockito-kotlin in SandboxApplication.
* changes:
Add a widget apps list and the header composable for widget picker.
Add screenshot tests for the widgets grid in picker
Implement a grid of widgets for displaying in widget picker
Add widget preview composable for widget previews in picker
Add details composable for details shown below widget previews in picker
Add a temporary component to display app icon for widgets list
Make title optional on the widget picker bottom sheet & update insets
Add a search bar for widget picker in compose
Add an option to show shadow on the floating toolbar.
Add top level reusable layouts for widget picker
This variable is used during layout of the psb in hotSeat.java. It is specifically
applied to calculate the qsbOffsetY()
bug: 413719316
Test: manually presubmit
Flag: com.google.android.apps.nexuslauncher.psb_aim_reskin
Change-Id: I9b4bd244a39de61e7ef23dbf477e1808f30f5401
- Follow-up of ag/31609791 which introduced expectedCurrentTaskView to allow Home -> Overview's currentTask to snap on top-right corner
- This CL ensures the same extra spadce between expectedCurrentTaskView and ClearAllButton is applied when going from Desktopt -> Overview
Fix: 416061364
Test: Home/Fullscreen app/Desktop -> Overview with <=4 tasks, first grid task can always snap to top right
Flag: EXEMPT bug fix
Change-Id: I078eaef04bc951b755b1d83b0c8570c89978077b
- When battery saver changes, WallpaperThemeManager always recreate activity to reapply theme base on wallpaper color hint changes
- Battery saver change can also result in light/dark theme changes, for which WallpaperThemeManager also recreate activity to apply theme changes
- As a result, it'll be much simpler to recreate activity whenever isBlurEnabled changes
- Exposed recreateToUpdateTheme API from WallpaperThemeManager to achieved this
- Greatly simplified Overview styling to read from styles
Bug: 414789280
Test: manually toggling battery saver and light/dark theme and WallpaperThemeManagerTest
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I90ad724867283fe3c62a9073a6e072491533f774
Passes a binder token to SurfaceFlinger and adds tracing for debugging
Bug: 323292798
Bug: 409740673
Test: presubmit
Flag: EXEMPT log only update; bugfix
Change-Id: I0bc6df0a55cf747203b24b43596bed6ce5ebe76a
Note: before this change, triggering overview keyboard (KB) shortcut at lock screen would result in the overview shown after the screen is unlocked. This behavior is counter-intuitive. And thus, this change will discard overview KB shortcut at lock screen regardless if an external display is connected,
Flag: EXEMPTED minor bug fix
Test: manually trigger overview KB shortcut at lockscreen in both the default & connected display. Observed that no overview is shown at lock screen and after unlock.
Test: manually trigger overview KB shortcut after lockscreen in both the default & connected display. Observed that the overview is shown at the focused display.
Test: atest NexusLauncherTests:RecentsAnimationDeviceState
Bug: 415040428
Change-Id: Ia585b7b62e5f8de5be6d7cda9ad24760398ca37a
This CL disables predictive back for the AllSetActivity in Setup
Wizard.
Bug: 410551501
Test: Manual, i.e. verified that AllSetActivity does not play predictive
back animation during setup flow.
Flag: EXEMPT bugfix
Change-Id: I2d4e4c62c2c7110f6eccf629dd224773cee0da48
1. initialize DepthController before applyStyle()
2. initialize mBlurEnabled to correct value based on mCrossWindowBlursEnabled and mPauseBlurs.
Fix: 416687465
Test: Restart launcher and go to overview both from app and home.
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I018d25b66d925f201449400fc6bbb6a238a0f531
Set the color of icon to On Surface.
Bug: 417519148
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manual check the button
Change-Id: Ie1897c0661e164347288b4ba4f978e51858ac24e
Can either be selectable on click or expandable.
Bug: 408283627
Flag: EXEMPT independent module
Test: will be part of larger screenshot test
Change-Id: I991164c54d52cd64effff4987ff6c55107acb149
Covers entire grid area with test samples of varying sizes for testing
the grid placement logic.
Bug: 408283627
Flag: EXEMPT independent module
Test: Screenshot test
Change-Id: I5a4ab0d000e33b71de3760b729922f26445b0e8c
This cl contains just the image previews, the remote view ones in
follow up
Bug: 408283627
Flag: EXEMPT independent module
Test: See grid screenshot test
Change-Id: Icf5e7eb98f6714b4a2954dcb9fcf75c0249a4d35