Searched refs:mFonts (Results 1 – 9 of 9) sorted by relevance
69 private final ArrayList<Font> mFonts = new ArrayList<>(); field in FontFamily.Builder80 mFonts.add(font); in Builder()102 mFonts.add(font); in addFont()118 for (int i = 0; i < mFonts.size(); ++i) { in build()119 nAddFont(builderPtr, mFonts.get(i).getNativePtr()); in build()122 final FontFamily family = new FontFamily(mFonts, ptr); in build()140 private final ArrayList<Font> mFonts; field in FontFamily145 mFonts = fonts; in FontFamily()156 return mFonts.get(index); in getFont()165 return mFonts.size(); in getSize()
47 size_t getNumFonts() const { return mFonts.size(); } in getNumFonts()48 const Font* getFont(size_t index) const { return &mFonts[index]; } in getFont()49 FontStyle getStyle(size_t index) const { return mFonts[index].style(); } in getStyle()74 std::vector<Font> mFonts; variable
118 mFonts(std::move(fonts)), in FontFamily()122 MINIKIN_ASSERT(!mFonts.empty(), "FontFamily must contain at least one font."); in FontFamily()147 const Font* bestFont = &mFonts[0]; in getClosestMatch()149 for (size_t i = 1; i < mFonts.size(); i++) { in getClosestMatch()150 const Font& font = mFonts[i]; in getClosestMatch()170 for (size_t i = 0; i < mFonts.size(); ++i) { in computeCoverage()171 std::unordered_set<AxisTag> supportedAxes = mFonts[i].getSupportedAxes(); in computeCoverage()220 for (const Font& font : mFonts) { in createFamilyWithVariation()
392 font_ix = mFonts.size(); in LayoutPiece()393 mFonts.push_back(fakedFont); in LayoutPiece()
62 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); field in FontFamily_Builder_Delegate131 Font cachedFont = mFonts.get(desiredStyle);138 if (mFonts.size() == 1) {140 bestFont = mFonts.keySet().iterator().next();144 for (FontInfo font : mFonts.keySet()) {182 mFonts.putIfAbsent(fontInfo, fontInfo.mFont);
183 private final @NonNull Font[] mFonts; field in FontConfig.Family226 mFonts = fonts; in Family()244 return mFonts; in getFonts()
138 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); field in FontFamily_Delegate207 Font cachedFont = mFonts.get(desiredStyle); in getFont()214 if (mFonts.size() == 1) { in getFont()216 bestFont = mFonts.keySet().iterator().next(); in getFont()220 for (FontInfo font : mFonts.keySet()) { in getFont()417 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
86 private List<FontInfo> mFonts; field in Paint_Delegate139 if (mFonts != null) { in getFonts()140 return mFonts; in getFonts()153 mFonts = Collections.unmodifiableList(infoList); in getFonts()155 return mFonts; in getFonts()1304 mFonts = null; in invalidateFonts()
292 private final FontInfo[] mFonts; field in FontsContract.FontFamilyResult297 mFonts = fonts; in FontFamilyResult()305 return mFonts; in getFonts()