Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/fonts/
DFontCustomizationParser.java79 @NonNull String fontDir, in parse() argument
85 return readFamilies(parser, fontDir, updatableFontMap); in parse()
106 @NonNull String fontDir, in readFamilies() argument
116 readFamily(parser, fontDir, families, updatableFontMap); in readFamilies()
128 @NonNull String fontDir, in readFamily() argument
138 parser, fontDir, updatableFontMap, false); in readFamily()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java125 @NonNull String fontDir, in readFamilies() argument
143 FontConfig.FontFamily family = readFamily(parser, fontDir, updatableFontMap, in readFamilies()
180 public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir, in readFamily() argument
191 FontConfig.Font font = readFont(parser, fontDir, updatableFontMap, in readFamily()
220 @NonNull String fontDir, in readFont() argument
259 originalPath = fontDir + sanitizedName; in readFont()
261 filePath = fontDir + sanitizedName; in readFont()
/frameworks/minikin/tests/util/
DFontTestUtils.h33 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const std::string& fontDir,
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java422 File fontDir = fontFile.getParentFile(); in installFontFile() local
423 assertThat(Os.stat(fontDir.getAbsolutePath()).st_mode & 0777).isEqualTo(0711); in installFontFile()
477 File fontDir = fontFile.getParentFile(); in installFontFile_systemFontHasPSNameDifferentFromFileName() local
478 assertThat(Os.stat(fontDir.getAbsolutePath()).st_mode & 0777).isEqualTo(0711); in installFontFile_systemFontHasPSNameDifferentFromFileName()