/external/skia/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/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/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/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/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/skia/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/skia/gm/ |
D | scaledemoji.cpp | 38 sk_sp<SkTypeface> fTypeface; member 43 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw() 58 SkFont font(fEmojiFont.fTypeface); in onDraw() 88 sk_sp<SkTypeface> fTypeface; member 93 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw() 109 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
D | textblob.cpp | 87 fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 88 SkFont font(fTypeface); in onOnceBeforeDraw() 132 font.setTypeface(fTypeface); in makeBlob() 196 sk_sp<SkTypeface> fTypeface; member in TextBlobGM
|
/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/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/skia/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/skia/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() 518 if (font.fTypeface) { in Flatten() 533 buffer.writeTypeface(font.fTypeface.get()); in Flatten() 552 font->fTypeface = buffer.readTypeface(); in Unflatten()
|
D | SkStrikeInterface.h | 42 , fTypeface{typeface} 46 const SkTypeface& typeface() const { return fTypeface; } in typeface() 51 const SkTypeface& fTypeface; variable
|
/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/skqp/modules/skshaper/src/ |
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 __anon65b03dab0111::FontRunIterator 506 sk_sp<SkTypeface> fTypeface; member 514 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper() [all …]
|
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()
|
/external/skia/modules/skottie/src/ |
D | SkottieValue.h | 74 sk_sp<SkTypeface> fTypeface; member 85 return fTypeface == other.fTypeface
|
/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/skia/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/include/core/ |
D | SkFont.h | 191 SkTypeface* getTypeface() const {return fTypeface.get(); } in getTypeface() 225 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 240 void setTypeface(sk_sp<SkTypeface> tf) { fTypeface = tf; } in setTypeface() 497 sk_sp<SkTypeface> fTypeface; variable
|