Home
last modified time | relevance | path

Searched refs:RectWidthStyle (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Dconstants_converter.h39 enum class RectWidthStyle; variable
90 txt::Paragraph::RectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle);
121 OHOS::Rosen::TextRectWidthStyle ConvertTxtRectWidthStyle(RectWidthStyle widthStyle);
H A Dconstants_converter.cpp314 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 Djs_layout_manager.h61 RectWidthStyle ParseRectWidthStyle(const JsiValue& widthStyleVal) in ParseRectWidthStyle()
66 return static_cast<RectWidthStyle>(widthStyleInt); in ParseRectWidthStyle()
69 return RectWidthStyle::TIGHT; in ParseRectWidthStyle()
H A Djs_layout_manager.cpp119 RectWidthStyle widthStyle = ParseRectWidthStyle(widthStyleVal.Get()); in GetRectsForRange()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-text-common.md97 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 Dconvert_test.cpp100 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 Dtext_overlay_manager.cpp97 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 Dparagraph.h42 enum class RectWidthStyle { enum
166 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dtxt_paragraph.cpp301 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 Dtxt_paragraph.h152 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dlayout_info_interface.h50 RectHeightStyle heightStyle, RectWidthStyle widthStyle) in GetRectsForRange()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dconvert.h45 DEFINE_CONVERT_FUNC(TextRectWidthStyle, SPText::RectWidthStyle);
H A Dconvert.cpp53 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 Dtesting_typography.h88 TestingTypographyProperties::RectWidthStyle /* width */) in GetRectsForRange() argument
H A Dtesting_typography_properties.h32 enum class RectWidthStyle { enum
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dparagraph_manager.h93 RectHeightStyle heightStyle, RectWidthStyle widthStyle);
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_paragraph.h70 …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 Dts-text-common.md97 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 Dparagraph_impl.h83 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) override;
H A Dparagraph_impl.cpp234 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 Drosen_render_text_field.cpp223 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 Djs-apis-graphics-text.md873 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 Dparagraph.h277 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/
H A Dparagraph_test.cpp107 …EXPECT_EQ(paragraph_->GetRectsForRange(0, text_.size(), RectHeightStyle::MAX, RectWidthStyle::TIGH…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h42 enum class RectWidthStyle { enum

12