/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 68 SkTypeface* fTypeface; // value: weak ref to typeface member 75 , fTypeface(that.fTypeface) in DataEntry() 79 that.fTypeface = NULL; in DataEntry() 83 if (fTypeface) { in ~DataEntry() 84 fTypeface->weak_unref(); in ~DataEntry()
|
/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/src/pdf/ |
D | SkPDFFont.h | 37 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() 112 sk_sp<SkTypeface> fTypeface; member 122 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface() 127 sk_sp<SkTypeface> fTypeface;
|
D | SkPDFFont.cpp | 236 , fTypeface(std::move(info.fTypeface)) in SkPDFFont() 241 SkASSERT(fTypeface); in SkPDFFont() 728 fTypeface = nullptr; in drop()
|
/external/skia/tools/ |
D | SkShaper_harfbuzz.cpp | 51 sk_sp<SkTypeface> fTypeface; member 55 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper() 59 fImpl->fTypeface->openStream(&index)))); in SkShaper() 70 hb_face_set_upem(face.get(), fImpl->fTypeface->getUnitsPerEm()); in SkShaper() 91 paint.setTypeface(fImpl->fTypeface); in shape()
|
D | SkShaper_primitive.cpp | 13 sk_sp<SkTypeface> fTypeface; member 17 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper() 38 paint.setTypeface(fImpl->fTypeface); in shape()
|
/external/skia/bench/ |
D | TextBlobBench.cpp | 30 fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onDelayedSetup() 33 paint.setTypeface(fTypeface); in onDelayedSetup() 67 sk_sp<SkTypeface> fTypeface; member in TextBlobBench
|
/external/skia/gm/ |
D | textblob.cpp | 76 fTypeface = sk_tool_utils::create_portable_typeface("serif", SkFontStyle()); in onOnceBeforeDraw() 78 p.setTypeface(fTypeface); in onOnceBeforeDraw() 121 font.setTypeface(fTypeface); in makeBlob() 185 sk_sp<SkTypeface> fTypeface; member in TextBlobGM
|
/external/skia/include/core/ |
D | SkFont.h | 134 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 167 sk_sp<SkTypeface> fTypeface; variable
|
D | SkPaint.h | 573 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 1051 sk_sp<SkTypeface> fTypeface;
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob.cpp | 64 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache() 68 return SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc->getDesc()); in setupCache() 469 if (lRun.fTypeface.get()) { in AssertEqual() 470 SkASSERT_RELEASE(rRun.fTypeface.get()); in AssertEqual() 471 SkASSERT_RELEASE(SkTypeface::Equal(lRun.fTypeface.get(), rRun.fTypeface.get())); in AssertEqual() 473 SkASSERT_RELEASE(!rRun.fTypeface.get()); in AssertEqual()
|
D | GrAtlasTextBlob_regenInOp.cpp | 160 lazyCache->reset(SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc)); in regenInOp()
|
D | GrAtlasTextBlob.h | 469 sk_sp<SkTypeface> fTypeface; member
|
/external/skia/src/core/ |
D | SkFont.cpp | 14 : fTypeface(face ? std::move(face) : SkTypeface::MakeDefault()) in SkFont() 104 (void)fTypeface->charsToGlyphs(text, typefaceEncoding, glyphs, count); in textToGlyphs()
|
D | SkTextBlob.cpp | 26 , fTypeface(SkSafeRef(paint.getTypeface())) in RunFont() 34 paint->setTypeface(fTypeface); in applyToPaint() 45 return fTypeface == other.fTypeface in operator ==() 78 sk_sp<SkTypeface> fTypeface; member in __anon61d7bb0a0111::RunFont 93 void* fTypeface; member
|
D | SkScalerContext.h | 217 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 339 sk_sp<SkTypeface> fTypeface; variable
|
D | SkPaint.cpp | 70 : COPY(fTypeface) in SkPaint() 91 MOVE(fTypeface); in SkPaint() 118 ASSIGN(fTypeface); in operator =() 145 MOVE(fTypeface); in operator =() 168 return EQUAL(fTypeface) in operator ==() 1735 proc(fTypeface.get(), { pe, mf, ra }, desc, context); in descriptorProc()
|
D | SkScalerContext.cpp | 71 , fTypeface(std::move(typeface)) in SkScalerContext()
|
/external/skia/samplecode/ |
D | SampleApp.h | 221 sk_sp<SkTypeface> fTypeface; variable
|
D | SampleApp.cpp | 908 fTypeface = SkTypeface::MakeFromName("Courier", SkFontStyle(SkFontStyle::kBold_Weight, in SampleWindow() 1324 paint.setTypeface(fTypeface); in showZoomer()
|