Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp88 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
89 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
93 EXPECT_EQ(300, light->fStyle.weight()); in TEST()
94 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); in TEST()
101 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
102 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
107 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
108 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
113 EXPECT_EQ(400, italic->fStyle.weight()); in TEST()
114 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp77 result->fStyle = computeRelativeStyle(result->fBaseWeight, style); in createRelative()
89 result->fStyle = computeMinikinStyle(weight, italic); in createAbsolute()
110 result->fStyle = resolvedFace->fStyle; in createFromTypefaceWithVariation()
122 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight()
167 result->fStyle = computeMinikinStyle(weight, italic); in createFromFamilies()
201 hwTypeface->fStyle = minikin::FontStyle(); in setRobotoTypefaceForTest()
DTypeface.h38 minikin::FontStyle fStyle; member
DMinikinUtils.cpp47 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp103 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
317 typeface->fStyle.writeTo(&writer); in Typeface_writeTypefaces()
336 typeface->fStyle = minikin::FontStyle(&reader); in Typeface_readTypefaces()
DPaint.cpp574 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()