/external/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 212 if (finfo->fTypeface) { in resolveNativeTypefaces() 224 finfo->fTypeface = fResourceProvider->loadTypeface(name.c_str(), finfo->fPath.c_str()); in resolveNativeTypefaces() 228 if (!finfo->fTypeface) { in resolveNativeTypefaces() 229 finfo->fTypeface = fmgr->makeFromData( in resolveNativeTypefaces() 233 if (!finfo->fTypeface) { in resolveNativeTypefaces() 234 finfo->fTypeface.reset(fmgr->matchFamilyStyle(finfo->fFamily.c_str(), in resolveNativeTypefaces() 237 if (!finfo->fTypeface) { in resolveNativeTypefaces() 241 finfo->fTypeface = fmgr->legacyMakeTypeface(nullptr, in resolveNativeTypefaces() 244 has_unresolved |= !finfo->fTypeface; in resolveNativeTypefaces() 306 if (finfo->fTypeface) { in resolveEmbeddedTypefaces() [all …]
|
/external/skia/gm/ |
D | scaledemoji.cpp | 46 sk_sp<SkTypeface> fTypeface; member 51 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 66 SkFont font(fEmojiFont.fTypeface); in onDraw() 95 sk_sp<SkTypeface> fTypeface; member 100 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 116 font.setTypeface(fEmojiFont.fTypeface); in onDraw() 153 sk_sp<SkTypeface> fTypeface; member 158 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 186 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
D | slug.cpp | 41 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 42 SkFont font(fTypeface); in onOnceBeforeDraw() 97 font.setTypeface(fTypeface); in makeBlob() 106 sk_sp<SkTypeface> fTypeface; member in SlugGM
|
D | colrv1.cpp | 61 fTypeface = MakeResourceAsTypeface(kTestFontNameVariable); in onOnceBeforeDraw() 63 fTypeface = MakeResourceAsTypeface(kTestFontName); in onOnceBeforeDraw() 65 fVariationSliders = ToolUtils::VariationSliders(fTypeface.get(), fVariationPosition); in onOnceBeforeDraw() 107 if (!fTypeface) { in makeVariedTypeface() 116 return fTypeface->makeClone(args); in makeVariedTypeface() 125 if (!fTypeface) { in onDraw() 174 sk_sp<SkTypeface> fTypeface; member in skiagm::ColrV1GM
|
D | drawglyphs.cpp | 23 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 24 fFont = SkFont(fTypeface); in onOnceBeforeDraw() 79 sk_sp<SkTypeface> fTypeface; member in DrawGlyphsGM
|
D | textblob.cpp | 89 fTypeface = ToolUtils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 90 SkFont font(fTypeface); in onOnceBeforeDraw() 134 font.setTypeface(fTypeface); in makeBlob() 198 sk_sp<SkTypeface> fTypeface; member in TextBlobGM
|
/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 66 SkTypeface* fTypeface; // value: weak ref to typeface member 75 fTypeface = that.fTypeface; 79 that.fTypeface = nullptr; 85 if (fTypeface) { in ~DataEntry() 86 fTypeface->weak_unref(); in ~DataEntry()
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 91 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 93 return entry.fTypeface; in createTypefaceFromFontId() 96 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 98 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId() 103 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId() 132 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
|
/external/skia/tools/viewer/ |
D | ChineseFlingSlide.cpp | 45 sk_sp<SkTypeface> fTypeface; member in ChineseFlingSlide 77 fTypeface = chinese_typeface(); in load() 79 SkFont font(fTypeface, 56); in load() 112 sk_sp<SkTypeface> fTypeface; member in ChineseZoomSlide 184 fTypeface = chinese_typeface(); in load() 186 SkFont font(fTypeface, 11); in load()
|
D | GlyphTransformSlide.cpp | 27 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in load() 37 SkFont font(fEmojiFont.fTypeface); in draw() 69 sk_sp<SkTypeface> fTypeface; member
|
D | FlutterAnimateSlide.cpp | 27 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in load() 32 SkFont font(fTypeface, 50); in draw() 86 sk_sp<SkTypeface> fTypeface; member in FlutterAnimateView
|
/external/skia/experimental/sktext/src/ |
D | Paint.h | 24 …: fTypeface(sk_sp<SkTypeface>(SkFontMgr::RefDefault()->matchFamilyStyle(ff, SkFontStyle::Normal())… in TrivialFontChain() 30 return fTypeface; 34 sk_sp<SkTypeface> getTypeface() const { return fTypeface; } in getTypeface() 35 bool empty() const { return fTypeface == nullptr; } in empty() 38 sk_sp<SkTypeface> fTypeface;
|
/external/skia/include/core/ |
D | SkFont.h | 200 SkTypeface* getTypeface() const {return fTypeface.get(); } in getTypeface() 234 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 249 void setTypeface(sk_sp<SkTypeface> tf) { fTypeface = tf; } in setTypeface() 521 sk_sp<SkTypeface> fTypeface; variable 529 static_assert(::sk_is_trivially_relocatable<decltype(fTypeface)>::value);
|
/external/skia/src/core/ |
D | SkFont.cpp | 37 : fTypeface(std::move(face)) in SkFont() 53 return fTypeface.get() == b.fTypeface.get() && in operator ==() 63 SkDebugf("typeface %p\n", fTypeface.get()); in dump() 310 return fTypeface ? fTypeface.get() : SkTypeface::GetDefaultTypeface(); in getTypefaceOrDefault() 314 return fTypeface ? fTypeface : SkTypeface::MakeDefault(); in refTypefaceOrDefault()
|
D | SkFont_serial.cpp | 63 if (font.fTypeface) { in Flatten() 78 buffer.writeTypeface(font.fTypeface.get()); in Flatten() 97 font->fTypeface = buffer.readTypeface(); in Unflatten()
|
D | SkStrikeSpec.h | 99 return fTypeface->createScalerContext(effects, fAutoDescriptor.getDesc()); in createScalerContext() 103 const SkTypeface& typeface() const { return *fTypeface; } in typeface() 118 sk_sp<SkTypeface> fTypeface; variable
|
/external/skia/tools/fonts/ |
D | TestFontMgr.cpp | 29 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry() 30 sk_sp<SkTypeface> fTypeface; member 47 return SkRef(fTypefaces[index].fTypeface.get()); in createTypeface() 77 fDefaultTypeface = fDefaultFamily->fTypefaces[0].fTypeface; in FontMgr()
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 39 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() 120 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 123 sk_sp<SkTypeface> fTypeface;
|
/external/skia/modules/skottie/gm/ |
D | ExternalProperties.cpp | 30 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 33 return fTypeface; in loadTypeface() 37 sk_sp<SkTypeface> fTypeface; member in __anon6473d5cb0111::FakeWebFontProvider
|
D | SkottieGM.cpp | 30 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 33 return fTypeface; in loadTypeface() 37 sk_sp<SkTypeface> fTypeface; member in __anon5b870ed20111::FakeWebFontProvider
|
/external/skia/bench/ |
D | TypefaceBench.cpp | 236 fTypeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onDelayedSetup() 240 SkFont font(fTypeface); in onDraw() 295 sk_sp<SkTypeface> fTypeface; member in UtfToGlyph
|
/external/skia/modules/skottie/src/text/ |
D | Font.h | 64 const sk_sp<SkTypeface>& typeface() const { return fTypeface; } in typeface() 72 const sk_sp<SkTypeface> fTypeface; variable
|
/external/skia/modules/sksg/include/ |
D | SkSGText.h | 33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface) 58 sk_sp<SkTypeface> fTypeface; variable
|
/external/skia/modules/sksg/src/ |
D | SkSGText.cpp | 23 : fTypeface(std::move(tf)) in Text() 49 font.setTypeface(fTypeface); in onRevalidate()
|
/external/skia/modules/skparagraph/include/ |
D | TextStyle.h | 270 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 271 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 272 void setTypeface(sk_sp<SkTypeface> typeface) { fTypeface = std::move(typeface); } in setTypeface() 323 sk_sp<SkTypeface> fTypeface; variable
|