Home
last modified time | relevance | path

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

/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 __anonff2e0a7e0202()
238 std::unique_ptr<FontFamily> newFallbackFamily( in __anonff2e0a7e0202()
239 new FontFamily(self->fCurrentFamily->fBasePath, true)); in __anonff2e0a7e0202()
273 FontFamily* family = new FontFamily(self->fBasePath, true); in __anonff2e0a7e0602()
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 __anonff2e0a7e0902()
[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/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 __anon5cafed470202()
238 std::unique_ptr<FontFamily> newFallbackFamily( in __anon5cafed470202()
239 new FontFamily(self->fCurrentFamily->fBasePath, true)); in __anon5cafed470202()
273 FontFamily* family = new FontFamily(self->fBasePath, true); in __anon5cafed470602()
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 __anon5cafed470902()
[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/core/fxcrt/css/
Dcfx_cssdatatable.cpp46 {CFX_CSSProperty::FontFamily, L"font-family", 0x574686E6,
Dcfx_css.h95 FontFamily, enumerator
Dcfx_cssdeclaration.cpp474 (pTable->eName == CFX_CSSProperty::FontFamily) ? ',' : ' '; in ParseValueListProperty()
775 AddPropertyHolder(CFX_CSSProperty::FontFamily, pList, bImportant); in ParseFontProperty()
Dcfx_cssstyleselector.cpp398 case CFX_CSSProperty::FontFamily: in ApplyProperty()
/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp427 GpFontFamily** FontFamily);
454 GpFontFamily* FontFamily);