Home
last modified time | relevance | path

Searched refs:dstY (Results 1 - 1 of 1) sorted by relevance

/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_manager_test.cpp478 int32_t dstY = dstLocation.second; in SimulateMovePointerEvent() local
481 for (int32_t y = srcY; y <= dstY; y += MOVE_STEP) { in SimulateMovePointerEvent()
484 for (int32_t y = srcY; y > dstY; y -= MOVE_STEP) { in SimulateMovePointerEvent()
488 double ratio = (dstY - srcY) * 1.0 / (dstX - srcX); in SimulateMovePointerEvent()
495 coordinates.push_back({dstX, dstY}); in SimulateMovePointerEvent()

Completed in 5 milliseconds