summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDan Gittik <dangittik@google.com>2018-03-27 18:14:22 +0100
committerDan Gittik <dangittik@google.com>2018-04-03 14:57:51 +0100
commit57d6f11d6ab5d409f3291923ea34f9be709925bc (patch)
tree1d38d96688a8cf422ac40b4b0f42c71e6ae679ee /tools/aapt2/java/JavaClassGenerator.cpp
parentd33b958ca068b2e0a7b45c86d04196a870c75e49 (diff)
Added gamma correction to autobrightness.
Moved the gamma correction determined by the brightness adjustment to the brightness mapping strategy, and added a best-effort attempt to gamma correct the curve to meet user data points before resorting to spline-bending. Test: manual (see https://drive.google.com/file/d/1VH6LpnmFYTAdRB1Rh_tNmu7xQxEaKlqe/view?usp=sharing for instructions). Fixes: 72734580 Change-Id: I74063f262a5559c048280b6f1d04ac84b0004160
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions