Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp414 VelocityTracker vt(VelocityTracker::Strategy::IMPULSE); in TEST_F()
470 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, in TEST_F()
482 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 0); in TEST_F()
491 computeAndCheckVelocity(VelocityTracker::Strategy::IMPULSE, motions, AMOTION_EVENT_AXIS_X, 500); 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()
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()
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()
[all …]
/frameworks/native/include/input/
DVelocityTracker.h40 IMPULSE = android::os::IInputConstants::VELOCITY_TRACKER_STRATEGY_IMPULSE, enumerator
50 MIN = IMPULSE,
/frameworks/native/libs/input/
DVelocityTracker.cpp71 {AMOTION_EVENT_AXIS_SCROLL, VelocityTracker::Strategy::IMPULSE}};
170 case VelocityTracker::Strategy::IMPULSE: in createStrategy()