Home
last modified time | relevance | path

Searched refs:kNormal (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp87 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST()
92 EXPECT_EQ(Typeface::kNormal, light->fAPIStyle); in TEST()
97 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST()
100 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
126 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST()
129 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
159 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST()
162 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
192 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST()
195 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.h41 enum Style : uint8_t { kNormal = 0, kBold = 0x01, kItalic = 0x02, kBoldItalic = 0x03 }; enumerator
DTypeface.cpp42 return italic ? Typeface::kItalic : Typeface::kNormal; in computeAPIStyle()
193 hwTypeface->fAPIStyle = Typeface::kNormal; in setRobotoTypefaceForTest()