/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.h | 39 enum class RectWidthStyle; variable 90 txt::Paragraph::RectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle); 121 OHOS::Rosen::TextRectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle);
|
H A D | constants_converter.cpp | 314 txt::Paragraph::RectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle) in ConvertTxtRectWidthStyle() 317 case RectWidthStyle::TIGHT: in ConvertTxtRectWidthStyle() 318 return txt::Paragraph::RectWidthStyle::kTight; in ConvertTxtRectWidthStyle() 319 case RectWidthStyle::MAX: in ConvertTxtRectWidthStyle() 320 return txt::Paragraph::RectWidthStyle::kMax; in ConvertTxtRectWidthStyle() 322 return txt::Paragraph::RectWidthStyle::kTight; in ConvertTxtRectWidthStyle() 326 Rosen::TextRectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle) in ConvertTxtRectWidthStyle() 329 case RectWidthStyle::TIGHT: in ConvertTxtRectWidthStyle() 331 case RectWidthStyle::MAX: in ConvertTxtRectWidthStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_layout_manager.h | 61 RectWidthStyle ParseRectWidthStyle(const JsiValue& widthStyleVal) in ParseRectWidthStyle() 66 return static_cast<RectWidthStyle>(widthStyleInt); in ParseRectWidthStyle() 69 return RectWidthStyle::TIGHT; in ParseRectWidthStyle()
|
H A D | js_layout_manager.cpp | 119 RectWidthStyle widthStyle = ParseRectWidthStyle(widthStyleVal.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… 110 | widthStyle | [RectWidthStyle](#rectwidthstyle14) | 是 | 返回的矩形区域的宽度的规格。| 705 ## RectWidthStyle<sup>14+</sup> 707 type RectWidthStyle = RectWidthStyle 717 | [RectWidthStyle](../../apis-arkgraphics2d/js-apis-graphics-text.md#rectwidthstyle) | 矩形区域宽度规格枚举。 |
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 100 SPText::RectWidthStyle rectWidthStyle = AdapterTxt::Convert(textRectWidthStyle); 101 EXPECT_EQ(rectWidthStyle == SPText::RectWidthStyle::MAX, true);
|
/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 | 42 enum class RectWidthStyle { enum 166 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) = 0;
|
/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() 676 …oxes = paragrah->GetRectsForRange(start, end, heightStyle, txt::Paragraph::RectWidthStyle::kTight); in GetRectsForRangeInner() 695 RectHeightStyle heightStyle, RectWidthStyle widthStyle, in TxtGetRectsForRange() 884 txt::Paragraph::RectWidthStyle::kTight); in HandleCaretWhenEmpty()
|
H A D | txt_paragraph.h | 152 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
|
/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 | 45 DEFINE_CONVERT_FUNC(TextRectWidthStyle, SPText::RectWidthStyle);
|
H A D | convert.cpp | 53 SPText::RectWidthStyle Convert(const TextRectWidthStyle& style) in Convert() 55 return static_cast<SPText::RectWidthStyle>(style); in Convert()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography.h | 88 TestingTypographyProperties::RectWidthStyle /* width */) in GetRectsForRange() argument
|
H A D | testing_typography_properties.h | 32 enum class RectWidthStyle { 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 …etRectsForRange(int32_t start, int32_t end, RectHeightStyle heightStyle, RectWidthStyle widthStyle, 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… 110 | widthStyle | [RectWidthStyle](#rectwidthstyle14) | Yes | Width of the rectangle.| 705 ## RectWidthStyle<sup>14+</sup> 707 type RectWidthStyle = RectWidthStyle 717 | [RectWidthStyle](../../apis-arkgraphics2d/js-apis-graphics-text.md#rectwidthstyle) | Rectangle wi…
|
/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() 239 static_cast<skt::RectWidthStyle>(rectWidthStyle)); 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… 884 | widthStyle | [RectWidthStyle](#rectwidthstyle) | 是 | 返回的矩形区域的宽度的规格。| 897 let rects = paragraph.getRectsForRange(range, text.RectWidthStyle.TIGHT, text.RectHeightStyle.TIGHT… 1212 ## RectWidthStyle 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 | 42 enum class RectWidthStyle { enum
|