summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2013-11-13 16:18:32 -0800
committer Michael Wright <michaelwr@google.com> 2014-02-12 15:50:54 -0800
commit41a5cdf9862d4fa77153656e677567e707aa1d45 (patch)
treee308e1137e5cd8b0e61b689951205b3ac2e861d9 /libs/hwui/ProgramCache.cpp
parent3024f1022400ca7e316cf7e4b08a325e51ceebb9 (diff)
New ambient light level filtering for automatic brightness
This new filtering method maintains a ring buffer of all light sensor measurements within the last ten seconds. Once all of the measurements are either above the brightening threshold or below the darkening threshold, adjust the screen brightness to the average of the recorded measurements. Change-Id: I012bd99f86149e02f03b05f19722aef9a07aba31
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions