Home
last modified time | relevance | path

Searched refs:fTypeface (Results 1 – 25 of 60) sorted by relevance

123

/external/skia/include/atlastext/
DSkAtlasTextFont.h22 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/
DSkAtlasTextFont.h22 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/
DSkFontMgr_indirect.h67 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/
DSkFontMgr_indirect.h67 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/
DSkFontMgr_indirect.cpp92 !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/
DSkFontMgr_indirect.cpp92 !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/
Dscaledemoji.cpp38 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()
Dtextblob.cpp87 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/
Dscaledemoji.cpp38 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/
DSampleChineseFling.cpp85 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
DSampleGlyphTransform.cpp29 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw()
44 SkFont font(fEmojiFont.fTypeface); in onDrawContent()
76 sk_sp<SkTypeface> fTypeface; member
DSampleFlutterAnimate.cpp32 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/
DSampleChineseFling.cpp85 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
DSampleGlyphTransform.cpp29 fEmojiFont.fTypeface = sk_tool_utils::emoji_typeface(); in onOnceBeforeDraw()
44 SkFont font(fEmojiFont.fTypeface); in onDrawContent()
76 sk_sp<SkTypeface> fTypeface; member
DSampleFlutterAnimate.cpp32 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/
DSkFont.cpp32 : 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()
DSkStrikeInterface.h42 , fTypeface{typeface}
46 const SkTypeface& typeface() const { return fTypeface; } in typeface()
51 const SkTypeface& fTypeface; variable
/external/skqp/src/core/
DSkFont.cpp32 : 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/
DSkShaper_harfbuzz.cpp285 , 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 …]
DSkShaper_primitive.cpp15 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/
DSkottieValue.h74 sk_sp<SkTypeface> fTypeface; member
85 return fTypeface == other.fTypeface
/external/skqp/modules/skottie/src/
DSkottieValue.h74 sk_sp<SkTypeface> fTypeface; member
85 return fTypeface == other.fTypeface
/external/skqp/src/pdf/
DSkPDFFont.h34 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/
DSkPDFFont.h34 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/
DSkFont.h191 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

123