Searched refs:kBoldItalic (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 118 std::unique_ptr<Typeface> boldItalic(Typeface::createRelative(nullptr, Typeface::kBoldItalic)); in TEST() 121 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 151 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 154 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 184 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 187 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 218 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 221 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 254 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 257 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 | 42 return italic ? Typeface::kBoldItalic : Typeface::kBold; in computeAPIStyle()
|