Searched refs:fAPIStyle (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 90 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST() 95 EXPECT_EQ(Typeface::kNormal, light->fAPIStyle); in TEST() 103 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST() 109 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 115 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 121 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() 132 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST() 139 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST() 146 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST() 154 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 76 result->fAPIStyle = style; in createRelative() 88 result->fAPIStyle = computeAPIStyle(weight, italic); in createAbsolute() 109 result->fAPIStyle = resolvedFace->fAPIStyle; in createFromTypefaceWithVariation() 121 result->fAPIStyle = resolvedFace->fAPIStyle; in createWithDifferentBaseWeight() 122 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight() 166 result->fAPIStyle = computeAPIStyle(weight, italic); in createFromFamilies() 199 hwTypeface->fAPIStyle = Typeface::kNormal; in setRobotoTypefaceForTest()
|
D | Typeface.h | 42 Style fAPIStyle; member
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 98 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle() 318 writer.write<Typeface::Style>(typeface->fAPIStyle); in Typeface_writeTypefaces() 337 typeface->fAPIStyle = reader.read<Typeface::Style>(); in Typeface_readTypefaces()
|