Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp95 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST()
100 EXPECT_EQ(Typeface::kNormal, light->fAPIStyle); in TEST()
108 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
114 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST()
120 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST()
126 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST()
137 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
144 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST()
151 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST()
159 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp77 result->fAPIStyle = style; in createRelative()
89 result->fAPIStyle = computeAPIStyle(weight, italic); in createAbsolute()
110 result->fAPIStyle = resolvedFace->fAPIStyle; in createFromTypefaceWithVariation()
122 result->fAPIStyle = resolvedFace->fAPIStyle; in createWithDifferentBaseWeight()
123 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight()
171 result->fAPIStyle = computeAPIStyle(weight, italic); in createFromFamilies()
206 hwTypeface->fAPIStyle = Typeface::kNormal; in setRobotoTypefaceForTest()
DTypeface.h42 Style fAPIStyle; member
/frameworks/base/libs/hwui/jni/
DTypeface.cpp101 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle()
322 writer.write<Typeface::Style>(typeface->fAPIStyle); in Typeface_writeTypefaces()
349 typeface->fAPIStyle = reader.read<Typeface::Style>(); in Typeface_readTypefaces()