Home
last modified time | relevance | path

Searched refs:GetScreenLocation (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_proxy.cpp43 … Point(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY(), info.GetScreenLocation().GetX(), in OnDragStart()
44 info.GetScreenLocation().GetY()); in OnDragStart()
46 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()); in OnDragStart()
62 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()), extraInfo); in OnDragMove()
78 info.GetScreenLocation().GetX(), info.GetScreenLocation().GetY()), extraInfo); in OnDragEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_click_function.cpp39 Offset screenOffset = info.GetScreenLocation(); in Execute()
73 Offset screenOffset = info.GetScreenLocation(); in Execute()
110 Offset screenOffset = info.GetScreenLocation(); in Execute()
156 Offset screenOffset = info.GetScreenLocation(); in Execute()
190 Offset screenOffset = info.GetScreenLocation(); in Execute()
225 Offset screenOffset = info.GetScreenLocation(); in Execute()
H A Djs_hover_function.cpp68 const OHOS::Ace::Offset& screenLocation = hoverInfo.GetScreenLocation(); in AccessibilityHoverExecute()
H A Djs_touch_function.cpp32 const OHOS::Ace::Offset& screenLocation = touchInfo.GetScreenLocation(); in CreateTouchInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/
H A Dcontainer_modal_view_enhance.cpp277 …auto menuPosX = info.GetScreenLocation().GetX() - info.GetLocalLocation().GetX() - MENU_FLOAT_X.Co… in BondingMaxBtnGestureEvent()
278 …auto menuPosY = info.GetScreenLocation().GetY() - info.GetLocalLocation().GetY() + MENU_FLOAT_Y.Co… in BondingMaxBtnGestureEvent()
295 …rbidMenuEvent_ = info.GetButton() == MouseButton::LEFT_BUTTON || info.GetScreenLocation().IsZero(); in BondingMaxBtnInputEvent()
296 …if (!sIsMenuPending_ && info.GetAction() == MouseAction::MOVE && !info.GetScreenLocation().IsZero(… in BondingMaxBtnInputEvent()
298 … info.GetScreenLocation().GetX() - info.GetLocalLocation().GetX() - MENU_FLOAT_X.ConvertToPx(); in BondingMaxBtnInputEvent()
300 … info.GetScreenLocation().GetY() - info.GetLocalLocation().GetY() + MENU_FLOAT_Y.ConvertToPx(); in BondingMaxBtnInputEvent()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_extra_input_data.cpp67 const auto& screenLocation = point.GetScreenLocation(); in InsertInterpolatePoints()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/container_modal/
H A Dcontainer_modal_view_enhance_test_ng.cpp662 …auto menuPosX = info.GetScreenLocation().GetX() - info.GetLocalLocation().GetX() - MENU_FLOAT_X.Co…
663 …auto menuPosY = info.GetScreenLocation().GetY() - info.GetLocalLocation().GetY() + MENU_FLOAT_Y.Co…
682 …auto menuPosX = info.GetScreenLocation().GetX() - info.GetLocalLocation().GetX() - MENU_FLOAT_X.Co…
683 …auto menuPosY = info.GetScreenLocation().GetY() - info.GetLocalLocation().GetY() + MENU_FLOAT_Y.Co…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_common_ffi.cpp96 Offset screenOffset = event.GetScreenLocation(); in AssambleCJClickInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/
H A Dmouse_event.h318 const Offset& GetScreenLocation() const in GetScreenLocation() function
389 const Offset& GetScreenLocation() const in GetScreenLocation() function
H A Dtouch_event.h609 const Offset& GetScreenLocation() const in GetScreenLocation() function
999 … touchEvent.screenX = static_cast<float>(changedTouches_.front().GetScreenLocation().GetX()); in ConvertToTouchEvent()
1000 … touchEvent.screenY = static_cast<float>(changedTouches_.front().GetScreenLocation().GetY()); in ConvertToTouchEvent()
H A Daxis_event.h290 const Offset& GetScreenLocation() const in GetScreenLocation() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_types.cpp96 const OHOS::Ace::Offset& screenLocation = point.GetScreenLocation(); in JsGetHistoricalPoints()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.cpp819 event->SetScreenX(info.GetScreenLocation().GetX()); in HandleOnDragStart()
820 event->SetScreenY(info.GetScreenLocation().GetY()); in HandleOnDragStart()
821 event->SetDisplayX(info.GetScreenLocation().GetX()); in HandleOnDragStart()
822 event->SetDisplayY(info.GetScreenLocation().GetY()); in HandleOnDragStart()
1139 …nt32_t>(info.GetSourceDevice()), recordsSize, info.GetPointerId(), info.GetScreenLocation().GetX(), in OnDragStart()
1140 … info.GetScreenLocation().GetY(), info.GetTargetDisplayId(), windowId, true, false, summary }; in OnDragStart()
1310 event->SetScreenX(info.GetScreenLocation().GetX()); in HandleOnDragEnd()
1311 event->SetScreenY(info.GetScreenLocation().GetY()); in HandleOnDragEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dgesture_event.h102 const Offset& GetScreenLocation() const in GetScreenLocation() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1128 mouseEventPoint.screenX = static_cast<float>(info.GetScreenLocation().GetX()); in HandleMouseEvent()
1129 mouseEventPoint.screenY = static_cast<float>(info.GetScreenLocation().GetY()); in HandleMouseEvent()
1222 const auto& pointDisplayOffset = pointTouchInfo.GetScreenLocation(); in SetTouchPoint()
1271 point.screenX = item.GetScreenLocation().GetX(); in SetHistoryPoint()
1272 point.screenY = item.GetScreenLocation().GetY(); in SetHistoryPoint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_abstract_model_impl.cpp1577 showMenu("", info.GetScreenLocation()); in BindContextMenu()
1593 showMenu("", info.GetScreenLocation()); in BindContextMenu()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer_listener.cpp562 Offset screenOffset = clickInfo.GetScreenLocation(); in AddClickEventInfoOne()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_pattern.cpp190 lastTouchLocation_ = event.GetTouches().front().GetScreenLocation(); in HandleTouchDownEvent()
205 auto distance = event.GetTouches().front().GetScreenLocation() - lastTouchLocation_; in HandleTouchUpEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_frame_node_bridge.cpp106 const Offset& screenOffset = touchInfo.GetScreenLocation(); in CreateTouchInfo()
491 const Offset& screenOffset = info.GetScreenLocation(); in CreateGestureEventInfo()
882 const Offset& screenOffset = info.GetScreenLocation(); in CreateMouseInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp6568 Offset screenOffset = info.GetScreenLocation(); in SetOnClick()
6693 const OHOS::Ace::Offset& screenLocation = locationInfo.GetScreenLocation(); in ConvertTouchLocationInfoToPoint()
6733 historyLoaction.GetScreenLocation().GetX() / density; in ConvertTouchPointsToPoints()
6735 historyLoaction.GetScreenLocation().GetY() / density; in ConvertTouchPointsToPoints()
6933 event.mouseEvent.actionTouchPoint.screenX = info.GetScreenLocation().GetX() / density; in SetOnMouse()
6934 event.mouseEvent.actionTouchPoint.screenY = info.GetScreenLocation().GetY() / density; in SetOnMouse()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp6481 info.SetScreenLocation(changedInfo.GetScreenLocation()); in SetTouchLocationInfo()
6486 const OHOS::Ace::Offset& screenLocation = location.GetScreenLocation(); in SetTouchLocationInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web.cpp4712 const OHOS::Ace::Offset& screenLocation = touchInfo.GetScreenLocation(); in CreateTouchInfo()