/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_test_ng.cpp | 1299 auto textLayoutAlgorithm = AceType::MakeRefPtr<TextLayoutAlgorithm>(); variable 1300 EXPECT_FALSE(textLayoutAlgorithm == nullptr); 1453 auto result = textLayoutAlgorithm->AdaptMinTextSize( 1509 auto result = textLayoutAlgorithm->AdaptMinTextSize( 1565 auto result = textLayoutAlgorithm->AdaptMinTextSize( 1673 auto ret = textLayoutAlgorithm->CreateParagraphAndLayout( 1727 auto ret = textLayoutAlgorithm->CreateParagraphAndLayout( 1979 ret = textLayoutAlgorithm->DidExceedMaxLines(maxSize); 2034 ret = textLayoutAlgorithm->DidExceedMaxLines(maxSize); 2087 textLayoutAlgorithm->baselineOffset_ = BASE_LINE_OFFSET; [all …]
|
H A D | text_testfive_ng.cpp | 966 ASSERT_NE(textLayoutAlgorithm, nullptr); 1003 ASSERT_NE(textLayoutAlgorithm, nullptr); 1036 ASSERT_NE(textLayoutAlgorithm, nullptr); 1043 EXPECT_EQ(textLayoutAlgorithm->AdaptMinTextSize( 1048 EXPECT_EQ(textLayoutAlgorithm->AdaptMinTextSize( 1424 ASSERT_NE(textLayoutAlgorithm, nullptr); 1452 ASSERT_NE(textLayoutAlgorithm, nullptr); 1486 ASSERT_NE(textLayoutAlgorithm, nullptr); 1520 ASSERT_NE(textLayoutAlgorithm, nullptr); 1543 textLayoutAlgorithm->isSpanStringMode_ = true; [all …]
|
H A 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();
|
H A 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
|
H A D | text_testtwo_ng.cpp | 339 RefPtr<LayoutAlgorithm> textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); variable 340 ASSERT_NE(textLayoutAlgorithm, nullptr);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A 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()
|
H A 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()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/ |
H A 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); 589 auto textLayoutAlgorithm = textFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 710 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable 711 ASSERT_NE(textLayoutAlgorithm, nullptr); 801 auto textLayoutAlgorithm = textFrameNode->GetPattern<TextPattern>()->CreateLayoutAlgorithm(); variable 802 ASSERT_NE(textLayoutAlgorithm, nullptr); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stack/old_cases/ |
H A D | stack_test_ng.cpp | 290 auto textLayoutAlgorithm = itemFrameNode->GetPattern<Pattern>()->CreateLayoutAlgorithm(); variable 291 EXPECT_FALSE(textLayoutAlgorithm == nullptr); 293 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A 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()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/badge/ |
H A D | badge_test_ng.cpp | 141 auto textLayoutAlgorithm = textPattern->CreateLayoutAlgorithm(); in CreateChild() local 143 AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(textLayoutAlgorithm)); in CreateChild()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A 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()
|