Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java239 addFont(desiredStyle); in getFont()
291 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex, in addFont() method in FontFamily_Delegate
298 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); in addFont()
353 static boolean addFont(long builderPtr, final String path, final int weight,
359 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, italic));
362 return delegate.addFont(path, weight, italic);
383 private boolean addFont(final String path, int ttcIndex, int weight, int italic) {
386 mPostInitRunnables.add(() -> addFont(path, weight, italic));
389 return addFont(path, weight, italic);
392 private boolean addFont(@NonNull String path) {
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java94 familyBuilder.addFont(font, fontBuilder.mWeight, fontBuilder.mItalic); in nAddFont()
163 addFont(desiredStyle);
173 private void addFont(@NonNull Font font, int weight, boolean italic) {
178 addFont(fontInfo);
181 private void addFont(@NonNull FontInfo fontInfo) {
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFamily.java97 public @NonNull Builder addFont(@NonNull Font font) { in addFont() method in FontFamily.Builder
DSystemFonts.java207 b.addFont(font); in createFontFamily()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java139 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() method in FontFamily
DTypeface.java267 familyBuilder.addFont(fontBuilder.build()); in createFromResources()
/frameworks/base/core/java/android/provider/
DFontsContract.java661 familyBuilder.addFont(font); in buildTypeface()
/frameworks/base/api/
Dcurrent.txt16332 …method @NonNull public android.graphics.fonts.FontFamily.Builder addFont(@NonNull android.graphics…