Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp88 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST()
93 EXPECT_EQ(Typeface::kNormal, light->fAPIStyle); in TEST()
101 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
107 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST()
113 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST()
119 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST()
130 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
137 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST()
144 EXPECT_EQ(Typeface::kItalic, italic->fAPIStyle); in TEST()
152 EXPECT_EQ(Typeface::kBoldItalic, boldItalic->fAPIStyle); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp74 result->fAPIStyle = style; in createRelative()
86 result->fAPIStyle = computeAPIStyle(weight, italic); in createAbsolute()
107 result->fAPIStyle = resolvedFace->fAPIStyle; in createFromTypefaceWithVariation()
119 result->fAPIStyle = resolvedFace->fAPIStyle; in createWithDifferentBaseWeight()
120 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight()
164 result->fAPIStyle = computeAPIStyle(weight, italic); in createFromFamilies()
196 hwTypeface->fAPIStyle = Typeface::kNormal; in setRobotoTypefaceForTest()
DTypeface.h42 Style fAPIStyle; member
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp90 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle()