Home
last modified time | relevance | path

Searched refs:FamilyVariant (Results 1 – 15 of 15) sorted by relevance

/frameworks/minikin/include/minikin/
DFontCollection.h46 FamilyVariant familyVariant, uint32_t runMax) const;
50 FamilyVariant familyVariant) const { in itemize()
90 FamilyVariant variant) const;
92 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, uint32_t localeListId,
101 static uint32_t calcVariantMatchingScore(FamilyVariant variant, const FontFamily& fontFamily);
DFontFamily.h37 FontFamily(FamilyVariant variant, std::vector<Font>&& fonts);
38 FontFamily(uint32_t localeListId, FamilyVariant variant, std::vector<Font>&& fonts,
44 FamilyVariant variant() const { return mVariant; } in variant()
73 FamilyVariant mVariant;
DMinikinPaint.h58 familyVariant(FamilyVariant::DEFAULT), in MinikinPaint()
72 FamilyVariant familyVariant;
DFamilyVariant.h25 enum class FamilyVariant : uint8_t { enum
DLayoutCache.h98 FamilyVariant mFamilyVariant;
/frameworks/minikin/tests/util/
DFontTestUtils.cpp61 FamilyVariant variant = FamilyVariant::DEFAULT; in getFontFamilies()
64 variant = FamilyVariant::ELEGANT; in getFontFamilies()
66 variant = FamilyVariant::COMPACT; in getFontFamilies()
137 return std::make_shared<FontFamily>(LocaleListCache::getId(lang), FamilyVariant::DEFAULT, in buildFontFamily()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp126 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, in calcFamilyScore()
231 uint32_t FontCollection::calcVariantMatchingScore(FamilyVariant variant, in calcVariantMatchingScore()
233 const FamilyVariant familyVariant = fontFamily.variant(); in calcVariantMatchingScore()
234 if (familyVariant == FamilyVariant::DEFAULT) { in calcVariantMatchingScore()
240 if (variant == FamilyVariant::DEFAULT && familyVariant == FamilyVariant::COMPACT) { in calcVariantMatchingScore()
254 FamilyVariant variant) const { in getFamilyForChar()
373 FamilyVariant familyVariant, in itemize()
DFontFamily.cpp108 : FontFamily(FamilyVariant::DEFAULT, std::move(fonts)) {} in FontFamily()
110 FontFamily::FontFamily(FamilyVariant variant, std::vector<Font>&& fonts) in FontFamily()
114 FontFamily::FontFamily(uint32_t localeListId, FamilyVariant variant, std::vector<Font>&& fonts, in FontFamily()
/frameworks/base/libs/hwui/hwui/
DPaint.h89 void setFamilyVariant(minikin::FamilyVariant variant) { mFamilyVariant = variant; } in setFamilyVariant()
91 minikin::FamilyVariant getFamilyVariant() const { return mFamilyVariant; } in getFamilyVariant()
154 minikin::FamilyVariant mFamilyVariant;
DPaintImpl.cpp27 , mFamilyVariant(minikin::FamilyVariant::DEFAULT) { in Paint()
/frameworks/base/native/android/
Dsystem_fonts.cpp74 static_cast<uint32_t>(minikin::FamilyVariant::DEFAULT));
76 static_cast<uint32_t>(minikin::FamilyVariant::COMPACT));
78 static_cast<uint32_t>(minikin::FamilyVariant::ELEGANT));
253 static_cast<minikin::FamilyVariant>(matcher->mFamilyVariant), in AFontMatcher_match()
/frameworks/base/core/jni/android/graphics/fonts/
DFontFamily.cpp70 localeId, static_cast<minikin::FamilyVariant>(variant), std::move(builder->fonts), in FontFamily_Builder_build()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp47 : langId(langId), variant(static_cast<minikin::FamilyVariant>(variant)) {} in NativeFamilyBuilder()
49 minikin::FamilyVariant variant;
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp228 paint1.familyVariant = FamilyVariant::DEFAULT; in TEST()
232 paint2.familyVariant = FamilyVariant::COMPACT; in TEST()
DFontCollectionItemizeTest.cpp69 FamilyVariant::DEFAULT); in itemize()
74 FamilyVariant::DEFAULT, runMax); in itemize()
932 std::make_shared<FontFamily>(registerLocaleList("und"), FamilyVariant::DEFAULT, in TEST()
947 FamilyVariant::DEFAULT, std::move(fonts), in TEST()