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