Home | History | Annotate | Download | only in graphics

Lines Matching defs:addFont

241         addFont(desiredStyle);
293 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex,
296 assert false : "Unable to call addFont after freezing.";
300 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic);
351 static boolean addFont(long builderPtr, final String path, final int weight,
357 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, italic));
360 return delegate.addFont(path, weight, italic);
394 ffd.addFont(fontInfo);
415 ffd.addFont(fontInfo);
463 private boolean addFont(final String path, int ttcIndex, int weight, int italic) {
466 mPostInitRunnables.add(() -> addFont(path, weight, italic));
469 return addFont(path, weight, italic);
472 private boolean addFont(@NonNull String path) {
473 return addFont(path, DEFAULT_FONT_WEIGHT, path.endsWith(FONT_SUFFIX_ITALIC) ? 1 : RESOLVE_BY_FONT_TABLE);
476 private boolean addFont(@NonNull String path, int weight, int italic) {
491 addFont(fontInfo);
495 private boolean addFont(@NonNull FontInfo fontInfo) {