commit | 4e94d2d0b4acbf30d780aae6d0d46b4923853f2c | [log] [tgz] |
---|---|---|
author | James O'Leary <jamesoleary@google.com> | Wed Apr 28 15:44:14 2021 -0400 |
committer | James O'Leary <jamesoleary@google.com> | Thu Apr 29 11:40:47 2021 -0400 |
tree | a439a787f77e54fc836ca0e4c58e1688d2448ce2 | |
parent | a23d0548385ffabadbc4eaa1cf774fd5dde769eb [diff] |
Connect ColorStateList to CAM ColorStateList recently added an attribute, lStar, that means the color should have its perceptual luminance adjusted. The color appearance model library transforms the given color to one with the desired luminance. Test: added new test to ColorStateListTest, ran atest locally, tests passed. (no link, atest/my build is broken, can't upload results) Bug: 186640057 Change-Id: I5252b7c03d76ec1f0a7ca97cd671e8ea63d4b88b