diff options
author | Matthew Ng <ngmatthew@google.com> | 2019-03-26 16:52:02 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2019-03-26 17:21:56 -0700 |
commit | ec1d8adbdcdfb3a708b64d02a2f859c8ea0d53a8 (patch) | |
tree | b1549f6e39beb0aa9d7a08bcf98a57dd875b5d1d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fb0756fa40bad8223777d22b0f038fb1ce3050e4 (diff) |
Correctly samples just around the navigation bar handle
The sample rect is 10dp left and right to the handle while taking full
size of the current navigation bar inset. Also changed the threshold to
pass the median luminance of 0.5f while only applying the color change
if the luminance change is above 0.05f. Also shrunk the width of the
navigation bar handle.
Fixes: 128937537
Bug: 112934365
Test: manual
Change-Id: Iac76ac8c09b70b803de427960710933f4eaf2516
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions