Searched refs:kNormal (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 88 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST() 93 EXPECT_EQ(Typeface::kNormal, light->fAPIStyle); in TEST() 98 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST() 101 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST() 127 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() 130 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST() 160 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() 163 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST() 193 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() 196 EXPECT_EQ(Typeface::kNormal, normal->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::kItalic : Typeface::kNormal; in computeAPIStyle() 196 hwTypeface->fAPIStyle = Typeface::kNormal; in setRobotoTypefaceForTest()
|