/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 67 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 | 196 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 198 return entry.fTypeface; in createTypefaceFromFontId() 201 !entry.fTypeface->weak_expired() && entry.fTypeface->try_ref()) in createTypefaceFromFontId() 203 dataTypeface.reset(entry.fTypeface); in createTypefaceFromFontId() 208 if (entry.fTypeface->weak_expired()) { in createTypefaceFromFontId() 237 newEntry.fTypeface = typeface.get(); // weak reference passed to new entry. in createTypefaceFromFontId()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 194 , fTypeface(SkRef(typeface)) in SkScalerContext_DW() 313 fGlyphCount = fTypeface->fDWriteFontFace->GetGlyphCount(); in generateGlyphCount() 320 fTypeface->fDWriteFontFace->GetGlyphIndices(reinterpret_cast<UINT32*>(&uni), 1, &index); in generateCharToGlyph() 340 HRVM(fTypeface->fDWriteFontFace->GetGdiCompatibleGlyphMetrics( in generateAdvance() 349 HRVM(fTypeface->fDWriteFontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm), in generateAdvance() 354 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateAdvance() 395 run.fontFace = fTypeface->fDWriteFontFace.get(); in getBoundingBox() 403 HRM(fTypeface->fFactory->CreateGlyphRunAnalysis( in getBoundingBox() 480 fTypeface->fDWriteFontFace->GetGdiCompatibleMetrics( in generateFontMetrics() 486 fTypeface->fDWriteFontFace->GetMetrics(&dwfm); in generateFontMetrics() [all …]
|
D | SkScalerContext_win_dw.h | 62 SkAutoTUnref<DWriteFontTypeface> fTypeface; variable
|
/external/skia/bench/ |
D | TextBlobBench.cpp | 28 : fTypeface(sk_tool_utils::create_portable_typeface("Times", SkTypeface::kNormal)) { in TextBlobBench() 31 paint.setTypeface(fTypeface); in TextBlobBench() 66 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobBench
|
/external/skia/gm/ |
D | dftext.cpp | 18 fTypeface = NULL; in DFTextGM() 22 SkSafeUnref(fTypeface); in ~DFTextGM() 27 fTypeface = GetResourceAsTypeface("/fonts/Funkster.ttf"); in onOnceBeforeDraw() 209 paint.setTypeface(fTypeface); in onDraw() 231 SkTypeface* fTypeface; member in DFTextGM
|
D | textblob.cpp | 70 : fTypeface(sk_tool_utils::create_portable_typeface("Times", SkTypeface::kNormal)) { in TextBlobGM() 72 p.setTypeface(fTypeface); in TextBlobGM() 116 font.setTypeface(fTypeface); in makeBlob() 180 SkAutoTUnref<SkTypeface> fTypeface; member in TextBlobGM
|
D | dcshader.cpp | 221 if (!fTypeface) { in onOnceBeforeDraw() 222 fTypeface.reset(GetResourceAsTypeface("/fonts/Funkster.ttf")); in onOnceBeforeDraw() 224 paint->setTypeface(fTypeface); in onOnceBeforeDraw() 229 SkAutoTUnref<SkTypeface> fTypeface; in onOnceBeforeDraw() member
|
/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() 29 paint->setTypeface(fTypeface.get()); in applyToPaint() 39 return fTypeface == other.fTypeface in operator ==() 74 SkAutoTUnref<SkTypeface> fTypeface; member in __anon61d7bb0a0111::RunFont 87 void* fTypeface; member
|
D | SkTypeface.cpp | 306 const SkTypeface& fTypeface; member 308 BoundsComputer(const SkTypeface& tf) : fTypeface(tf) {} in BoundsComputer() 312 if (!fTypeface.onComputeBounds(rect)) { in operator ()()
|
D | SkScalerContext.h | 192 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() 304 SkAutoTUnref<SkTypeface> fTypeface;
|
D | SkPaint.cpp | 42 fTypeface = NULL; in SkPaint() 75 REF_COPY(fTypeface); in SkPaint() 99 SkSafeUnref(fTypeface); in ~SkPaint() 119 REF_COPY(fTypeface); in operator =() 146 return EQUAL(fTypeface) in operator ==() 342 SkRefCnt_SafeAssign(fTypeface, font); in setTypeface() 1761 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 | 625 SkTypeface* getTypeface() const { return fTypeface; } in getTypeface() 1026 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/experimental/PdfViewer/ |
D | SkPdfFont.h | 261 SkTypeface* fTypeface; variable 264 SkPdfStandardFont(SkTypeface* typeface) : fTypeface(typeface) {} in SkPdfStandardFont() 269 paint->setTypeface(fTypeface); in drawOneChar()
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 191 SkAutoTUnref<SkTypeface> fTypeface;
|
D | SkPDFFont.cpp | 752 return fTypeface.get(); in typeface() 868 , fTypeface(ref_or_default(typeface)) in SkPDFFont()
|
/external/skia/src/gpu/ |
D | GrStencilAndCoverTextContext.cpp | 229 uint32_t fTypeface; in get_gr_glyphs() member 234 glyphKey->fTypeface = typeface ? typeface->uniqueID() : 0; in get_gr_glyphs()
|
D | GrAtlasTextContext.cpp | 344 run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); in setupCache() 345 return SkGlyphCache::DetachCache(run->fTypeface, run->fDescriptor.getDesc()); in setupCache() 667 SkGlyphCache* cache = SkGlyphCache::DetachCache(run.fTypeface, in fallbackDrawPosText() 1623 if (!cache || !SkTypeface::Equal(typeface, run.fTypeface) || in generateGeometry() 1629 cache = SkGlyphCache::DetachCache(run.fTypeface, desc); in generateGeometry() 1632 typeface = run.fTypeface; in generateGeometry()
|
D | GrAtlasTextContext.h | 144 SkAutoTUnref<SkTypeface> fTypeface; member
|
/external/skia/samplecode/ |
D | SampleApp.h | 201 SkTypeface* fTypeface; variable
|
D | SampleApp.cpp | 813 fTypeface = SkTypeface::CreateFromTypeface(NULL, SkTypeface::kBold); in SampleWindow() 933 SkSafeUnref(fTypeface); in ~SampleWindow() 1140 paint.setTypeface(fTypeface); in showZoomer()
|