Searched refs:fontInfo (Results 1 – 2 of 2) sorted by relevance
109 FontInfo fontInfo = (FontInfo) o; in equals() local110 return mWeight == fontInfo.mWeight && mIsItalic == fontInfo.mIsItalic; in equals()390 FontInfo fontInfo = sCache.get(path);391 if (fontInfo != null) {393 sCache.put(path, fontInfo);394 ffd.addFont(fontInfo);406 fontInfo = new FontInfo();407 fontInfo.mFont = font;409 fontInfo.mWeight = font.isBold() ? BOLD_FONT_WEIGHT : DEFAULT_FONT_WEIGHT;411 fontInfo.mWeight = weight;[all …]
316 for (FontInfo fontInfo : fonts) { in getScriptFont()317 if (fontInfo.mFont.canDisplayUpTo(text, start, limit) == -1) { in getScriptFont()318 return fontInfo.mFont; in getScriptFont()