Updates drag and drop, tap to add and preview related code.
Bug: 370950552
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Drag and drop shortcuts on home screen
Change-Id: Iccfe329296dbf4b0770628e77df5cd9b42ac9b21
* changes:
Override the picker theme colors to map to resources in launcher
Update picker tests to wrap content with widget picker theme.
Replace the color / text style tokens with the newly defined picker specific tokens
Define composition locals for configuring color / font tokens specific to widget picker.
Text styles at the moment uses default tokens, but can be replaced in follow up.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: I91764c5aca3daa729c89882f653bb0f088248170
- Uses new picker behind a flag.
- Includes appropriate implementation of picker module based on whether compose is enabled.
Bug: 408283627
Flag: EXEMPT independent module
Test: Upcoming in follow up cls
Change-Id: I13e69379bc89c6d2e6909f9d11937997affc6a58