Searched refs:fTypefaces (Results 1 - 9 of 9) sorted by relevance

/external/skia/src/core/
H A DSkTypefaceCache.cpp19 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 DSkTypefaceCache.h73 SkTArray<sk_sp<SkTypeface>> fTypefaces; member in class:SkTypefaceCache
/external/skia/gm/
H A Dfontcache.cpp36 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 Dvariedtext.cpp55 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 DSkPipeCanvas.h59 fTypefaces.reset();
87 SkTIndexSet<uint32_t> fTypefaces; member in class:SkPipeDeduper
H A DSkPipeReader.cpp34 , 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 DSkPipeCanvas.cpp899 int index = fTypefaces.find(typeface->uniqueID());
910 index = fTypefaces.add(typeface->uniqueID());
/external/skia/src/xps/
H A DSkXPSDevice.h133 SkTArray<TypefaceUse, true> fTypefaces; member in class:SkXPSDevice
H A DSkXPSDevice.cpp426 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