Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/
H A Dselect_overlay_manager.cpp271 const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode) in HandleGlobalEvent()
274 selectContentManager_->HandleGlobalEvent(touchPoint, rootOffset); in HandleGlobalEvent()
278 NG::PointF point { touchPoint.x - rootOffset.GetX(), touchPoint.y - rootOffset.GetY() }; in HandleGlobalEvent()
290 point.SetX(lastTouchDownPoint.x - rootOffset.GetX()); in HandleGlobalEvent()
291 point.SetY(lastTouchDownPoint.y - rootOffset.GetY()); in HandleGlobalEvent()
270 HandleGlobalEvent( const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode) HandleGlobalEvent() argument
H A Dselect_overlay_manager.h73 const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode = false);
/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.cpp851 void SelectContentOverlayManager::HandleGlobalEvent(const TouchEvent& touchEvent, const NG::OffsetF& rootOffset) in HandleGlobalEvent() argument
853 NG::PointF point { touchEvent.x - rootOffset.GetX(), touchEvent.y - rootOffset.GetY() }; in HandleGlobalEvent()
/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()
39 HandleGlobalEventNG(const TouchEvent& touchPoint, const RefPtr<NG::SelectOverlayManager>& selectOverlayManager, const NG::OffsetF& rootOffset) HandleGlobalEventNG() argument
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_mgr.cpp412 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetPaintRectGlobalOffset() local
414 return textPaintOffset - rootOffset; in GetPaintRectGlobalOffset()
/foundation/arkui/ace_engine/test/unittest/core/event/
H A Devent_manager_test_ng_new.cpp384 NG::OffsetF rootOffset; in HWTEST_F() local
385 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset); in HWTEST_F()
1140 NG::OffsetF rootOffset; in HWTEST_F() local
1141 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset); in HWTEST_F()
H A Devent_manager_test_ng.cpp355 NG::OffsetF rootOffset; in HWTEST_F() local
356 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/common/
H A Devent_manager.h156 const NG::OffsetF& rootOffset);
H A Devent_manager.cpp499 const RefPtr<NG::SelectOverlayManager>& selectOverlayManager, const NG::OffsetF& rootOffset) in HandleGlobalEventNG()
518 selectOverlayManager->HandleGlobalEvent(touchPoint, rootOffset, isMousePressAtSelectedNode); in HandleGlobalEventNG()
498 HandleGlobalEventNG(const TouchEvent& touchPoint, const RefPtr<NG::SelectOverlayManager>& selectOverlayManager, const NG::OffsetF& rootOffset) HandleGlobalEventNG() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp2373 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetParentGlobalOffset() local
2374 return host->GetPaintRectOffset() - rootOffset; in GetParentGlobalOffset()
3102 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetGlobalOffset() local
3103 auto globalOffset = host->GetPaintRectOffset() - rootOffset; in GetGlobalOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp285 auto rootOffset = pipeline->GetRootRect().GetOffset();
286 return host->GetPaintRectOffset() - rootOffset;
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp2769 auto rootOffset = GetRootRect().GetOffset(); in OnTouchEvent() local
2770 eventManager_->HandleGlobalEventNG(scalePoint, selectOverlayManager_, rootOffset); in OnTouchEvent()
3506 auto rootOffset = GetRootRect().GetOffset(); in DispatchMouseEvent() local
3507 eventManager_->HandleGlobalEventNG(scalePoint, selectOverlayManager_, rootOffset); in DispatchMouseEvent()
3914 auto rootOffset = GetRootRect().GetOffset(); in OnMouseMoveEventForAxisEvent() local
3915 eventManager_->HandleGlobalEventNG(scalePoint, selectOverlayManager_, rootOffset); in OnMouseMoveEventForAxisEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1719 auto rootOffset = pipeline->GetRootRect().GetOffset();
1726 return textPaintOffset - rootOffset;
1754 auto caretOffset = startOffset + textPaintOffset + rootOffset;
7603 auto rootOffset = pipeline->GetRootRect().GetOffset();
7608 return richEditorPaintOffset - rootOffset;
10054 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetPaintRectGlobalOffset() local
10056 return textPaintOffset - rootOffset; in GetPaintRectGlobalOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp933 auto rootOffset = pipeline->GetRootRect().GetOffset(); in GetGlobalOffset() local
934 auto globalOffset = host->GetPaintRectOffset() - rootOffset; in GetGlobalOffset()
7311 auto rootOffset = pipeline->GetRootRect().GetOffset(); in OnBackPressed() local
7314 return textPaintOffset - rootOffset; in OnBackPressed()

Completed in 56 milliseconds