Home
last modified time | relevance | path

Searched refs:mFonts (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontFamily.cpp75 for (size_t i = 0; i < mFonts.size(); i++) { in ~FontFamily()
76 mFonts[i].typeface->UnrefLocked(); in ~FontFamily()
105 mFonts.push_back(Font(typeface, style)); in addFontLocked()
132 for (size_t i = 0; i < mFonts.size(); i++) { in getClosestMatch()
133 const Font& font = mFonts[i]; in getClosestMatch()
151 return mFonts.size(); in getNumFonts()
155 return mFonts[index].typeface; in getFont()
159 return mFonts[index].style; in getStyle()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java65 private List<Font> mFonts; field in BidiRenderer
80 mFonts = new ArrayList<Font>(paint.getFonts().size()); in BidiRenderer()
83 mFonts.add(null); in BidiRenderer()
86 mFonts.add(fontInfo.mFont); in BidiRenderer()
141 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { in renderText()
157 if (mFonts.size() == 0 || preferredFont == null) { in renderScript()
179 for (Font font : mFonts) { in renderScript()
DFontFamily_Delegate.java111 private List<FontInfo> mFonts = new ArrayList<FontInfo>(); field in FontFamily_Delegate
182 for (int i = 0, n = mFonts.size(); i < n; i++) { in getFont()
183 FontInfo font = mFonts.get(i); in getFont()
430 for (int i = 0, n = mFonts.size(); i < n; i++) {
431 FontInfo font = mFonts.get(i);
436 mFonts.add(fontInfo);
DPaint_Delegate.java75 private List<FontInfo> mFonts; field in Paint_Delegate
119 return mFonts; in getFonts()
559 if (delegate.mFonts.size() > 0) { in nAscent()
560 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nAscent()
576 if (delegate.mFonts.size() > 0) { in nDescent()
577 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nDescent()
606 if (delegate.mFonts.size() > 0) { in nGetFontMetricsInt()
607 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nGetFontMetricsInt()
1265 mFonts = Collections.emptyList(); in updateFontObject()
1295 mFonts = Collections.unmodifiableList(infoList); in updateFontObject()
[all …]
/frameworks/minikin/include/minikin/
DFontFamily.h154 std::vector<Font> mFonts; variable