Searched refs:kBoldItalic (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 116 std::unique_ptr<Typeface> boldItalic(Typeface::createRelative(nullptr, Typeface::kBoldItalic)); in TEST() 119 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 149 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 152 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 182 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 185 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 216 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 219 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 252 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 255 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()
|