Searched refs:fFontProvider (Results 1 – 9 of 9) sorted by relevance
18 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()50 … fFontProvider->registerTypeface(SkTypeface::MakeFromData(data), SkString(familyName.c_str())); in addFontFromFile()
18 sk_sp<TypefaceFontProvider> fFontProvider; variable
18 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()
17 sk_sp<TypefaceFontProvider> fFontProvider; variable
70 , 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
265 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia317 : 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()
266 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia318 : 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()
36 , 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
91 , 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