Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dparagraph_manager_test_ng.cpp63 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(4)); in ConstructParagraphs()
94 auto result = pManager->GetGlyphIndexByCoordinate(offset);
102 result = pManager->GetGlyphIndexByCoordinate(offset);
110 result = pManager->GetGlyphIndexByCoordinate(offset);
118 result = pManager->GetGlyphIndexByCoordinate(offset);
H A Dtext_testthree_ng.cpp914 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(0));
965 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(2));
1023 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(2));
1081 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(10));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
H A Dtypography.h199 virtual IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) const = 0;
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography.h105 …virtual TestingTypographyProperties::IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) in GetGlyphIndexByCoordinate() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dparagraph_manager.cpp119 return info.paragraph->GetGlyphIndexByCoordinate(offset) + info.start; in GetIndex()
162 int32_t ParagraphManager::GetGlyphIndexByCoordinate(Offset offset, bool isSelectionPos) const in GetGlyphIndexByCoordinate() function in OHOS::Ace::NG::ParagraphManager
168 return info.paragraph->GetGlyphIndexByCoordinate(offset, isSelectionPos) + info.start; in GetGlyphIndexByCoordinate()
H A Dparagraph_manager.h79 int32_t GetGlyphIndexByCoordinate(Offset offset, bool isSelectionPos = false) const;
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_paragraph.h57 MOCK_METHOD2(GetGlyphIndexByCoordinate, int32_t(const Offset& offset, bool isSelectionPos));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.h58 IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) override;
H A Dtypography.cpp231 IndexAndAffinity Typography::GetGlyphIndexByCoordinate(double x, double y) in GetGlyphIndexByCoordinate() function in OHOS::Rosen::AdapterTxt::Typography
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography.h145 virtual IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dtypography_test.cpp150 typography->GetGlyphIndexByCoordinate(1.0, 2.0);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dtxt_paragraph.h125 int32_t GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos = false) override;
H A Dtxt_paragraph.cpp374 int32_t TxtParagraph::GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos) in GetGlyphIndexByCoordinate() function in OHOS::Ace::NG::TxtParagraph
384 …index = static_cast<int32_t>(paragrah->GetGlyphIndexByCoordinate(offset.GetX(), offset.GetY()).ind… in GetGlyphIndexByCoordinate()
402 auto result = paragrah->GetGlyphIndexByCoordinate(offset.GetX(), offset.GetY()); in GetGlyphPositionAtCoordinate()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_base_testone_ng.cpp827 int32_t glyphIndex = richEditorPattern->paragraphs_.GetGlyphIndexByCoordinate(offset, clamp);
1302 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
1336 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
1407 …int32_t glyphIndex = richEditorPattern->paragraphs_.GetGlyphIndexByCoordinate(Offset(0.0, 1000.00)…
H A Drich_editor_common_test_ng.cpp80 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(offset, _)).WillRepeatedly(Return(index)); in AddParagraph()
H A Drich_editor_keyboard_shortcut_test_ng.cpp186 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
578 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
H A Drich_editor_pattern_testone_ng.cpp130 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
1306 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_area_test.cpp699 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(2));
748 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(8));
801 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(2));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp364 … paragraph_->GetGlyphIndexByCoordinate(rightBoundary - cursorWidth_, clickOffset_.GetY()).index);
373 …return static_cast<int32_t>(paragraph_->GetGlyphIndexByCoordinate(clickOffset_.GetX(), clickOffset…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dparagraph.h244 … virtual int32_t GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos = false) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp399 …return static_cast<int32_t>(paragraph_->GetGlyphIndexByCoordinate(offset.GetX(), offset.GetY()).in… in GetTouchPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp1581 ->GetGlyphIndexByCoordinate(
1599 ->GetGlyphIndexByCoordinate(
1622 …return static_cast<int32_t>(paragraph_->GetGlyphIndexByCoordinate(clickOffset_.GetX(), clickOffset…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/
H A Djs_paragraph.cpp460 IndexAndAffinity positionWithAffinity = paragraph_->GetGlyphIndexByCoordinate(dx, dy); in OnGetGlyphPositionAtCoordinate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_select_controller.cpp198 return paragraph_->GetGlyphIndexByCoordinate(offset, isSelectionPos); in ConvertTouchOffsetToPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp185 int32_t extend = pManager_->GetGlyphIndexByCoordinate(pos, true); in InitSelection()
1295 auto start = pManager_->GetGlyphIndexByCoordinate(textOffset); in HandleMouseLeftPressAction()
1357 auto end = pManager_->GetGlyphIndexByCoordinate(textOffset); in HandleMouseLeftMoveAction()
3446 return pManager_->GetGlyphIndexByCoordinate(offset); in GetHandleIndex()

12