Home
last modified time | relevance | path

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

123

/external/skia/gm/
Dfontmgr.cpp36 SkSafeUnref(paint.setTypeface(typeface)); in drawCharacter()
49 SkSafeUnref(paint.setTypeface(typefaceCopy)); in drawCharacter()
93 paint.setTypeface(NULL); in onDraw()
105 SkSafeUnref(paint.setTypeface(set->createTypeface(j))); in onDraw()
153 SkSafeUnref(p.setTypeface(fset->createTypeface(j))); in iterateFamily()
171 p.setTypeface(face)->unref(); in exploreFamily()
270 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, "Times", SkTypeface::kNormal); in makeBitmap()
129 setTypeface(&paint, "Times", SkTypeface::kBold); in makeBitmap()
131 setTypeface(&paint, "Times", SkTypeface::kItalic); in makeBitmap()
133 setTypeface(&paint, "Times", SkTypeface::kBoldItalic); in makeBitmap()
Ddownsamplebitmap.cpp33 static void setTypeface(SkPaint* paint, const char name[], SkTypeface::Style style) { in setTypeface() function
129 setTypeface(&paint, "Times", SkTypeface::kNormal); in make_bitmap()
131 setTypeface(&paint, "Times", SkTypeface::kBold); in make_bitmap()
133 setTypeface(&paint, "Times", SkTypeface::kItalic); in make_bitmap()
135 setTypeface(&paint, "Times", SkTypeface::kBoldItalic); in make_bitmap()
Dfontcache.cpp52 paint.setTypeface(fTypefaces[0]); in onDraw()
69 paint.setTypeface(fTypefaces[1]); in onDraw()
Dgammatext.cpp25 paint->setTypeface(tf)->unref(); in setFont()
112 SkSafeUnref(paint->setTypeface(face)); in set_face()
Dmixedtextblobs.cpp88 paint.setTypeface(fEmojiTypeface); in onOnceBeforeDraw()
97 paint.setTypeface(fReallyBigATypeface); in onOnceBeforeDraw()
Dvariedtext.cpp89 fPaint.setTypeface(fTypefaces[i]); in onOnceBeforeDraw()
118 fPaint.setTypeface(fTypefaces[i]); in onDraw()
Dtextblob.cpp72 p.setTypeface(fTypeface); in TextBlobGM()
116 font.setTypeface(fTypeface); in makeBlob()
Dcoloremoji.cpp84 paint.setTypeface(emojiFonts[i].typeface); in onDraw()
103 shaderPaint.setTypeface(paint.getTypeface()); in onDraw()
Dtypeface.cpp65 paint.setTypeface(fFaces[i]); in drawWithFace()
204 paint.setTypeface(fFaces[i]); in onDraw()
Dcolortype.cpp54 paint.setTypeface(fColorType); in onDraw()
Dverttext2.cpp77 paint.setTypeface(family); in drawText()
Dcolortypexfermode.cpp120 textP.setTypeface(fColorType); in onDraw()
/external/skia/tests/
DFontHostStreamTest.cpp74 SkSafeUnref(paint.setTypeface(fTypeface)); in DEF_TEST()
107 SkSafeUnref(paint.setTypeface(streamTypeface)); in DEF_TEST()
DPaintTest.cpp83 paint.setTypeface(SkTypeface::RefDefault())->unref(); in DEF_TEST()
334 paint.setTypeface(SkTypeface::RefDefault())->unref();
336 paint.setTypeface(NULL);
DFontHostTest.cpp97 paint.setTypeface(face); in test_charsToGlyphs()
265 paint.setTypeface(face); in test_advances()
DFontObjTest.cpp82 paint.setTypeface(face); in test_cachedfont()
/external/skia/samplecode/
DSampleXfermodesBlur.cpp35 paint->setTypeface(face); in setNamedTypeface()
99 paint.setTypeface(SkTypeface::CreateFromName("Arial Unicode MS", SkTypeface::kNormal)); in onDrawContent()
DClockFaceView.cpp229 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in onDraw()
234 paint.setTypeface(fFace); in onDraw()
DSampleFontScalerTest.cpp96 … SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromName("Times Roman", SkTypeface::kNormal))); in onDrawContent()
/external/skia/bench/
DTextBlobBench.cpp31 paint.setTypeface(fTypeface); in TextBlobBench()
DCmapBench.cpp80 fPaint.setTypeface(SkTypeface::RefDefault())->unref(); in CMAPBench()
DTextBench.cpp122 paint.setTypeface(fColorEmojiTypeface); in onDraw()
/external/skia/src/animator/
DSkDrawPaint.cpp260 paint->setTypeface(NULL); in setupPaint()
262 SkSafeUnref(paint->setTypeface(typeface->getTypeface())); in setupPaint()
/external/skia/tools/
Dsk_tool_utils.cpp51 SkSafeUnref(paint->setTypeface(face)); in set_portable_typeface()

123