Home
last modified time | relevance | path

Searched refs:textStyle2 (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/
H A Dskia_txt_test.cpp72 TextStyle textStyle2; variable
73 textStyle2.isPlaceholder = true;
74 EXPECT_EQ(textStyle1.EqualByFonts(textStyle2), false);
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 Drich_editor_base_testone_ng.cpp338 TextStyle textStyle2; variable
339 textStyle2.SetFontSize(FONT_SIZE_VALUE_2);
358 richEditorController->UpdateSpanStyle(0, 20, textStyle2, imageStyle);
372 richEditorController->UpdateSpanStyle(0, 0, textStyle2, imageStyle);
379 richEditorController->UpdateSpanStyle(20, 30, textStyle2, imageStyle);
942 TextStyleResult textStyle2 = info1.selection_.resultObjects.front().textStyle; variable
943 EXPECT_EQ(textStyle2.lineHeight, LINE_HEIGHT_VALUE.ConvertToVp());
944 EXPECT_EQ(textStyle2.letterSpacing, LETTER_SPACING.ConvertToVp());
H A Drich_editor_edit_testone_ng.cpp875 TextStyleResult textStyle2 = info1.selection_.resultObjects.front().textStyle; variable
876 EXPECT_EQ(textStyle2.lineHeight, LINE_HEIGHT_VALUE.ConvertToVp());
877 EXPECT_EQ(textStyle2.letterSpacing, LETTER_SPACING.ConvertToVp());
953 TextStyleResult textStyle2 = info1.selection_.resultObjects.front().textStyle; variable
H A Drich_editor_base_test_ng.cpp556 TextStyleResult textStyle2 = info2.selection_.resultObjects.front().textStyle; variable
557 EXPECT_EQ(Color::FromString(textStyle2.fontColor), DEFAULT_TEXT_COLOR_VALUE);
558 EXPECT_EQ(Color::FromString(textStyle2.decorationColor), DEFAULT_TEXT_COLOR_VALUE);
H A Drich_editor_test_ng.cpp1016 TextStyleResult textStyle2 = info2.selection_.resultObjects.front().textStyle; variable
1017 EXPECT_EQ(Color::FromString(textStyle2.fontColor), DEFAULT_TEXT_COLOR_VALUE);
1018 EXPECT_EQ(Color::FromString(textStyle2.decorationColor), DEFAULT_TEXT_COLOR_VALUE);
4843 TextStyleResult textStyle2 = info1.selection_.resultObjects.front().textStyle; variable
4844 EXPECT_EQ(textStyle2.lineHeight, LINE_HEIGHT_VALUE.ConvertToVp());
4845 EXPECT_EQ(textStyle2.letterSpacing, LETTER_SPACING.ConvertToVp());
4881 TextStyleResult textStyle2 = info1.selection_.resultObjects.front().textStyle; variable