Searched refs:kBold (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 103 std::unique_ptr<Typeface> bold(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST() 106 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 133 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 136 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 166 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 169 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 188 std::unique_ptr<Typeface> base(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST() 199 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 202 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 234 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); 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() 54 if ((relativeStyle & Typeface::kBold) != 0) { in computeRelativeStyle()
|