summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/dynamicui
Commit message (Collapse)AuthorAgeFilesLines
* Changes on the wallpaper gradient extraction algorithm: fallback colorsMario Bertschler2017-07-141-16/+43
| | | | | | | for very light or very dark luminosity. Bug: 63705813 Change-Id: I71b29e294b1c9c139f8f778e8f217e127d95fec5
* Supporting dark theme hint for wallpaper colors.Mario Bertschler2017-07-101-3/+3
| | | | | Bug: 63143283 Change-Id: I0815d22215409d781348d74baace8cb5d1e15fb8
* Switching to dark color in color extraction algorithm.Mario Bertschler2017-06-261-144/+177
| | | | | Bug: 62903659 Change-Id: Ibd65cb75ee6d74bde20e35d570a505ec8f4b4617
* Disable old ColorExtractionService if feature flag forMario Bertschler2017-06-221-0/+7
| | | | | | LAUNCHER3_GRADIENT_ALL_APPS is enabled Change-Id: I1614897d51ac79293e8b34eee25f212c9ccf4bd2
* Fixing various system UI flags not getting updated properly on theme changes.Sunny Goyal2017-06-201-1/+1
| | | | | | | | | SystemUiController manages various system UI flags in priorty order and merges all the states before applying the syste flags. Fixing WallpaperColors when it was not handing wallpaper change properly in some cases Change-Id: I915442818e7888c97c81f63c8ea9f3c13053eb2c
* Applying API changes on WallpaperColors.Mario Bertschler2017-06-192-52/+36
| | | | | Bug: 62719001 Change-Id: Iabe2e446bd05c41ec910ed2ad534d623285e7e63
* Trigger theme change if supportsDarkText is switching.Mario Bertschler2017-06-081-1/+2
| | | | Change-Id: Id5ec0429b5fb94d742dfac093263144f71f0d6b7
* Dark color on super light wallpaper supportMario Bertschler2017-06-071-0/+6
| | | | Change-Id: I0fdfa9abefb72e06c45b1f635ac97e2acfa97f05
* Merge "Improved color extraction algorithm" into ub-launcher3-dorval-polishTreeHugger Robot2017-06-061-45/+490
|\
| * Improved color extraction algorithmMario Bertschler2017-06-061-45/+490
| | | | | | | | Change-Id: I31fdd2a5bc8598dbc8ea5363c995b29057f45997
* | resolve merge conflicts of 629a67c5a to ub-launcher3-dorval-polishTony2017-06-022-38/+77
|\ \ | |/ |/| | | | | Test: I solemnly swear I tested this conflict resolution. Change-Id: I5aed3f0c978976c499b532c816d81196cb11e3a1
| * Migrate ColorExtractionService to JobServiceTony2017-06-022-32/+71
| | | | | | | | | | | | | | | | | | IntentService cannot be run in the background, so moving to JobService prevents us from crashing if the wallpaper is changed while we aren't running. Bug: 62065291 Change-Id: Ie0c887e36d0ced43a0b9ab8136bf55eb37697489
* | Providing a default color extraction implementation.Mario Bertschler2017-05-263-56/+35
| | | | | | | | | | | | Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
* | Theming on Scrim- and GradientViewMario Bertschler2017-05-256-145/+130
| | | | | | | | Change-Id: I3070b54485a9476ffb71e325cdd45c2bd7ef5c9a
* | Adding compat implementation for the new WallpaperManager APIs for color ↵Sunny Goyal2017-05-235-125/+39
| | | | | | | | | | | | extraction Change-Id: Ie06c9ac3a77cd33d22ce298a55e234078895c3a0
* | Merge "Adding listener support for color extraction changes Changing the ↵TreeHugger Robot2017-05-111-0/+20
|\ \ | | | | | | | | | apps-search layout to use theme attribute instead of hard coded layout id" into ub-launcher3-dorval-polish
| * | Adding listener support for color extraction changesSunny Goyal2017-05-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | Changing the apps-search layout to use theme attribute instead of hard coded layout id Bug: 37616877 Change-Id: Iae601758303f83a2774635f0d88f74d99fc643c3
* | | Color extraction implementation for gradient colorsMario Bertschler2017-05-086-13/+544
|/ / | | | | | | | | | | used by all apps background. Change-Id: Id7a652815cb3ef61ff4b0a442d8350337014b56d
* | All Apps transition with gradient and scrim.Mario Bertschler2017-05-032-5/+36
| | | | | | | | | | | | | | The transition is behind a feature flag and turned off by default. Change-Id: I155840ba82b5a573d874376797db5f739a52d706
* | Updating color extraction to include wallpaper theme color.Sunny Goyal2017-04-262-33/+74
|/ | | | | | | Also adding mathods and callbacks to pass the related data to the callbacks. Bug: 37616877 Change-Id: I7512cac7a603e8e5a05ec3a360c9eec493344b00
* Fallback to WallpaperManager#getDrawable() if getWallpaperFile() is nullTony Wickham2017-02-151-2/+2
| | | | | Bug: 34521181 Change-Id: Ifc5f7cd9a11ff1f66acaadaea494ba4a0d142c3c
* Changing status bar color extraction to use region decoderSunny Goyal2016-11-081-10/+33
| | | | Change-Id: Ie9913a9cb28948128e6624dc3a335c790fa5a11a
* Using BitmapRegionDecoder to only parse partial bitmap during color extractionSunny Goyal2016-11-072-38/+43
| | | | Change-Id: I3474c5e2f880144379b1810ccaef247f4a8d1330
* Updating version check method namesSunny Goyal2016-11-021-2/+2
| | | | Change-Id: If98851677545a9bbb9de308c23ff5c155a61a8bf
* Add feature flag to disable light status barTony Wickham2016-10-132-7/+11
|\ | | | | | | | | | | am: 0fed55bf03 Change-Id: Ia42af86a0e052bb05f0ed2ce6e8372b4408fed13
| * Add feature flag to disable light status barTony Wickham2016-10-122-7/+11
| | | | | | | | | | Bug: 32085545 Change-Id: I4860145b00893c20f7e37817e9659ccd90409966
* | Removing some TODOs with proper system APISunny Goyal2016-09-301-10/+5
|/ | | | Change-Id: I0d0e667cd6af8a7b9dbf3d0fd417f009ae402519
* Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-282-6/+18
| | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* Extract color for the hotseat.Tony Wickham2016-05-093-30/+114
| | | | | | | | | | - 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
* Removing some wallpaper dependencySunny Goyal2016-04-051-3/+3
| | | | Change-Id: I3f88a76df40c64678e297f217d703ca296f2d5cd
* Added ColorExtractionService and ExtractedColors.Tony Wickham2016-04-013-0/+269
- 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