Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java67 private List<Font> mFonts; field in BidiRenderer
82 mFonts = new ArrayList<Font>(paint.getFonts().size()); in BidiRenderer()
85 mFonts.add(null); in BidiRenderer()
88 mFonts.add(fontInfo.mFont); in BidiRenderer()
143 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { in renderText()
159 if (mFonts.size() == 0 || preferredFont == null) { in renderScript()
181 for (Font font : mFonts) { in renderScript()
DFontFamily_Delegate.java114 private List<FontInfo> mFonts = new ArrayList<FontInfo>(); field in FontFamily_Delegate
185 for (int i = 0, n = mFonts.size(); i < n; i++) { in getFont()
186 FontInfo font = mFonts.get(i); in getFont()
461 for (int i = 0, n = mFonts.size(); i < n; i++) {
462 FontInfo font = mFonts.get(i);
467 mFonts.add(fontInfo);
DPaint_Delegate.java75 private List<FontInfo> mFonts; field in Paint_Delegate
119 return mFonts; in getFonts()
548 if (delegate.mFonts.size() > 0) { in nAscent()
549 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nAscent()
565 if (delegate.mFonts.size() > 0) { in nDescent()
566 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nDescent()
595 if (delegate.mFonts.size() > 0) { in nGetFontMetricsInt()
596 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nGetFontMetricsInt()
1248 mFonts = Collections.emptyList(); in updateFontObject()
1278 mFonts = Collections.unmodifiableList(infoList); in updateFontObject()
[all …]
/frameworks/minikin/libs/minikin/
DFontFamily.cpp108 : mLangId(langId), mVariant(variant), mFonts(std::move(fonts)) { in FontFamily()
144 for (size_t i = 0; i < mFonts.size(); i++) { in getClosestMatch()
145 const Font& font = mFonts[i]; in getClosestMatch()
180 for (size_t i = 0; i < mFonts.size(); ++i) { in computeCoverage()
181 std::unordered_set<AxisTag> supportedAxes = mFonts[i].getSupportedAxesLocked(); in computeCoverage()
230 for (const Font& font : mFonts) { in createFamilyWithVariation()
/frameworks/minikin/include/minikin/
DFontFamily.h138 size_t getNumFonts() const { return mFonts.size(); } in getNumFonts()
140 return mFonts[index].typeface; in getFont()
142 FontStyle getStyle(size_t index) const { return mFonts[index].style; } in getStyle()
166 std::vector<Font> mFonts; variable
/frameworks/base/core/java/android/text/
DFontConfig.java171 private final @NonNull Font[] mFonts; field in FontConfig.Family
209 mFonts = fonts; in Family()
225 return mFonts; in getFonts()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java320 private FontsContract.FontInfo[] mFonts; field in Typeface.Builder
384 mFonts = fonts; in Builder()
420 if (mFonts != null) { in setTtcIndex()
436 if (mFonts != null) { in setFontVariationSettings()
453 if (mFonts != null) { in setFontVariationSettings()
631 } else if (mFonts != null) { in build()
634 for (FontsContract.FontInfo font : mFonts) { in build()
/frameworks/base/core/java/android/provider/
DFontsContract.java291 private final FontInfo[] mFonts; field in FontsContract.FontFamilyResult
296 mFonts = fonts; in FontFamilyResult()
304 return mFonts; in getFonts()
/frameworks/support/compat/java/android/support/v4/provider/
DFontsContractCompat.java369 private final FontInfo[] mFonts; field in FontsContractCompat.FontFamilyResult
375 mFonts = fonts; in FontFamilyResult()
383 return mFonts; in getFonts()