Home
last modified time | relevance | path

Searched refs:textLayoutAlgorithm (Results 1 – 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
Dtext_test_ng.cpp1032 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1033 EXPECT_FALSE(textLayoutAlgorithm == nullptr);
1036textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1038 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1039 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
1084 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1085textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1086 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1087 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
1131 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/
Dmarquee_test_ng.cpp395 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
396 ASSERT_NE(textLayoutAlgorithm, nullptr);
397 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
496 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
497 ASSERT_NE(textLayoutAlgorithm, nullptr);
498 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
582 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
583 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
703 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable
704 ASSERT_NE(textLayoutAlgorithm, nullptr);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
Dgauge_layout_algorithm.cpp320 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize() local
321 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in GetLimitFontSize()
322 auto limitTextStyle = textLayoutAlgorithm->GetTextStyle(); in GetLimitFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp162 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent() local
163 CHECK_NULL_VOID(textLayoutAlgorithm); in AnalysisLayoutOfContent()
170 GreatNotEqual(textLayoutAlgorithm->GetLineCount(), 1)) { in AnalysisLayoutOfContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/badge/
Dbadge_test_ng.cpp109 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local
111 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_pattern.cpp1925 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap() local
1926 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
1927 auto&& paragraph = textLayoutAlgorithm->GetParagraph(); in OnDirtyLayoutWrapperSwap()
1934 baselineOffset_ = textLayoutAlgorithm->GetBaselineOffset(); in OnDirtyLayoutWrapperSwap()
1936 textStyle_ = textLayoutAlgorithm->GetTextStyle(); in OnDirtyLayoutWrapperSwap()