Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp86 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
91 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); in TEST()
99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
105 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
128 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
135 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
161 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
168 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
194 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
201 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
[all …]
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp659 constexpr FontStyle::Slant UPRIGHT = FontStyle::Slant::UPRIGHT; in TEST_F() local
663 FontStyle(NORMAL, UPRIGHT), // 0 in TEST_F()
664 FontStyle(BOLD, UPRIGHT), // 1 in TEST_F()
670 FontStyle(THIN, UPRIGHT), // 0 in TEST_F()
671 FontStyle(LIGHT, UPRIGHT), // 1 in TEST_F()
672 FontStyle(NORMAL, UPRIGHT), // 2 in TEST_F()
673 FontStyle(MEDIUM, UPRIGHT), // 3 in TEST_F()
674 FontStyle(BOLD, UPRIGHT), // 4 in TEST_F()
675 FontStyle(BLACK, UPRIGHT), // 5 in TEST_F()
701 {FontStyle(UPRIGHT), {FontStyle(UPRIGHT), FontStyle(ITALIC)}, 0}, in TEST_F()
[all …]
/frameworks/minikin/include/minikin/
DFontStyle.h40 UPRIGHT = false, enumerator
43 constexpr FontStyle() : FontStyle(Weight::NORMAL, Slant::UPRIGHT) {} in FontStyle()
44 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} in FontStyle()
DFontFamily.h91 FontStyle::Slant mSlant = FontStyle::Slant::UPRIGHT;
/frameworks/minikin/libs/minikin/
DFontFamily.cpp139 actual.slant() == FontStyle::Slant::UPRIGHT; in computeFakery()