summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVinit Nayak <peanutbutter@google.com>2020-02-22 14:42:49 -0800
committerVinit Nayak <peanutbutter@google.com>2020-02-27 08:31:04 -0800
commitc4bbdff6db25c41653b1d3651f4edffa86e96fbc (patch)
tree815911a13c3ef24377b60d70bdc26f101261c8cc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0b66590fbfae2acff4d937d95705dc5c34827f5f (diff)
Use median instead of mean for sampling border luma
Using median of the luma for all border pixels gives a more accurate indication of dominant background color to use during the screen rotation animation than does using the average. fixes: 150056201 Test: Existing tests pass Also can visually see the change in Google Photos app where you have a bright image on the black background. Now background stays as black instead of being gray. Change-Id: I87bc87930aff48f90f271fc1783e70caf61dc7f4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions