Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontMgr_android.cpp320 return fNameToFamilyMap.count(); in onCountFamilies()
324 if (index < 0 || fNameToFamilyMap.count() <= index) { in onGetFamilyName()
328 familyName->set(fNameToFamilyMap[index].name); in onGetFamilyName()
332 if (index < 0 || fNameToFamilyMap.count() <= index) { in onCreateStyleSet()
335 return SkRef(fNameToFamilyMap[index].styleSet); in onCreateStyleSet()
343 for (int i = 0; i < fNameToFamilyMap.count(); ++i) { in onMatchFamily()
344 if (fNameToFamilyMap[i].name.equals(tolc.lc())) { in onMatchFamily()
345 return SkRef(fNameToFamilyMap[i].styleSet); in onMatchFamily()
525 SkTArray<NameToFamily, true> fNameToFamilyMap; member in SkFontMgr_Android
529 SkTArray<NameToFamily, true>* nameToFamily = &fNameToFamilyMap; in addFamily()
/external/skqp/src/ports/
DSkFontMgr_android.cpp320 return fNameToFamilyMap.count(); in onCountFamilies()
324 if (index < 0 || fNameToFamilyMap.count() <= index) { in onGetFamilyName()
328 familyName->set(fNameToFamilyMap[index].name); in onGetFamilyName()
332 if (index < 0 || fNameToFamilyMap.count() <= index) { in onCreateStyleSet()
335 return SkRef(fNameToFamilyMap[index].styleSet); in onCreateStyleSet()
343 for (int i = 0; i < fNameToFamilyMap.count(); ++i) { in onMatchFamily()
344 if (fNameToFamilyMap[i].name.equals(tolc.lc())) { in onMatchFamily()
345 return SkRef(fNameToFamilyMap[i].styleSet); in onMatchFamily()
525 SkTArray<NameToFamily, true> fNameToFamilyMap; member in SkFontMgr_Android
529 SkTArray<NameToFamily, true>* nameToFamily = &fNameToFamilyMap; in addFamily()