diff options
author | Selim Cinek <cinek@google.com> | 2017-05-12 16:07:31 -0700 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2017-05-16 01:14:54 +0000 |
commit | 8aa5c556abc429f408e180266025001c3d2d9f70 (patch) | |
tree | 99a6fadc421343a76f2e7af71896801fd3d418cf /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions