/external/skqp/tests/ |
D | FontMgrAndroidParserTest.cpp | 25 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks() argument 27 for (int i = 0; i < fontFamilies.count(); i++) { in CountFallbacks() 28 if (fontFamilies[i]->fIsFallbackFont) { in CountFallbacks() 45 static void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts() argument 47 REPORTER_ASSERT(reporter, fontFamilies[0]->fNames.count() == 5); in ValidateLoadedFonts() 48 REPORTER_ASSERT(reporter, !strcmp(fontFamilies[0]->fNames[0].c_str(), "sans-serif")); in ValidateLoadedFonts() 50 !strcmp(fontFamilies[0]->fFonts[0].fFileName.c_str(), firstExpectedFile)); in ValidateLoadedFonts() 51 REPORTER_ASSERT(reporter, !fontFamilies[0]->fIsFallbackFont); in ValidateLoadedFonts() 54 for (const auto& fontFamily : fontFamilies) { in ValidateLoadedFonts() 67 for (int i = 0; i < fontFamilies.count(); ++i) { in ValidateLoadedFonts() [all …]
|
/external/skia/tests/ |
D | FontMgrAndroidParserTest.cpp | 26 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { in CountFallbacks() argument 28 for (int i = 0; i < fontFamilies.count(); i++) { in CountFallbacks() 29 if (fontFamilies[i]->fIsFallbackFont) { in CountFallbacks() 46 static void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile, in ValidateLoadedFonts() argument 48 REPORTER_ASSERT(reporter, fontFamilies[0]->fNames.count() == 5); in ValidateLoadedFonts() 49 REPORTER_ASSERT(reporter, !strcmp(fontFamilies[0]->fNames[0].c_str(), "sans-serif")); in ValidateLoadedFonts() 51 !strcmp(fontFamilies[0]->fFonts[0].fFileName.c_str(), firstExpectedFile)); in ValidateLoadedFonts() 52 REPORTER_ASSERT(reporter, !fontFamilies[0]->fIsFallbackFont); in ValidateLoadedFonts() 55 for (const auto& fontFamily : fontFamilies) { in ValidateLoadedFonts() 68 for (int i = 0; i < fontFamilies.count(); ++i) { in ValidateLoadedFonts() [all …]
|
/external/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 64 fontFamilies: ['Noto Serif'], property 78 fontFamilies: ['Noto Serif'], property 148 fontFamilies: ['Noto Serif'], property 176 fontFamilies: ['Noto Serif'], property 220 fontFamilies: ['Noto Serif'], property 252 fontFamilies: ['Noto Serif'], property 282 fontFamilies: ['Roboto'], property 287 fontFamilies: ['Roboto'], property 295 fontFamilies: ['Roboto'], property 301 fontFamilies: ['Roboto'], property [all …]
|
/external/skqp/src/ports/ |
D | SkFontMgr_android_parser.cpp | 692 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument 695 int initialCount = fontFamilies.count(); in append_system_font_families() 696 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 697 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families() 698 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 790 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument 795 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies() 803 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies() 806 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument 813 parse_config_file(fontsXml, fontFamilies, basePath, false); in GetCustomFontFamilies() [all …]
|
D | SkFontMgr_android_parser.h | 109 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); 112 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 694 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument 697 int initialCount = fontFamilies.count(); in append_system_font_families() 698 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 699 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families() 700 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 792 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument 797 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies() 805 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies() 808 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument 815 parse_config_file(fontsXml, fontFamilies, basePath, false); in GetCustomFontFamilies() [all …]
|
D | SkFontMgr_android_parser.h | 109 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); 112 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
D | FontAssetManager.java | 24 private final Map<String, Typeface> fontFamilies = new HashMap<>(); field in FontAssetManager 68 Typeface defaultTypeface = fontFamilies.get(fontFamily); in getFontFamily() 90 fontFamilies.put(fontFamily, typeface); in getFontFamily()
|
/external/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 89 const char** fontFamilies = reinterpret_cast<const char**>(s.fontFamiliesPtr); in toStrutStyle() local 90 if (fontFamilies != nullptr) { in toStrutStyle() 93 ff.emplace_back(fontFamilies[i]); in toStrutStyle() 172 const char** fontFamilies = reinterpret_cast<const char**>(s.fontFamiliesPtr); in toTextStyle() local 173 if (fontFamilies != nullptr) { in toTextStyle() 176 ff.emplace_back(fontFamilies[i]); in toTextStyle()
|
/external/skia/site/docs/user/modules/ |
D | quickstart.md | 271 fontFamilies: ['Roboto'], 301 fontFamilies: ['Roboto'], 328 fontFamilies: ['Roboto'], 355 fontFamilies: ['Roboto'],
|
D | canvaskit.md | 382 fontFamilies: ['Roboto', 'Noto Color Emoji'],
|
/external/skia/tools/perf-canvaskit-puppeteer/ |
D | canvas_perf.js | 604 fontFamilies: ['Roboto'], property 628 fontFamilies: ['Roboto'], property
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 523 fontFamilies: ['Noto Serif'], 531 fontFamilies: ['Roboto'], 544 fontFamilies: ['Noto Serif'],
|
D | index.d.ts | 2724 fontFamilies?: string[]; property 2754 fontFamilies?: string[]; property
|