Home
last modified time | relevance | path

Searched refs:kItalic (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp117 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/
DTypeface.h41 enum Style : uint8_t { kNormal = 0, kBold = 0x01, kItalic = 0x02, kBoldItalic = 0x03 }; enumerator
DTypeface.cpp45 return italic ? Typeface::kItalic : Typeface::kNormal; in computeAPIStyle()
60 bool italic = (relativeStyle & Typeface::kItalic) != 0; in computeRelativeStyle()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp58 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()