- Also inject SystemUiProxy and RecentsModel
- Also creates a DesktopRecentsTransitionController to avoid crashing when launching desktop tasks
- Minor clean-up to use this instead of injected context in RecentsWindowManager
Bug: 408988616
Test: manual
Flag: com.android.launcher3.enable_fallback_overview_in_window
Flag: com.android.launcher3.enable_launcher_overview_in_window
Change-Id: I0691d5266f3eae1376ffadd6b29e3ec635b0354b
Implement the ExecutorsModule interface
to provide the necessary dependencies needed
for having injectable executors.
Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: I4a53fc6be31664b7a6fa907761ea93a2d0377f08
The following change contains three parts:
1. Qualifiers for executor types.
2. A mapping of any provided-for-those-qualifier-types to
executors, executor services, or scheduled executor servies.
3. The exposure of the existing dagger qualifiers as a specific build target.
With this change, any host(launcher) can provide bindings for
these annotations stipulating whatever pool or thread allocations
as they see fit, while any dependent modules that want to isolate
their code from launcher can build against the qualifiers library
to ensure that they receive the right kind of executor at injection.
Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: I7e6ba623c7f85ec11bb86d1d3a66486f68efe7f6
Bug: 394355070
Test: Verified locally that everything works. Check out bug for video test.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Ief4b895d8eb31e6ed53b05aad4b733e8de41e4d9
Previously, they were simply included in PageIndicatorDots via Canvas
drawing. This worked well to keep behavior encapsulated within
PageIndicatorDots class. But it didn't work for Accessibility Services
which require an actual view in order to focus properly.
Bug: 409629978
Test: Verified manually. See video on bug comment: https://b.corp.google.com/issues/394355070#comment23
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I212bf3dbee82e449088536fa841b02a3644df7d3
- Refactors FolderAnimationManager into several classes including new FolderSpringBuilderAnimationManager
- Changes Folder animations to use animators resembling SpringAnimation
- Split up calculations from creating AnimatorSet
Bug: 387543793
Test: tested opening closing folders of different sizes
Flag: com.android.launcher3.enable_launcher_icon_shapes
Flag: com.android.launcher3.enable_expressive_folder_expansion
Change-Id: Idf1f21374f987389979ad45544ade1506b26fc0c
* Previously we had duplicated classes because of some
launcher3 and quickstep package separation. That got refactored
so now we can conslidate to only use one class. Yay!
Bug: 254378592
Test: Compiles, manual
Flag: EXEMPT refactor
Change-Id: Ifea3358ac38c1d2881cb19bb88cf14ef9c0aaa29
- Also limit usage of displayContext on getWindowCornerRadius only, any other usage causes perf regression
- Note that displayContext does not respond to configuration changes, there might be existing functionality bug already that resources are stale after configuration changes, keeping b/408988616 open to handle it in the future
Bug: 408988616
Fix: 409222870
Fix: 409252967
Test: presubmit and ABTD
Flag: EXEMPT refactor
Change-Id: I024c76326a2deb1ecc035de8319976e31887486b
Previously snapToPageImmediately was used, but that was the wrong method.
Bug: 408227356
Test: Verified that the animation runs well locally on device.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Iedee458e61de2d3542137615d3ff86cb42bdfb02
setLaunchedFromA11y makes keyboard not to be shown when "swipe to start search" toggle is off and we do launcher.getStateManager().goToState(ALL_APPS)
"All Apps" was added to Menu as part of A11y requirement in b/386737601, so using setLaunchedFromA11y looks right.
Video : https://b.corp.google.com/issues/407947978#comment9
Bug: 407947978
Test: Manual
Flag: EXEMPT Bugfix
Change-Id: I84162940330a74b3433f7835753151adf55857e7
Bug: 407630150
Test: Manual testing, that's why the bug happen in the first place, working on adding tests, for now this fixes the issue.
Flag: EXEMPT bug fix
Change-Id: I98c9d4bb28a3f02ee6e54c66eadb54445c56aeec
Bug: 394355070
Test: Attached a screen recording of correct behavior to the bug.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I1e99c4eb9ae79b7d00dadf286689cceb2f0e706e
Also adding plugin support for IconProvider
Bug: 366237794
Flag: EXEMPT refactor and extra code behind plugin
Test: Manual
Change-Id: Id286f88b2683e0fabc48c57b7920024f06dd7539
Also, in Folder.java the DeviceProfile obtained using the activity,
in this case the Activity is TaskbarActivityContext is returning
a different DeviceProfile form the Launcher which causes the update.
So this triggers an update when is not needed but even if we make
a faulty update the workspace should be able to differentiate
between workspace item and folder items.
This issue was triggered by this flag
com.android.window.flags.enable_taskbar_recents_layout_transition .
Fix: 407630150
Test: NA
Flag: EXEMPT bug fix
Change-Id: I255052506e7d198b1384c15ebfe2f6f2753da1ed
- Moved HintState to quickstep to have access to BlurUtils
- Added a dummy HintState outside quickstep
Fix: 406308427
Test: manual
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I8aa2407d87b429584168ebb0601cfffcccad0cfa
- Provides a per-display instance of WindowContext to avoid creation of Context
- Inject WindowContext instead of ApplicaitonContext in RotationTouchHelper to have a display associated context required by ScreenDecorationsUtils, as well as being able to have updated Resources upon configuration changes
Bug: 407878199
Test: Verified mWindowContexxt.resources.configuration is updated upon fold/unfold/rotate,
Flag: EXEMPT refactor
Change-Id: Ic032ae3c8c818b150f5e6fca0d531a19ad38986b
- This avoids flags from being enabled in Trunkfood partrial unless the dependency is also enabled
Bug: 408178115
Test: build and smoke test
Flag: EXEMPT flag only
Change-Id: Iccf9a9368383ab14a9abf7a1198c8a0c372b103f