Lines Matching refs:shared_ptr

13 std::shared_ptr<RSTypeface> RSLegacyMakeTypeface(
14 std::shared_ptr<RSFontMgr> fontMgr, const char familyName[], RSFontStyle style)
22 return std::shared_ptr<RSTypeface>(typeface);
30 std::unordered_map<uint32_t, std::shared_ptr<RSTypeface>> g_faceTypeCache(MAX_VARTYPEFACE_SIZE);
74 void FontCollection::setAssetFontManager(std::shared_ptr<RSFontMgr> font_manager) {
83 void FontCollection::setDynamicFontManager(std::shared_ptr<RSFontMgr> font_manager) {
92 void FontCollection::setTestFontManager(std::shared_ptr<RSFontMgr> font_manager)
103 void FontCollection::setDefaultFontManager(std::shared_ptr<RSFontMgr> fontManager,
115 void FontCollection::setDefaultFontManager(std::shared_ptr<RSFontMgr> fontManager,
126 void FontCollection::setDefaultFontManager(std::shared_ptr<RSFontMgr> fontManager) {
137 std::vector<std::shared_ptr<RSFontMgr>> FontCollection::getFontManagerOrder() const {
138 std::vector<std::shared_ptr<RSFontMgr>> order;
158 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(
216 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames,
229 std::vector<std::shared_ptr<RSTypeface>> typefaces;
231 std::shared_ptr<RSTypeface> match = matchTypeface(familyName, fontStyle);
241 std::shared_ptr<RSTypeface> match;
286 std::shared_ptr<RSTypeface> FontCollection::matchTypeface(const SkString& familyName, RSFontStyle fontStyle) {
288 std::shared_ptr<RSFontStyleSet> set(manager->MatchFamily(familyName.c_str()));
293 std::shared_ptr<RSTypeface> match(set->MatchStyle(fontStyle));
308 std::shared_ptr<RSTypeface> FontCollection::defaultFallback(
322 std::shared_ptr<RSTypeface> typeface(manager->MatchFamilyStyleCharacter(
348 std::shared_ptr<RSTypeface> FontCollection::defaultFallback() {
354 std::shared_ptr<RSTypeface> match = std::shared_ptr<RSTypeface>(
366 SkLRUCacheMgr(SkLRUCache<uint32_t, std::shared_ptr<RSTypeface>>& lruCache, SkMutex& mutex)
380 std::shared_ptr<RSTypeface> find(uint32_t fontId) {
385 std::shared_ptr<RSTypeface> insert(uint32_t fontId, std::shared_ptr<RSTypeface> hbFont) {
395 SkLRUCache<uint32_t, std::shared_ptr<RSTypeface>>& fLRUCache;
401 static SkLRUCache<uint32_t, std::shared_ptr<RSTypeface>> gFaceCache(MAX_VARTYPEFACE_SIZE);
410 std::shared_ptr<RSTypeface> FontCollection::CloneTypeface(std::shared_ptr<RSTypeface> typeface,