Home
last modified time | relevance | path

Searched refs:fontFamilies (Results 1 – 7 of 7) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java91 private Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, in Typeface_Delegate() argument
94 mFontFamilies = fontFamilies; in Typeface_Delegate()
176 List<FontFamily_Delegate> fontFamilies = new ArrayList<>(); in nativeCreateFromArray() local
180 fontFamilies.add(FontFamily_Delegate.getDelegate(aFamilyArray)); in nativeCreateFromArray()
194 new Typeface_Delegate(fontFamilies.toArray(new FontFamily_Delegate[0]), in nativeCreateFromArray()
337 private final FontFamily_Delegate[] fontFamilies; field in Typeface_Delegate.FontsIterator
345 private FontsIterator(@NonNull FontFamily_Delegate[] fontFamilies, in FontsIterator() argument
353 this.fontFamilies = fontFamilies; in FontsIterator()
360 return index < (fontFamilies.length + fontFamilyBuilders.length); in hasNext()
368 if (index < fontFamilies.length) { in next()
[all …]
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DPersistentSystemFontConfig.java50 public final List<FontUpdateRequest.Family> fontFamilies = new ArrayList<>(); field in PersistentSystemFontConfig.Config
83 out.fontFamilies.add(FontUpdateRequest.Family.readFromXml(parser)); in loadFromXml()
110 List<FontUpdateRequest.Family> fontFamilies = config.fontFamilies; in writeToXml() local
111 for (int i = 0; i < fontFamilies.size(); i++) { in writeToXml()
112 FontUpdateRequest.Family fontFamily = fontFamilies.get(i); in writeToXml()
DUpdatableFontDir.java239 for (int i = 0; i < curConfig.fontFamilies.size(); ++i) { in update()
240 FontUpdateRequest.Family family = curConfig.fontFamilies.get(i); in update()
277 newConfig.fontFamilies.addAll(familyMap.values()); in update()
543 List<FontUpdateRequest.Family> families = persistentConfig.fontFamilies; in getSystemFontConfig()
598 for (int i = 0; i < curConfig.fontFamilies.size(); ++i) { in getFontFamilyMap()
599 FontUpdateRequest.Family family = curConfig.fontFamilies.get(i); in getFontFamilyMap()
/frameworks/base/core/java/android/graphics/fonts/
DFontManager.java285 List<FontFamilyUpdateRequest.FontFamily> fontFamilies = request.getFontFamilies(); in updateFontFamily() local
286 for (int i = 0; i < fontFamilies.size(); i++) { in updateFontFamily()
287 FontFamilyUpdateRequest.FontFamily fontFamily = fontFamilies.get(i); in updateFontFamily()
DFontFamilyUpdateRequest.java341 @NonNull List<FontFamily> fontFamilies) { in FontFamilyUpdateRequest() argument
343 mFontFamilies = fontFamilies; in FontFamilyUpdateRequest()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DPersistentSystemFontConfigTest.java55 config.fontFamilies.add(fontFamily); in testWriteRead()
69 assertThat(another.fontFamilies).containsExactly(fontFamily); in testWriteRead()
DUpdatableFontDirTest.java1013 List<FontConfig.FontFamily> fontFamilies = fontConfig.getFontFamilies(); in getLastFamily() local
1014 for (int i = fontFamilies.size() - 1; i >= 0; i--) { in getLastFamily()
1015 if (familyName.equals(fontFamilies.get(i).getName())) { in getLastFamily()
1016 return fontFamilies.get(i); in getLastFamily()