/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 69 SkTypeface* fTypeface; // value: weak ref to typeface member 76 , fTypeface(that.fTypeface) in DataEntry() 80 that.fTypeface = NULL; in DataEntry() 84 if (fTypeface) { in ~DataEntry() 85 fTypeface->weak_unref(); in ~DataEntry()
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 106 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 108 return entry.fTypeface; in createTypefaceFromFontId() 111 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 113 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId() 118 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId() 147 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
|
/external/skia/bench/ |
D | TextBlobBench.cpp | 28 : fTypeface(nullptr) { in TextBlobBench() 33 fTypeface.reset(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal)); in onDelayedSetup() 36 paint.setTypeface(fTypeface); in onDelayedSetup() 70 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobBench
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 209 , fTypeface(SkRef(typeface)) in SkScalerContext_DW() 328 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount() 335 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph() 356 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance() 366 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance() 373 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance() 415 run.fontFace = fTypeface->fDWriteFontFace.get(); in getBoundingBox() 425 HRM(fTypeface->fFactory->CreateGlyphRunAnalysis( in getBoundingBox() 504 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics() 510 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics() [all …]
|
D | SkScalerContext_win_dw.h | 62 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
|
/external/skia/gm/ |
D | textblob.cpp | 75 fTypeface.reset(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal)); in onOnceBeforeDraw() 77 p.setTypeface(fTypeface); in onOnceBeforeDraw() 120 font.setTypeface(fTypeface); in makeBlob() 184 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobGM
|
/external/skia/src/core/ |
D | SkFont.cpp | 18 : fTypeface(ref_or_default(face)) in SkFont() 58 SkSafeUnref(fTypeface); in ~SkFont() 108 (void)fTypeface->charsToGlyphs(text, typeface_encoding, glyphs, count); in textToGlyphs()
|
D | SkTextBlob.cpp | 22 , fTypeface(SkSafeRef(paint.getTypeface())) in RunFont() 30 paint->setTypeface(fTypeface.get()); in applyToPaint() 41 return fTypeface == other.fTypeface in operator ==() 76 SkAutoTUnref<SkTypeface> fTypeface; member in __anon09fadd6f0111::RunFont 91 void* fTypeface; member
|
D | SkScalerContext.h | 192 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 307 SkAutoTUnref<SkTypeface> fTypeface; variable
|
D | SkPaint.cpp | 48 fTypeface = nullptr; in SkPaint() 81 REF_COPY(fTypeface); in SkPaint() 108 REF_MOVE(fTypeface); in SkPaint() 132 SkSafeUnref(fTypeface); in ~SkPaint() 152 REF_COPY(fTypeface); in operator =() 185 REF_MOVE(fTypeface); in operator =() 212 return EQUAL(fTypeface) in operator ==() 404 SkRefCnt_SafeAssign(fTypeface, font); in setTypeface() 1742 proc(fTypeface, desc, context); in descriptorProc()
|
D | SkScalerContext.cpp | 82 , fTypeface(SkRef(typeface)) in SkScalerContext()
|
/external/skia/include/core/ |
D | SkFont.h | 130 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface() 158 SkTypeface* fTypeface; variable
|
D | SkPaint.h | 591 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface() 1033 SkTypeface* fTypeface;
|
/external/skia/tests/ |
D | FontHostStreamTest.cpp | 72 SkTypeface* fTypeface = SkTypeface::CreateFromName("Georgia", in DEF_TEST() local 74 SkSafeUnref(paint.setTypeface(fTypeface)); in DEF_TEST()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob.cpp | 63 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache() 64 return SkGlyphCache::DetachCache(run->fTypeface, desc->getDesc()); in setupCache() 501 if (lRun.fTypeface.get()) { in AssertEqual() 502 SkASSERT_RELEASE(rRun.fTypeface.get()); in AssertEqual() 503 SkASSERT_RELEASE(SkTypeface::Equal(lRun.fTypeface, rRun.fTypeface)); in AssertEqual() 505 SkASSERT_RELEASE(!rRun.fTypeface.get()); in AssertEqual()
|
D | GrAtlasTextBlob_regenInBatch.cpp | 162 if (!*cache || !SkTypeface::Equal(*typeface, run->fTypeface) || in regenInBatch() 168 *cache = SkGlyphCache::DetachCache(run->fTypeface, *desc); in regenInBatch() 170 *typeface = run->fTypeface; in regenInBatch()
|
D | GrAtlasTextBlob.h | 474 SkAutoTUnref<SkTypeface> fTypeface; member
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 197 SkAutoTUnref<SkTypeface> fTypeface;
|
D | SkPDFFont.cpp | 747 return fTypeface.get(); in typeface() 863 , fTypeface(ref_or_default(typeface)) in SkPDFFont()
|
/external/skia/samplecode/ |
D | SampleApp.h | 200 SkTypeface* fTypeface; variable
|
D | SampleApp.cpp | 883 fTypeface = SkTypeface::CreateFromTypeface(nullptr, SkTypeface::kBold); in SampleWindow() 996 SkSafeUnref(fTypeface); in ~SampleWindow() 1277 paint.setTypeface(fTypeface); in showZoomer()
|