Home
last modified time | relevance | path

Searched refs:fFontProvider (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/modules/skparagraph/utils/
DTestFontCollection.cpp18 fFontProvider = sk_make_sp<TypefaceFontProvider>(); in TestFontCollection()
28 fFontsFound = fFontProvider->countFamilies(); in TestFontCollection()
30 this->setTestFontManager(fFontProvider); in TestFontCollection()
32 this->setAssetFontManager(fFontProvider); in TestFontCollection()
48 fFontProvider->registerTypeface(SkTypeface::MakeFromData(data)); in addFontFromFile()
50fFontProvider->registerTypeface(SkTypeface::MakeFromData(data), SkString(familyName.c_str())); in addFontFromFile()
DTestFontCollection.h18 sk_sp<TypefaceFontProvider> fFontProvider; variable
/third_party/flutter/skia/modules/skparagraph/utils/
DTestFontCollection.cpp18 fFontProvider = sk_make_sp<TypefaceFontProvider>(); in TestFontCollection()
28 fFontProvider->registerTypeface(SkTypeface::MakeFromData(data)); in TestFontCollection()
32 fFontsFound = fFontProvider->countFamilies(); in TestFontCollection()
33 this->setTestFontManager(fFontProvider); in TestFontCollection()
DTestFontCollection.h17 sk_sp<TypefaceFontProvider> fFontProvider; variable
/third_party/skia/fuzz/
DFuzzSkParagraph.cpp70 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
90 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()
94 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()
96 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()
110 sk_sp<TypefaceFontProvider> fFontProvider; member in __anon0afa5fab0111::ResourceFontCollection
/third_party/skia/src/ports/
DSkFontMgr_fuchsia.cpp265 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia
317 : fFontProvider(std::move(provider)) {} in SkFontMgr_Fuchsia()
341 int result = fFontProvider->GetFontFamilyInfo(typedFamilyName, &familyInfo); in onMatchFamily()
443 int result = fFontProvider->GetTypeface(std::move(request), &response); in FetchTypeface()
/third_party/flutter/skia/src/ports/
DSkFontMgr_fuchsia.cpp266 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia
318 : fFontProvider(std::move(provider)) {} in SkFontMgr_Fuchsia()
342 int result = fFontProvider->GetFontFamilyInfo(typedFamilyName, &familyInfo); in onMatchFamily()
448 int result = fFontProvider->GetTypeface(std::move(request), &response); in FetchTypeface()
/third_party/flutter/skia/tests/
DSkParagraphTest.cpp36 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in TestFontCollection()
54 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in TestFontCollection()
57 this->setTestFontManager(std::move(fFontProvider)); in TestFontCollection()
74 sk_sp<TypefaceFontProvider> fFontProvider; member in __anonce8964150111::TestFontCollection
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp91 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
111 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()
115 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()
117 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()
131 sk_sp<TypefaceFontProvider> fFontProvider; member in __anon9562426b0111::ResourceFontCollection