Searched refs:textStyle1 (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/ |
H A D | skia_txt_test.cpp | 71 TextStyle textStyle1; variable 74 EXPECT_EQ(textStyle1.EqualByFonts(textStyle2), false); 75 EXPECT_EQ(textStyle1.MatchOneAttribute(ALL_ATTRIBUTES, textStyle2), true); 77 res1 = textStyle1.MatchOneAttribute(FOREGROUND, textStyle2); 78 res1 = textStyle1.MatchOneAttribute(BACKGROUND, textStyle2); 79 res1 = textStyle1.MatchOneAttribute(SHADOW, textStyle2); 80 res1 = textStyle1.MatchOneAttribute(DECORATIONS, textStyle2); 81 res1 = textStyle1.MatchOneAttribute(LETTER_SPACING, textStyle2); 82 res1 = textStyle1.MatchOneAttribute(WORD_SPACING, textStyle2); 83 res1 = textStyle1.MatchOneAttribute(FONT, textStyle2); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_change_callback_test_ng.cpp | 1288 EXPECT_EQ(textStyle1.lineHeight, LINE_HEIGHT_VALUE.ConvertToVp()); 1289 EXPECT_EQ(textStyle1.letterSpacing, LETTER_SPACING.ConvertToVp()); 1290 for (const auto& pair : textStyle1.fontFeature) { 1303 for (const auto& pair : textStyle1.fontFeature) { 1342 for (const auto& pair : textStyle1.fontFeature) { 1353 for (const auto& pair : textStyle1.fontFeature) { 1429 EXPECT_EQ(textStyle1.lineHeight, LINE_HEIGHT_VALUE.ConvertToVp()); 1442 for (const auto& pair : textStyle1.fontFeature) { 1481 for (const auto& pair : textStyle1.fontFeature) { 1524 for (const auto& pair : textStyle1.fontFeature) { [all …]
|
H A D | rich_editor_test_ng.cpp | 1009 EXPECT_EQ(textStyle1.fontSize, 16); 4590 for (const auto& pair : textStyle1.fontFeature) { 4603 for (const auto& pair : textStyle1.fontFeature) { 4642 for (const auto& pair : textStyle1.fontFeature) { 4653 for (const auto& pair : textStyle1.fontFeature) { 4762 for (const auto& pair : textStyle1.fontFeature) { 4801 for (const auto& pair : textStyle1.fontFeature) { 4846 for (const auto& pair : textStyle1.fontFeature) { 4882 for (const auto& pair : textStyle1.fontFeature) { 4922 for (const auto& pair : textStyle1.fontFeature) { [all …]
|
H A D | rich_editor_edit_testone_ng.cpp | 868 TextStyleResult textStyle1 = info.selection_.resultObjects.front().textStyle; variable 878 for (const auto& pair : textStyle1.fontFeature) { 947 TextStyleResult textStyle1 = info.selection_.resultObjects.front().textStyle; variable 954 for (const auto& pair : textStyle1.fontFeature) {
|
H A D | rich_editor_base_test_ng.cpp | 548 TextStyleResult textStyle1 = info1.selection_.resultObjects.front().textStyle; variable 549 EXPECT_EQ(textStyle1.fontSize, 16); 550 EXPECT_EQ(Color::FromString(textStyle1.fontColor), DEFAULT_TEXT_COLOR_VALUE); 551 EXPECT_EQ(Color::FromString(textStyle1.decorationColor), DEFAULT_TEXT_COLOR_VALUE);
|
H A D | rich_editor_base_testone_ng.cpp | 935 TextStyleResult textStyle1 = info.selection_.resultObjects.front().textStyle; variable 945 for (const auto& pair : textStyle1.fontFeature) {
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_test_ng.cpp | 1096 TextStyle textStyle1; variable 1097 textStyle1.adaptTextSize_ = true; 1101 textStyle1, textLayoutProperty, contentConstraint1, AceType::RawPtr(frameNode)); 1102 EXPECT_EQ(rowLayoutAlgorithm->textStyle_, textStyle1);
|