Commit Graph

5 Commits

Author SHA1 Message Date
wilsonshih
a46f0248c4 Provide a sample of multi-display wallpaper.
Some key events to build a wallpaper which can support
multiple display.
- The rendering or event handler of each engine must be
independent.
- Set supportsMultipleDisplays attribute to true.
- Use Engine#getDisplayContext to load resource if
needed.

Bug: 129696884
Test: launch wallpaper and check on multi display.
Change-Id: I3c60caba921e0af3d5f681ed318a543328e3375a
2019-04-18 18:22:05 +08:00
wilsonshih
1f1a32f57e Fix MDLauncher crash when started.
MDLauncher crash after change material source.
Change theme parent to fix it.

Bug: 130151609
Test: Manual
Change-Id: Iccc68c71953e042a4b5462ab7f900e99e94cf3e7
2019-04-09 20:42:34 +08:00
Aurimas Liutikas
a955aae5ab Migrate away from temporary androidx.design_design target.
androidx.design_design was a target created temporarily while
the com.google.android.material_material was being added.
This migrated to the final material design class packages.

Test: make -j IntentPlayground MultiDisplay
Change-Id: I0e9dabb222e19530c3a558cf4fce4d54e81f8e47
2019-01-30 22:40:04 -08:00
Andrii Kulian
91ca37c380 Update MD Launcher for large/external screens
- Added support for multiple launcher activity instances.
- Launcher now shows default wallpaper as background.
- The activity now expands behind system decor windows.
- App drawer can be invoked by clicking on FAB.
- Apps can be pinned on the screen.
- Wallpaper setting flow can be started from launcher.
- UI is optimized for large and xlarge screens.
- Launching a new instance is now optional.
- Other minor UI tweaks.

Bug: 116684201
Bug: 112452592
Bug: 112451761
Test: Manual
Change-Id: I52b5efa4362eab7fcaa5d23923329b68b1783847
2018-10-19 16:33:00 -07:00
Andrii Kulian
9048eea32c MultiDisplay launcher sample
Demo launcher that allows starting activities on secondary displays.

Test: Manual
Change-Id: I9d6652b81fc928767d47f94a6ac5bc9de0fb8f37
2018-07-31 21:58:46 +08:00