Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontFamily.cpp97 for (size_t i = 0; i < mFonts.size(); i++) { in ~FontFamily()
98 mFonts[i].typeface->UnrefLocked(); in ~FontFamily()
130 mFonts.push_back(Font(typeface, style)); in addFontLocked()
156 for (size_t i = 0; i < mFonts.size(); i++) { in getClosestMatch()
157 const Font& font = mFonts[i]; in getClosestMatch()
175 return mFonts.size(); in getNumFonts()
179 return mFonts[index].typeface; in getFont()
183 return mFonts[index].style; in getStyle()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java66 private List<Font> mFonts; field in BidiRenderer
81 mFonts = new ArrayList<Font>(paint.getFonts().size()); in BidiRenderer()
84 mFonts.add(null); in BidiRenderer()
87 mFonts.add(fontInfo.mFont); in BidiRenderer()
142 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { in renderText()
158 if (mFonts.size() == 0 || preferredFont == null) { in renderScript()
180 for (Font font : mFonts) { in renderScript()
DFontFamily_Delegate.java86 private List<FontInfo> mFonts = new ArrayList<FontInfo>(); field in FontFamily_Delegate
156 for (FontInfo font : mFonts) { in getFont()
323 for (FontInfo font : mFonts) {
328 mFonts.add(fontInfo);
DPaint_Delegate.java70 private List<FontInfo> mFonts; field in Paint_Delegate
111 return mFonts; in getFonts()
536 if (delegate.mFonts.size() > 0) { in ascent()
537 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in ascent()
553 if (delegate.mFonts.size() > 0) { in descent()
554 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in descent()
581 if (delegate.mFonts.size() > 0) { in getFontMetricsInt()
582 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in getFontMetricsInt()
1195 mFonts = Collections.unmodifiableList(infoList); in updateFontObject()
1212 if (mFonts.size() > 0) { in getFontMetrics()
[all …]
/frameworks/minikin/include/minikin/
DFontFamily.h154 std::vector<Font> mFonts; variable