Home
last modified time | relevance | path

Searched refs:CreateFromName (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/utils/
DSkWhitelistTypefaces.cpp35 SkTypeface* defaultFace = SkTypeface::CreateFromName(nullptr, style); in font_name_is_local()
36 SkTypeface* foundFace = SkTypeface::CreateFromName(fontName, style); in font_name_is_local()
203 return SkTypeface::CreateFromName(familyName, desc.getStyle()); in WhitelistDeserializeTypeface()
209 SkTypeface* tf = SkTypeface::CreateFromName(fontName, SkTypeface::kNormal); in CheckChecksums()
264 SkTypeface* tf = SkTypeface::CreateFromName(fontName, SkTypeface::kNormal); in GenerateChecksums()
DSkLua.cpp2046 SkTypeface* face = SkTypeface::CreateFromName(name, in lsk_newTypeface()
/external/skia/tests/
DTypefaceTest.cpp13 SkAutoTUnref<SkTypeface> t1(SkTypeface::CreateFromName(nullptr, SkTypeface::kNormal)); in DEF_TEST()
23 … SkAutoTUnref<SkTypeface> t3(SkTypeface::CreateFromName("non-existent-font", SkTypeface::kNormal)); in DEF_TEST()
DFontHostTest.cpp226 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(gNames[i], SkTypeface::kNormal)); in test_tables()
280 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal)); in test_advances()
DFontHostStreamTest.cpp72 SkTypeface* fTypeface = SkTypeface::CreateFromName("Georgia", in DEF_TEST()
DFontObjTest.cpp81 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal)); in test_cachedfont()
DFontMgrTest.cpp67 SkAutoTUnref<SkTypeface> first(SkTypeface::CreateFromName(inNames[i], in test_alias_names()
73 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(inNames[i], in test_alias_names()
DPictureTest.cpp1184 paint.setTypeface(SkTypeface::CreateFromName("Arial", SkTypeface::kItalic)); in test_typeface()
/external/skia/gm/
Dverttext2.cpp35 fProp = SkTypeface::CreateFromName(sk_tool_utils::platform_font_name("sans-serif"), in onOnceBeforeDraw()
37 fMono = SkTypeface::CreateFromName(sk_tool_utils::platform_font_name("monospace"), in onOnceBeforeDraw()
Dgammatext.cpp23 SkTypeface* tf = SkTypeface::CreateFromName(name, SkTypeface::kNormal); in setFont()
113 SkTypeface* face = SkTypeface::CreateFromName("serif", SkTypeface::kItalic); in set_face()
Dtypeface.cpp111 fFaces[i] = SkTypeface::CreateFromName( in onOnceBeforeDraw()
/external/skia/samplecode/
DSampleFontScalerTest.cpp45 fFaces[i] = SkTypeface::CreateFromName(gFaces[i].fName, in FontScalerTestView()
96 … SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromName("Times Roman", SkTypeface::kNormal))); in onDrawContent()
DSampleXfermodesBlur.cpp34 SkTypeface* face = SkTypeface::CreateFromName(name, SkTypeface::kNormal); in setNamedTypeface()
99 paint.setTypeface(SkTypeface::CreateFromName("Arial Unicode MS", SkTypeface::kNormal)); in onDrawContent()
DClockFaceView.cpp228 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in onDraw()
DSampleAll.cpp540 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in drawOneRaster()
DSampleFilterFuzz.cpp534 SkTypeface::CreateFromName(make_font_name().c_str(), make_typeface_style())); in make_paint()
DSampleSlides.cpp638 paint.setTypeface(SkTypeface::CreateFromName("Georgia", SkTypeface::kItalic)); in texteffect_slide()
/external/skia/src/animator/
DSkPaintPart.h66 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface()
/external/skia/src/core/
DSkTypeface.cpp111 SkTypeface* SkTypeface::CreateFromName(const char name[], Style style) { in CreateFromName() function in SkTypeface
196 return SkTypeface::CreateFromName(desc.getFamilyName(), desc.getStyle()); in Deserialize()
/external/skia/include/core/
DSkTypeface.h111 static SkTypeface* CreateFromName(const char familyName[], Style style);
/external/skia/tools/
Dsk_tool_utils.cpp84 tf->reset(SkTypeface::CreateFromName("Apple Color Emoji", SkTypeface::kNormal)); in emoji_typeface()
Dcreate_test_font.cpp341 SkTypeface* systemTypeface = SkTypeface::CreateFromName(fontDesc.fFont, fontDesc.fStyle); in generate_fonts()