Searched refs:checkVelocity (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 67 static void checkVelocity(std::optional<float> Vactual, std::optional<float> Vtarget) { in checkVelocity() function 254 checkVelocity(computePlanarVelocity(strategy, motions, axis, pointerId), targetVelocity); in computeAndCheckVelocity() 262 checkVelocity(computeVelocity(strategy, events, AMOTION_EVENT_AXIS_SCROLL), targetVelocity); in computeAndCheckAxisScrollVelocity() 265 checkVelocity(computeVelocity(VelocityTracker::Strategy::LSQ2, events, in computeAndCheckAxisScrollVelocity() 423 checkVelocity(*(computedVelocity.getVelocity(AMOTION_EVENT_AXIS_X, DEFAULT_POINTER_ID)), in TEST_F() 428 checkVelocity(*(computedVelocity.getVelocity(AMOTION_EVENT_AXIS_X, DEFAULT_POINTER_ID)), in TEST_F() 433 checkVelocity(*(computedVelocity.getVelocity(AMOTION_EVENT_AXIS_X, DEFAULT_POINTER_ID)), 1000); in TEST_F() 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() [all …]
|