summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/dynamicui/ColorExtractionService.java
Commit message (Collapse)AuthorAgeFilesLines
* Add feature flag to disable light status barTony Wickham2016-10-121-6/+10
| | | | | Bug: 32085545 Change-Id: I4860145b00893c20f7e37817e9659ccd90409966
* Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-281-4/+10
| | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* Extract color for the hotseat.Tony Wickham2016-05-091-0/+14
| | | | | | | | | | - Only considers the bottom fourth of the wallpaper - Is translucent black or white depending on how dark/light the wallpaper is - Hotseat extends behind the nav bar Bug: 27230217 Change-Id: Id4ea6ee91b4dd221b4c277d22d5041cab178801d
* Added ColorExtractionService and ExtractedColors.Tony Wickham2016-04-011-0/+63
- Launcher has an instance of ExtractedColors, which is loaded from LauncherProvider in onCreate() and whenever the wallpaper changes. - When the wallpaper changes, the ColorExtractionService is started in the :wallpaper-chooser process. - ColorExtractionService builds an ExtractedColors instance and saves it as a String in LauncherProvider. - When the results are saved, Launcher gets a callback through LauncherProviderChangeListener and reloads the ExtractedColors. - Whenever Launcher loads Extractecolors, it also re-colors items (currently a no-op). Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743