Searched refs:mFonts (Results 1 – 8 of 8) sorted by relevance
116 mFonts(std::move(fonts)), in FontFamily()119 MINIKIN_ASSERT(!mFonts.empty(), "FontFamily must contain at least one font."); in FontFamily()144 const Font* bestFont = &mFonts[0]; in getClosestMatch()146 for (size_t i = 1; i < mFonts.size(); i++) { in getClosestMatch()147 const Font& font = mFonts[i]; in getClosestMatch()167 for (size_t i = 0; i < mFonts.size(); ++i) { in computeCoverage()168 std::unordered_set<AxisTag> supportedAxes = mFonts[i].getSupportedAxes(); in computeCoverage()217 for (const Font& font : mFonts) { in createFamilyWithVariation()
145 size_t getNumFonts() const { return mFonts.size(); } in getNumFonts()146 const Font* getFont(size_t index) const { return &mFonts[index]; } in getFont()147 FontStyle getStyle(size_t index) const { return mFonts[index].style(); } in getStyle()171 std::vector<Font> mFonts; variable
177 private final @NonNull Font[] mFonts; field in FontConfig.Family219 mFonts = fonts; in Family()235 return mFonts; in getFonts()
139 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); field in FontFamily_Delegate208 Font cachedFont = mFonts.get(desiredStyle); in getFont()215 if (mFonts.size() == 1) { in getFont()217 bestFont = mFonts.keySet().iterator().next(); in getFont()222 for (FontInfo font : mFonts.keySet()) { in getFont()496 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
85 private List<FontInfo> mFonts; field in Paint_Delegate137 if (mFonts != null) { in getFonts()138 return mFonts; in getFonts()150 mFonts = Collections.unmodifiableList(infoList); in getFonts()152 return mFonts; in getFonts()1296 mFonts = null; in invalidateFonts()
346 private FontsContract.FontInfo[] mFonts; field in Typeface.Builder410 mFonts = fonts; in Builder()446 if (mFonts != null) { in setTtcIndex()462 if (mFonts != null) { in setFontVariationSettings()479 if (mFonts != null) { in setFontVariationSettings()637 } else if (mFonts != null) { in build()640 for (FontsContract.FontInfo font : mFonts) { in build()
295 private final FontInfo[] mFonts; field in FontsContract.FontFamilyResult300 mFonts = fonts; in FontFamilyResult()308 return mFonts; in getFonts()
424 private final FontInfo[] mFonts; field in FontsContractCompat.FontFamilyResult430 mFonts = fonts; in FontFamilyResult()438 return mFonts; in getFonts()