/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | paragraph_manager_test_ng.cpp | 63 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 D | text_testthree_ng.cpp | 914 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 D | typography.h | 199 virtual IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) const = 0;
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography.h | 105 …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 D | paragraph_manager.cpp | 119 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 D | paragraph_manager.h | 79 int32_t GetGlyphIndexByCoordinate(Offset offset, bool isSelectionPos = false) const;
|
/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/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.h | 58 IndexAndAffinity GetGlyphIndexByCoordinate(double x, double y) override;
|
H A D | typography.cpp | 231 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 D | typography.h | 145 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 D | typography_test.cpp | 150 typography->GetGlyphIndexByCoordinate(1.0, 2.0);
|
/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() 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 D | rich_editor_base_testone_ng.cpp | 827 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 D | rich_editor_common_test_ng.cpp | 80 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(offset, _)).WillRepeatedly(Return(index)); in AddParagraph()
|
H A D | rich_editor_keyboard_shortcut_test_ng.cpp | 186 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6)); 578 EXPECT_CALL(*paragraph, GetGlyphIndexByCoordinate(_, _)).WillRepeatedly(Return(6));
|
H A D | rich_editor_pattern_testone_ng.cpp | 130 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 D | text_area_test.cpp | 699 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 D | text_overlay_manager.cpp | 364 … 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 D | paragraph.h | 244 … virtual int32_t GetGlyphIndexByCoordinate(const Offset& offset, bool isSelectionPos = false) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | rosen_render_text.cpp | 399 …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 D | rosen_render_text_field.cpp | 1581 ->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 D | js_paragraph.cpp | 460 IndexAndAffinity positionWithAffinity = paragraph_->GetGlyphIndexByCoordinate(dx, dy); in OnGetGlyphPositionAtCoordinate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_select_controller.cpp | 198 return paragraph_->GetGlyphIndexByCoordinate(offset, isSelectionPos); in ConvertTouchOffsetToPosition()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.cpp | 185 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()
|