| /foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
| D | text_test_ng.cpp | 1299 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable 1300 EXPECT_FALSE(textLayoutAlgorithm == nullptr); 1303 …textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra… 1305 textLayoutAlgorithm->Measure(AccessibilityManager::RawPtr(layoutWrapper)); 1306 textLayoutAlgorithm->Layout(AccessibilityManager::RawPtr(layoutWrapper)); 1351 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable 1352 …textLayoutAlgorithm->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 …]
|
| D | text_testfive_ng.cpp | 965 …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 …]
|
| D | text_testfour_ng.cpp | 103 …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); 146 …textLayoutAlgorithm->MeasureContent(parentLayoutConstraint, AccessibilityManager::RawPtr(layoutWra… 147 auto paragraphs = textLayoutAlgorithm->paragraphManager_->GetParagraphs();
|
| D | text_testthree_ng.cpp | 1164 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(textPattern->CreateLayoutAlgo… variable 1165 …textLayoutAlgorithm->paragraphManager_->AddParagraph({ .paragraph = paragraph, .start = 0, .end = … 1166 …textLayoutAlgorithm->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
|
| D | text_testtwo_ng.cpp | 339 RefPtr<LayoutAlgorithm> textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable 340 ASSERT_NE(textLayoutAlgorithm, nullptr);
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
| D | toast_layout_algorithm.cpp | 92 …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()
|
| D | toast_pattern.cpp | 556 …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/ |
| D | marquee_test_ng.cpp | 402 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/ |
| 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/frameworks/core/components_ng/pattern/gauge/ |
| D | gauge_layout_algorithm.cpp | 352 …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/ |
| D | dialog_layout_algorithm.cpp | 245 …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/ |
| D | badge_test_ng.cpp | 141 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local 143 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
| D | text_pattern.cpp | 2622 …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()
|