Home
last modified time | relevance | path

Searched refs:GetTextContentRect (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/window/
H A Ddrag_window_ohos.cpp581 …textPattern->GetTextContentRect().Width(), textPattern->GetStartOffset().GetY() - globalOffset.Get… in DrawTextNG()
583 …textPattern->GetTextContentRect().Width(), textPattern->GetEndOffset().GetY() - globalOffset.GetY(… in DrawTextNG()
588 path.lineTo(textPattern->GetTextContentRect().GetX(), in DrawTextNG()
590 path.lineTo(textPattern->GetTextContentRect().GetX(), in DrawTextNG()
601 paragraph->Paint(skia, textPattern->GetTextContentRect().GetX(), in DrawTextNG()
602 … textPattern->GetTextContentRect().GetY() - std::min(textPattern->GetBaselineOffset(), 0.0f)); in DrawTextNG()
622 …textPattern->GetTextContentRect().Width(), textPattern->GetEndOffset().GetY() - globalOffset.GetY(… in DrawTextNG()
627 path.LineTo(textPattern->GetTextContentRect().GetX(), in DrawTextNG()
629 path.LineTo(textPattern->GetTextContentRect().GetX(), in DrawTextNG()
639 paragraph->Paint(*recordingCanvas, textPattern->GetTextContentRect().GetX(), in DrawTextNG()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_text_editable_controller.cpp30 "getTextContentRect", &JSTextEditableController::GetTextContentRect); in JSBind()
132 void JSTextEditableController::GetTextContentRect(const JSCallbackInfo& info) in GetTextContentRect() function in OHOS::Ace::Framework::JSTextEditableController
136 auto rectObj = CreateRectangle(controller->GetTextContentRect()); in GetTextContentRect()
H A Djs_text_editable_controller.h38 void GetTextContentRect(const JSCallbackInfo& info);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_select_overlay.cpp109 auto contentRect = textPattern->GetTextContentRect(); in CheckAndAdjustHandle()
118 auto contentRect = textPattern->GetTextContentRect(); in CheckAndAdjustHandle()
160 auto contentRect = textPattern->GetTextContentRect(); in CheckHandleVisible()
183 auto contentRect = textPattern->GetTextContentRect(); in OnHandleMove()
277 auto contentRect = pattern->GetTextContentRect(); in GetSelectArea()
H A Dtext_paint_method.cpp131 auto contentRect = textPattern->GetTextContentRect(); in UpdateOverlayModifier()
H A Dtext_pattern.h196 RectF GetTextContentRect(bool isActualText = false) const override;
H A Dtext_pattern.cpp1217 auto contentRect = textPattern->GetTextContentRect(); in InitClickEvent()
4047 RectF TextPattern::GetTextContentRect(bool isActualText) const in GetTextContentRect() function in OHOS::Ace::NG::TextPattern
4245 …offset - deltaOffset - GetTextContentRect().GetOffset() + OffsetF(0.0f, std::min(GetBaselineOffset… in GetTouchIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_controller.h46 Rect GetTextContentRect() override;
H A Dtext_field_controller.cpp84 Rect TextFieldController::GetTextContentRect() in GetTextContentRect() function in OHOS::Ace::NG::TextFieldController
H A Dtext_field_model.h180 virtual Rect GetTextContentRect() in GetTextContentRect() function
H A Dtext_field_select_overlay.cpp184 auto contentHeight = pattern->GetTextContentRect().Height(); in GetSecondHandleLocalPaintRect()
H A Dtext_field_pattern.h769 RectF GetTextContentRect(bool isActualText = false) const override
H A Dtext_field_pattern.cpp6977 auto offset = pattern->GetTextContentRect().Height(); in OnBackPressed()
6996 auto offset = pattern->GetTextContentRect().Height(); in OnBackPressed()
6997 …at scrollDistance = std::abs(pattern->GetTextRect().GetY() - pattern->GetTextContentRect().GetY()); in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_base.h40 virtual RectF GetTextContentRect(bool isActualText = false) const = 0;
H A Dtext_drag_pattern.cpp104 … pattern->IsTextArea() ? pattern->GetTextRect().GetY() : pattern->GetTextContentRect().GetY()}; in CalculateTextDragData()
105 auto contentRect = pattern->GetTextContentRect(true); in CalculateTextDragData()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_content_modifier.cpp46 auto contentRect = richEditorPattern->GetTextContentRect(); in onDraw()
H A Drich_editor_paint_method.cpp64 auto contentRect = richEditorPattern->GetTextContentRect(); in UpdateOverlayModifier()
H A Drich_editor_overlay_modifier.cpp224 auto contentRect = richEditorPattern->GetTextContentRect(); in onDraw()
H A Drich_editor_select_overlay.cpp91 auto contentRect = pattern->GetTextContentRect(); in CheckHandleVisible()
H A Drich_editor_pattern.h888 RectF GetTextContentRect(bool isActualText = false) const override
H A Drich_editor_pattern.cpp3334 auto contentRect = GetTextContentRect(); in CalculateCaretOffsetAndHeight()
8354 auto contentRect = GetTextContentRect(); in OnBackPressed()
8384 auto contentRect = GetTextContentRect(); in OnBackPressed()
8394 auto contentRect = GetTextContentRect(); in OnBackPressed()
8515 auto contentRect = GetTextContentRect(); in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_callback.cpp334 auto textContentRect = textDragBase->GetTextContentRect(); in GetGlyphPositionByGlobalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_pattern.cpp622 auto rect = search->searchController_->GetTextContentRect(); in InitSearchController()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_text_input_modifier.cpp260 auto rect = textFieldController->GetTextContentRect(); in GetTextInputContentRect()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_test_ng.cpp3491 auto textRect = pattern->GetTextContentRect(true);