/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | pointer_event.h | 64 int32_t windowY = 0; member 83 PointerEvent(int32_t windowX, int32_t windowY, int32_t displayX, int32_t displayY) in PointerEvent() 84 : windowX(windowX), windowY(windowY), displayX(displayX), displayY(displayY) in PointerEvent() 86 PointerEvent(int32_t pointerEventId, int32_t windowX, int32_t windowY, int32_t displayX, int32_t displayY) in PointerEvent() 87 : pointerEventId(pointerEventId), windowX(windowX), windowY(windowY), displayX(displayX), displayY(displayY) in PointerEvent() 93 return Point(windowX, windowY, displayX, displayY); in GetPoint()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 529 event.windowY = pointerItem.GetWindowY(); in ConvertPointerEvent() 540 event.y = event.windowY; in ConvertPointerEvent() 626 auto windowY = yRelative; in CalculatePointerEvent() local 635 windowY = yRelative - offsetF.GetY(); in CalculatePointerEvent() 639 windowY = windowWidth - offsetF.GetY() - xRelative; in CalculatePointerEvent() 643 windowY = windowHeight - offsetF.GetY() - yRelative; in CalculatePointerEvent() 647 windowY = xRelative - offsetF.GetY(); in CalculatePointerEvent() 653 windowY = NearZero(scale.y) ? windowY : windowY / scal in CalculatePointerEvent() 683 float windowY = yRelative; CalculateWindowCoordinate() local [all...] |
/foundation/multimodalinput/input/service/event_dispatch/include/ |
H A D | event_dispatch_handler.h | 42 bool operator()(const std::shared_ptr<WindowInfo> &windowX, const std::shared_ptr<WindowInfo> &windowY) in operator ()() argument 44 return windowX->id < windowY->id; in operator ()()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_xcomponent.cpp | 99 int32_t OH_NativeXComponent_GetTouchPointWindowY(OH_NativeXComponent* component, uint32_t pointIndex, float* windowY) in OH_NativeXComponent_GetTouchPointWindowY() argument 101 if ((component == nullptr) || (windowY == nullptr)) { in OH_NativeXComponent_GetTouchPointWindowY() 104 return component->GetWindowY(pointIndex, windowY); in OH_NativeXComponent_GetTouchPointWindowY()
|
H A D | native_interface_xcomponent.h | 464 * @param windowY Indicates the y coordinate relative to the upper left corner of the current\n 467 * {@link OH_NATIVEXCOMPONENT_RESULT_SUCCESS} get windowY success. 468 * {@link OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER} component is NULL, windowY is NULL\n 473 int32_t OH_NativeXComponent_GetTouchPointWindowY(OH_NativeXComponent* component, uint32_t pointIndex, float* windowY);
|
/foundation/arkui/ace_engine/interfaces/native/event/ |
H A D | ui_input_event.cpp | 521 return touchEvent->actionTouchPoint.windowY; in OH_ArkUI_PointerEvent_GetWindowY() 542 return mouseEvent->actionTouchPoint.windowY; in OH_ArkUI_PointerEvent_GetWindowY() 549 return axisEvent->actionTouchPoint.windowY; in OH_ArkUI_PointerEvent_GetWindowY() 569 return touchEvent->touchPointes[pointerIndex].windowY; in OH_ArkUI_PointerEvent_GetWindowYByIndex() 576 return mouseEvent->actionTouchPoint.windowY; in OH_ArkUI_PointerEvent_GetWindowYByIndex() 583 return axisEvent->actionTouchPoint.windowY; in OH_ArkUI_PointerEvent_GetWindowYByIndex() 997 return touchEvent->historyEvents[historyIndex].touchPointes[pointerIndex].windowY; in OH_ArkUI_PointerEvent_GetHistoryWindowY()
|
H A D | drag_and_drop_impl.cpp | 626 auto result = static_cast<float>(dragEvent->windowY); in OH_ArkUI_DragEvent_GetTouchPointYToWindow()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | native_interface_xcomponent_impl.h | 40 float windowY = 0.0f; member 270 return touchPoints_[pointIndex].windowY; in GetWindowY() 488 int32_t GetWindowY(size_t pointIndex, float* windowY);
|
H A D | native_interface_xcomponent_impl.cpp | 148 int32_t OH_NativeXComponent::GetWindowY(size_t pointIndex, float* windowY) in GetWindowY() argument 153 (*windowY) = xcomponentImpl_->GetWindowY(pointIndex); in GetWindowY()
|
/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 189 int32_t windowY = pointerItem.GetDisplayY() - windowInfo->area.y; in HandleMultiWindowPointerEvent() local 194 windowY = windowXY.second; in HandleMultiWindowPointerEvent() 197 pointerItem.SetWindowY(windowY); in HandleMultiWindowPointerEvent()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_compatible.h | 104 int32_t windowY; member
|
H A D | event_converter.cpp | 79 event.actionTouch.windowY = origin.actionTouchPoint.windowY; in ConvertToTouchEvent() 104 (*points)[index].windowY = touchPoints[index].windowY; in ConvertToTouchEvent()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_gesture_modifier.cpp | 215 points[i].windowY = fingureIterator == fingureEnd ? 0.0f : fingureIterator->globalLocation_.GetY(); in ConvertTouchPointsToPoints() 245 touchEvent.actionTouchPoint.windowY = touchEvent.touchPointes[0].windowY; in ConvertIMMEventToTouchEvent() 298 points[i].windowY = fingureIterator->globalLocation_.GetY(); 388 mouseEvent.actionTouchPoint.windowY = fingureBegin == fingureEnd ? 0.0f : fingureBegin->globalLocation_.GetY(); in ConvertIMMEventToMouseEvent() 410 axisEvent.actionTouchPoint.windowY = fingureBegin == fingureEnd ? 0.0f : fingureBegin->globalLocation_.GetY(); in ConvertIMMEventToAxisEvent()
|
H A D | node_drag_modifier.cpp | 57 event.dragEvent.windowY = info->GetY(); in SetDragEventProperty()
|
H A D | node_common_modifier.cpp | 6524 //windowY in SetOnClick() 6554 touchPoint.windowY = globalLocation.GetY() / density; in ConvertTouchLocationInfoToPoint() 6585 points[i].windowY = NearEqual(density, 0.0) ? 0.0f : in ConvertTouchPointsToPoints() 6675 allHistoryEvents[i].actionTouchPoint.windowY = in SetOnTouch() 6787 event.mouseEvent.actionTouchPoint.windowY = info.GetGlobalLocation().GetY() / density; in SetOnMouse()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_common_ffi.cpp | 99 clickInfo.windowY = globalOffset.GetY() / currtDensity; in AssambleCJClickInfo()
|
H A D | cj_common_ffi.h | 188 double windowY; member
|
H A D | cj_interactable_view_ffi.cpp | 89 result = result + ", windowY: " + std::to_string(windowY); in ToString()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 2045 auto windowY = static_cast<int32_t>(windowXY.second); in UpdateDisplayInfo() local 2058 (windowY >= item.y) && (windowY < displayMaxY)) { in UpdateDisplayInfo() 2716 auto windowY = logicalY - touchWindow->area.y; in UpdateDisplayInfo() local 2721 windowY = windowXY.second; in UpdateDisplayInfo() 2725 windowY = static_cast<int32_t>(windowY); in UpdateDisplayInfo() 2727 pointerItem.SetWindowY(windowY); in UpdateDisplayInfo() 2760 "displayX:%{public}d, displayY:%{public}d, windowX:%{public}d, windowY:%{public}d", in UpdateDisplayInfo() 2763 logicalX, logicalY, pointerItem.GetDisplayX(), pointerItem.GetDisplayY(), windowX, windowY); in UpdateDisplayInfo() 2965 auto windowY = logicalY - windowInfo.area.y; UpdateDisplayInfo() local 3282 auto windowY = logicalY - touchWindow->area.y; UpdateDisplayInfo() local [all...] |
/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 228 auto windowY = static_cast<int32_t>(windowXY.second); in TransformSampleWindowXY() local 229 return {windowX, windowY}; in TransformSampleWindowXY()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | drag_and_drop_test.cpp | 513 dragEvent.windowY = WINDOW_Y; in HWTEST_F()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 587 napi_get_named_property(env, touchObject, "windowY", &jsWindowY); in ConvertPointerItemFromJs() 611 double windowY; in ConvertPointerItemFromJs() local 612 if (!ConvertFromJsValue(env, jsWindowY, windowY)) { in ConvertPointerItemFromJs() 613 WLOGFE("[NAPI]Failed to convert parameter to windowY"); in ConvertPointerItemFromJs() 616 pointerItem.SetWindowY(std::round(windowY * vpr)); in ConvertPointerItemFromJs()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1278 auto windowY = globalY * windowScale; in OnItemDragEnd() local 1282 itemDragInfo.SetY(windowY); in OnItemDragEnd()
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_session.h | 534 WSError HandleEnterWinwdowArea(int32_t windowX, int32_t windowY);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_pattern.cpp | 1215 // set tiltX, tiltY, windowX, windowY, displayX, displayY and sourceToolType in SetTouchPoint() 1220 xcomponentTouchPoint.windowY = static_cast<float>(pointWindowOffset.GetY()); in SetTouchPoint()
|