Home
last modified time | relevance | path

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

/external/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
/external/skia/fuzz/
DFuzzSkParagraph.cpp68 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
88 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()
92 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()
94 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()
108 sk_sp<TypefaceFontProvider> fFontProvider; member in __anon52de05410111::ResourceFontCollection
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp190 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia
242 : fFontProvider(std::move(provider)) {} in SkFontMgr_Fuchsia()
263 int result = fFontProvider->GetFamilyInfo(familyName, &familyInfo);
357 int result = fFontProvider->GetFont(std::move(request), &response);
/external/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()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp78 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()
98 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()
102 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()
104 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()
118 sk_sp<TypefaceFontProvider> fFontProvider; member in __anona632c1c10111::ResourceFontCollection