Home
last modified time | relevance | path

Searched refs:FontConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DFontListParser.java20 import android.text.FontConfig;
40 public static FontConfig parse(InputStream in) throws XmlPullParserException, IOException { in parse()
51 private static FontConfig readFamilies(XmlPullParser parser) in readFamilies()
53 List<FontConfig.Family> families = new ArrayList<>(); in readFamilies()
54 List<FontConfig.Alias> aliases = new ArrayList<>(); in readFamilies()
68 return new FontConfig(families.toArray(new FontConfig.Family[families.size()]), in readFamilies()
69 aliases.toArray(new FontConfig.Alias[aliases.size()])); in readFamilies()
72 private static FontConfig.Family readFamily(XmlPullParser parser) in readFamily()
78 final List<FontConfig.Font> fonts = new ArrayList<FontConfig.Font>(); in readFamily()
88 int intVariant = FontConfig.Family.VARIANT_DEFAULT; in readFamily()
[all …]
DTypeface.java33 import android.text.FontConfig;
965 String familyName, List<FontConfig.Font> fonts, String[] languageTags, int variant, in createFontFamily()
969 final FontConfig.Font font = fonts.get(i); in createFontFamily()
995 private static void pushFamilyToFallback(FontConfig.Family xmlFamily, in pushFamilyToFallback()
1003 final ArrayList<FontConfig.Font> defaultFonts = new ArrayList<>(); in pushFamilyToFallback()
1004 final ArrayMap<String, ArrayList<FontConfig.Font>> specificFallbackFonts = new ArrayMap<>(); in pushFamilyToFallback()
1007 for (final FontConfig.Font font : xmlFamily.getFonts()) { in pushFamilyToFallback()
1012 ArrayList<FontConfig.Font> fallback = specificFallbackFonts.get(fallbackName); in pushFamilyToFallback()
1026 final ArrayList<FontConfig.Font> fallback = in pushFamilyToFallback()
1061 final FontConfig fontConfig = FontListParser.parse(fontsIn); in buildSystemFallback()
[all …]
/frameworks/base/core/java/android/text/
DFontConfig.aidl20 parcelable FontConfig;
DFontConfig.java34 public final class FontConfig { class
38 public FontConfig(@NonNull Family[] families, @NonNull Alias[] aliases) { in FontConfig() method in FontConfig
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java38 import android.text.FontConfig;
235 /*package*/ static FontFamily createFontFamily(String familyName, List<FontConfig.Font> fonts, in createFontFamily()
238 for (FontConfig.Font font : fonts) { in createFontFamily()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java57 import android.text.FontConfig;
/frameworks/base/config/
Dhiddenapi-light-greylist.txt2288 Landroid/graphics/FontListParser;->parse(Ljava/io/InputStream;)Landroid/text/FontConfig;
5649 Landroid/text/FontConfig$Family;->getFonts()[Landroid/text/FontConfig$Font;
5650 Landroid/text/FontConfig$Family;->getName()Ljava/lang/String;
5651 Landroid/text/FontConfig$Family;->getVariant()I
5652 Landroid/text/FontConfig$Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis;
5653 Landroid/text/FontConfig$Font;->getTtcIndex()I
5654 Landroid/text/FontConfig$Font;->getWeight()I
5655 Landroid/text/FontConfig$Font;->isItalic()Z
5656 Landroid/text/FontConfig;->getFamilies()[Landroid/text/FontConfig$Family;
Dpreloaded-classes2935 android.text.FontConfig
2936 android.text.FontConfig$Alias
2937 android.text.FontConfig$Family
2938 android.text.FontConfig$Font
Dboot-image-profile.txt19986 HSPLandroid/graphics/FontListParser;->parse(Ljava/io/InputStream;)Landroid/text/FontConfig;
19987 …/graphics/FontListParser;->readAlias(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Alias;
19988 …oid/graphics/FontListParser;->readFamilies(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig;
19989 …raphics/FontListParser;->readFamily(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Family;
19990 …id/graphics/FontListParser;->readFont(Lorg/xmlpull/v1/XmlPullParser;)Landroid/text/FontConfig$Font;
20375 HSPLandroid/graphics/Typeface;->pushFamilyToFallback(Landroid/text/FontConfig$Family;Landroid/util/…
58248 Landroid/text/FontConfig$Alias;
58249 Landroid/text/FontConfig$Family;
58250 Landroid/text/FontConfig$Font;
58251 Landroid/text/FontConfig;