commit | 41a5cdf9862d4fa77153656e677567e707aa1d45 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Wed Nov 13 16:18:32 2013 -0800 |
committer | Michael Wright <michaelwr@google.com> | Wed Feb 12 15:50:54 2014 -0800 |
tree | e308e1137e5cd8b0e61b689951205b3ac2e861d9 | |
parent | 3024f1022400ca7e316cf7e4b08a325e51ceebb9 [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