Searched refs:kItalic (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 112 std::unique_ptr<Typeface> italic(Typeface::createRelative(nullptr, Typeface::kItalic)); in TEST() 115 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 143 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 146 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 176 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 179 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 209 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST() 212 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 225 std::unique_ptr<Typeface> base(Typeface::createRelative(nullptr, Typeface::kItalic)); in TEST() 245 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 | 44 return italic ? Typeface::kItalic : Typeface::kNormal; in computeAPIStyle() 59 bool italic = (relativeStyle & Typeface::kItalic) != 0; in computeRelativeStyle()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 55 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()
|