History log of /frameworks/native/libs/input/tests/VelocityTracker_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d4b607ef71cf2d76206151ce321239cad40cdd68 13-Jun-2017 Siarhei Vishniakou <svv@google.com> Native test for VelocityTracker

Adding VelocityTracker native tests for checking
the velocity output for certain inputs. Adding two types of
test cases:
1) Generated manually. These are simple test cases like linear
motion, repeated coordinates, etc.
2) Generated by recording an actual fling. Used
to reproduce the swordfish fling bug referenced below.
3) Recorded flings on sailfish for additional tests.
Currently, the make target for the test is
libinput_tests_VelocityTracker_test.

Bug: 35412046
Test: adb shell /data/nativetest64/libinput_tests/VelocityTracker_test
Change-Id: I2f71100f8dc6216667b0698270a27c98cd401565
/frameworks/native/libs/input/tests/VelocityTracker_test.cpp