Searched refs:FontConfig (Results 1 – 13 of 13) 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() 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 …]
|
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 | boot-profile.txt | 5 …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 …]
|
D | preloaded-classes | 6221 android.text.FontConfig$Alias 6222 android.text.FontConfig$Family 6223 android.text.FontConfig$Font 6224 android.text.FontConfig
|
D | boot-image-profile.txt | 46526 Landroid/text/FontConfig$Alias; 46527 Landroid/text/FontConfig$Family; 46528 Landroid/text/FontConfig$Font; 46529 Landroid/text/FontConfig;
|