Searched refs:textPaintMethod (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testfour_ng.cpp | 449 ASSERT_NE(textPaintMethod, nullptr); 514 ASSERT_NE(textPaintMethod, nullptr); 632 ASSERT_NE(textPaintMethod, nullptr); 673 ASSERT_NE(textPaintMethod, nullptr); 723 ASSERT_NE(textPaintMethod, nullptr); 728 ASSERT_NE(textPaintMethod, nullptr); 774 ASSERT_NE(textPaintMethod, nullptr); 779 ASSERT_NE(textPaintMethod, nullptr); 820 ASSERT_NE(textPaintMethod, nullptr); 825 ASSERT_NE(textPaintMethod, nullptr); [all …]
|
H A D | text_base.cpp | 281 void TextBases::SetPaintMethodModifier(TextPaintMethod& textPaintMethod) in SetPaintMethodModifier() argument 283 textPaintMethod.textContentModifier_->fontSize_ = ADAPT_FONT_SIZE_VALUE; in SetPaintMethodModifier() 284 textPaintMethod.textContentModifier_->fontWeight_ = FontWeight::LIGHTER; in SetPaintMethodModifier() 285 textPaintMethod.textContentModifier_->textColor_ = TEXT_COLOR_VALUE; in SetPaintMethodModifier() 286 textPaintMethod.textContentModifier_->AddDefaultShadow(); in SetPaintMethodModifier() 287 textPaintMethod.textContentModifier_->textDecorationColorAlpha_ = in SetPaintMethodModifier() 289 textPaintMethod.textContentModifier_->textDecoration_ = TextDecoration::NONE; in SetPaintMethodModifier() 290 textPaintMethod.textContentModifier_->baselineOffset_ = BASELINE_OFFSET_VALUE; in SetPaintMethodModifier()
|
H A D | text_testfive_ng.cpp | 71 ASSERT_NE(textPaintMethod, nullptr); 76 ASSERT_NE(textPaintMethod, nullptr); 132 ASSERT_NE(textPaintMethod, nullptr); 137 ASSERT_NE(textPaintMethod, nullptr); 193 ASSERT_NE(textPaintMethod, nullptr); 198 ASSERT_NE(textPaintMethod, nullptr); 249 ASSERT_NE(textPaintMethod, nullptr); 254 ASSERT_NE(textPaintMethod, nullptr); 301 ASSERT_NE(textPaintMethod, nullptr); 306 ASSERT_NE(textPaintMethod, nullptr); [all …]
|
H A D | text_testtwo_ng.cpp | 117 textPaintMethod.UpdateContentModifier(AceType::RawPtr(paintWrapper)); 118 textPaintMethod.UpdateOverlayModifier(AceType::RawPtr(paintWrapper)); 119 auto OverlayModifier = textPaintMethod.GetOverlayModifier(AceType::RawPtr(paintWrapper)); 1906 textPaintMethod.UpdateContentModifier(AceType::RawPtr(paintWrapper)); 1948 auto textPaintMethod = textPattern->CreateNodePaintMethod(); variable 1949 ASSERT_NE(textPaintMethod, nullptr); 2066 ASSERT_NE(textPaintMethod, nullptr); 2070 textPaintMethod->UpdateContentModifier(AceType::RawPtr(paintWrapper)); 2072 ASSERT_NE(textPaintMethod->textContentModifier_, nullptr); 2073 EXPECT_EQ(textPaintMethod->textContentModifier_->imageNodeList_.size(), 1); [all …]
|
H A D | text_base.h | 234 static void SetPaintMethodModifier(TextPaintMethod& textPaintMethod);
|
H A D | text_test_ng.cpp | 2329 …TextPaintMethod textPaintMethod(pattern, BASE_LINE_OFFSET_VALUE, textContentModifier, textOverlayM… 2334 textPaintMethod.UpdateContentModifier(AceType::RawPtr(paintWrapper)); 2335 SetPaintMethodModifier(textPaintMethod); 2336 textPaintMethod.UpdateContentModifier(AceType::RawPtr(paintWrapper)); 2337 textPaintMethod.textContentModifier_->textDecoration_ = TextDecoration::UNDERLINE; 2338 textPaintMethod.UpdateContentModifier(AceType::RawPtr(paintWrapper)); 2339 ASSERT_NE(textPaintMethod.GetOverlayModifier(AceType::RawPtr(paintWrapper)), nullptr); 2380 …TextPaintMethod textPaintMethod(pattern, BASE_LINE_OFFSET_VALUE, contentModifier, textOverlayModif… 2440 …TextPaintMethod textPaintMethod(pattern, BASE_LINE_OFFSET_VALUE, contentModifier, textOverlayModif…
|