Home
last modified time | relevance | path

Searched refs:fontDir (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFontCustomizationParser.java51 public static Result parse(@NonNull InputStream in, @NonNull String fontDir) in parse() argument
56 return readFamilies(parser, fontDir); in parse()
74 private static Result readFamilies(XmlPullParser parser, String fontDir) in readFamilies() argument
82 readFamily(parser, fontDir, out); in readFamilies()
93 private static void readFamily(XmlPullParser parser, String fontDir, Result out) in readFamily() argument
100 out.mAdditionalNamedFamilies.add(FontListParser.readFamily(parser, fontDir)); in readFamily()
DSystemFonts.java241 @NonNull String fontDir, in buildSystemFallback() argument
247 final FontConfig fontConfig = FontListParser.parse(fontsIn, fontDir); in buildSystemFallback()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java49 public static FontConfig parse(InputStream in, String fontDir) in parse() argument
55 return readFamilies(parser, fontDir); in parse()
61 private static FontConfig readFamilies(XmlPullParser parser, String fontDir) in readFamilies() argument
71 families.add(readFamily(parser, fontDir)); in readFamilies()
85 public static FontConfig.Family readFamily(XmlPullParser parser, String fontDir) in readFamily() argument
95 fonts.add(readFont(parser, fontDir)); in readFamily()
116 private static FontConfig.Font readFont(XmlPullParser parser, String fontDir) in readFont() argument
139 return new FontConfig.Font(fontDir + sanitizedName, index, axes.toArray( in readFont()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp49 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const std::string& fontDir, in getFontFamilies() argument
83 const std::string fontPath = xmlTrim(fontDir + std::string((const char*)fontFileName)); in getFontFamilies()
DFontTestUtils.h33 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const std::string& fontDir,
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DSystemFonts_Delegate.java47 @NonNull String fontDir, in buildSystemFallback() argument