Searched refs:fTypefaces (Results 1 - 9 of 9) sorted by relevance
/external/skia/src/core/ |
H A D | SkTypefaceCache.cpp | 19 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { 23 fTypefaces.emplace_back(SkRef(face)); 27 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { 36 int count = fTypefaces.count(); 39 if (fTypefaces[i]->unique()) { 40 fTypefaces.removeShuffle(i); 52 this->purge(fTypefaces.count());
|
H A D | SkTypefaceCache.h | 73 SkTArray<sk_sp<SkTypeface>> fTypefaces; member in class:SkTypefaceCache
|
/external/skia/gm/ |
H A D | fontcache.cpp | 36 fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", 38 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif", 47 paint.setTypeface(fTypefaces[0]); 64 paint.setTypeface(fTypefaces[1]); 74 sk_sp<SkTypeface> fTypefaces[2]; member in class:FontCacheGM
|
H A D | variedtext.cpp | 55 static_assert(4 == SK_ARRAY_COUNT(fTypefaces), "typeface_cnt"); 56 fTypefaces[0] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle()); 57 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif", 59 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); 60 fTypefaces[3] = sk_tool_utils::create_portable_typeface("serif", 81 fTypefaceIndices[i] = random.nextULessThan(SK_ARRAY_COUNT(fTypefaces)); 85 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); 114 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); 144 sk_sp<SkTypeface> fTypefaces[4]; member in class:VariedTextGM
|
/external/skia/src/pipe/ |
H A D | SkPipeCanvas.h | 59 fTypefaces.reset(); 87 SkTIndexSet<uint32_t> fTypefaces; member in class:SkPipeDeduper
|
H A D | SkPipeReader.cpp | 34 , fTypefaces(typefaces) 47 return fTypefaces->get(index - 1); 60 return fTypefaces->set(index - 1, face); 92 SkRefSet<SkTypeface>* fTypefaces; member in class:SkPipeInflator 831 SkRefSet<SkTypeface> fTypefaces; member in class:SkPipeDeserializer::Impl 861 &fImpl->fTypefaces, &fImpl->fFactories, 891 &fImpl->fTypefaces, &fImpl->fFactories, 960 &fImpl->fTypefaces, &fImpl->fFactories,
|
H A D | SkPipeCanvas.cpp | 899 int index = fTypefaces.find(typeface->uniqueID()); 910 index = fTypefaces.add(typeface->uniqueID());
|
/external/skia/src/xps/ |
H A D | SkXPSDevice.h | 133 SkTArray<TypefaceUse, true> fTypefaces; member in class:SkXPSDevice
|
H A D | SkXPSDevice.cpp | 426 if (!this->fTypefaces.empty()) { 427 SkXPSDevice::TypefaceUse* current = &this->fTypefaces.front(); 428 const TypefaceUse* last = &this->fTypefaces.back(); 1867 if (!this->fTypefaces.empty()) { 1868 TypefaceUse* current = &this->fTypefaces.front(); 1869 const TypefaceUse* last = &this->fTypefaces.back(); 1914 TypefaceUse& newTypefaceUse = this->fTypefaces.push_back();
|
Completed in 230 milliseconds