launcher_helper library
This library provides class LauncherHelper for various operations like getting list of installed applications, launching applications using package name, getting phone's wallpaper, etc. Only Android is supported. You can also use PaletteGenerator without LauncherHelper to extract prominent colors from an image for use as user interface colors.
Classes
- AppInfo
- AppInfo containing Application information obtained from Applications's list. [...]
- Applications
- This Applications generates a List of AppInfo (which has application information) for better access. It needs a list with map of applications obtained from platform operations to create AppInfo.
- LauncherHelper
- LauncherHelper [...]
- PaletteColor
- A color palette color generated by the PaletteGenerator. [...]
- PaletteGenerator
- A class to extract prominent colors from an image for use as user interface colors. [...]
- PaletteTarget
- A class which allows custom selection of colors when a PaletteGenerator is generated. [...]
Functions
-
avoidRedBlackWhitePaletteFilter(
HSLColor color) → bool - A basic PaletteFilter, which rejects colors near black, white and low saturation red. [...]
Typedefs
-
PaletteFilter(
HSLColor color) → bool -
Hook to allow clients to be able filter colors from selected in a
PaletteGenerator. Returns true if the
color
is allowed. [...]