diff options
| author | 2017-09-01 13:52:33 -0700 | |
|---|---|---|
| committer | 2017-09-05 12:42:58 -0700 | |
| commit | 97b5e18ddf25d9f0e4eec85f0e0e80487d7fca14 (patch) | |
| tree | a9428a1b259d7b55c24441bbe2db19938aaeee22 /opengl/libagl/array.cpp | |
| parent | 615118e64fb05a17738abcb80d8178ba077f63af (diff) | |
Different previous velocity calculation
Instead of using the instantaneous velocity as the value for the
v[i-1], use the velocity equivalent of the energy accumulated so
far. This should act as a kind of a low-pass filter, and results
in lower velocity values than the current version of the algorithm.
Bug: 35412046
Test: native and CTS
1) /data/nativetest64/libinput_tests/VelocityTracker_test
This test currently fails, and we may need to modify the
expected velocity values to get it to pass with this version
of the algorithm
2) bit CtsViewTestCases:.VelocityTrackerTest
This test passes
Change-Id: I358cfd8161ec3d423a4f3126c9bcec6de1020490
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions