Home
last modified time | relevance | path

Searched refs:addFont (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java201 addFont(desiredStyle); in getFont()
253 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex, in addFont() method in FontFamily_Delegate
260 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); in addFont()
311 static boolean addFont(long builderPtr, final String path, final int weight,
317 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, italic));
320 return delegate.addFont(path, weight, italic);
354 ffd.addFont(fontInfo);
375 ffd.addFont(fontInfo);
423 private boolean addFont(final String path, int ttcIndex, int weight, int italic) {
426 mPostInitRunnables.add(() -> addFont(path, weight, italic));
[all …]
DTypeface_Delegate.java238 FontFamily_Delegate.addFont(fontFamily.mBuilderPtr, fullPathName,
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java92 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() method in FontFamily
DTypeface.java622 if (!fontFamily.addFont(mPath, mTtcIndex, mAxes, mWeight, mItalic)) { in build()
820 if (fontFamily.addFont(path, 0 /* ttcIndex */, null /* axes */, in createFromFile()