Searched refs:FamilyVariant (Results 1 – 15 of 15) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 46 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);
|
D | FontFamily.h | 37 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;
|
D | MinikinPaint.h | 58 familyVariant(FamilyVariant::DEFAULT), in MinikinPaint() 72 FamilyVariant familyVariant;
|
D | FamilyVariant.h | 25 enum class FamilyVariant : uint8_t { enum
|
D | LayoutCache.h | 98 FamilyVariant mFamilyVariant;
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 61 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/ |
D | FontCollection.cpp | 126 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()
|
D | FontFamily.cpp | 108 : 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/ |
D | Paint.h | 89 void setFamilyVariant(minikin::FamilyVariant variant) { mFamilyVariant = variant; } in setFamilyVariant() 91 minikin::FamilyVariant getFamilyVariant() const { return mFamilyVariant; } in getFamilyVariant() 154 minikin::FamilyVariant mFamilyVariant;
|
D | PaintImpl.cpp | 27 , mFamilyVariant(minikin::FamilyVariant::DEFAULT) { in Paint()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 74 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/ |
D | FontFamily.cpp | 70 localeId, static_cast<minikin::FamilyVariant>(variant), std::move(builder->fonts), in FontFamily_Builder_build()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 47 : langId(langId), variant(static_cast<minikin::FamilyVariant>(variant)) {} in NativeFamilyBuilder() 49 minikin::FamilyVariant variant;
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCacheTest.cpp | 228 paint1.familyVariant = FamilyVariant::DEFAULT; in TEST() 232 paint2.familyVariant = FamilyVariant::COMPACT; in TEST()
|
D | FontCollectionItemizeTest.cpp | 69 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()
|