Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_layout_algorithm.cpp54 TextLayoutAlgorithm::TextLayoutAlgorithm( in TextLayoutAlgorithm() function in OHOS::Ace::NG::TextLayoutAlgorithm
84 TextLayoutAlgorithm::TextLayoutAlgorithm() = default;
86 void TextLayoutAlgorithm::ConstructParagraphSpanGroup(std::list<RefPtr<SpanItem>>& spans) in ConstructParagraphSpanGroup()
127 void TextLayoutAlgorithm::OnReset() {} in OnReset()
129 std::optional<SizeF> TextLayoutAlgorithm::MeasureContent( in MeasureContent()
188 bool TextLayoutAlgorithm::AddPropertiesAndAnimations(TextStyle& textStyle, in AddPropertiesAndAnimations()
210 void TextLayoutAlgorithm::CheckNeedReCreateParagraph( in CheckNeedReCreateParagraph()
225 void TextLayoutAlgorithm::ResetNeedReCreateParagraph( in ResetNeedReCreateParagraph()
233 void TextLayoutAlgorithm::UpdateParagraphForAISpan( in UpdateParagraphForAISpan()
278 void TextLayoutAlgorithm::GrayDisplayAISpan(const DragSpanPosition& dragSpanPosition, const std::u1… in GrayDisplayAISpan()
[all …]
Dtext_layout_algorithm.h47 class ACE_EXPORT TextLayoutAlgorithm : public MultipleParagraphLayoutAlgorithm, public TextAdaptFon…
48 DECLARE_ACE_TYPE(TextLayoutAlgorithm, BoxLayoutAlgorithm, TextAdaptFontSizer);
51 TextLayoutAlgorithm();
52 …explicit TextLayoutAlgorithm(std::list<RefPtr<SpanItem>> spans, RefPtr<ParagraphManager> paragraph…
54 ~TextLayoutAlgorithm() override = default;
131 ACE_DISALLOW_COPY_AND_MOVE(TextLayoutAlgorithm);
Dtext_pattern.h112 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_, true); in CreateLayoutAlgorithm()
114 return MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, isSpanStringMode_); in CreateLayoutAlgorithm()
Dtext_pattern.cpp3431 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
Dtext_test_ng.cpp880 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
914 auto textLayoutAlgorithm1 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans1_, pManager_, true);
924 …auto textLayoutAlgorithm2 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans2_, pManager_1, true, tr…
939 …auto textLayoutAlgorithm3 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans3_, pManager_2, true, fa…
967 …auto textLayoutAlgorithm4 = AceType::MakeRefPtr<TextLayoutAlgorithm>(spans_, pManager_, true, fals…
986 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1013 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1042 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1076 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1148 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
[all …]
Dtext_testfive_ng.cpp874 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
923 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
968 auto textAdaptFontSizer = AceType::MakeRefPtr<TextLayoutAlgorithm>();
1073 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1110 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1143 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1181 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1718 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1746 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
1780 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith…
[all …]
Dtext_testtwo_ng.cpp623 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
675 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
700 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
900 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>();
969 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>();
1145 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>();
Dtext_testseven_ng.cpp527 auto multipleAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>();
571 …auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(selectSpanItems, pManager_, tr…
Dtext_testthree_ng.cpp223 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
250 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
394 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
1297 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
2095 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutWrapper->GetLayoutAlgor…
Dtext_testeight_ng.cpp936 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
958 …auto rowLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorithm…
Dtext_testfour_ng.cpp113 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo…
147 …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.cpp573 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
Dsecurity_component_layout_element.cpp116 …auto layoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrap->GetLayoutAlg… in UpdateFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
Dgauge_layout_algorithm.cpp351 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp254 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent()