Loading libs/input/VelocityTracker.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -75,7 +75,9 @@ static std::string vectorToString(const float* a, uint32_t m) { str += " ]"; return str; } #endif #if DEBUG_STRATEGY static std::string matrixToString(const float* a, uint32_t m, uint32_t n, bool rowMajor) { std::string str; str = "["; Loading libs/input/tests/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cc_test { "InputChannel_test.cpp", "InputEvent_test.cpp", "InputPublisherAndConsumer_test.cpp", "VelocityTracker_test.cpp", ], shared_libs: [ "libinput", Loading @@ -13,6 +14,7 @@ cc_test { "libutils", "libbinder", "libui", "libbase", ] } Loading libs/input/tests/VelocityTracker_test.cpp 0 → 100644 +664 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
libs/input/VelocityTracker.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -75,7 +75,9 @@ static std::string vectorToString(const float* a, uint32_t m) { str += " ]"; return str; } #endif #if DEBUG_STRATEGY static std::string matrixToString(const float* a, uint32_t m, uint32_t n, bool rowMajor) { std::string str; str = "["; Loading
libs/input/tests/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cc_test { "InputChannel_test.cpp", "InputEvent_test.cpp", "InputPublisherAndConsumer_test.cpp", "VelocityTracker_test.cpp", ], shared_libs: [ "libinput", Loading @@ -13,6 +14,7 @@ cc_test { "libutils", "libbinder", "libui", "libbase", ] } Loading
libs/input/tests/VelocityTracker_test.cpp 0 → 100644 +664 −0 File added.Preview size limit exceeded, changes collapsed. Show changes