Lines Matching refs:dy
145 void VirtualMouse::Scroll(int32_t dy)
151 if (dy < 0) {
154 dy = -dy;
156 if (dy > MAX_SCROLL_LENGTH) {
157 dy = MAX_SCROLL_LENGTH;
159 for (; dy >= REL_WHEEL_VALUE; dy -= REL_WHEEL_VALUE) {
166 void VirtualMouse::Move(int32_t dx, int32_t dy)
169 double delta = ::hypot(dx, dy);
188 double ty = round(step * static_cast<double>(dy) / delta);
244 void VirtualMouse::MoveProcess(int32_t dx, int32_t dy)
264 int32_t targetY = currentY + dy;
266 Move(dx, dy);