Home
last modified time | relevance | path

Searched refs:FontFileResourceEntry (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java85 public static final class FontFileResourceEntry { class in FontResourcesParser
97 public FontFileResourceEntry(@NonNull String fileName, int weight, int italic, in FontFileResourceEntry() method in FontResourcesParser.FontFileResourceEntry
129 private final @NonNull FontFileResourceEntry[] mEntries;
131 public FontFamilyFilesResourceEntry(@NonNull FontFileResourceEntry[] entries) { in FontFamilyFilesResourceEntry()
135 public @NonNull FontFileResourceEntry[] getEntries() { in getEntries()
211 List<FontFileResourceEntry> fonts = new ArrayList<>(); in readFamily()
216 final FontFileResourceEntry entry = readFont(parser, resources); in readFamily()
228 new FontFileResourceEntry[fonts.size()])); in readFamily()
231 private static FontFileResourceEntry readFont(XmlPullParser parser, Resources resources) in readFont()
238 FontFileResourceEntry.RESOLVE_BY_FONT_TABLE); in readFont()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java21 import static android.content.res.FontResourcesParser.FontFileResourceEntry;
69 FontFileResourceEntry[] fileEntries = filesEntry.getEntries(); in testParse()
71 FontFileResourceEntry font1 = fileEntries[0]; in testParse()
77 FontFileResourceEntry font2 = fileEntries[1]; in testParse()
83 FontFileResourceEntry font3 = fileEntries[2]; in testParse()
89 FontFileResourceEntry font4 = fileEntries[3]; in testParse()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java21 import static android.content.res.FontResourcesParser.FontFileResourceEntry;
330 for (final FontFileResourceEntry fontFile : filesEntry.getEntries()) { in createFromResources()
339 fontBuilder.setSlant(fontFile.getItalic() == FontFileResourceEntry.ITALIC in createFromResources()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16591 …amilyFilesResourceEntry;-><init>([Landroid/content/res/FontResourcesParser$FontFileResourceEntry;)V
16592 …lyFilesResourceEntry;->getEntries()[Landroid/content/res/FontResourcesParser$FontFileResourceEntry;
16593 …amilyFilesResourceEntry;->mEntries:[Landroid/content/res/FontResourcesParser$FontFileResourceEntry;
16594 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;-><init>(Ljava/lang/String;IILjava/l…
16595 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->getFileName()Ljava/lang/String;
16596 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->getItalic()I
16597 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->getTtcIndex()I
16598 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->getVariationSettings()Ljava/lang/S…
16599 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->getWeight()I
16600 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->mFileName:Ljava/lang/String;
[all …]
/frameworks/base/boot/
Dpreloaded-classes1681 android.content.res.FontResourcesParser$FontFileResourceEntry
Dboot-image-profile.txt24588 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;
/frameworks/base/config/
Dpreloaded-classes1680 android.content.res.FontResourcesParser$FontFileResourceEntry
Dboot-image-profile.txt34225 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;