summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2017-02-09 14:58:44 +0100
committer Adrian Roos <roosa@google.com> 2017-02-09 14:58:58 +0100
commit99d2e64bdbb5a1ed09c37a193a332e2503356fb9 (patch)
tree427c26e7be38b962c609978ae08c8a0dec157bb3 /libs/hwui/ProgramCache.cpp
parent849a31075c7804c82cfa339ba90ee68f82917d3d (diff)
AOD: Fix contrast calculation
Uses a new way to calculate a contrasting color for AOD in HSL space. Previously, the search was done in LAB space which led to colors being off-hue. Bug: 30876804 Test: Open Ambient Display, observe color of incoming notification looks good. Change-Id: Id9b52e266be126f3067dd73e9906d7cca59135cb
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions