Searched refs:kBoldItalic (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 123 std::unique_ptr<Typeface> boldItalic(Typeface::createRelative(nullptr, Typeface::kBoldItalic)); in TEST() 126 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 156 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 159 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 189 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 192 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 223 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 226 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 259 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST() 262 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 | 43 return italic ? Typeface::kBoldItalic : Typeface::kBold; in computeAPIStyle()
|