Home
last modified time | relevance | path

Searched refs:getFontList (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java244 assertThat(family.getFontList()).hasSize(2); in updateFontFamily()
245 assertThat(family.getFontList().get(0).getPostScriptName()) in updateFontFamily()
247 assertThat(family.getFontList().get(0).getFile().getAbsolutePath()) in updateFontFamily()
249 assertThat(family.getFontList().get(0).getStyle().getWeight()) in updateFontFamily()
251 assertThat(family.getFontList().get(1).getPostScriptName()) in updateFontFamily()
253 assertThat(family.getFontList().get(1).getFile().getAbsolutePath()) in updateFontFamily()
255 assertThat(family.getFontList().get(1).getStyle().getWeight()).isEqualTo(FONT_WEIGHT_BOLD); in updateFontFamily()
266 assertThat(family.getFontList()).hasSize(2); in updateFontFamily_asNewFont()
267 assertThat(family.getFontList().get(0).getPostScriptName()) in updateFontFamily_asNewFont()
269 assertThat(family.getFontList().get(1).getPostScriptName()) in updateFontFamily_asNewFont()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java226 assertThat(foobar.getFontList()).hasSize(2); in construct()
227 assertThat(foobar.getFontList().get(0).getFile()) in construct()
229 assertThat(foobar.getFontList().get(1).getFile()) in construct()
433 assertThat(foobar.getFontList()).hasSize(1); in construct_afterBatchFailure()
434 assertThat(foobar.getFontList().get(0).getFile()) in construct_afterBatchFailure()
901 assertThat(test.getFontList()).hasSize(1); in addFontFamily()
902 assertThat(test.getFontList().get(0).getFile()) in addFontFamily()
961 assertThat(monospace.getFontList()).hasSize(1); in getSystemFontConfig()
962 assertThat(monospace.getFontList().get(0).getFile()) in getSystemFontConfig()
965 assertThat(getLastFamily(fontConfig, "test").getFontList()) in getSystemFontConfig()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java384 assertThat(families.get(1).getFontList().get(0).getFile().getName()) in ignore()
401 assertThat(families.get(0).getFontList().get(0).getVarTypeAxes()) in varFamilyType()
403 assertThat(families.get(0).getFontList().get(1).getVarTypeAxes()) in varFamilyType()
405 assertThat(families.get(0).getFontList().get(2).getVarTypeAxes()) in varFamilyType()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DUpdatableFontDir.java531 for (int j = 0; j < family.getFontList().size(); ++j) { in getFontByPostScriptName()
532 FontConfig.Font font = family.getFontList().get(j); in getFontByPostScriptName()
543 for (int k = 0; k < family.getFontList().size(); ++k) { in getFontByPostScriptName()
544 FontConfig.Font font = family.getFontList().get(k); in getFontByPostScriptName()
DFontManagerShellCommand.java179 final List<FontConfig.Font> fonts = family.getFontList(); in dumpFontConfig()
221 final List<FontConfig.Font> fonts = family.getFontList(); in dumpFontConfig()
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java113 List<FontConfig.Font> fonts = xmlFamily.getFontList(); in resolveVarFamilyType()
283 xmlFamily.getFontList(), in appendNamedFamilyList()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java1497 for (int j = 0; j < family.getFontList().size(); ++j) {
1498 preloadFontFile(family.getFontList().get(j).getFile().getAbsolutePath());
/frameworks/base/core/java/android/text/
DFontConfig.java633 public @NonNull List<Font> getFontList() { in getFontList() method in FontConfig.FontFamily
/frameworks/base/core/api/
Dtest-current.txt3448 method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();
Dsystem-current.txt17998 method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();