Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DFontListParser.java21 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 …]
DTypeface.java39 import android.text.FontConfig;
1110 FontConfig.Alias[] aliases) {
1115 for (FontConfig.Alias alias : aliases) {
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java22 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 …]
DFontCustomizationParser.java21 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()
DFontFamily.java21 import android.text.FontConfig;
111 return build("", FontConfig.Family.VARIANT_DEFAULT, true /* isCustomFallback */); in build()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DSystemFonts_Delegate.java24 import android.text.FontConfig;
46 /*package*/ static FontConfig.Alias[] buildSystemFallback(@NonNull String xmlPath, in buildSystemFallback()
/frameworks/base/core/java/android/text/
DFontConfig.aidl20 parcelable FontConfig;
DFontConfig.java35 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/
DFontFallbackSetup.java84 final FontConfig.Alias[] aliases = SystemFonts.buildSystemFallback(testFontsXml, in FontFallbackSetup()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceSystemFallbackTest.java30 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/
Dpreloaded-classes3441 android.text.FontConfig$Alias
3442 android.text.FontConfig$Family
3443 android.text.FontConfig$Font
3444 android.text.FontConfig
Dhiddenapi-greylist-max-o.txt20622 …/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)V
70037 Landroid/text/FontConfig$Alias;->getName()Ljava/lang/String;
70038 Landroid/text/FontConfig$Alias;->getToName()Ljava/lang/String;
70039 Landroid/text/FontConfig$Alias;->getWeight()I
70040 Landroid/text/FontConfig$Alias;->mName:Ljava/lang/String;
[all …]
Dboot-image-profile.txt5645 …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;)V
6907 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 …]