Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
Dtext_test_ng.cpp1299 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1300 EXPECT_FALSE(textLayoutAlgorithm == nullptr);
1303textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1305 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1306 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
1351 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
1352textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
1353 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper));
1354 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper));
1397 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable
[all …]
Dtext_testfive_ng.cpp965 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable
966 ASSERT_NE(textLayoutAlgorithm, nullptr);
977 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, "", AceType::RawPtr(frameNode), maxSize.…
983 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, "", AceType::RawPtr(frameNode), maxSize.…
987 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, "", AceType::RawPtr(frameNode), maxSize.…
1002 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable
1003 ASSERT_NE(textLayoutAlgorithm, nullptr);
1013 EXPECT_EQ(textLayoutAlgorithm->UpdateSymbolTextStyle(
1019 EXPECT_EQ(textLayoutAlgorithm->UpdateSymbolTextStyle(
1035 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable
[all …]
Dtext_testfour_ng.cpp103 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable
104 auto size = textLayoutAlgorithm->spans_.size();
107 auto firstSpans = textLayoutAlgorithm->spans_.front();
110 auto endSpans = textLayoutAlgorithm->spans_.back();
137 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable
138 EXPECT_EQ(textLayoutAlgorithm->spans_.size(), 3);
146textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra…
147 auto paragraphs = textLayoutAlgorithm->paragraphManager_->GetParagraphs();
Dtext_testthree_ng.cpp1164 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable
1165textLayoutAlgorithm->paragraphManager_->AddParagraph({ .paragraph = paragraph, .start = 0, .end = …
1166textLayoutAlgorithm->UpdateParagraphForAISpan(textStyle, AccessibilityManager::RawPtr(layoutWrappe…
1167 …EXPECT_NE(textLayoutAlgorithm->paragraphManager_->GetParagraphs().front().paragraph.rawPtr_, nullp…
1959 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutWrapper->GetLayoutAlgor… variable
1960 ASSERT_NE(textLayoutAlgorithm, nullptr);
1961 EXPECT_EQ(textLayoutAlgorithm->spans_.front().size(), 2); // 2 means:two child spannode
Dtext_testtwo_ng.cpp339 RefPtr<LayoutAlgorithm> textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable
340 ASSERT_NE(textLayoutAlgorithm, nullptr);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
Dtoast_layout_algorithm.cpp92 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetLineCount() local
93 CHECK_NULL_RETURN(textLayoutAlgorithm, 0); in GetLineCount()
94 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in GetLineCount()
Dtoast_pattern.cpp556 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight() local
557 CHECK_NULL_RETURN(textLayoutAlgorithm, 0); in GetTextLineHeight()
558 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in GetTextLineHeight()
/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/
Dmarquee_test_ng.cpp402 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
403 ASSERT_NE(textLayoutAlgorithm, nullptr);
404 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
503 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
504 ASSERT_NE(textLayoutAlgorithm, nullptr);
505 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
589 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
590 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
710 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable
711 ASSERT_NE(textLayoutAlgorithm, nullptr);
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/stack/old_cases/
Dstack_test_ng.cpp290 auto textLayoutAlgorithm = itemFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable
291 EXPECT_FALSE(textLayoutAlgorithm == nullptr);
293 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
Dgauge_layout_algorithm.cpp352 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize() local
353 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in GetLimitFontSize()
354 auto limitTextStyle = textLayoutAlgorithm->GetTextStyle(); in GetLimitFontSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
Ddialog_layout_algorithm.cpp245 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent() local
246 CHECK_NULL_VOID(textLayoutAlgorithm); in AnalysisLayoutOfContent()
251 GreatNotEqual(textLayoutAlgorithm->GetLineCount(), 1)) { in AnalysisLayoutOfContent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/badge/
Dbadge_test_ng.cpp141 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local
143 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_pattern.cpp2622 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap() local
2623 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
2624 baselineOffset_ = textLayoutAlgorithm->GetBaselineOffset(); in OnDirtyLayoutWrapperSwap()
2626 textStyle_ = textLayoutAlgorithm->GetTextStyle(); in OnDirtyLayoutWrapperSwap()