diff options
author | Fiona Campbell <flc@google.com> | 2020-05-01 19:37:39 +0100 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2020-05-18 20:15:36 +0100 |
commit | d7ab949588031d552393e5cb60300b562bfd928b (patch) | |
tree | c9ed58091e820eba1fd6a8c1330e8e9e3d034742 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3443ba8dc98cbd71b2d3bbc1c78809d4b0da3353 (diff) |
Fix brightness curve when user sets slider to min.
The brightness spline was setting the entire curve to 0.0f. This was due
to the min and max points of point x+1 being constrained to a factor of
the brightness x. If this happens to be 0.0f, the brightness curve will
never increase.
Bug: 153799222
Test: AutomaticBrightnessControllerTest
Change-Id: Id29389e7fc17b402d2f1bd581a805a6067eac4bb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions