/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/ |
H A D | select_overlay_manager.cpp | 262 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 D | select_overlay_manager.h | 73 …const TouchEvent& touchPoint, const NG::OffsetF& rootOffset, bool isMousePressAtSelectedNode = fal…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | mock_event_manager.cpp | 40 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 D | select_content_overlay_manager.h | 56 void HandleGlobalEvent(const TouchEvent& touchPoint, const NG::OffsetF& rootOffset);
|
H A D | select_content_overlay_manager.cpp | 825 …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 D | event_manager_test_ng_new.cpp | 380 NG::OffsetF rootOffset; variable 381 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset); 757 NG::OffsetF rootOffset; variable 758 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset);
|
H A D | event_manager_test_ng.cpp | 513 NG::OffsetF rootOffset; variable 514 eventManager->HandleGlobalEventNG(touchPoint, selectOverlayManager, rootOffset);
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_callback.cpp | 370 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 D | event_manager.h | 156 const NG::OffsetF& rootOffset);
|
H A D | event_manager.cpp | 477 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 D | image_pattern.cpp | 322 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 D | text_pattern.cpp | 2122 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 D | pipeline_context.cpp | 2511 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 D | rich_editor_pattern.cpp | 1737 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 D | text_field_pattern.cpp | 957 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()
|