Home
last modified time | relevance | path

Searched refs:FontFamily (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_android_parser.cpp88 FamilyData(XML_Parser parser, SkTDArray<FontFamily*>& families, in FamilyData()
105 SkTDArray<FontFamily*>& fFamilies; // The array to append families, owned by caller
106 std::unique_ptr<FontFamily> fCurrentFamily; // The family being created, owned by this
235 std::unique_ptr<FontFamily>* fallbackFamily = in __anond66e1b890202()
238 std::unique_ptr<FontFamily> newFallbackFamily( in __anond66e1b890202()
239 new FontFamily(self->fCurrentFamily->fBasePath, true)); in __anond66e1b890202()
273 FontFamily* family = new FontFamily(self->fBasePath, true); in __anond66e1b890602()
317 static FontFamily* find_family(FamilyData* self, const SkString& familyName) { in find_family()
319 FontFamily* candidate = self->fFamilies[i]; in find_family()
358 FontFamily* targetFamily = find_family(self, to); in __anond66e1b890902()
[all …]
DSkFontMgr_android_parser.h87 struct FontFamily { struct
88 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily() function
98 SkTHashMap<SkString, std::unique_ptr<FontFamily>> fallbackFamilies; argument
109 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); argument
112 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
DSkFontMgr_android.cpp174 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android()
293 SkTDArray<FontFamily*> families; in SkFontMgr_Android()
527 void addFamily(FontFamily& family, const bool isolated, int familyIndex) { in addFamily()
549 void buildNameToFamilyMap(SkTDArray<FontFamily*> families, const bool isolated) { in buildNameToFamilyMap()
551 for (FontFamily* family : families) { in buildNameToFamilyMap()
554 (SkString, std::unique_ptr<FontFamily>* fallbackFamily) { in buildNameToFamilyMap()
/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp88 FamilyData(XML_Parser parser, SkTDArray<FontFamily*>& families, in FamilyData()
105 SkTDArray<FontFamily*>& fFamilies; // The array to append families, owned by caller
106 std::unique_ptr<FontFamily> fCurrentFamily; // The family being created, owned by this
235 std::unique_ptr<FontFamily>* fallbackFamily = in __anon78ec38c00202()
238 std::unique_ptr<FontFamily> newFallbackFamily( in __anon78ec38c00202()
239 new FontFamily(self->fCurrentFamily->fBasePath, true)); in __anon78ec38c00202()
273 FontFamily* family = new FontFamily(self->fBasePath, true); in __anon78ec38c00602()
317 static FontFamily* find_family(FamilyData* self, const SkString& familyName) { in find_family()
319 FontFamily* candidate = self->fFamilies[i]; in find_family()
358 FontFamily* targetFamily = find_family(self, to); in __anon78ec38c00902()
[all …]
DSkFontMgr_android_parser.h87 struct FontFamily { struct
88 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily() function
98 SkTHashMap<SkString, std::unique_ptr<FontFamily>> fallbackFamilies; argument
109 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); argument
112 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
DSkFontMgr_android.cpp175 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android()
294 SkTDArray<FontFamily*> families; in SkFontMgr_Android()
528 void addFamily(FontFamily& family, const bool isolated, int familyIndex) { in addFamily()
550 void buildNameToFamilyMap(SkTDArray<FontFamily*> families, const bool isolated) { in buildNameToFamilyMap()
552 for (FontFamily* family : families) { in buildNameToFamilyMap()
555 (SkString, std::unique_ptr<FontFamily>* fallbackFamily) { in buildNameToFamilyMap()
/external/skia/tests/
DFontMgrAndroidParserTest.cpp25 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks()
45 static void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts()
68 FontFamily& family = *fontFamilies[i]; in ValidateLoadedFonts()
78 static void DumpFiles(const FontFamily& fontFamily) { in DumpFiles()
94 static void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) { in DumpLoadedFonts()
120 [](SkString, std::unique_ptr<FontFamily>* fallbackFamily) { in DumpLoadedFonts()
181 SkTDArray<FontFamily*> preV17FontFamilies; in DEF_TEST()
199 SkTDArray<FontFamily*> v17FontFamilies; in DEF_TEST()
218 SkTDArray<FontFamily*> v22FontFamilies; in DEF_TEST()
/external/skqp/tests/
DFontMgrAndroidParserTest.cpp25 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks()
45 static void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts()
68 FontFamily& family = *fontFamilies[i]; in ValidateLoadedFonts()
78 static void DumpFiles(const FontFamily& fontFamily) { in DumpFiles()
94 static void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) { in DumpLoadedFonts()
120 [](SkString, std::unique_ptr<FontFamily>* fallbackFamily) { in DumpLoadedFonts()
181 SkTDArray<FontFamily*> preV17FontFamilies; in DEF_TEST()
199 SkTDArray<FontFamily*> v17FontFamilies; in DEF_TEST()
218 SkTDArray<FontFamily*> v22FontFamilies; in DEF_TEST()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFontFamily.java7 import android.graphics.FontFamily;
12 @Implements(value = FontFamily.class, minSdk = LOLLIPOP, isInAndroidSdk = false)
DShadowSystemFonts.java22 ArrayMap<String, android.graphics.fonts.FontFamily[]> fallbackMap, in buildSystemFallback()
DShadowTypeface.java12 import android.graphics.FontFamily;
129 ArrayMap<String, Typeface> fontMap, ArrayMap<String, FontFamily[]> fallbackMap) { in buildSystemFallback()
/external/pdfium/testing/resources/pixel/
Dbug_1388_2.in54 /FontFamily (Times New Roman)
Dbug_1388_3.in55 /FontFamily (PDFium1388_3)
/external/pdfium/testing/resources/
Dfont_weight.in75 /FontFamily (Times New Roman)
/external/pdfium/core/fxcrt/css/
Dcfx_css.h97 FontFamily, enumerator
Dcfx_cssdeclaration.cpp331 (pProperty->eName == CFX_CSSProperty::FontFamily) ? ',' : ' '; in ParseValueListProperty()
635 AddPropertyHolder(CFX_CSSProperty::FontFamily, pList, bImportant); in ParseFontProperty()
Dcfx_cssdata.cpp76 {PROP(CFX_CSSProperty::FontFamily,
Dcfx_cssstyleselector.cpp400 case CFX_CSSProperty::FontFamily: in ApplyProperty()