Home
last modified time | relevance | path

Searched refs:rootOffset (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/
H A Dselect_overlay_manager.cpp262 const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode) in HandleGlobalEvent() argument
265 selectContentManager_->HandleGlobalEvent(touchPoint, rootOffset); in HandleGlobalEvent()
269 NG::PointF point { touchPoint.x - rootOffset.GetX(), touchPoint.y - rootOffset.GetY() }; in HandleGlobalEvent()
281 point.SetX(lastTouchDownPoint.x - rootOffset.GetX()); in HandleGlobalEvent()
282 point.SetY(lastTouchDownPoint.y - rootOffset.GetY()); in HandleGlobalEvent()
H A Dselect_overlay_manager.h73 …const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode = fal…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dmock_event_manager.cpp40 const RefPtr<NG::SelectOverlayManager>& selectOverlayManager, const NG::OffsetF& rootOffset) in HandleGlobalEventNG() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/
H A Dselect_content_overlay_manager.h56 void HandleGlobalEvent(const TouchEvent& touchPoint, const NG::OffsetF& rootOffset);
H A Dselect_content_overlay_manager.cpp825 …ntentOverlayManager::HandleGlobalEvent(const TouchEvent& touchEvent, const NG::OffsetF& rootOffset) in HandleGlobalEvent() argument
827 NG::PointF point { touchEvent.x - rootOffset.GetX(), touchEvent.y - rootOffset.GetY() }; in HandleGlobalEvent()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Devent_manager_test_ng_new.cpp380 NG::OffsetF rootOffset; variable
381 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset);
757 NG::OffsetF rootOffset; variable
758 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset);
H A Devent_manager_test_ng.cpp513 NG::OffsetF rootOffset; variable
514 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset);
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_callback.cpp370 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetPaintRectGlobalOffset() local
372 return textPaintOffset - rootOffset; in GetPaintRectGlobalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Devent_manager.h156 const NG::OffsetF& rootOffset);
H A Devent_manager.cpp477 const RefPtr<NG::SelectOverlayManager>& selectOverlayManager, const NG::OffsetF& rootOffset) in HandleGlobalEventNG() argument
496 selectOverlayManager->HandleGlobalEvent(touchPoint, rootOffset, isMousePressAtSelectedNode); in HandleGlobalEventNG()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp322 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetParentGlobalOffset() local
323 return host->GetPaintRectOffset() - rootOffset; in GetParentGlobalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp2122 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetParentGlobalOffset() local
2123 return host->GetPaintRectOffset() - rootOffset; in GetParentGlobalOffset()
2856 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetGlobalOffset() local
2857 auto globalOffset = host->GetPaintRectOffset() - rootOffset; in GetGlobalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp2511 auto rootOffset = GetRootRect().GetOffset(); in OnTouchEvent() local
2512 eventManager_->HandleGlobalEventNG(scalePoint, selectOverlayManager_, rootOffset); in OnTouchEvent()
3118 auto rootOffset = GetRootRect().GetOffset(); in OnMouseEvent() local
3119 eventManager_->HandleGlobalEventNG(scalePoint, selectOverlayManager_, rootOffset); in OnMouseEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1737 auto rootOffset = pipeline->GetRootRect().GetOffset(); in CalcCursorOffsetByPosition() local
1744 return textPaintOffset - rootOffset; in CalcCursorOffsetByPosition()
1772 auto caretOffset = startOffset + textPaintOffset + rootOffset; in CalcCursorOffsetByPosition()
7578 auto rootOffset = pipeline->GetRootRect().GetOffset(); in OnBackPressed() local
7583 return richEditorPaintOffset - rootOffset; in OnBackPressed()
10034 auto rootOffset = pipeline->GetRootRect().GetOffset(); in OnBackPressed() local
10036 return textPaintOffset - rootOffset; in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp957 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetGlobalOffset() local
958 auto globalOffset = host->GetPaintRectOffset() - rootOffset; in GetGlobalOffset()
7401 auto rootOffset = pipeline->GetRootRect().GetOffset(); in OnBackPressed() local
7404 return textPaintOffset - rootOffset; in OnBackPressed()