Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_layout_algorithm.cpp38 TextLayoutAlgorithm::TextLayoutAlgorithm( in TextLayoutAlgorithm() function in OHOS::Ace::NG::TextLayoutAlgorithm
68 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
70 void TextLayoutAlgorithm::ConstructParagraphSpanGroup(std::list<RefPtr<SpanItem>>& spans) in ConstructParagraphSpanGroup()
112 void TextLayoutAlgorithm::OnReset() {} in OnReset()
114 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
170 bool TextLayoutAlgorithm::AddPropertiesAndAnimations(TextStyle& textStyle, in AddPropertiesAndAnimations()
192 void TextLayoutAlgorithm::UpdateParagraphForAISpan( in UpdateParagraphForAISpan()
238 void TextLayoutAlgorithm::GrayDisplayAISpan(const DragSpanPosition& dragSpanPosition, const std::ws… in GrayDisplayAISpan()
268 std::string TextLayoutAlgorithm::StringOutBoundProtection(int32_t position, int32_t length, std::ws… in StringOutBoundProtection()
278 bool TextLayoutAlgorithm::CreateParagraph( in CreateParagraph()
[all …]
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);
Dtext_pattern.h106 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_, true); in CreateLayoutAlgorithm()
108 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_); in CreateLayoutAlgorithm()
Dtext_pattern.cpp2693 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
Dtext_test_ng.cpp629 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
663 auto textLayoutAlgorithm1 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans1_, pManager_, true);
673 …auto textLayoutAlgorithm2 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans2_, pManager_1, true, tr…
688 …auto textLayoutAlgorithm3 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans3_, pManager_2, true, fa…
716 …auto textLayoutAlgorithm4 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, true, fals…
735 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
762 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
791 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
825 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
897 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
[all …]
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 …]
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…
1208 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
2003 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutWrapper->GetLayoutAlgor…
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…
Dtext_testfour_ng.cpp103 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
137 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
Dtoast_layout_algorithm.cpp92 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetLineCount()
Dtoast_pattern.cpp556 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
Dgauge_layout_algorithm.cpp352 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp259 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()