Multiple singletons depend on Plugin which can cause deadlock
if PluginManager is initialized on main thread
Test: presubmit
Bug: 361850561
Bug: 373557167
Flag: EXEMPT dagger
Change-Id: I79f17ac6b78a2ce60df2d27a6e794b9e4eba1b51
* changes:
Add spannedDrawable for the divider in the letter fastScroller.
Only have private space drawable section for beginning of private space section and keep letters for everything else.
WidgetPagedView seems to rely on padding to position it such that
talkback doesn't focus on it before sticky header.
Bug: 348107507
Test: With talkback
Flag: EXEMPT bugfix
Change-Id: I2fcdc0cbf027a7a8c1bee104f85a61f700faf776
Centralize the folder name within folder footer using gravity property
instead of adding padding to the folder name view. Padding as calculated
was cropping the folder name to the text line height, which was
insuficient in some cases, as eveidenced by the linked bug.
Bug: b/358006967
Test: Open a folder on home screen with arabic system language.
Verify that the folder name displays correctly.
Flag: EXEMPT bugfix
Change-Id: I4436c224f7f6541f447e3a5354ff870cf4d50698
This change adds a new menu option to Taskbar that is invoked when long
pressing an icon. It createds a new instance for an app if the app
supports multi instance in Desktop Mode.
Bug: 315344726
Test: Manual
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar
Change-Id: Ibc42fbb1ad485496cd938af730b86e051cea559a
SpringRelativeLayout views in widgets sheets UI are non-actionable
containers, and as such they would ideally not receive focus. They were
made focusable as a workaround for an issue where back action was no-op
when widget search text box was focused, and there were no other
focusable elements in the UI b/197129170.
WidgetSearchBarController handles back action by clearing
focus, which ends up refocusing the search text box. This CL, removes
this back action override, and let's back action through - it will end
up being handled by `WidgetsFullSheet.onBackInvoked` which resets the
search.
Bug: 365120544
Test: Manual - verified back action with widget search active (and in
case with no results) in emulator
Flag: EXEMPT bugfix
Change-Id: I1fed37372521947b7d4644047807dc451b0119a4
In ag/28129361 add item dialog's color was changed to reference
material color token defined in launcher theme. But add item activity
inherits from Theme.Translucent.NoTitleBar for its appearance (while
launcher theme uses deviceDefault.Light), so, cannot inherit as is from
the launcher theme. Since, there is already a token specific for widget
picker surface color imported via widgetTheme, using it so it stays
in sync with main picker.
Bug: 354604590
Test: Manual
Flag: EXEMPT BUGFIX
Change-Id: I61ed5e65b0efd065490a54251028cde5888e4391
- The function used is a raised cosine function to determine the sections to animate.
Tested flag: adb shell device_config put launcher com.android.launcher3.letter_fast_scroller true
Based on recent figmaspec, size of selected letter is 28dp and regular is 20dp. That means scaling should be 28/20.
Colors are:
onSurface for letter
surfaceContainer for background.
Figma shows selected colors are materialColorOnSecondary
bug:358673724
Test manually: https://drive.google.com/file/d/1gvJd5KoK8X_Sv8jXg1cZ65R4AuqHuvcd/view?usp=sharing
Flag: com.android.launcher3.letter_fast_scroller
Change-Id: Ia86eb0e8c41bc043fda3c44aeaf59e204429f337