Searched refs:isSelectionPos (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | paragraph_manager.h | 79 int32_t GetGlyphIndexByCoordinate(Offset offset, bool isSelectionPos = false) const;
|
H A D | paragraph_manager.cpp | 162 int32_t ParagraphManager::GetGlyphIndexByCoordinate(Offset offset, bool isSelectionPos) const in GetGlyphIndexByCoordinate() 168 return info.paragraph->GetGlyphIndexByCoordinate(offset, isSelectionPos) + info.start; in GetGlyphIndexByCoordinate()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_paragraph.h | 57 MOCK_METHOD2(GetGlyphIndexByCoordinate, int32_t(const Offset& offset, bool isSelectionPos));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_select_controller.h | 184 int32_t ConvertTouchOffsetToPosition(const Offset& localOffset, bool isSelectionPos = false);
|
H A D | text_select_controller.cpp | 186 … TextSelectController::ConvertTouchOffsetToPosition(const Offset& localOffset, bool isSelectionPos) in ConvertTouchOffsetToPosition() argument 198 return paragraph_->GetGlyphIndexByCoordinate(offset, isSelectionPos); in ConvertTouchOffsetToPosition()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | txt_paragraph.h | 125 int32_t GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos = false) override;
|
H A D | txt_paragraph.cpp | 374 int32_t TxtParagraph::GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos) in GetGlyphIndexByCoordinate() argument 386 if (isSelectionPos) { in GetGlyphIndexByCoordinate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | paragraph.h | 244 … virtual int32_t GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos = false) = 0;
|