| /foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
| D | text_testnine_ng.cpp | 972 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable 973 ASSERT_NE(textLayoutAlgorithm, nullptr); 978 textLayoutAlgorithm->UpdateRelayoutShaderStyle(AccessibilityManager::RawPtr(layoutWrapper)); 979 EXPECT_NE(textLayoutAlgorithm, nullptr); 981 …textLayoutAlgorithm->paragraphManager_->AddParagraph({ .paragraph = paragraph, .start = 0, .end = … 985 textLayoutAlgorithm->textStyle_ = textStyle; 986 textLayoutAlgorithm->UpdateRelayoutShaderStyle(AccessibilityManager::RawPtr(layoutWrapper)); 987 EXPECT_EQ(textLayoutAlgorithm->spans_.empty(), true); 992 textLayoutAlgorithm->spans_.emplace_back(spanItem); 993 textLayoutAlgorithm->UpdateRelayoutShaderStyle(AccessibilityManager::RawPtr(layoutWrapper)); [all …]
|
| D | text_test_ng.cpp | 1620 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable 1621 EXPECT_FALSE(textLayoutAlgorithm == nullptr); 1624 …textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra… 1626 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper)); 1627 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper)); 1672 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable 1673 …textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra… 1674 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper)); 1675 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper)); 1726 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable [all …]
|
| D | text_testfive_ng.cpp | 1108 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable 1109 ASSERT_NE(textLayoutAlgorithm, nullptr); 1120 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, u"", AceType::RawPtr(frameNode), maxSize… 1127 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, u"", AceType::RawPtr(frameNode), maxSize… 1131 …EXPECT_EQ(textLayoutAlgorithm->CreateParagraph(textStyle, u"", AceType::RawPtr(frameNode), maxSize… 1146 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable 1147 ASSERT_NE(textLayoutAlgorithm, nullptr); 1157 EXPECT_EQ(textLayoutAlgorithm->UpdateSymbolTextStyle( 1163 EXPECT_EQ(textLayoutAlgorithm->UpdateSymbolTextStyle( 1179 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(pattern->CreateLayoutAlgorith… variable [all …]
|
| D | text_testfour_ng.cpp | 118 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable 119 auto size = textLayoutAlgorithm->spans_.size(); 122 auto firstSpans = textLayoutAlgorithm->spans_.front(); 125 auto endSpans = textLayoutAlgorithm->spans_.back(); 152 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable 153 EXPECT_EQ(textLayoutAlgorithm->spans_.size(), 3); 161 …textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra… 162 auto paragraphs = textLayoutAlgorithm->paragraphManager_->GetParagraphs();
|
| D | text_testtwo_ng.cpp | 349 RefPtr<LayoutAlgorithm> textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable 350 ASSERT_NE(textLayoutAlgorithm, nullptr); 902 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>(); variable 908 textLayoutAlgorithm->ConstructTextStyles(layoutConstraint, &layoutWrapper, textStyle); 975 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>(); variable 977 textLayoutAlgorithm->ConstructTextStyles(layoutConstraint, &layoutWrapper, textStyle); 1158 auto textLayoutAlgorithm = AccessibilityManager::MakeRefPtr<TextLayoutAlgorithm>(); variable 1160 textLayoutAlgorithm->ConstructTextStyles(layoutConstraint, &layoutWrapper, textStyle);
|
| D | text_testseven_ng.cpp | 717 …auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(selectSpanItems, pManager_, tr… variable 740 textLayoutAlgorithm->BuildParagraph( 748 textLayoutAlgorithm->BuildParagraph(
|
| D | text_testthree_ng.cpp | 1426 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable 1427 …textLayoutAlgorithm->paragraphManager_->AddParagraph({ .paragraph = paragraph, .start = 0, .end = … 1428 …textLayoutAlgorithm->UpdateParagraphForAISpan(textStyle, AccessibilityManager::RawPtr(layoutWrappe… 1429 …EXPECT_NE(textLayoutAlgorithm->paragraphManager_->GetParagraphs().front().paragraph.rawPtr_, nullp… 2275 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutWrapper->GetLayoutAlgor… variable 2276 ASSERT_NE(textLayoutAlgorithm, nullptr); 2277 EXPECT_EQ(textLayoutAlgorithm->spans_.front().size(), 2); // 2 means:two child spannode
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
| D | toast_layout_algorithm.cpp | 99 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetLineCount() local 100 CHECK_NULL_RETURN(textLayoutAlgorithm, 0); in GetLineCount() 101 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in GetLineCount()
|
| D | toast_pattern.cpp | 565 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight() local 566 CHECK_NULL_RETURN(textLayoutAlgorithm, 0); in GetTextLineHeight() 567 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in GetTextLineHeight()
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/ |
| D | marquee_test_update_strategy.cpp | 410 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 411 ASSERT_NE(textLayoutAlgorithm, nullptr); 412 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 514 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 515 ASSERT_NE(textLayoutAlgorithm, nullptr); 516 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 610 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 611 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 725 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable 726 ASSERT_NE(textLayoutAlgorithm, nullptr); [all …]
|
| D | marquee_test_ng.cpp | 403 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 404 ASSERT_NE(textLayoutAlgorithm, nullptr); 405 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 504 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 505 ASSERT_NE(textLayoutAlgorithm, nullptr); 506 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 590 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 591 …ayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 711 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable 712 ASSERT_NE(textLayoutAlgorithm, nullptr); [all …]
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/stack/old_cases/ |
| D | stack_test_ng.cpp | 290 auto textLayoutAlgorithm = itemFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 291 EXPECT_FALSE(textLayoutAlgorithm == nullptr); 293 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/badge/ |
| D | badge_test_tojson.cpp | 125 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local 127 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
|
| D | badge_layout_algorithm_test_ng.cpp | 129 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local 131 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
|
| D | badge_test_ng.cpp | 142 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local 144 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
| D | gauge_layout_algorithm.cpp | 371 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(textLayoutTextWrapper->GetLayoutAlgori… in GetLimitFontSize() local 372 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in GetLimitFontSize() 373 auto limitTextStyle = textLayoutAlgorithm->GetTextStyle(); in GetLimitFontSize()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
| D | dialog_layout_algorithm.cpp | 300 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in AnalysisLayoutOfContent() local 301 CHECK_NULL_VOID(textLayoutAlgorithm); in AnalysisLayoutOfContent() 311 GreatNotEqual(textLayoutAlgorithm->GetLineCount(), 1)) { in AnalysisLayoutOfContent()
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/ |
| D | dialog_layout_test_ng.cpp | 1751 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable 1753 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); 1815 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable 1817 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
| D | bubble_view.cpp | 156 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetTextLineHeight() local 157 CHECK_NULL_RETURN(textLayoutAlgorithm, 0); in GetTextLineHeight() 158 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in GetTextLineHeight()
|
| D | bubble_layout_algorithm.cpp | 1239 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in UpdateTextNodeMaxLines() local 1240 CHECK_NULL_VOID(textLayoutAlgorithm); in UpdateTextNodeMaxLines() 1241 auto paragraph = textLayoutAlgorithm->GetSingleParagraph(); in UpdateTextNodeMaxLines()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
| D | text_pattern.cpp | 4296 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap() local 4297 CHECK_NULL_RETURN(textLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap() 4298 baselineOffset_ = textLayoutAlgorithm->GetBaselineOffset(); in OnDirtyLayoutWrapperSwap() 4300 textStyle_ = textLayoutAlgorithm->GetTextStyle(); in OnDirtyLayoutWrapperSwap()
|