/third_party/flutter/skia/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 …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 702 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument 705 int initialCount = fontFamilies.count(); in append_system_font_families() 706 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 707 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families() 708 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 800 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument 805 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies() 813 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies() 816 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument 823 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,
|
/third_party/flutter/skia/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,
|
D | SkFontMgr_config_parser.cpp | 542 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument 545 int version = parse_config_file(g_lmpSystemFontsFile.c_str(), fontFamilies, basePath, false); in append_system_font_families() 549 void SkFontMgr_Config_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) in GetSystemFontFamilies() argument 557 append_system_font_families(fontFamilies, basePath); in GetSystemFontFamilies()
|
D | SkFontMgr_config_parser.h | 127 void GetSystemFontFamilies(SkTDArray<FontFamily *> &fontFamilies);
|
/third_party/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()
|
/third_party/flutter/engine/flutter/lib/ui/text/ |
D | paragraph_builder.h | 41 const std::vector<std::string>& fontFamilies,
|
D | paragraph_builder.cc | 277 const std::vector<std::string>& fontFamilies, in pushStyle() argument 379 style.font_families = fontFamilies; in pushStyle()
|
/third_party/skia/site/docs/user/modules/ |
D | quickstart.md | 271 fontFamilies: ['Roboto'], 301 fontFamilies: ['Roboto'], 328 fontFamilies: ['Roboto'], 355 fontFamilies: ['Roboto'],
|
D | canvaskit.md | 361 fontFamilies: ['Roboto', 'Noto Color Emoji'],
|
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
D | canvas_perf.js | 604 fontFamilies: ['Roboto'], property 628 fontFamilies: ['Roboto'], property
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 528 fontFamilies: ['Noto Serif'], 536 fontFamilies: ['Roboto'], 549 fontFamilies: ['Noto Serif'],
|
D | index.d.ts | 2792 fontFamilies?: string[]; property 2822 fontFamilies?: string[]; property
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | strut_style.dart | 408 // This is stored in order to prefix the fontFamilies in _fontFamilyFallback
|
D | text_style.dart | 498 // This is stored in order to prefix the fontFamilies in _fontFamilyFallback
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | text.dart | 1789 List<dynamic> fontFamilies,
|