/external/skqp/include/atlastext/ |
D | SkAtlasTextFont.h | 22 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() 24 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 28 SkFont makeFont() const { return SkFont(fTypeface, fSize); } in makeFont() 32 : fTypeface(std::move(typeface)), fSize(size) {} in SkAtlasTextFont() 34 sk_sp<SkTypeface> fTypeface; variable
|
/external/skia/gm/ |
D | scaledemoji.cpp | 45 sk_sp<SkTypeface> fTypeface; member 50 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 65 SkFont font(fEmojiFont.fTypeface); in onDraw() 94 sk_sp<SkTypeface> fTypeface; member 99 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 115 font.setTypeface(fEmojiFont.fTypeface); in onDraw() 152 sk_sp<SkTypeface> fTypeface; member 157 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 175 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
D | colrv1.cpp | 33 sk_sp<SkTypeface> fTypeface; member 40 fEmojiFont.fTypeface = in onOnceBeforeDraw() 61 if (!fEmojiFont.fTypeface) { in onDraw() 69 SkFont font(fEmojiFont.fTypeface); in onDraw()
|
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
|
/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/skqp/include/ports/ |
D | SkFontMgr_indirect.h | 67 SkTypeface* fTypeface; // value: weak ref to typeface member 74 , fTypeface(that.fTypeface) in DataEntry() 78 that.fTypeface = nullptr; in DataEntry() 82 if (fTypeface) { in ~DataEntry() 83 fTypeface->weak_unref(); in ~DataEntry()
|
/external/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 259 if (finfo->fTypeface) { in resolveNativeTypefaces() 271 finfo->fTypeface = fResourceProvider->loadTypeface(name.c_str(), finfo->fPath.c_str()); in resolveNativeTypefaces() 275 if (!finfo->fTypeface) { in resolveNativeTypefaces() 276 finfo->fTypeface = fmgr->makeFromData( in resolveNativeTypefaces() 280 if (!finfo->fTypeface) { in resolveNativeTypefaces() 281 finfo->fTypeface.reset(fmgr->matchFamilyStyle(finfo->fFamily.c_str(), in resolveNativeTypefaces() 284 if (!finfo->fTypeface) { in resolveNativeTypefaces() 288 finfo->fTypeface = fmgr->legacyMakeTypeface(nullptr, in resolveNativeTypefaces() 291 has_unresolved |= !finfo->fTypeface; in resolveNativeTypefaces() 388 if (finfo->fTypeface) { in resolveEmbeddedTypefaces() [all …]
|
/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/skqp/src/fonts/ |
D | SkFontMgr_indirect.cpp | 92 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 94 return entry.fTypeface; in createTypefaceFromFontId() 97 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 99 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId() 104 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId() 133 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
|
/external/skqp/gm/ |
D | scaledemoji.cpp | 38 sk_sp<SkTypeface> fTypeface; member 43 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw() 60 SkFont font(fEmojiFont.fTypeface); in onDraw() 90 sk_sp<SkTypeface> fTypeface; member 95 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw() 113 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 44 sk_sp<SkTypeface> fTypeface; member in ChineseFlingView 75 fTypeface = chinese_typeface(); in onOnceBeforeDraw() 77 SkFont font(fTypeface, 56); in onOnceBeforeDraw() 110 sk_sp<SkTypeface> fTypeface; member in ChineseZoomView 184 fTypeface = chinese_typeface(); in onOnceBeforeDraw() 186 SkFont font(fTypeface, 11); in onOnceBeforeDraw()
|
D | SampleGlyphTransform.cpp | 29 fEmojiFont.fTypeface = ToolUtils::emoji_typeface(); in onOnceBeforeDraw() 38 SkFont font(fEmojiFont.fTypeface); in onDrawContent() 70 sk_sp<SkTypeface> fTypeface; member
|
D | SampleFlutterAnimate.cpp | 27 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw() 34 SkFont font(fTypeface, 50); in onDrawContent() 88 sk_sp<SkTypeface> fTypeface; member in FlutterAnimateView
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 85 fTypeface = chinese_typeface(); in init() 87 SkFont font(fTypeface, 56); in init() 112 sk_sp<SkTypeface> fTypeface; member in ChineseFlingView 202 fTypeface = chinese_typeface(); in init() 204 SkFont font(fTypeface, 11); in init() 239 sk_sp<SkTypeface> fTypeface; member in ChineseZoomView
|
D | SampleGlyphTransform.cpp | 29 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw() 44 SkFont font(fEmojiFont.fTypeface); in onDrawContent() 76 sk_sp<SkTypeface> fTypeface; member
|
D | SampleFlutterAnimate.cpp | 32 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw() 46 SkFont font(fTypeface, 50); in onDrawContent() 101 sk_sp<SkTypeface> fTypeface; member in FlutterAnimateView
|
/external/skqp/modules/skottie/src/ |
D | SkottieValue.h | 74 sk_sp<SkTypeface> fTypeface; member 85 return fTypeface == other.fTypeface
|
/external/skqp/src/pdf/ |
D | SkPDFFont.h | 34 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() 112 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 115 sk_sp<SkTypeface> fTypeface;
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 15 sk_sp<SkTypeface> fTypeface; member 19 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper() 45 font.setTypeface(fImpl->fTypeface); in shape()
|
D | SkShaper_harfbuzz.cpp | 285 , fHBFont(hbFace), fTypeface(std::move(typeface)) in FontRunIterator() 287 , fCurrentHBFont(fHBFont), fCurrentTypeface(fTypeface.get()) in FontRunIterator() 293 if (fTypeface->charsToGlyphs(&u, SkTypeface::kUTF32_Encoding, nullptr, 1)) { in consume() 294 fCurrentTypeface = fTypeface.get(); in consume() 305 nullptr, fTypeface->fontStyle(), nullptr, 0, u)); in consume() 316 if (fCurrentTypeface != fTypeface.get() && in consume() 317 fTypeface->charsToGlyphs(&u, SkTypeface::kUTF32_Encoding, nullptr, 1)) in consume() 347 sk_sp<SkTypeface> fTypeface; member in __anonacb933920111::FontRunIterator 506 sk_sp<SkTypeface> fTypeface; member 514 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper() [all …]
|
/external/skqp/src/core/ |
D | SkFont.cpp | 32 : fTypeface(std::move(face)) in SkFont() 48 return fTypeface.get() == b.fTypeface.get() && in operator ==() 58 SkDebugf("typeface %p\n", fTypeface.get()); in dump() 407 return fTypeface ? fTypeface.get() : SkTypeface::GetDefaultTypeface(); in getTypefaceOrDefault() 411 return fTypeface ? fTypeface : SkTypeface::MakeDefault(); in refTypefaceOrDefault() 532 if (font.fTypeface) { in Flatten() 547 buffer.writeTypeface(font.fTypeface.get()); in Flatten() 566 font->fTypeface = buffer.readTypeface(); in Unflatten()
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 40 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/src/core/ |
D | SkFont.cpp | 34 : fTypeface(std::move(face)) in SkFont() 50 return fTypeface.get() == b.fTypeface.get() && in operator ==() 60 SkDebugf("typeface %p\n", fTypeface.get()); in dump() 365 return fTypeface ? fTypeface.get() : SkTypeface::GetDefaultTypeface(); in getTypefaceOrDefault() 369 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()
|
/external/skia/modules/skottie/gm/ |
D | ExternalProperties.cpp | 29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 32 return fTypeface; in loadTypeface() 36 sk_sp<SkTypeface> fTypeface; member in __anon866801ed0111::FakeWebFontProvider
|