commit | f1ec7ada581d3dd192d7008c69130d6bb1970b5e | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Mar 06 13:01:10 2019 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Apr 18 15:56:39 2019 -0700 |
tree | 9433da041f0e50d5f896730ad5195e5f62ba2d6c | |
parent | d59b2d06a47527384ed64a2a068c52e3f35b7990 [diff] |
Refactor VelocityTracker_test Two changes here: 1) Use std::unique_ptr to pass a newed MotionEvent around. This also fixes a memory leak in computeAndCheckQuadraticEstimate 2) Make pointerCoords and pointerProperties consistent by making them both arrays Bug: none Test: atest -a libinput_tests inputflinger_tests Change-Id: I4439342c78b1850a9a43bd8c58501f2bc86f266e Merged-In: I4439342c78b1850a9a43bd8c58501f2bc86f266e