summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2018-06-07 13:59:42 -0700
committerLucas Dupin <dupin@google.com>2018-06-07 16:33:09 -0700
commita291d19e47a8a784fda56566754364d2107baed4 (patch)
tree00a96dd900e4d4384d376bd8a5f95855c83a8c47 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent843a0cabbfef800f8c9ec0ff04fb1593272c3e00 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions