diff options
author | Michael Wright <michaelwr@google.com> | 2017-08-16 20:38:21 +0100 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2017-08-17 01:10:42 +0000 |
commit | 0a933141e2dd72bc868598cfa2146b2c72b85d5d (patch) | |
tree | 9061bd972f697cac9955d2a8ed2fcd1615fd90e0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1c414bf30b51a27eb96ffa728fb513c4505296b2 (diff) |
Add new "fast" filter for ambient light.
The slow filter wasn't converging fast enough when we shortened the
debounce timings but we still want it to ensure there's a long term
change happening, so add a new filter that converges much faster. This
new fast filter is just a weighted sliding window just like the slow
filter, but it has a significantly smaller horizon.
Bug: 64514692
Test: manual
Change-Id: I1e990ac1e6a56268fa42a85399a2d41cc8dd2104
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions