commit | 3e9a13438dce2f4a7a437e9b5bbd222128c39d52 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Thu Aug 28 17:42:16 2014 -0700 |
committer | Michael Wright <michaelwr@google.com> | Fri Aug 29 14:39:12 2014 -0700 |
tree | abc1629e88dc5694ac58a8630b8f45658c2aa862 | |
parent | d06cd2b1bd067e911d48c3b0c81a503c5772c98f [diff] |
Use a linear spline if there's a non-monotonic brightness curve Some devices may contain things like transflective displays where they actually want the backlight brightness to decrease in the face of high ambient light scenarios. In the interest of time, just use a linear interpolation based on the brightness control points for these cases but in the future we should consider adding a non-monotonic cubic spline. Bug: 15611140 Change-Id: I8fcee061b18c8ae9cc9a1b38d8b850aaec4478ce