Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_touchscreen.cpp90 SendEvent(EV_ABS, ABS_MT_POSITION_X, slots_[s].coord.x); in SendTouchEvent()
94 …LOGD("Send event [%{public}d], (%{public}d, %{public}d)", s, slots_[s].coord.x, slots_[s].coord.y); in SendTouchEvent()
113 …ss down [%{public}d], (%{public}d, %{public}d)", slot, slots_[slot].coord.x, slots_[slot].coord.y); in DownButton()
176 slot, slots_[slot].coord.x, slots_[slot].coord.y, tcoord.x, tcoord.y); in Move()
178 while ((tcoord.x != slots_[slot].coord.x) || (tcoord.y != slots_[slot].coord.y)) { in Move()
179 double total = ::hypot(tcoord.x - slots_[slot].coord.x, tcoord.y - slots_[slot].coord.y); in Move()
181 slots_[slot].coord.x = tcoord.x; in Move()
182 slots_[slot].coord.y = tcoord.y; in Move()
188 …slots_[slot].coord.x += static_cast<int32_t>(round(step * (tcoord.x - slots_[slot].coord.x) / tota… in Move()
189 …slots_[slot].coord.y += static_cast<int32_t>(round(step * (tcoord.y - slots_[slot].coord.y) / tota… in Move()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtablet_tool_tranform_processor.cpp272 PhysicalCoordinate coord; in OnTipProximity() local
273 if (!WIN_MGR->CalculateTipPoint(tabletEvent, targetDisplayId, coord)) { in OnTipProximity()
297 item.SetDisplayX(static_cast<int32_t>(coord.x)); in OnTipProximity()
298 item.SetDisplayY(static_cast<int32_t>(coord.y)); in OnTipProximity()
299 item.SetDisplayXPos(coord.x); in OnTipProximity()
300 item.SetDisplayYPos(coord.y); in OnTipProximity()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl1ext_entries.in158 CALL_HOOK_API(glGetTexGenxvOES, coord, pname, params)
160 HOOK_API_ENTRY(void, glTexGenxOES, GLenum coord, GLenum pname, GLfixed param)
161 CALL_HOOK_API(glTexGenxOES, coord, pname, param)
164 CALL_HOOK_API(glTexGenxvOES, coord, pname, params)
254 CALL_HOOK_API(glTexGenfOES, coord, pname, param)
257 CALL_HOOK_API(glTexGenfvOES, coord, pname, params)
259 HOOK_API_ENTRY(void, glTexGeniOES, GLenum coord, GLenum pname, GLint param)
260 CALL_HOOK_API(glTexGeniOES, coord, pname, param)
263 CALL_HOOK_API(glTexGenivOES, coord, pname, params)
266 CALL_HOOK_API(glGetTexGenfvOES, coord, pname, params)
[all …]
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp1630 coord.y = info.height - coord.x; in UpdateDisplayInfo()
1634 coord.x = info.width - coord.y; in UpdateDisplayInfo()
1645 coord.x = info.height - coord.y; in UpdateDisplayInfo()
1647 coord.x = info.width - coord.y; in UpdateDisplayInfo()
1650 MMI_HILOGD("physicalX:%f, physicalY:%f", coord.x, coord.y); in UpdateDisplayInfo()
1655 coord.x = info.width - coord.x; in UpdateDisplayInfo()
1656 coord.y = info.height - coord.y; in UpdateDisplayInfo()
1657 MMI_HILOGD("physicalX:%f, physicalY:%f", coord.x, coord.y); in UpdateDisplayInfo()
1664 coord.y = info.width - coord.x; in UpdateDisplayInfo()
1666 coord.y = info.height - coord.x; in UpdateDisplayInfo()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dinput_windows_manager_ex_test.cpp472 PhysicalCoordinate coord; variable
545 coord.x = 5.5;
546 coord.y = 3.2;
570 coord.x = 6.5;
571 coord.y = 8.2;
595 coord.x = 6.5;
596 coord.y = 8.2;
724 coord.x = 3.5;
725 coord.y = 5.2;
2625 coord.x = 200;
[all …]
H A Dinput_windows_manager_test.cpp888 coord.x = 10;
889 coord.y = 20;
891 EXPECT_EQ(coord.x, 10);
892 EXPECT_EQ(coord.y, 20);
909 coord.x = 10;
910 coord.y = 20;
913 EXPECT_EQ(coord.y, 10);
930 coord.x = 10;
931 coord.y = 20;
951 coord.x = 10;
[all …]
/ohos5.0/base/msdp/device_status/tools/vdev/include/
H A Dvirtual_touchscreen.h41 Coordinate coord {};
/ohos5.0/foundation/multimodalinput/input/service/window_manager/include/
H A Dinput_windows_manager.h135 void RotateScreen(const DisplayInfo& info, PhysicalCoordinate& coord) const;
138 …bool TransformTipPoint(struct libinput_event_tablet_tool* tip, PhysicalCoordinate& coord, int32_t&…
140 int32_t& targetDisplayId, PhysicalCoordinate& coord) const;
H A Di_input_windows_manager.h134 int32_t& targetDisplayId, PhysicalCoordinate& coord) const = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.cpp1517 for (auto& coord : coords) { in GetGlobalWindowBlurRRect() local
1518 coord += offset; in GetGlobalWindowBlurRRect()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Dts-basic-components-web.md4670 console.info("x coord = " + event.param.x());
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/
H A Dts-basic-components-web.md4670 console.info("x coord = " + event.param.x());