Searched refs:fontDir (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontCustomizationParser.java | 79 @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/ |
D | FontListParser.java | 143 @NonNull String fontDir, in readFamilies() argument 161 FontConfig.FontFamily family = readFamily(parser, fontDir, updatableFontMap, in readFamilies() 215 public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir, in readFamily() argument 227 FontConfig.Font font = readFont(parser, fontDir, updatableFontMap, in readFamily() 258 @NonNull String fontDir, in readFont() argument 297 originalPath = fontDir + sanitizedName; in readFont() 299 filePath = fontDir + sanitizedName; in readFont()
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.h | 33 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const std::string& fontDir,
|
D | FontTestUtils.cpp | 49 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTestBase.java | 191 String fontDir = System.getProperty(FONT_DIR_PROPERTY); in getFontDir() local 192 if (fontDir == null) { in getFontDir() 196 fontDir = PLATFORM_DIR + in getFontDir() 199 return fontDir; in getFontDir()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | UpdatableFontDirTest.java | 422 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()
|