Searched refs:FontConfig (Results 1 – 13 of 13) sorted by relevance
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 …]
39 import android.text.FontConfig;1110 FontConfig.Alias[] aliases) {1115 for (FontConfig.Alias alias : aliases) {
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 …]
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()
21 import android.text.FontConfig;111 return build("", FontConfig.Family.VARIANT_DEFAULT, true /* isCustomFallback */); in build()
24 import android.text.FontConfig;46 /*package*/ static FontConfig.Alias[] buildSystemFallback(@NonNull String xmlPath, in buildSystemFallback()
20 parcelable FontConfig;
35 public final class FontConfig { class39 public FontConfig(@NonNull Family[] families, @NonNull Alias[] aliases) { in FontConfig() method in FontConfig
84 final FontConfig.Alias[] aliases = SystemFonts.buildSystemFallback(testFontsXml, in FontFallbackSetup()
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()
3441 android.text.FontConfig$Alias3442 android.text.FontConfig$Family3443 android.text.FontConfig$Font3444 android.text.FontConfig
20622 …/graphics/FontListParser;->readAlias(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Alias;20624 …oid/graphics/FontListParser;->readFamilies(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig;20625 …raphics/FontListParser;->readFamily(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Family;20626 Landroid/graphics/FontListParser;->readFont(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig…21376 Landroid/graphics/Typeface;->pushFamilyToFallback(Landroid/text/FontConfig$Family;Landroid/util/Arr…70036 Landroid/text/FontConfig$Alias;-><init>(Ljava/lang/String;Ljava/lang/String;I)V70037 Landroid/text/FontConfig$Alias;->getName()Ljava/lang/String;70038 Landroid/text/FontConfig$Alias;->getToName()Ljava/lang/String;70039 Landroid/text/FontConfig$Alias;->getWeight()I70040 Landroid/text/FontConfig$Alias;->mName:Ljava/lang/String;[all …]
5645 …d/graphics/FontListParser;->parse(Ljava/io/InputStream;Ljava/lang/String;)Landroid/text/FontConfig;5646 …/graphics/FontListParser;->readAlias(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Alias;5647 …istParser;->readFamilies(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig;5648 …rser;->readFamily(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig$Family;5649 …stParser;->readFont(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig$Font;6105 …eface;->initSystemDefaultTypefaces(Ljava/util/Map;Ljava/util/Map;[Landroid/text/FontConfig$Alias;)V6907 HSPLandroid/graphics/fonts/SystemFonts;->appendNamedFamily(Landroid/text/FontConfig$Family;Ljava/ut…6908 …mizationParser$Result;Landroid/util/ArrayMap;Ljava/util/ArrayList;)[Landroid/text/FontConfig$Alias;6910 HSPLandroid/graphics/fonts/SystemFonts;->getAliases()[Landroid/text/FontConfig$Alias;6913 HSPLandroid/graphics/fonts/SystemFonts;->pushFamilyToFallback(Landroid/text/FontConfig$Family;Landr…[all …]