/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.cpp | 37 TouchEvent& TouchEvent::SetScreenX(float screenX) in SetScreenX() argument 39 this->screenX = screenX; in SetScreenX() 185 event.screenX = (screenX - offsetX) / scale; in CloneWith() 216 json->Put("sx", screenX); in ToJsonValue() 243 screenX = json->GetDouble("sx"); in FromJson() 270 return Offset(screenX, screenY); in GetScreenOffset() 290 point.screenX = point.screenX / scal in CreateScalePoint() 355 SetScreenX(float screenX) SetScreenX() argument [all...] |
H A D | axis_event.h | 69 float screenX = 0.0; member 94 AxisEvent(int32_t id, float x, float y, float screenX, float screenY, double verticalAxis, double horizontalAxis, in AxisEvent() 98 : id(id), x(x), y(y), screenX(screenX), screenY(screenY), verticalAxis(verticalAxis), in AxisEvent() 110 return { id, x, y, screenX, screenY, verticalAxis, horizontalAxis, pinchAxisScale, rotateAxisAngle, in CreateScaleEvent() 114 return { id, x / scale, y / scale, screenX / scale, screenY / scale, verticalAxis, horizontalAxis, in CreateScaleEvent() 126 return Offset(screenX, screenY); in GetScreenOffset() 309 axisEvent.screenX = static_cast<float>(screenLocation_.GetX()); in ConvertToAxisEvent() 388 info.SetScreenLocation(Offset(event.screenX, event.screenY)); in HandleAxisEvent()
|
H A D | mouse_event.h | 100 float screenX = 0.0f; member 126 return Offset(screenX, screenY); in GetScreenOffset() 158 .screenX = screenX / scale, in CloneWith() 207 .screenX = screenX, in CreateTouchPoint() 217 .SetScreenX(screenX) in CreateTouchPoint() 247 .screenX = screenX - offset.GetX(), in operator -()
|
H A D | event_convertor.cpp | 76 touchPoint.screenX = event.screenX; in UpdateTouchEvent() 103 events.screenX = mouseActionData->physicalX; in ConvertMouseEvent()
|
H A D | touch_event.h | 43 float screenX = 0.0f; member 67 float screenX = 0.0f; member 104 TouchEvent& SetScreenX(float screenX); 180 void SetScreenX(float screenX);
|
H A D | mouse_event.cpp | 76 hoverInfo.SetScreenLocation(Offset(event.screenX, event.screenY)); in HandleAccessibilityHoverEvent()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | point.h | 32 Point(double x, double y, double screenX, double screenY) : x_(x), y_(y), screenX_(screenX), screenY_(screenY) {} in Point() argument 33 Point(double x, double y, double screenX, double screenY, SourceType sourceType) in Point() argument 34 : x_(x), y_(y), screenX_(screenX), screenY_(screenY), sourceType_(sourceType) in Point()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | touch_event.cpp | 152 changedInfo.SetScreenLocation(Offset(lastPoint.screenX, lastPoint.screenY)); in CreateChangedTouchInfo() 170 float screenX = pointItem.screenX; in CreateTouchItemInfo() local 179 info.SetScreenLocation(Offset(screenX, screenY)); in CreateTouchItemInfo() 196 float screenX = eventItem.screenX; in CreateHistoryTouchItemInfo() local 206 historyInfo.SetScreenLocation(Offset(screenX, screenY)); in CreateHistoryTouchItemInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | multi_fingers_recognizer.cpp | 108 touchPoints_[event.id].screenX = event.screenX; in UpdateTouchPointWithAxisEvent() 117 point.screenX = event.screenX; in UpdateTouchPointWithAxisEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | multi_fingers_recognizer_test_ng.cpp | 82 event.screenX = 10.1; in HWTEST_F() 113 event.screenX = 10.1; in HWTEST_F() 145 event.screenX = 10.1; in HWTEST_F() 214 event.screenX = 10.1; in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_xcomponent.h | 189 float screenX; member 216 float screenX; member 240 float screenX; member 275 float screenX; member
|
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | oh_remote_control_event.h | 114 float screenX = 0.0; // X coordinate of the touch point relative to the left edge of the screen. member 127 float screenX = 0.0; // X coordinate of the touch point relative to the left edge of the screen. member 143 float screenX = 0.0; // X coordinate of the mouse point relative to the left edge of the screen. member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_touch_handler.cpp | 94 deltaChange.SetX(point.screenX - oldPoint.screenX); in CreateSceneTouchEvent()
|
/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | pointer_event.h | 49 float screenX = 0.0f; member 69 float screenX = 0.0f; member in OHOS::MMI::PointerEvent
|
/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | render_touch_listener.cpp | 149 changedInfo.SetScreenLocation(Offset(changedPoint.screenX, changedPoint.screenY)); in TriggerTouchCallBack() 165 float screenX = pointPair.second.screenX; in TriggerTouchCallBack() local 172 info.SetScreenLocation(Offset(screenX, screenY)); in TriggerTouchCallBack()
|
/foundation/arkui/ace_engine/interfaces/native/event/ |
H A D | ui_input_event.cpp | 602 return touchEvent->actionTouchPoint.screenX; in OH_ArkUI_PointerEvent_GetDisplayX() 607 return touchEvent->screenX; in OH_ArkUI_PointerEvent_GetDisplayX() 614 return axisEvent->screenX; in OH_ArkUI_PointerEvent_GetDisplayX() 623 return mouseEvent->actionTouchPoint.screenX; in OH_ArkUI_PointerEvent_GetDisplayX() 630 return axisEvent->actionTouchPoint.screenX; in OH_ArkUI_PointerEvent_GetDisplayX() 650 return touchEvent->touchPointes[pointerIndex].screenX; in OH_ArkUI_PointerEvent_GetDisplayXByIndex() 657 return mouseEvent->actionTouchPoint.screenX; in OH_ArkUI_PointerEvent_GetDisplayXByIndex() 664 return axisEvent->actionTouchPoint.screenX; in OH_ArkUI_PointerEvent_GetDisplayXByIndex() 1017 return touchEvent->historyEvents[historyIndex].touchPointes[pointerIndex].screenX; in OH_ArkUI_PointerEvent_GetHistoryDisplayX()
|
/foundation/window/window_manager/wm/include/ |
H A D | gtx_input_event_sender.h | 32 float screenX = .0f; member
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | render_xcomponent.cpp | 131 touchEventPoint_.screenX = screenOffset.GetX(); in HandleTouchEvent() 161 ohTouchPoint.screenX = pointScreenOffset.GetX(); in SetTouchPoint() 181 ohTouchPoint.screenX = 0; in SetTouchPoint() 456 mouseEventPoint.screenX = event.GetOffset().GetX(); in HandleMouseEvent()
|
H A D | render_xcomponent.h | 130 OH_NativeXComponent_TouchEvent touchEventPoint_ { .screenX = 0, .screenY = 0 };
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_extra_input_data.cpp | 43 event.screenX = data->interpolatedDisplayX;
in ReadToTouchEvent()
|
H A D | mmi_event_convertor.cpp | 68 touchPoint.screenX = pointerItem.GetDisplayX(); in ConvertTouchPoint() 147 mouseEvent.screenX = pointerItem.GetDisplayXPos(); in UpdateMouseEventForPen() 168 .SetScreenX(touchPoint.screenX) in ConvertTouchEvent() 195 event.screenX = item.GetDisplayXPos(); in ConvertTouchEvent() 321 events.screenX = item.GetDisplayX(); in ConvertMouseEvent() 396 event.screenX = static_cast<float>(item.GetDisplayX()); in ConvertAxisEvent()
|
/foundation/window/window_manager/wm/src/ |
H A D | gtx_input_event_sender.cpp | 57 dstTouchPoint.screenX = srcTouchPoint.GetDisplayX(); in SetTouchEvent()
|
/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/ |
H A D | js_register_module.cpp | 321 int32_t screenX = 0; in HandleMousePropertyInt32() local 322 if (GetNamedPropertyInt32(env, mouseHandle, "screenX", screenX) != RET_OK) { in HandleMousePropertyInt32() 323 MMI_HILOGE("Get screenX failed"); in HandleMousePropertyInt32() 339 item.SetDisplayX(screenX); in HandleMousePropertyInt32() 460 int32_t screenX = 0; in HandleTouchPropertyInt32() local 461 if (GetNamedPropertyInt32(env, touchProperty, "screenX", screenX) != RET_OK) { in HandleTouchPropertyInt32() 462 MMI_HILOGE("Get screenX failed"); in HandleTouchPropertyInt32() 480 item.SetDisplayX(screenX); in HandleTouchPropertyInt32() [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_gesture_modifier.cpp | 216 points[i].screenX = touchPoint.screenX; in ConvertTouchPointsToPoints() 246 touchEvent.actionTouchPoint.screenX = touchEvent.touchPointes[0].screenX; in ConvertIMMEventToTouchEvent() 389 mouseEvent.actionTouchPoint.screenX = tempMouseEvent.screenX; in ConvertIMMEventToMouseEvent() 411 axisEvent.actionTouchPoint.screenX = fingureBegin == fingureEnd ? 0.0f : fingureBegin->screenLocation_.GetX(); in ConvertIMMEventToAxisEvent()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_compatible.h | 95 int32_t screenX; member
|