Home
last modified time | relevance | path

Searched refs:LSQ2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp265 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, in computeAndCheckAxisScrollVelocity()
273 computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, in computeAndCheckQuadraticVelocity()
276 computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in computeAndCheckQuadraticVelocity()
314 EXPECT_EQ(computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, in TEST_F()
318 EXPECT_EQ(computePlanarVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_Y, in TEST_F()
483 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F()
492 computeAndCheckVelocity(VelocityTracker::Strategy::LSQ2, motions, AMOTION_EVENT_AXIS_X, 500); in TEST_F()
518 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_X, in TEST_F()
521 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_Y, in TEST_F()
555 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_X, in TEST_F()
[all …]
/frameworks/native/libs/input/
DVelocityTracker.cpp69 {{AMOTION_EVENT_AXIS_X, VelocityTracker::Strategy::LSQ2},
70 {AMOTION_EVENT_AXIS_Y, VelocityTracker::Strategy::LSQ2},
177 case VelocityTracker::Strategy::LSQ2: in createStrategy()
1028 VelocityTracker lsq2(VelocityTracker::Strategy::LSQ2); in getVelocity()
/frameworks/native/include/input/
DVelocityTracker.h42 LSQ2 = android::os::IInputConstants::VELOCITY_TRACKER_STRATEGY_LSQ2, enumerator