commit | 8aa5c556abc429f408e180266025001c3d2d9f70 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri May 12 16:07:31 2017 -0700 |
committer | Selim Cinek <cinek@google.com> | Tue May 16 01:14:54 2017 +0000 |
tree | 99a6fadc421343a76f2e7af71896801fd3d418cf | |
parent | 6ce7cf7cda93b930fbab4f74c4582d84bd1f9d98 [diff] |
Improved the media color extraction algorithm The color extraction algorithm is tuned further: We're now regarding more colors as white when it comes to the background selection. For muted color swatches we also factor in the popuplation. Finally, we also factor in the mostdominant color to overtake the text color in case it is very dominant. Test: runtest systemui Bug: 38168152 Change-Id: I858017b83559255ead48c3ab6c3bc16ed110e57c