Home
last modified time | relevance | path

Searched refs:setTypeface (Results 1 – 25 of 73) sorted by relevance

123

/external/skia/gm/
Ddownsamplebitmap.cpp33 static void setTypeface(SkPaint* paint, const char name[], SkTypeface::Style style) { in setTypeface() function
129 setTypeface(&paint, "serif", SkTypeface::kNormal); in make_bitmap()
131 setTypeface(&paint, "serif", SkTypeface::kBold); in make_bitmap()
133 setTypeface(&paint, "serif", SkTypeface::kItalic); in make_bitmap()
135 setTypeface(&paint, "serif", SkTypeface::kBoldItalic); in make_bitmap()
Dfontmgr.cpp36 SkSafeUnref(paint.setTypeface(typeface)); in drawCharacter()
49 SkSafeUnref(paint.setTypeface(typefaceCopy)); in drawCharacter()
95 paint.setTypeface(nullptr); in onDraw()
107 SkSafeUnref(paint.setTypeface(set->createTypeface(j))); in onDraw()
158 SkSafeUnref(p.setTypeface(fset->createTypeface(j))); in iterateFamily()
176 p.setTypeface(face)->unref(); in exploreFamily()
277 SkSafeUnref(paint.setTypeface(set->createTypeface(j))); in onDraw()
Dfilterbitmap.cpp16 static void setTypeface(SkPaint* paint, const char name[], SkTypeface::Style style) { in setTypeface() function
127 setTypeface(&paint, "serif", SkTypeface::kNormal); in makeBitmap()
129 setTypeface(&paint, "serif", SkTypeface::kBold); in makeBitmap()
131 setTypeface(&paint, "serif", SkTypeface::kItalic); in makeBitmap()
133 setTypeface(&paint, "serif", SkTypeface::kBoldItalic); in makeBitmap()
Dfontcache.cpp52 paint.setTypeface(fTypefaces[0]); in onDraw()
69 paint.setTypeface(fTypefaces[1]); in onDraw()
Dtextblobrandomfont.cpp48 paint.setTypeface(random); in onOnceBeforeDraw()
78 paint.setTypeface(randomEmoji); in onOnceBeforeDraw()
Dcoloremoji.cpp76 paint.setTypeface(emojiFont.typeface); in onDraw()
95 shaderPaint.setTypeface(paint.getTypeface()); in onDraw()
Dvariedtext.cpp90 fPaint.setTypeface(fTypefaces[i]); in onOnceBeforeDraw()
119 fPaint.setTypeface(fTypefaces[i]); in onDraw()
Dgammatext.cpp25 paint->setTypeface(tf)->unref(); in setFont()
114 SkSafeUnref(paint->setTypeface(face)); in set_face()
Dmixedtextblobs.cpp85 paint.setTypeface(fEmojiTypeface); in onOnceBeforeDraw()
95 paint.setTypeface(fReallyBigATypeface); in onOnceBeforeDraw()
Dtextblob.cpp77 p.setTypeface(fTypeface); in onOnceBeforeDraw()
120 font.setTypeface(fTypeface); in makeBlob()
Dcolortype.cpp58 paint.setTypeface(fColorType); in onDraw()
Dpdf_never_embed.cpp35 p.setTypeface(typeface);
Dfontscalerdistortable.cpp63 paint.setTypeface(typeface); in onDraw()
Dverttext2.cpp84 paint.setTypeface(family); in drawText()
/external/skia/bench/
DSkGlyphCacheBench.cpp61 paint.setTypeface(typeface); in onDraw()
102 paint.setTypeface(typefaces[threadIndex % 2]); in onDraw()
DTextBlobBench.cpp36 paint.setTypeface(fTypeface); in onDelayedSetup()
DCmapBench.cpp80 fPaint.setTypeface(SkTypeface::RefDefault())->unref(); in CMAPBench()
/external/skia/tests/
DFontHostStreamTest.cpp74 SkSafeUnref(paint.setTypeface(fTypeface)); in DEF_TEST()
108 SkSafeUnref(paint.setTypeface(streamTypeface)); in DEF_TEST()
DFontHostTest.cpp97 paint.setTypeface(face); in test_charsToGlyphs()
166 paint.setTypeface(typeface); in test_symbolfont()
281 paint.setTypeface(face); in test_advances()
DTextBlobCacheTest.cpp105 paint.setTypeface(orig); in text_blob_cache_inner()
108 paint.setTypeface(typeface); in text_blob_cache_inner()
DPaintTest.cpp83 paint.setTypeface(SkTypeface::RefDefault())->unref(); in DEF_TEST()
334 paint.setTypeface(SkTypeface::RefDefault())->unref();
336 paint.setTypeface(nullptr);
/external/skia/samplecode/
DSampleXfermodesBlur.cpp35 paint->setTypeface(face); in setNamedTypeface()
99 paint.setTypeface(SkTypeface::CreateFromName("Arial Unicode MS", SkTypeface::kNormal)); in onDrawContent()
DClockFaceView.cpp228 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in onDraw()
233 paint.setTypeface(fFace); in onDraw()
DSampleFontScalerTest.cpp96 … SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromName("Times Roman", SkTypeface::kNormal))); in onDrawContent()
/external/skia/src/animator/
DSkDrawPaint.cpp260 paint->setTypeface(nullptr); in setupPaint()
262 SkSafeUnref(paint->setTypeface(typeface->getTypeface())); in setupPaint()

123