Searched refs:kBoldItalic (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 115 std::unique_ptr<Typeface> boldItalic(Typeface::createRelative(nullptr, Typeface::kBoldItalic)); in TEST() 118 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 148 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 151 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 181 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 184 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 215 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 218 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 251 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 254 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.h | 41 enum Style : uint8_t { kNormal = 0, kBold = 0x01, kItalic = 0x02, kBoldItalic = 0x03 }; enumerator
|
D | Typeface.cpp | 40 return italic ? Typeface::kBoldItalic : Typeface::kBold; in computeAPIStyle()
|