Home
last modified time | relevance | path

Searched refs:fStyle (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp93 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
94 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
98 EXPECT_EQ(300, light->fStyle.weight()); in TEST()
99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); in TEST()
106 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
107 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
112 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
113 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
118 EXPECT_EQ(400, italic->fStyle.weight()); in TEST()
119 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp78 result->fStyle = computeRelativeStyle(result->fBaseWeight, style); in createRelative()
90 result->fStyle = computeMinikinStyle(weight, italic); in createAbsolute()
111 result->fStyle = resolvedFace->fStyle; in createFromTypefaceWithVariation()
123 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight()
172 result->fStyle = computeMinikinStyle(weight, italic); in createFromFamilies()
208 hwTypeface->fStyle = minikin::FontStyle(); in setRobotoTypefaceForTest()
DTypeface.h38 minikin::FontStyle fStyle; member
DMinikinUtils.cpp49 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp106 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
321 typeface->fStyle.writeTo(&writer); in Typeface_writeTypefaces()
348 typeface->fStyle = minikin::FontStyle(&reader); in Typeface_readTypefaces()
DPaint.cpp612 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()