Searched refs:kBold (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 104 std::unique_ptr<Typeface> bold(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST() 107 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 134 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 137 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 167 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 170 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 189 std::unique_ptr<Typeface> base(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST() 200 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() 203 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 235 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()
|