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()
112 private static void pushFamilyToFallback(@NonNull FontConfig.Family xmlFamily, in pushFamilyToFallback()
120 final ArrayList<FontConfig.Font> defaultFonts = new ArrayList<>(); in pushFamilyToFallback()
121 final ArrayMap<String, ArrayList<FontConfig.Font>> specificFallbackFonts = new ArrayMap<>(); in pushFamilyToFallback()
124 for (final FontConfig.Font font : xmlFamily.getFonts()) { in pushFamilyToFallback()
129 ArrayList<FontConfig.Font> fallback = specificFallbackFonts.get(fallbackName); in pushFamilyToFallback()
143 final ArrayList<FontConfig.Font> fallback = in pushFamilyToFallback()
165 @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/
Dboot-profile.txt5 …rser;->readFamily(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig$Family;
6 …stParser;->readFont(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig$Font;
7 …istParser;->readFamilies(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Landroid/text/FontConfig;
8 Landroid/text/FontConfig$Font;-><init>(Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxi…
10 Landroid/graphics/fonts/SystemFonts;->pushFamilyToFallback(Landroid/text/FontConfig$Family;Landroid…
21 Landroid/text/FontConfig$Family;->getName()Ljava/lang/String;
25 Landroid/text/FontConfig$Font;->getFontName()Ljava/lang/String;
28 Landroid/text/FontConfig$Font;->getWeight()I
31 Landroid/text/FontConfig$Font;->isItalic()Z
33 Landroid/text/FontConfig$Font;->getTtcIndex()I
[all …]
Dpreloaded-classes6221 android.text.FontConfig$Alias
6222 android.text.FontConfig$Family
6223 android.text.FontConfig$Font
6224 android.text.FontConfig
Dboot-image-profile.txt46526 Landroid/text/FontConfig$Alias;
46527 Landroid/text/FontConfig$Family;
46528 Landroid/text/FontConfig$Font;
46529 Landroid/text/FontConfig;