Searched refs:fStyle (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 86 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/ |
D | Typeface.cpp | 75 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()
|
D | Typeface.h | 38 minikin::FontStyle fStyle; member
|
D | MinikinUtils.cpp | 46 minikinPaint.fontStyle = resolvedFace->fStyle; in prepareMinikinPaint()
|
/frameworks/base/core/jni/android/graphics/ |
D | Typeface.cpp | 95 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
|
D | Paint.cpp | 594 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()
|