Home
last modified time | relevance | path

Searched refs:fontFamily (Results 1 – 7 of 7) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontCollection.cpp128 const std::shared_ptr<FontFamily>& fontFamily) const { in calcFamilyScore()
129 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily); in calcFamilyScore()
135 const uint32_t localeScore = calcLocaleMatchingScore(localeListId, *fontFamily); in calcFamilyScore()
136 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily); in calcFamilyScore()
155 const std::shared_ptr<FontFamily>& fontFamily) const { in calcCoverageScore()
156 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore()
157 if (!hasVSGlyph && !fontFamily->getCoverage().get(ch)) { in calcCoverageScore()
162 if ((vs == 0 || hasVSGlyph) && (mFamilies[0] == fontFamily || fontFamily->isCustomFallback())) { in calcCoverageScore()
194 return colorEmojiRequest == fontFamily->isColorEmojiFamily() ? 2 : 1; in calcCoverageScore()
216 const FontFamily& fontFamily) { in calcLocaleMatchingScore() argument
[all …]
/frameworks/minikin/include/minikin/
DFontCollection.h93 const std::shared_ptr<FontFamily>& fontFamily) const;
96 const std::shared_ptr<FontFamily>& fontFamily) const;
99 const FontFamily& fontFamily);
101 static uint32_t calcVariantMatchingScore(FamilyVariant variant, const FontFamily& fontFamily);
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardBaseLayout.java663 String fontFamily = mPartnerConfigHelper.getString( in setButtonTypeFace() local
666 if (TextUtils.isEmpty(fontFamily)) { in setButtonTypeFace()
670 Typeface typeface = Typeface.create(fontFamily, Typeface.NORMAL); in setButtonTypeFace()
674 fontFamily)); in setButtonTypeFace()
DCarSetupWizardLayout.java674 String fontFamily = mPartnerConfigHelper.getString( in setButtonTypeFace() local
677 if (TextUtils.isEmpty(fontFamily)) { in setButtonTypeFace()
681 Typeface typeface = Typeface.create(fontFamily, Typeface.NORMAL); in setButtonTypeFace()
685 fontFamily)); in setButtonTypeFace()
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java201 for (FontFamily_Delegate fontFamily : sPostInitDelegate) { in setFontLocation()
202 fontFamily.init(); in setFontLocation()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java214 final String fontFamily = ta.getString(R.styleable.TextAppearance_fontFamily); in applyTextAppearance() local
215 if (fontFamily != null) { in applyTextAppearance()
216 p.setTypeface(Typeface.create(fontFamily, 0)); in applyTextAppearance()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...