Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Dconstants_converter.cpp272 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 Dconstants_converter.h38 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 Djs_layout_manager.h72 RectHeightStyle ParseRectHeightStyle(const JsiValue& heightStyleVal) in ParseRectHeightStyle()
77 return static_cast<RectHeightStyle>(heightStyleInt); in ParseRectHeightStyle()
80 return RectHeightStyle::TIGHT; in ParseRectHeightStyle()
H A Djs_layout_manager.cpp124 RectHeightStyle heightStyle = ParseRectHeightStyle(heightStyleVal.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…
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 Dconvert_test.cpp88 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 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()
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 Dtxt_paragraph.h152 RectHeightStyle heightStyle, RectWidthStyle widthStyle,
/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.h47 enum class RectHeightStyle { enum
166 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) = 0;
/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.h44 DEFINE_CONVERT_FUNC(TextRectHeightStyle, SPText::RectHeightStyle);
H A Dconvert.cpp48 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 Dtesting_typography.h87 TestingTypographyProperties::RectHeightStyle /* height */, in GetRectsForRange() argument
H A Dtesting_typography_properties.h51 enum class RectHeightStyle { 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 …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 Dts-text-common.md97 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 Dparagraph_impl.h83 RectHeightStyle rectHeightStyle, RectWidthStyle rectWidthStyle) override;
H A Dparagraph_impl.cpp234 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 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…
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 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.h47 enum class RectHeightStyle { enum

12