Home
last modified time | relevance | path

Searched refs:SkTypefaceCache (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/core/
DSkTypefaceCache.cpp16 SkTypefaceCache::SkTypefaceCache() {} in SkTypefaceCache() function in SkTypefaceCache
18 SkTypefaceCache::~SkTypefaceCache() { in ~SkTypefaceCache()
27 void SkTypefaceCache::add(SkTypeface* face, const SkFontStyle& requestedStyle) { in add()
37 SkTypeface* SkTypefaceCache::findByProcAndRef(FindProc proc, void* ctx) const { in findByProcAndRef()
50 void SkTypefaceCache::purge(int numToPurge) { in purge()
68 void SkTypefaceCache::purgeAll() { in purgeAll()
74 SkTypefaceCache& SkTypefaceCache::Get() { in Get()
75 static SkTypefaceCache gCache; in Get()
79 SkFontID SkTypefaceCache::NewFontID() { in NewFontID()
86 void SkTypefaceCache::Add(SkTypeface* face, const SkFontStyle& requestedStyle) { in Add()
[all …]
DSkTypefaceCache.h24 class SkTypefaceCache {
26 SkTypefaceCache();
27 ~SkTypefaceCache();
77 static SkTypefaceCache& Get();
DSkGlyphCache.cpp722 SkTypefaceCache::PurgeAll(); in PurgeFontCache()
/external/skia/src/ports/
DSkFontHost_fontconfig.cpp100 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_NameStyle, &nameStyle); in LegacyCreateTypeface()
116 face = SkTypefaceCache::FindByProcAndRef(find_by_FontIdentity, &indentity); in LegacyCreateTypeface()
120 SkTypefaceCache::Add(face, requestedStyle); in LegacyCreateTypeface()
DSkFontConfigTypeface.h48 : INHERITED(style, SkTypefaceCache::NewFontID(), false) in FontConfigTypeface()
54 : INHERITED(style, SkTypefaceCache::NewFontID(), fixedWidth) in FontConfigTypeface()
DSkFontHost_mac.cpp432 : SkTypeface(fs, SkTypefaceCache::NewFontID(), isFixedPitch) in SkTypeface_Mac()
533 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_CTFontRef, (void*)ctFont.get()); in NewFromName()
536 SkTypefaceCache::Add(face, face->fontStyle()); in NewFromName()
549 SkTypefaceCache::Add(gDefaultFace, SkFontStyle()); in GetDefaultFace()
566 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_CTFontRef, (void*)fontRef); in SkCreateTypefaceFromCTFont()
570 SkTypefaceCache::Add(face, face->fontStyle()); in SkCreateTypefaceFromCTFont()
2069 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_NameStyle, &cacheRequest); in createFromDesc()
2084 SkTypefaceCache::Add(face, face->fontStyle()); in createFromDesc()
2271 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_NameStyle, &cacheRequest); in onLegacyCreateTypeface()
2276 SkTypefaceCache::Add(face, style); in onLegacyCreateTypeface()
DSkTypeface_win_dw.h80 SkFontID fontID = SkTypefaceCache::NewFontID();
DSkFontMgr_fontconfig.cpp380 : INHERITED(style, SkTypefaceCache::NewFontID(), fixedWidth) in SkTypeface_stream()
443 SkTypefaceCache::NewFontID(), in SkTypeface_fontconfig()
574 mutable SkTypefaceCache fTFCache;
DSkFontHost_linux.cpp29 : INHERITED(style, SkTypefaceCache::NewFontID(), isFixedPitch) in SkTypeface_Custom()
DSkFontMgr_android.cpp34 : INHERITED(style, SkTypefaceCache::NewFontID(), isFixedPitch) in SkTypeface_Android()
DSkFontHost_win.cpp208 : SkTypeface(style, SkTypefaceCache::NewFontID(), false) in LogFontTypeface()
323 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(FindByLogFont, &lf); in SkCreateTypefaceFromLOGFONT()
326 SkTypefaceCache::Add(face, get_style(lf)); in SkCreateTypefaceFromLOGFONT()
DSkFontMgr_win_dw.cpp313 mutable SkTypefaceCache fTFCache;
/external/skia/src/fonts/
DSkGScalerContext.cpp161 : SkTypeface(proxy->fontStyle(), SkTypefaceCache::NewFontID(), false) in SkGTypeface()
DSkTestScalerContext.cpp116 : SkTypeface(style, SkTypefaceCache::NewFontID(), false) in SkTestTypeface()
/external/skia/gyp/
Dcore.gypi220 '<(skia_src_path)/core/SkTypefaceCache.cpp',
221 '<(skia_src_path)/core/SkTypefaceCache.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj141 …113B1225D0064D447 /* SkTypefaceCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E028D13…
806 …064D447 /* SkTypefaceCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
807 …5D0064D447 /* SkTypefaceCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1854 260E028D13B1225D0064D447 /* SkTypefaceCache.cpp */,
1855 260E028E13B1225D0064D447 /* SkTypefaceCache.h */,
3038 260E030113B1225D0064D447 /* SkTypefaceCache.cpp in Sources */,
/external/skia/
DAndroid.mk230 src/core/SkTypefaceCache.cpp \