Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp85 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
86 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
90 EXPECT_EQ(300, light->fStyle.weight()); in TEST()
91 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); in TEST()
98 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
104 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
105 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
110 EXPECT_EQ(400, italic->fStyle.weight()); in TEST()
111 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()
163 result->fStyle = computeMinikinStyle(weight, italic); in createFromFamilies()
195 hwTypeface->fStyle = minikin::FontStyle(); in setRobotoTypefaceForTest()
DTypeface.h38 minikin::FontStyle fStyle; member
DMinikinUtils.cpp45 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp93 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
DPaint.cpp575 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()