Searched refs:FontConfig (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | FontListParser.java | 21 import android.text.FontConfig; 42 public static FontConfig parse(InputStream in) throws XmlPullParserException, IOException { in parse() 49 public static FontConfig parse(InputStream in, String fontDir) in parse() 61 private static FontConfig readFamilies(XmlPullParser parser, String fontDir) in readFamilies() 63 List<FontConfig.Family> families = new ArrayList<>(); in readFamilies() 64 List<FontConfig.Alias> aliases = new ArrayList<>(); in readFamilies() 78 return new FontConfig(families.toArray(new FontConfig.Family[families.size()]), in readFamilies() 79 aliases.toArray(new FontConfig.Alias[aliases.size()])); in readFamilies() 85 public static FontConfig.Family readFamily(XmlPullParser parser, String fontDir) in readFamily() 90 final List<FontConfig.Font> fonts = new ArrayList<FontConfig.Font>(); in readFamily() [all …]
|
D | Typeface.java | 39 import android.text.FontConfig; 1110 FontConfig.Alias[] aliases) { 1115 for (FontConfig.Alias alias : aliases) {
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 22 import android.text.FontConfig; 55 private static final FontConfig.Alias[] sAliases; 98 public static @NonNull FontConfig.Alias[] getAliases() { in getAliases() 113 private static void pushFamilyToFallback(@NonNull FontConfig.Family xmlFamily, in pushFamilyToFallback() 121 final ArrayList<FontConfig.Font> defaultFonts = new ArrayList<>(); in pushFamilyToFallback() 122 final ArrayMap<String, ArrayList<FontConfig.Font>> specificFallbackFonts = new ArrayMap<>(); in pushFamilyToFallback() 125 for (final FontConfig.Font font : xmlFamily.getFonts()) { in pushFamilyToFallback() 130 ArrayList<FontConfig.Font> fallback = specificFallbackFonts.get(fallbackName); in pushFamilyToFallback() 144 final ArrayList<FontConfig.Font> fallback = in pushFamilyToFallback() 166 @NonNull List<FontConfig.Font> fonts, in createFontFamily() [all …]
|
D | FontCustomizationParser.java | 21 import android.text.FontConfig; 42 ArrayList<FontConfig.Family> mAdditionalNamedFamilies = new ArrayList<>(); 43 ArrayList<FontConfig.Alias> mAdditionalAliases = new ArrayList<>(); 62 final FontConfig.Family family = result.mAdditionalNamedFamilies.get(i); in validate()
|
D | FontFamily.java | 21 import android.text.FontConfig; 111 return build("", FontConfig.Family.VARIANT_DEFAULT, true /* isCustomFallback */); in build()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | SystemFonts_Delegate.java | 24 import android.text.FontConfig; 46 /*package*/ static FontConfig.Alias[] buildSystemFallback(@NonNull String xmlPath, in buildSystemFallback()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.aidl | 20 parcelable FontConfig;
|
D | FontConfig.java | 35 public final class FontConfig { class 39 public FontConfig(@NonNull Family[] families, @NonNull Alias[] aliases) { in FontConfig() method in FontConfig
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | FontFallbackSetup.java | 84 final FontConfig.Alias[] aliases = SystemFonts.buildSystemFallback(testFontsXml, in FontFallbackSetup()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 30 import android.text.FontConfig; 142 final FontConfig.Alias[] aliases = SystemFonts.buildSystemFallback(TEST_FONTS_XML, in buildSystemFallback() 163 final FontConfig.Alias[] aliases = SystemFonts.buildSystemFallback(SYSTEM_FONTS_XML, in testBuildSystemFallback()
|
/frameworks/base/config/ |
D | preloaded-classes | 3441 android.text.FontConfig$Alias 3442 android.text.FontConfig$Family 3443 android.text.FontConfig$Font 3444 android.text.FontConfig
|