Home
last modified time | relevance | path

Searched refs:SystemFonts (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/minikin/libs/minikin/
DSystemFonts.cpp23 SystemFonts& SystemFonts::getInstance() { in getInstance()
24 static SystemFonts systemFonts; in getInstance()
28 std::shared_ptr<FontCollection> SystemFonts::findFontCollectionInternal( in findFontCollectionInternal()
39 void SystemFonts::buildFontSetLocked() { in buildFontSetLocked()
DAndroid.bp87 "SystemFonts.cpp",
/frameworks/base/apct-tests/perftests/core/src/android/text/
DSystemFontsPerfTest.java19 import android.graphics.fonts.SystemFonts;
42 SystemFonts.resetAvailableFonts(); in getAvailableFonts()
46 SystemFonts.getAvailableFonts(); in getAvailableFonts()
/frameworks/minikin/include/minikin/
DSystemFonts.h32 class SystemFonts {
60 SystemFonts() {} in SystemFonts() function
61 virtual ~SystemFonts() {} in ~SystemFonts()
89 static SystemFonts& getInstance();
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
DGetAvailableFontsTestActivity.java24 import android.graphics.fonts.SystemFonts;
35 for (Font font : SystemFonts.getAvailableFonts()) { in onCreate()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java25 import android.graphics.fonts.SystemFonts;
87 Map<String, FontFamily[]> fallbackMap = SystemFonts.buildSystemFallback(fontConfig); in FontFallbackSetup()
88 mFontMap = SystemFonts.buildSystemTypefaces(fontConfig, fallbackMap); in FontFallbackSetup()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontListParserTest.java36 import android.graphics.fonts.SystemFonts;
433 assertThat(SystemFonts.resolveVarFamilyType(families.get(0), null)) in varFamilyTypeRsolve()
435 assertThat(SystemFonts.resolveVarFamilyType(families.get(1), null)) in varFamilyTypeRsolve()
437 assertThat(SystemFonts.resolveVarFamilyType(families.get(2), null)) in varFamilyTypeRsolve()
439 assertThat(SystemFonts.resolveVarFamilyType(families.get(3), null)) in varFamilyTypeRsolve()
441 assertThat(SystemFonts.resolveVarFamilyType(families.get(4), null)) in varFamilyTypeRsolve()
463 assertThat(SystemFonts.resolveVarFamilyType(families.get(1), null)) in varFamilyTypeRsolve_ForName()
465 assertThat(SystemFonts.resolveVarFamilyType(families.get(1), "serif")) in varFamilyTypeRsolve_ForName()
DTypefaceTest.java27 import android.graphics.fonts.SystemFonts;
200 FontConfig fontConfig = SystemFonts.getSystemPreinstalledFontConfig(); in testSerialize()
201 Map<String, FontFamily[]> fallbackMap = SystemFonts.buildSystemFallback(fontConfig); in testSerialize()
202 Map<String, Typeface> systemFontMap = SystemFonts.buildSystemTypefaces(fontConfig, in testSerialize()
DFontFileUtilTest.java28 import android.graphics.fonts.SystemFonts;
154 for (Font f : SystemFonts.getAvailableFonts()) { in testExtension()
DTypefaceSystemFallbackTest.java32 import android.graphics.fonts.SystemFonts;
197 Map<String, FontFamily[]> fallbackMap = SystemFonts.buildSystemFallback(fontConfig); in buildSystemFallback()
198 Map<String, Typeface> typefaceMap = SystemFonts.buildSystemTypefaces( in buildSystemFallback()
227 Map<String, FontFamily[]> fallbackMap = SystemFonts.buildSystemFallback(fontConfig); in testBuildSystemFallback()
230 Map<String, Typeface> typefaceMap = SystemFonts.buildSystemTypefaces( in testBuildSystemFallback()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DSystemFonts_Delegate.java65 return SystemFonts.getSystemFontConfigInternal_Original( in getSystemFontConfigInternal()
91 return SystemFonts.mmap_Original(fullPath); in mmap()
/frameworks/minikin/tests/unittest/
DSystemFontsTest.cpp29 class TestableSystemFonts : public SystemFonts {
31 TestableSystemFonts() : SystemFonts() {} in TestableSystemFonts()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerService.java28 import android.graphics.fonts.SystemFonts;
411 return SystemFonts.getSystemPreinstalledFontConfig(); in getSystemFontConfig()
434 SystemFonts.buildSystemFallback(fontConfig, bufferCache); in serializeFontMap()
436 SystemFonts.buildSystemTypefaces(fontConfig, fallback); in serializeFontMap()
DFontManagerShellCommand.java29 import android.graphics.fonts.SystemFonts;
325 SystemFonts.buildSystemFallback(fontConfig); in dump()
DUpdatableFontDir.java24 import android.graphics.fonts.SystemFonts;
148 (map) -> SystemFonts.getSystemFontConfig(map, 0, 0) in UpdatableFontDir()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp125 minikin::SystemFonts::registerDefault(toTypeface(faceHandle)->fFontCollection); in Typeface_setDefault()
146 minikin::SystemFonts::registerFallback(familyNameChars.c_str(), in Typeface_registerGenericFamily()
379 minikin::SystemFonts::addFontMap(std::move(collection)); in Typeface_addFontCollection()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java36 import android.graphics.fonts.SystemFonts;
1481 FontConfig config = SystemFonts.getSystemPreinstalledFontConfigFromLegacyXml();
1546 final FontConfig fontConfig = SystemFonts.getSystemPreinstalledFontConfig();
1547 final Map<String, FontFamily[]> fallback = SystemFonts.buildSystemFallback(fontConfig);
1549 SystemFonts.buildSystemTypefaces(fontConfig, fallback);
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java53 public final class SystemFonts { class
65 private SystemFonts() {} // Do not instansiate. in SystemFonts() method in SystemFonts
/frameworks/base/native/android/
Dsystem_fonts.cpp243 minikin::SystemFonts::getFontSet( in ASystemFontIterator_open()
312 minikin::SystemFonts::findFontCollection(familyName); in AFontMatcher_match()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp320 minikin::SystemFonts::getFontSet( in Font_getAvailableFontSet()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java29 import android.graphics.fonts.SystemFonts;
154 (map) -> SystemFonts.getSystemFontConfigForTesting(LEGACY_FONTS_XML, map, 0, 0);
/frameworks/base/config/
Dboot-profile.txt10 Landroid/graphics/fonts/SystemFonts;->pushFamilyToFallback(Landroid/text/FontConfig$Family;Landroid…
22 Landroid/graphics/fonts/SystemFonts;->createFontFamily(Ljava/lang/String;Ljava/util/List;Ljava/lang…
44 Landroid/graphics/fonts/SystemFonts;->buildSystemFallback(Ljava/lang/String;Ljava/lang/String;Landr…
45 Landroid/graphics/fonts/SystemFonts;->$closeResource(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;…
46 Landroid/graphics/fonts/SystemFonts;->mmap(Ljava/lang/String;)Ljava/nio/ByteBuffer;
Dpreloaded-classes2509 android.graphics.fonts.SystemFonts
/frameworks/base/boot/
Dpreloaded-classes2505 android.graphics.fonts.SystemFonts
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12