Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
H A DUpdatableSystemFontTest.java254 assertThat(family.getFontList()).hasSize(2); in updateFontFamily()
255 assertThat(family.getFontList().get(0).getPostScriptName()) in updateFontFamily()
257 assertThat(family.getFontList().get(0).getFile().getAbsolutePath()) in updateFontFamily()
259 assertThat(family.getFontList().get(0).getStyle().getWeight()) in updateFontFamily()
261 assertThat(family.getFontList().get(1).getPostScriptName()) in updateFontFamily()
263 assertThat(family.getFontList().get(1).getFile().getAbsolutePath()) in updateFontFamily()
265 assertThat(family.getFontList().get(1).getStyle().getWeight()).isEqualTo(FONT_WEIGHT_BOLD); in updateFontFamily()
276 assertThat(family.getFontList()).hasSize(2); in updateFontFamily_asNewFont()
277 assertThat(family.getFontList().get(0).getPostScriptName()) in updateFontFamily_asNewFont()
279 assertThat(family.getFontList().get(1).getPostScriptName()) in updateFontFamily_asNewFont()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
H A DUpdatableFontDirTest.java215 assertThat(foobar.getFontList()).hasSize(2); in construct()
216 assertThat(foobar.getFontList().get(0).getFile()) in construct()
218 assertThat(foobar.getFontList().get(1).getFile()) in construct()
419 assertThat(foobar.getFontList()).hasSize(1); in construct_afterBatchFailure()
420 assertThat(foobar.getFontList().get(0).getFile()) in construct_afterBatchFailure()
885 assertThat(test.getFontList()).hasSize(1); in addFontFamily()
886 assertThat(test.getFontList().get(0).getFile()) in addFontFamily()
945 assertThat(monospace.getFontList()).hasSize(1); in getSystemFontConfig()
950 .isEqualTo(monospace.getFontList()); in getSystemFontConfig()
971 assertThat(updated.getFontList()).hasSize(1); in getSystemFontConfig_preserveFirstFontFamily()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DUpdatableFontDir.java493 for (int j = 0; j < family.getFontList().size(); ++j) { in getPreinstalledFontRevision()
494 FontConfig.Font font = family.getFontList().get(j); in getPreinstalledFontRevision()
505 for (int k = 0; k < family.getFontList().size(); ++k) { in getPreinstalledFontRevision()
506 FontConfig.Font font = family.getFontList().get(k); in getPreinstalledFontRevision()
H A DFontManagerShellCommand.java179 final List<FontConfig.Font> fonts = family.getFontList(); in dumpFontConfig()
221 final List<FontConfig.Font> fonts = family.getFontList(); in dumpFontConfig()
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/
H A DSystemFonts.java209 xmlFamily.getFontList(), in appendNamedFamilyList()
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DFontListParserTest.java371 assertThat(families.get(1).getFontList().get(0).getFile().getName()) in ignore()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java1494 for (int j = 0; j < family.getFontList().size(); ++j) {
1495 preloadFontFile(family.getFontList().get(j).getFile().getAbsolutePath());
/aosp14/frameworks/base/core/java/android/text/
H A DFontConfig.java581 public @NonNull List<Font> getFontList() { in getFontList() method in FontConfig.FontFamily
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt3265 method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();
H A Dsystem-current.txt17214 method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();