Searched refs:fStyle (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 88 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/ |
D | Typeface.cpp | 77 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()
|
D | Typeface.h | 38 minikin::FontStyle fStyle; member
|
D | MinikinUtils.cpp | 47 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 103 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()
|
D | Paint.cpp | 574 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()
|