Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp327 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/
DVelocityTracker.h73 inline void addVelocity(int32_t axis, int32_t id, float velocity) { in addVelocity() function
/frameworks/native/libs/input/
DVelocityTracker.cpp379 computedVelocity.addVelocity(axis, id, adjustedVelocity); in getComputedVelocity()