/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 272 txt::Paragraph::RectHeightStyle ConvertTxtRectHeightStyle(RectHeightStyle heightStyle) in ConvertTxtRectHeightStyle() 275 case RectHeightStyle::TIGHT: in ConvertTxtRectHeightStyle() 277 case RectHeightStyle::MAX: in ConvertTxtRectHeightStyle() 279 case RectHeightStyle::INCLUDE_LINE_SPACE_MIDDLE: in ConvertTxtRectHeightStyle() 281 case RectHeightStyle::INCLUDE_LINE_SPACE_TOP: in ConvertTxtRectHeightStyle() 283 case RectHeightStyle::INCLUDE_LINE_SPACE_BOTTOM: in ConvertTxtRectHeightStyle() 285 case RectHeightStyle::STRUT: in ConvertTxtRectHeightStyle() 295 case RectHeightStyle::TIGHT: in ConvertTxtRectHeightStyle() 297 case RectHeightStyle::MAX: in ConvertTxtRectHeightStyle() 301 case RectHeightStyle::INCLUDE_LINE_SPACE_TOP: in ConvertTxtRectHeightStyle() [all …]
|
H A D | constants_converter.h | 38 enum class RectHeightStyle; variable 88 txt::Paragraph::RectHeightStyle ConvertTxtRectHeightStyle(RectHeightStyle heightStyle); 119 OHOS::Rosen::TextRectHeightStyle ConvertTxtRectHeightStyle(RectHeightStyle heightStyle);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_layout_manager.h | 72 RectHeightStyle ParseRectHeightStyle(const JsiValue& heightStyleVal) in ParseRectHeightStyle() 77 return static_cast<RectHeightStyle>(heightStyleInt); in ParseRectHeightStyle() 80 return RectHeightStyle::TIGHT; in ParseRectHeightStyle()
|
H A D | js_layout_manager.cpp | 124 RectHeightStyle heightStyle = ParseRectHeightStyle(heightStyleVal.Get()); in GetRectsForRange()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-text-common.md | 97 getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array… 111 | heightStyle | [RectHeightStyle](#rectheightstyle14) | 是 | 返回的矩形区域的高度的规格。| 691 ## RectHeightStyle<sup>14+</sup> 693 type RectHeightStyle = RectHeightStyle 703 | [RectHeightStyle](../../apis-arkgraphics2d/js-apis-graphics-text.md#rectheightstyle) | 矩形区域高度规格枚举…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 88 SPText::RectHeightStyle rectHeightStyle = AdapterTxt::Convert(textRectHeightStyle); 89 EXPECT_EQ(rectHeightStyle == SPText::RectHeightStyle::TIGHT, true);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | txt_paragraph.cpp | 301 index, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in GetCharacterWidth() 431 index, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in AdjustIndexForward() 496 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 508 … 0, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 518 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretUpstream() 605 … extent, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in ComputeOffsetForCaretDownstream() 674 ? txt::Paragraph::RectHeightStyle::kTight in GetRectsForRangeInner() 675 : txt::Paragraph::RectHeightStyle::kMax; in GetRectsForRangeInner() 695 RectHeightStyle heightStyle, RectWidthStyle widthStyle, in TxtGetRectsForRange() 883 auto boxes = paragrah->GetRectsForRange(0, 1, txt::Paragraph::RectHeightStyle::kMax, in HandleCaretWhenEmpty()
|
H A D | txt_paragraph.h | 152 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_manager.cpp | 97 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 157 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 168 … 0, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 177 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 241 … extent, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 459 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph.h | 47 enum class RectHeightStyle { enum 166 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | layout_info_interface.h | 50 RectHeightStyle heightStyle, RectWidthStyle widthStyle) in GetRectsForRange()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | convert.h | 44 DEFINE_CONVERT_FUNC(TextRectHeightStyle, SPText::RectHeightStyle);
|
H A D | convert.cpp | 48 SPText::RectHeightStyle Convert(const TextRectHeightStyle& style) in Convert() 50 return static_cast<SPText::RectHeightStyle>(style); in Convert()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography.h | 87 TestingTypographyProperties::RectHeightStyle /* height */, in GetRectsForRange() argument
|
H A D | testing_typography_properties.h | 51 enum class RectHeightStyle { enum
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | paragraph_manager.h | 93 RectHeightStyle heightStyle, RectWidthStyle widthStyle);
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_paragraph.h | 70 …void TxtGetRectsForRange(int32_t start, int32_t end, RectHeightStyle heightStyle, RectWidthStyle w… in TxtGetRectsForRange()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-text-common.md | 97 getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array… 111 | heightStyle | [RectHeightStyle](#rectheightstyle14) | Yes | Height of the rectangle.| 691 ## RectHeightStyle<sup>14+</sup> 693 type RectHeightStyle = RectHeightStyle 703 | [RectHeightStyle](../../apis-arkgraphics2d/js-apis-graphics-text.md#rectheightstyle) | Rectangle …
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_impl.h | 83 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) override;
|
H A D | paragraph_impl.cpp | 234 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) in GetRectsForRange() 238 paragraph_->getRectsForRange(start, end, static_cast<skt::RectHeightStyle>(rectHeightStyle), in GetRectsForRange()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | rosen_render_text_field.cpp | 223 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); in PaintSelectCaret() 341 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 1284 txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 1344 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 1355 … 0, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 1364 … prev, extent, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight); 1427 … extent, next, txt::Paragraph::RectHeightStyle::kMax, txt::Paragraph::RectWidthStyle::kTight);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 873 getRectsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<Te… 885 | heightStyle | [RectHeightStyle](#rectheightstyle) | 是 | 返回的矩形区域的高度的规格。| 897 let rects = paragraph.getRectsForRange(range, text.RectWidthStyle.TIGHT, text.RectHeightStyle.TIGHT… 1223 ## RectHeightStyle section
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | paragraph.h | 277 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | paragraph_test.cpp | 107 …EXPECT_EQ(paragraph_->GetRectsForRange(0, text_.size(), RectHeightStyle::MAX, RectWidthStyle::TIGH…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | constants.h | 47 enum class RectHeightStyle { enum
|