Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp86 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
87 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
91 EXPECT_EQ(300, light->fStyle.weight()); in TEST()
92 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); in TEST()
99 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
100 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
105 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
106 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
111 EXPECT_EQ(400, italic->fStyle.weight()); in TEST()
112 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); in TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp75 result->fStyle = computeRelativeStyle(result->fBaseWeight, style); in createRelative()
87 result->fStyle = computeMinikinStyle(weight, italic); in createAbsolute()
108 result->fStyle = resolvedFace->fStyle; in createFromTypefaceWithVariation()
120 result->fStyle = computeRelativeStyle(weight, result->fAPIStyle); in createWithDifferentBaseWeight()
165 result->fStyle = computeMinikinStyle(weight, italic); in createFromFamilies()
198 hwTypeface->fStyle = minikin::FontStyle(); in setRobotoTypefaceForTest()
DTypeface.h38 minikin::FontStyle fStyle; member
DMinikinUtils.cpp46 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp95 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
DPaint.cpp594 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()