• Home
  • Raw
  • Download

Lines Matching refs:familyRecID

188                                   const char* name, FamilyRecID familyRecID) {  in insert_into_name_dict()  argument
194 familyNameDict.set(tolc.lc(), familyRecID); in insert_into_name_dict()
219 FamilyRecID familyRecID = INVALID_FAMILY_REC_ID; in SkFontConfigInterfaceAndroid() local
235 fontRec.fFamilyRecID = familyRecID; in SkFontConfigInterfaceAndroid()
264 familyRecID = fFontFamilies.count() - 1; in SkFontConfigInterfaceAndroid()
265 fontRec.fFamilyRecID = familyRecID; in SkFontConfigInterfaceAndroid()
289 addFallbackFamily(familyRecID); in SkFontConfigInterfaceAndroid()
299 insert_into_name_dict(fFamilyNameDict, names[i].c_str(), familyRecID); in SkFontConfigInterfaceAndroid()
320 FamilyRecID familyRecID = fDefaultFallbackList[i]; in SkFontConfigInterfaceAndroid() local
321 … const SkString& fontLang = fFontFamilies[familyRecID].fPaintOptions.getLanguage().getTag(); in SkFontConfigInterfaceAndroid()
323 fallbackList->push(familyRecID); in SkFontConfigInterfaceAndroid()
340 void SkFontConfigInterfaceAndroid::addFallbackFamily(FamilyRecID familyRecID) { in addFallbackFamily() argument
341 SkASSERT(familyRecID < fFontFamilies.count()); in addFallbackFamily()
342 FamilyRec& familyRec = fFontFamilies[familyRecID]; in addFallbackFamily()
349 familyRec.fFallbackName.printf("%.2x##fallback", familyRecID); in addFallbackFamily()
350 insert_into_name_dict(fFamilyNameDict, familyRec.fFallbackName.c_str(), familyRecID); in addFallbackFamily()
353 fDefaultFallbackList.push(familyRecID); in addFallbackFamily()
369 customList->push(familyRecID); in addFallbackFamily()
410 FamilyRecID familyRecID = INVALID_FAMILY_REC_ID; in matchFamilyName() local
413 if (fFamilyNameDict.find(tolc.lc(), &familyRecID)) { in matchFamilyName()
417 familyRecID = fDefaultFamilyRecID; in matchFamilyName()
424 if (INVALID_FAMILY_REC_ID == familyRecID) { in matchFamilyName()
428 FontRecID fontRecID = find_best_style(fFontFamilies[familyRecID], style); in matchFamilyName()
444 SkAssertResult(fFamilyNameDict.findKey(familyRecID, &familyName)); in matchFamilyName()
525 FamilyRecID familyRecID = fallbackFontList->getAt(i); in getFallbackFamilyNameForChar() local
530 if (!(fFontFamilies[familyRecID].fPaintOptions.getFontVariant() & acceptedVariants)) { in getFallbackFamilyNameForChar()
534 FontRecID fontRecID = find_best_style(fFontFamilies[familyRecID], SkTypeface::kNormal); in getFallbackFamilyNameForChar()
544 name->set(fFontFamilies[familyRecID].fFallbackName); in getFallbackFamilyNameForChar()
668 FamilyRecID familyRecID = currentFallbackList->getAt(nextFallbackFontIndex); in nextLogicalTypeface() local
669 if ((fFontFamilies[familyRecID].fPaintOptions.getFontVariant() & acceptedVariants) != 0) { in nextLogicalTypeface()
670 FontRecID matchedFont = find_best_style(fFontFamilies[familyRecID], origStyle); in nextLogicalTypeface()
715 const FamilyRecID familyRecID = currentFallbackList->getAt(x); in getTypefaceForGlyphID() local
716 const SkPaintOptionsAndroid& familyOptions = fFontFamilies[familyRecID].fPaintOptions; in getTypefaceForGlyphID()
718 FontRecID matchedFont = find_best_style(fFontFamilies[familyRecID], origStyle); in getTypefaceForGlyphID()