Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/text/
Dtext_test_ng.cpp1035 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1036 EXPECT_FALSE(textLayoutAlgorithm == nullptr);
1040textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1042 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1043 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
1049 auto paragraph = textLayoutAlgorithm->GetParagraph();
1093 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1094textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1095 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1096 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/marquee/
Dmarquee_test_ng.cpp389 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
390 ASSERT_NE(textLayoutAlgorithm, nullptr);
391 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
490 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
491 ASSERT_NE(textLayoutAlgorithm, nullptr);
492 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
576 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
577 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
697 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable
698 ASSERT_NE(textLayoutAlgorithm, nullptr);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_pattern.cpp946 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap() local
947 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
948 auto paragraph = textLayoutAlgorithm->GetParagraph(); in OnDirtyLayoutWrapperSwap()
954 paragraph_ = textLayoutAlgorithm->GetParagraph(); in OnDirtyLayoutWrapperSwap()
955 baselineOffset_ = textLayoutAlgorithm->GetBaselineOffset(); in OnDirtyLayoutWrapperSwap()
958 textStyle_ = textLayoutAlgorithm->GetTextStyle(); in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp149 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent() local
150 CHECK_NULL_VOID(textLayoutAlgorithm); in AnalysisLayoutOfContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/badge/
Dbadge_test_ng.cpp108 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local
110 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()