Searched refs:kItalic (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 117 std::unique_ptr<Typeface> italic(Typeface::createRelative(nullptr, Typeface::kItalic)); in TEST() 120 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 148 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 151 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 181 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 184 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 214 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 217 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 230 std::unique_ptr<Typeface> base(Typeface::createRelative(nullptr, Typeface::kItalic)); in TEST() 250 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); 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 | 45 return italic ? Typeface::kItalic : Typeface::kNormal; in computeAPIStyle() 60 bool italic = (relativeStyle & Typeface::kItalic) != 0; in computeRelativeStyle()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 58 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()
|