/external/skia/src/core/ |
D | SkTypefaceCache.cpp | 19 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add() 23 fTypefaces.emplace_back(SkRef(face)); in add() 27 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef() 36 int count = fTypefaces.count(); in purge() 39 if (fTypefaces[i]->unique()) { in purge() 40 fTypefaces.removeShuffle(i); in purge() 52 this->purge(fTypefaces.count()); in purgeAll()
|
D | SkTypefaceCache.h | 73 SkTArray<sk_sp<SkTypeface>> fTypefaces; variable
|
/external/skqp/src/core/ |
D | SkTypefaceCache.cpp | 19 if (fTypefaces.count() >= TYPEFACE_CACHE_LIMIT) { in add() 23 fTypefaces.emplace_back(SkRef(face)); in add() 27 for (const sk_sp<SkTypeface>& typeface : fTypefaces) { in findByProcAndRef() 36 int count = fTypefaces.count(); in purge() 39 if (fTypefaces[i]->unique()) { in purge() 40 fTypefaces.removeShuffle(i); in purge() 52 this->purge(fTypefaces.count()); in purgeAll()
|
D | SkTypefaceCache.h | 73 SkTArray<sk_sp<SkTypeface>> fTypefaces; variable
|
/external/skqp/gm/ |
D | fontcache.cpp | 54 fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw() 55 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif",SkFontStyle::Italic()); in onOnceBeforeDraw() 56 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw() 57 fTypefaces[3] = in onOnceBeforeDraw() 59 fTypefaces[4] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 60 fTypefaces[5] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 111 for (const auto& typeface : fTypefaces) { in drawText() 134 sk_sp<SkTypeface> fTypefaces[6]; member in FontCacheGM
|
D | variedtext.cpp | 55 static_assert(4 == SK_ARRAY_COUNT(fTypefaces), "typeface_cnt"); in onOnceBeforeDraw() 56 fTypefaces[0] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle()); in onOnceBeforeDraw() 57 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 58 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 59 fTypefaces[3] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 79 fTypefaceIndices[i] = random.nextULessThan(SK_ARRAY_COUNT(fTypefaces)); in onOnceBeforeDraw() 83 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw() 112 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw() 142 sk_sp<SkTypeface> fTypefaces[4]; member in VariedTextGM
|
D | atlastext.cpp | 74 fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw() 75 fTypefaces[1] = in onOnceBeforeDraw() 77 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw() 78 fTypefaces[3] = in onOnceBeforeDraw() 80 fTypefaces[4] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 81 fTypefaces[5] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 111 for (const auto& typeface : fTypefaces) { in drawText() 155 sk_sp<SkTypeface> fTypefaces[6]; member in AtlasTextGM
|
/external/skia/gm/ |
D | fontcache.cpp | 54 fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw() 55 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif",SkFontStyle::Italic()); in onOnceBeforeDraw() 56 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw() 57 fTypefaces[3] = in onOnceBeforeDraw() 59 fTypefaces[4] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 60 fTypefaces[5] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 111 for (const auto& typeface : fTypefaces) { in drawText() 134 sk_sp<SkTypeface> fTypefaces[6]; member in FontCacheGM
|
D | variedtext.cpp | 55 static_assert(4 == SK_ARRAY_COUNT(fTypefaces), "typeface_cnt"); in onOnceBeforeDraw() 56 fTypefaces[0] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle()); in onOnceBeforeDraw() 57 fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 58 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 59 fTypefaces[3] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 79 fTypefaceIndices[i] = random.nextULessThan(SK_ARRAY_COUNT(fTypefaces)); in onOnceBeforeDraw() 83 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw() 112 fPaint.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw() 142 sk_sp<SkTypeface> fTypefaces[4]; member in VariedTextGM
|
D | atlastext.cpp | 77 fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic()); in onOnceBeforeDraw() 78 fTypefaces[1] = in onOnceBeforeDraw() 80 fTypefaces[2] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Normal()); in onOnceBeforeDraw() 81 fTypefaces[3] = in onOnceBeforeDraw() 83 fTypefaces[4] = sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 84 fTypefaces[5] = sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle::Bold()); in onOnceBeforeDraw() 114 for (const auto& typeface : fTypefaces) { in drawText() 158 sk_sp<SkTypeface> fTypefaces[6]; member in AtlasTextGM
|
/external/skqp/dm/ |
D | DMFontMgr.cpp | 26 fTypefaces[0] = create_portable_typeface(familyName, SkFontStyle::Normal()); in FontStyleSet() 27 fTypefaces[1] = create_portable_typeface(familyName, SkFontStyle::Bold()); in FontStyleSet() 28 fTypefaces[2] = create_portable_typeface(familyName, SkFontStyle::Italic()); in FontStyleSet() 29 fTypefaces[3] = create_portable_typeface(familyName, SkFontStyle::BoldItalic()); in FontStyleSet() 53 return SkRef(fTypefaces[index].get()); in createTypeface() 61 sk_sp<SkTypeface> fTypefaces[4]; member in __anonec51e2fb0111::FontStyleSet
|
/external/skia/tools/fonts/ |
D | SkTestFontMgr.cpp | 26 fTypefaces[0] = create_portable_typeface(familyName, SkFontStyle::Normal()); in FontStyleSet() 27 fTypefaces[1] = create_portable_typeface(familyName, SkFontStyle::Bold()); in FontStyleSet() 28 fTypefaces[2] = create_portable_typeface(familyName, SkFontStyle::Italic()); in FontStyleSet() 29 fTypefaces[3] = create_portable_typeface(familyName, SkFontStyle::BoldItalic()); in FontStyleSet() 53 return SkRef(fTypefaces[index].get()); in createTypeface() 61 sk_sp<SkTypeface> fTypefaces[4]; member in __anonf2f50dea0111::FontStyleSet
|
/external/skqp/src/pipe/ |
D | SkPipeReader.cpp | 36 , fTypefaces(typefaces) in SkPipeInflator() 48 return fTypefaces->get(index - 1); in getTypeface() 61 return fTypefaces->set(index - 1, face); in setTypeface() 89 SkRefSet<SkTypeface>* fTypefaces; member in SkPipeInflator 773 SkRefSet<SkTypeface> fTypefaces; member in SkPipeDeserializer::Impl 797 &fImpl->fTypefaces, &fImpl->fFactories, in readImage() 827 &fImpl->fTypefaces, &fImpl->fFactories, in readPicture() 896 &fImpl->fTypefaces, &fImpl->fFactories, in playback()
|
D | SkPipeCanvas.h | 59 fTypefaces.reset(); in resetCaches() 84 SkTIndexSet<uint32_t> fTypefaces; variable
|
D | SkPipeCanvas.cpp | 869 int index = fTypefaces.find(typeface->uniqueID()); in findOrDefineTypeface() 880 index = fTypefaces.add(typeface->uniqueID()); in findOrDefineTypeface()
|
/external/skia/src/pipe/ |
D | SkPipeReader.cpp | 36 , fTypefaces(typefaces) in SkPipeInflator() 48 return fTypefaces->get(index - 1); in getTypeface() 61 return fTypefaces->set(index - 1, face); in setTypeface() 89 SkRefSet<SkTypeface>* fTypefaces; member in SkPipeInflator 773 SkRefSet<SkTypeface> fTypefaces; member in SkPipeDeserializer::Impl 797 &fImpl->fTypefaces, &fImpl->fFactories, in readImage() 827 &fImpl->fTypefaces, &fImpl->fFactories, in readPicture() 896 &fImpl->fTypefaces, &fImpl->fFactories, in playback()
|
D | SkPipeCanvas.h | 59 fTypefaces.reset(); in resetCaches() 84 SkTIndexSet<uint32_t> fTypefaces; variable
|
D | SkPipeCanvas.cpp | 869 int index = fTypefaces.find(typeface->uniqueID()); in findOrDefineTypeface() 880 index = fTypefaces.add(typeface->uniqueID()); in findOrDefineTypeface()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 425 if (!this->fTypefaces.empty()) { in endPortfolio() 426 SkXPSDevice::TypefaceUse* current = &this->fTypefaces.front(); in endPortfolio() 427 const TypefaceUse* last = &this->fTypefaces.back(); in endPortfolio() 1826 if (!this->fTypefaces.empty()) { in CreateTypefaceUse() 1827 TypefaceUse* current = &this->fTypefaces.front(); in CreateTypefaceUse() 1828 const TypefaceUse* last = &this->fTypefaces.back(); in CreateTypefaceUse() 1873 TypefaceUse& newTypefaceUse = this->fTypefaces.push_back(); in CreateTypefaceUse()
|
D | SkXPSDevice.h | 135 SkTArray<TypefaceUse, true> fTypefaces; variable
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 425 if (!this->fTypefaces.empty()) { in endPortfolio() 426 SkXPSDevice::TypefaceUse* current = &this->fTypefaces.front(); in endPortfolio() 427 const TypefaceUse* last = &this->fTypefaces.back(); in endPortfolio() 1826 if (!this->fTypefaces.empty()) { in CreateTypefaceUse() 1827 TypefaceUse* current = &this->fTypefaces.front(); in CreateTypefaceUse() 1828 const TypefaceUse* last = &this->fTypefaces.back(); in CreateTypefaceUse() 1873 TypefaceUse& newTypefaceUse = this->fTypefaces.push_back(); in CreateTypefaceUse()
|
D | SkXPSDevice.h | 135 SkTArray<TypefaceUse, true> fTypefaces; variable
|