Home
last modified time | relevance | path

Searched refs:TextBox (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dparagraph_manager.h38 struct TextBox { struct
41 TextBox() = default; argument
42 TextBox(RectF rect, TextDirection direction) : direction_(direction), rect_(rect) {} in TextBox() argument
92 std::vector<TextBox> GetRectsForRange(int32_t start, int32_t end,
H A Dparagraph_manager.cpp287 std::vector<ParagraphManager::TextBox> ParagraphManager::GetRectsForRange( in GetRectsForRange()
290 std::vector<TextBox> resultTextBoxes; in GetRectsForRange()
308 resultTextBoxes.emplace_back(TextBox(tempRects[i], tempTextDirections[i])); in GetRectsForRange()
H A Drich_editor_pattern.h688 std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end,
H A Drich_editor_pattern.cpp8063 std::vector<ParagraphManager::TextBox> RichEditorPattern::GetRectsForRange( in OnBackPressed()
8069 std::vector<ParagraphManager::TextBox> textBoxes = in OnBackPressed()
8072 std::vector<ParagraphManager::TextBox> adjustedTextBoxes; in OnBackPressed()
8074 ParagraphManager::TextBox adjustedTextBox = textBox; in OnBackPressed()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dparagraph.h68 struct TextBox { struct
69 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() function
165 virtual std::vector<TextBox> GetRectsForRange(size_t start, size_t end,
170 virtual std::vector<TextBox> GetRectsForPlaceholders() = 0;
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_properties.h72 struct TextBox { struct
75 TextBox() = default; argument
76 TextBox(TestingRect rect, TextDirection direction) : direction_(direction), rect_(rect) {} in TextBox() function
H A Dtesting_typography.h86 …virtual std::vector<TestingTypographyProperties::TextBox> GetRectsForRange(size_t /* start */, siz… in GetRectsForRange()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dparagraph_impl.cpp52 std::vector<TextBox> GetTxtTextBoxes(const std::vector<skt::TextBox>& skiaBoxes) in GetTxtTextBoxes()
54 std::vector<TextBox> boxes; in GetTxtTextBoxes()
55 for (const skt::TextBox& box : skiaBoxes) { in GetTxtTextBoxes()
233 std::vector<TextBox> ParagraphImpl::GetRectsForRange(size_t start, size_t end, in GetRectsForRange()
237 std::vector<skt::TextBox> boxes = in GetRectsForRange()
243 std::vector<TextBox> ParagraphImpl::GetRectsForPlaceholders() in GetRectsForPlaceholders()
H A Dparagraph_impl.h82 std::vector<TextBox> GetRectsForRange(size_t start, size_t end,
85 std::vector<TextBox> GetRectsForPlaceholders() override;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-text-common.md97 …rRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox>
117 | Array\<[TextBox](#textbox14)> | 矩形区域数组。|
677 ## TextBox<sup>14+</sup>
679 type TextBox = TextBox
689 | [TextBox](../../apis-arkgraphics2d/js-apis-graphics-text.md#textbox) | 文本矩形区域。 |
H A Dts-basic-components-text.md1690 let rectsForRangeInfo: text.TextBox[] =
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dlayout_info_interface.h49 virtual std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end, in GetRectsForRange()
H A Dtext_pattern.h652 std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end,
H A Dtext_pattern.cpp4107 std::vector<ParagraphManager::TextBox> TextPattern::GetRectsForRange( in GetRectsForRange()
4113 …std::vector<ParagraphManager::TextBox> textBoxes = pManager_->GetRectsForRange(start, end, heightS… in GetRectsForRange()
4116 std::vector<ParagraphManager::TextBox> adjustedTextBoxes; in GetRectsForRange()
4118 ParagraphManager::TextBox adjustedTextBox = textBox; in GetRectsForRange()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dconvert.h40 DEFINE_CONVERT_FUNC(SPText::TextBox, TextRect);
H A Dconvert.cpp42 TextRect Convert(const SPText::TextBox& box) in Convert()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_typography.cpp670 std::vector<TypographyProperties::TextBox>* originalVector = in OH_Drawing_TypographyGetRectsForRange()
671 new (std::nothrow) std::vector<TypographyProperties::TextBox>; in OH_Drawing_TypographyGetRectsForRange()
698 std::vector<TypographyProperties::TextBox>* originalVector = in OH_Drawing_TypographyGetRectsForPlaceholders()
699 new (std::nothrow) std::vector<TypographyProperties::TextBox>; in OH_Drawing_TypographyGetRectsForPlaceholders()
720 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetLeftFromTextBox()
743 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetRightFromTextBox()
766 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetTopFromTextBox()
789 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetBottomFromTextBox()
812 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetTextDirectionFromTextBox()
857 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetSizeOfTextBox()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dconvert_test.cpp75 const SPText::TextBox box(skRect, SPText::TextDirection::RTL);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-text-common.md97 …rRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox>
117 | Array\<[TextBox](#textbox14)> | Array holding the rectangles obtained.|
677 ## TextBox<sup>14+</sup>
679 type TextBox = TextBox
689 | [TextBox](../../apis-arkgraphics2d/js-apis-graphics-text.md#textbox) | Rectangle that holds the t…
H A Dts-basic-components-text.md1690 let rectsForRangeInfo: text.TextBox[] =
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-graphics-text.md873 …tsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox>
891 | Array\<[TextBox](#textbox)> | 矩形区域数组。|
902 getRectsForPlaceholders(): Array\<TextBox>
912 | Array\<[TextBox](#textbox)> | 矩形区域数组。|
1190 ## TextBox section
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_layout_manager.cpp125 std::vector<NG::ParagraphManager::TextBox> textBoxes = in GetRectsForRange()
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-graphics-text.md876 …tsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox>
894 | Array\<[TextBox](#textbox)> | Array holding the rectangles obtained.|
905 getRectsForPlaceholders(): Array\<TextBox>
915 | Array\<[TextBox](#textbox)> | Array holding the rectangles obtained.|
1193 ## TextBox section