Searched refs:dy (Results 1 - 8 of 8) sorted by relevance
/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_mouse.cpp | 145 void VirtualMouse::Scroll(int32_t dy) in Scroll() argument 151 if (dy < 0) { in Scroll() 154 dy = -dy; in Scroll() 156 if (dy > MAX_SCROLL_LENGTH) { in Scroll() 157 dy = MAX_SCROLL_LENGTH; in Scroll() 159 for (; dy >= REL_WHEEL_VALUE; dy -= REL_WHEEL_VALUE) { in Scroll() 166 void VirtualMouse::Move(int32_t dx, int32_t dy) in Move() argument 169 double delta = ::hypot(dx, dy); in Move() 244 MoveProcess(int32_t dx, int32_t dy) MoveProcess() argument [all...] |
H A D | virtual_mouse_builder.cpp | 89 std::cout << " [-m <dx> [<dy>]] [-M <x> <y>] [-w <ms>] [-f <FILE>] [-r <FILE>]" << std::endl; in ShowUsage() 94 std::cout << " -s <dy> Scroll the mouse wheel" << std::endl; in ShowUsage() 95 std::cout << " -m <dx> [<dy>]" << std::endl; in ShowUsage() 96 std::cout << " Move the mouse along <dx, dy>; if <dy> is missing, then set dy=dx" << std::endl; in ShowUsage() 276 int32_t dy = dx; in ReadMoveAction() local 279 dy = std::atoi(argv[optind++]); in ReadMoveAction() 281 std::cout << "[mouse] move: (" << dx << "," << dy << ")" << std::endl; in ReadMoveAction() 282 VirtualMouse::GetDevice()->MoveProcess(dx, dy); in ReadMoveAction() 355 int32_t dy = std::atoi(optarg); ReadScrollAction() local 427 int32_t dy = 0; HandleMove() local 459 int32_t dy = it.value(); HandleScroll() local [all...] |
H A D | virtual_touchscreen_builder.cpp | 124 std::cout << "Usage: vdevadm act -t T [-d<SLOT> <x> <y>] [-u<SLOT>] [-m<SLOT> <dx> [<dy>]]" << std::endl; in ShowUsage() 130 std::cout << " -m <SLOT> <dx> [<dy>]" << std::endl; in ShowUsage() 131 std::cout << " Move the touch <SLOT> along (dx, dy) for one step." << std::endl; in ShowUsage() 309 int32_t dy = 0; in ReadMoveAction() local 311 dy = std::atoi(argv[optind + 1]); in ReadMoveAction() 313 std::cout << "[touchscreen] move: [" << slot << ", (" << dx << "," << dy << ")]" << std::endl; in ReadMoveAction() 314 VirtualTouchScreen::GetDevice()->Move(slot, dx, dy); in ReadMoveAction() 462 int32_t dy = VirtualTouchScreenBuilder::GetModelValue(model, "dy", DEFAULT_VALUE_ZERO); in HandleMove() local 464 std::cout << "[touchscreen] move: [" << slot << ", (" << dx << "," << dy << ")]" << st in HandleMove() [all...] |
H A D | virtual_touchscreen.cpp | 157 int32_t VirtualTouchScreen::Move(int32_t slot, int32_t dx, int32_t dy) in Move() argument 173 .y = std::min(std::max(slots_[slot].coord.y + dy, 0), screenHeight_ - 1) in Move()
|
/base/msdp/device_status/tools/vdev/include/ |
H A D | virtual_mouse.h | 34 void Scroll(int32_t dy); 35 void Move(int32_t dx, int32_t dy); 37 void MoveProcess(int32_t dx, int32_t dy);
|
H A D | virtual_touchscreen.h | 34 int32_t Move(int32_t slot, int32_t dx, int32_t dy);
|
/base/security/security_component_manager/frameworks/common/src/ |
H A D | sec_comp_tool.cpp | 120 double dy = y1 - y2; in HsvDistance() local 123 return sqrt((dx * dx) + (dy * dy) + (dz * dz)); in HsvDistance()
|
/base/web/webview/interfaces/kits/napi/js/ |
H A D | webview_export.js | 275 offset: { dx: 0, dy: -10 },
|
Completed in 4 milliseconds