Home
last modified time | relevance | path

Searched refs:TextLayoutAlgorithm (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp38 TextLayoutAlgorithm::TextLayoutAlgorithm( in TextLayoutAlgorithm() function in OHOS::Ace::NG::TextLayoutAlgorithm
68 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
112 void TextLayoutAlgorithm::OnReset() {} in OnReset()
114 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
192 void TextLayoutAlgorithm::UpdateParagraphForAISpan( in UpdateParagraphForAISpan()
278 bool TextLayoutAlgorithm::CreateParagraph( in CreateParagraph()
352 void TextLayoutAlgorithm::CreateParagraphDrag( in CreateParagraphDrag()
446 float TextLayoutAlgorithm::GetBaselineOffset() const in GetBaselineOffset()
640 void TextLayoutAlgorithm::UpdateSensitiveContent(std::string& content) in UpdateSensitiveContent()
651 std::optional<TextStyle> TextLayoutAlgorithm::GetTextStyle() const in GetTextStyle()
[all …]
H A Dtext_layout_algorithm.h46 class ACE_EXPORT TextLayoutAlgorithm : public MultipleParagraphLayoutAlgorithm, public TextAdaptFon…
47 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm, TextAdaptFontSizer);
50 TextLayoutAlgorithm();
51 …explicit TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spans, RefPtr<ParagraphManager> paragraph…
53 ~TextLayoutAlgorithm() override = default;
119 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
H A Dtext_pattern.h105 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_, true); in CreateLayoutAlgorithm()
107 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_); in CreateLayoutAlgorithm()
H A Dtext_pattern.cpp2622 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_test_ng.cpp1299 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1351 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1397 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1452 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1508 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1564 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1616 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1669 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1723 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1972 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
[all …]
H A Dtext_testfive_ng.cpp766 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
815 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
860 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
965 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1002 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1035 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1423 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1451 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1485 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1519 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
[all …]
H A Dtext_testthree_ng.cpp172 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
199 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
343 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1164 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
1959 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutWrapper->GetLayoutAlgor…
H A Dtext_testtwo_ng.cpp614 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
666 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
691 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
H A Dtext_testfour_ng.cpp103 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
137 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_layout_algorithm.cpp92 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetLineCount()
H A Dtoast_pattern.cpp556 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_layout_algorithm.cpp352 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.cpp245 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()