Searched refs:addVelocity (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | VelocityTracker_test.cpp | 327 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_X, /*id=*/0, /*velocity=*/200); in TEST_F() 328 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_X, /*id=*/26U, /*velocity=*/400); in TEST_F() 329 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_X, /*id=*/27U, /*velocity=*/650); in TEST_F() 330 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_X, MAX_POINTER_ID, /*velocity=*/750); in TEST_F() 331 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/0, /*velocity=*/1000); in TEST_F() 332 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/26U, /*velocity=*/2000); in TEST_F() 333 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, /*id=*/27U, /*velocity=*/3000); in TEST_F() 334 computedVelocity.addVelocity(AMOTION_EVENT_AXIS_Y, MAX_POINTER_ID, /*velocity=*/4000); in TEST_F()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 73 inline void addVelocity(int32_t axis, int32_t id, float velocity) { in addVelocity() function
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 379 computedVelocity.addVelocity(axis, id, adjustedVelocity); in getComputedVelocity()
|