commit | a291d19e47a8a784fda56566754364d2107baed4 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Jun 07 13:59:42 2018 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Jun 07 16:33:09 2018 -0700 |
tree | 00a96dd900e4d4384d376bd8a5f95855c83a8c47 | |
parent | 843a0cabbfef800f8c9ec0ff04fb1593272c3e00 [diff] |
More conservative dark text calculation Refactored WallpaperColors to use constrast ratio instead of luminance for detecting dark pixels. Also using a contrast more conservative than what GAR requires while decreasing the dark area threshold. Change-Id: I67b799be4b7ccd50bb3e63c6179d513b9b76446b Fixes: 76435920 Test: manually set various wallpapers Test: use new debug flag to verify which pixel is actually dark