Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java198 addFont(desiredStyle); in getFont()
250 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex) { in addFont() method in FontFamily_Delegate
252 return delegate != null && delegate.addFont(path, ttcIndex); in addFont()
293 static boolean addFont(long nativeFamily, final String path, final int weight,
298 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, isItalic));
301 return delegate.addFont(path, weight, isItalic);
334 ffd.addFont(fontInfo);
348 ffd.addFont(fontInfo);
392 private boolean addFont(final String path, int ttcIndex) {
395 mPostInitRunnables.add(() -> addFont(path));
[all …]
DTypeface_Delegate.java215 FontFamily_Delegate.addFont(fontFamily.mNativePtr, font.fontName, font.weight,
/frameworks/minikin/sample/
Dexample.cpp60 family->addFont(font); in makeFontCollection()
69 family->addFont(font); in makeFontCollection()
Dexample_skia.cpp62 family->addFont(font); in makeFontCollection()
71 family->addFont(font); in makeFontCollection()
/frameworks/minikin/include/minikin/
DFontFamily.h117 bool addFont(MinikinFont* typeface);
119 void addFont(MinikinFont* typeface, FontStyle style);
/frameworks/minikin/libs/minikin/
DFontFamily.cpp80 bool FontFamily::addFont(MinikinFont* typeface) { in addFont() function in android::FontFamily
98 void FontFamily::addFont(MinikinFont* typeface, FontStyle style) { in addFont() function in android::FontFamily
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp59 bool result = family->addFont(minikinFont); in addSkTypeface()
182 fontFamily->addFont(minikinFont, FontStyle(weight / 100, isItalic)); in FontFamily_addFontWeightStyle()
/frameworks/minikin/tests/
DFontCollectionTest.cpp61 family->addFont(new MinikinFontForTest(kVsTestFont)); in TEST()
DFontTestUtils.cpp69 family->addFont(new MinikinFontForTest(fontPath), android::FontStyle(weight, italic)); in getFontCollection()
DFontFamilyTest.cpp355 family->addFont(minikinFont.get()); in TEST_F()
408 family->addFont(minikinFont.get()); in TEST_F()
DFontCollectionItemizeTest.cpp678 family1->addFont(new MinikinFontForTest(kLatinFont)); in TEST_F()
682 family2->addFont(new MinikinFontForTest(kVSTestFont)); in TEST_F()
807 firstFamily->addFont(firstFamilyMinikinFont); in TEST_F()
819 family->addFont(minikin_font); in TEST_F()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java71 public boolean addFont(String path, int ttcIndex) { in addFont() method in FontFamily
DTypeface.java247 if (fontFamily.addFont(path, 0 /* ttcIndex */)) { in createFromFile()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp73 family->addFont(font); in makeFontCollection()