Home
last modified time | relevance | path

Searched refs:familyData (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/ports/
DSkFontConfigParser_android.cpp121 FamilyData* familyData = (FamilyData*) data; in fontFileNameHandler() local
122 familyData->currentFontInfo->fFileName.set(s, len); in fontFileNameHandler()
144 FontFamily* findFamily(FamilyData* familyData, const char* familyName) { in findFamily() argument
146 for (int i = 0; i < familyData->families.count(); i++) { in findFamily()
147 FontFamily* candidate = familyData->families[i]; in findFamily()
159 void aliasElementHandler(FamilyData* familyData, const char** attributes) { in aliasElementHandler() argument
185 FontFamily* targetFamily = findFamily(familyData, to.c_str()); in aliasElementHandler()
200 *familyData->families.append() = family; in aliasElementHandler()
244 void familysetElementEndHandler(FamilyData* familyData) { in familysetElementEndHandler() argument
245 for (int i = 0; i < familyData->families.count(); i++) { in familysetElementEndHandler()
[all …]
/external/skia/src/ports/
DSkFontConfigParser_android.cpp51 FamilyData *familyData = (FamilyData*) data; in textHandler() local
53 if (familyData->currentFamily && in textHandler()
54 (familyData->currentTag == NAMESET_TAG || familyData->currentTag == FILESET_TAG)) { in textHandler()
55 switch (familyData->currentTag) { in textHandler()
57 familyData->currentFamily->fNames.push_back().set(s, len); in textHandler()
60 if (familyData->currentFontInfo) { in textHandler()
61 familyData->currentFontInfo->fFileName.set(s, len); in textHandler()
75 static void fontFileElementHandler(FamilyData *familyData, const char **attributes) { in fontFileElementHandler() argument
77 FontFileInfo& newFileInfo = familyData->currentFamily->fFontFiles.push_back(); in fontFileElementHandler()
98 familyData->currentFontInfo = &newFileInfo; in fontFileElementHandler()
[all …]