/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 170 FontFamily* fontFamily) const { in calcFamilyScore() 172 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily); in calcFamilyScore() 178 const uint32_t languageScore = calcLanguageMatchingScore(langListId, *fontFamily); in calcFamilyScore() 179 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily); in calcFamilyScore() 197 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, FontFamily* fontFamily) const { in calcCoverageScore() 198 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore() 199 if (!hasVSGlyph && !fontFamily->getCoverage()->get(ch)) { in calcCoverageScore() 204 if ((vs == 0 || hasVSGlyph) && mFamilies[0] == fontFamily) { in calcCoverageScore() 219 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId()); in calcCoverageScore() 254 uint32_t userLangListId, const FontFamily& fontFamily) { in calcLanguageMatchingScore() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 197 FontFamily fontFamily = new FontFamily(); in createFromAsset() 198 if (fontFamily.addFontFromAsset(mgr, path)) { in createFromAsset() 199 FontFamily[] families = { fontFamily }; in createFromAsset() 246 FontFamily fontFamily = new FontFamily(); in createFromFile() local 247 if (fontFamily.addFont(path, 0 /* ttcIndex */)) { in createFromFile() 248 FontFamily[] families = { fontFamily }; in createFromFile() 299 FontFamily fontFamily = new FontFamily(family.lang, family.variant); in makeFamilyFromParsed() local 313 if (!fontFamily.addFontWeightStyle(fontBuffer, font.ttcIndex, font.axes, in makeFamilyFromParsed() 318 return fontFamily; in makeFamilyFromParsed() 358 FontFamily fontFamily = makeFamilyFromParsed(f, bufferForPath); in init() local [all …]
|
/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 68 FontFamily* fontFamily) const; 70 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, FontFamily* fontFamily) const; 73 const FontFamily& fontFamily); 75 static uint32_t calcVariantMatchingScore(int variant, const FontFamily& fontFamily);
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 52 FontFamily* fontFamily = reinterpret_cast<FontFamily*>(familyPtr); in FontFamily_unref() local 53 fontFamily->Unref(); in FontFamily_unref() 114 FontFamily* fontFamily = reinterpret_cast<FontFamily*>(familyPtr); in FontFamily_addFont() local 115 return addSkTypeface(fontFamily, face, fontPtr, (size_t)fontSize, ttcIndex); in FontFamily_addFont() 180 FontFamily* fontFamily = reinterpret_cast<FontFamily*>(familyPtr); in FontFamily_addFontWeightStyle() local 182 fontFamily->addFont(minikinFont, FontStyle(weight / 100, isItalic)); in FontFamily_addFontWeightStyle() 222 FontFamily* fontFamily = reinterpret_cast<FontFamily*>(familyPtr); in FontFamily_addFontFromAsset() local 223 return addSkTypeface(fontFamily, face, buf, bufSize, /* ttcIndex */ 0); in FontFamily_addFontFromAsset()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 213 FontFamily fontFamily = new FontFamily(family.lang, family.variant); 215 FontFamily_Delegate.addFont(fontFamily.mNativePtr, font.fontName, font.weight, 218 return fontFamily;
|
D | FontFamily_Delegate.java | 168 for (FontFamily_Delegate fontFamily : sPostInitDelegate) { in setFontLocation() 169 fontFamily.init(); in setFontLocation()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 213 final String fontFamily = ta.getString(R.styleable.TextAppearance_fontFamily); in applyTextAppearance() local 214 if (fontFamily != null) { in applyTextAppearance() 215 p.setTypeface(Typeface.create(fontFamily, 0)); in applyTextAppearance()
|
D | TextView.java | 733 String fontFamily = null; in TextView() local 795 fontFamily = appearance.getString(attr); in TextView() 1100 fontFamily = a.getString(attr); in TextView() 1428 fontFamily = null; in TextView() 1430 setTypefaceFromAttrs(fontFamily, typefaceIndex, styleIndex); in TextView() 2832 final String fontFamily = ta.getString(R.styleable.TextAppearance_fontFamily); in setTextAppearance() local 2835 setTypefaceFromAttrs(fontFamily, typefaceIndex, styleIndex); in setTextAppearance()
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | cards.jd | 158 android:fontFamily="sans-serif-light" 165 android:fontFamily="sans-serif-light"
|
D | lists.jd | 190 android:fontFamily="sans-serif-condensed-light"
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 261 new int[]{android.R.attr.fontFamily}); in readFontFamilyTypeface()
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.1.jd | 809 <p>You can apply any one of these with the new {@link android.R.attr#fontFamily} 812 <p>Supported values for {@link android.R.attr#fontFamily} are:</p>
|
/frameworks/base/docs/html-intl/intl/id/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | dialogs.jd | 437 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/ |
D | dialogs.jd | 434 android:fontFamily="sans-serif"
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 583 field public static final int fontFamily = 16843692; // 0x10103ac
|
/frameworks/base/api/ |
D | current.txt | 580 field public static final int fontFamily = 16843692; // 0x10103ac
|
D | system-current.txt | 687 field public static final int fontFamily = 16843692; // 0x10103ac
|