Home
last modified time | relevance | path

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

/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp358 FontFamily* targetFamily = find_family(self, to); in __anonff2e0a7e0902() local
359 if (!targetFamily) { in __anonff2e0a7e0902()
365 FontFamily* family = new FontFamily(targetFamily->fBasePath, self->fIsFallback); in __anonff2e0a7e0902()
368 for (int i = 0; i < targetFamily->fFonts.count(); i++) { in __anonff2e0a7e0902()
369 if (targetFamily->fFonts[i].fWeight == weight) { in __anonff2e0a7e0902()
370 family->fFonts.push_back(targetFamily->fFonts[i]); in __anonff2e0a7e0902()
375 targetFamily->fNames.push_back().set(aliasName); in __anonff2e0a7e0902()
/external/skia/src/ports/
DSkFontMgr_android_parser.cpp358 FontFamily* targetFamily = find_family(self, to); in __anon5cafed470902() local
359 if (!targetFamily) { in __anon5cafed470902()
365 FontFamily* family = new FontFamily(targetFamily->fBasePath, self->fIsFallback); in __anon5cafed470902()
368 for (int i = 0; i < targetFamily->fFonts.count(); i++) { in __anon5cafed470902()
369 if (targetFamily->fFonts[i].fWeight == weight) { in __anon5cafed470902()
370 family->fFonts.push_back(targetFamily->fFonts[i]); in __anon5cafed470902()
375 targetFamily->fNames.push_back().set(aliasName); in __anon5cafed470902()