Lines Matching refs:computeVelocity

231 static std::optional<float> computeVelocity(const VelocityTracker::Strategy strategy,  in computeVelocity()  function
247 return computeVelocity(strategy, events, axis, pointerId); in computePlanarVelocity()
262 checkVelocity(computeVelocity(strategy, events, AMOTION_EVENT_AXIS_SCROLL), targetVelocity); in computeAndCheckAxisScrollVelocity()
265 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, in computeAndCheckAxisScrollVelocity()
512 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_X, in TEST_F()
515 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_Y, 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()
549 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_X, in TEST_F()
552 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_Y, in TEST_F()
555 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_X, in TEST_F()
558 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_Y, in TEST_F()
565 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_X, in TEST_F()
568 checkVelocity(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, AMOTION_EVENT_AXIS_Y, in TEST_F()
571 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_X, in TEST_F()
574 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, AMOTION_EVENT_AXIS_Y, in TEST_F()
1406 EXPECT_EQ(computeVelocity(VelocityTracker::Strategy::IMPULSE, events, in TEST_F()
1408 computeVelocity(VelocityTracker::Strategy::DEFAULT, events, in TEST_F()