Searched refs:fallbackMap (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 135 ArrayMap<String, FontFamily[]> fallbackMap) { in buildSystemFallback() argument 143 TEST_FONT_DIR, oemCustomization, fallbackMap, availableFonts); in buildSystemFallback() 144 Typeface.initSystemDefaultTypefaces(fontMap, fallbackMap, aliases); in buildSystemFallback() 158 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in testBuildSystemFallback() local 164 SYSTEM_FONT_DIR, oemCustomization, fallbackMap, availableFonts); in testBuildSystemFallback() 167 assertFalse(fallbackMap.isEmpty()); in testBuildSystemFallback() 169 Typeface.initSystemDefaultTypefaces(fontMap, fallbackMap, aliases); in testBuildSystemFallback() 189 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in testBuildSystemFallback_NonExistentFontShouldBeIgnored() local 193 buildSystemFallback(xml, oemCustomization, fontMap, fallbackMap); in testBuildSystemFallback_NonExistentFontShouldBeIgnored() 197 assertEquals(1, fallbackMap.size()); in testBuildSystemFallback_NonExistentFontShouldBeIgnored() [all …]
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 114 @NonNull ArrayMap<String, ArrayList<FontFamily>> fallbackMap, in pushFamilyToFallback() argument 143 for (int i = 0; i < fallbackMap.size(); i++) { in pushFamilyToFallback() 145 specificFallbackFonts.get(fallbackMap.keyAt(i)); in pushFamilyToFallback() 148 fallbackMap.valueAt(i).add(defaultFamily); in pushFamilyToFallback() 155 fallbackMap.valueAt(i).add(family); in pushFamilyToFallback() 157 fallbackMap.valueAt(i).add(defaultFamily); in pushFamilyToFallback() 244 @NonNull ArrayMap<String, FontFamily[]> fallbackMap, in buildSystemFallback() argument 284 fallbackMap.put(fallbackName, families); in buildSystemFallback()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | SystemFonts_Delegate.java | 49 @NonNull ArrayMap<String, FontFamily[]> fallbackMap, in buildSystemFallback() argument 53 getFontLocation() + "/", oemCustomization, fallbackMap, availableFonts); in buildSystemFallback()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | FontFallbackSetup.java | 80 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in FontFallbackSetup() local 85 mTestFontsDir, oemCustomization, fallbackMap, availableFonts); in FontFallbackSetup() 86 Typeface.initSystemDefaultTypefaces(mFontMap, fallbackMap, aliases); in FontFallbackSetup()
|