Home
last modified time | relevance | path

Searched refs:MakeFromName (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/utils/
DSkWhitelistTypefaces.cpp35 sk_sp<SkTypeface> defaultFace(SkTypeface::MakeFromName(nullptr, style)); in font_name_is_local()
36 sk_sp<SkTypeface> foundFace(SkTypeface::MakeFromName(fontName, style)); in font_name_is_local()
204 return SkTypeface::MakeFromName(familyName, desc.getStyle()); in WhitelistDeserializeTypeface()
210 sk_sp<SkTypeface> tf(SkTypeface::MakeFromName(fontName, SkFontStyle())); in CheckChecksums()
265 sk_sp<SkTypeface> tf(SkTypeface::MakeFromName(fontName, SkFontStyle())); in GenerateChecksums()
DSkLua.cpp1953 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(name, SkFontStyle::FromOldStyle(style))); in lsk_newTypeface()
/external/skia/gm/
Dverttext2.cpp27 fProp = SkTypeface::MakeFromName(sk_tool_utils::platform_font_name("sans-serif"), in onOnceBeforeDraw()
29 fMono = SkTypeface::MakeFromName(sk_tool_utils::platform_font_name("monospace"), in onOnceBeforeDraw()
Dgammatext.cpp23 paint->setTypeface(SkTypeface::MakeFromName(name, SkFontStyle())); in setFont()
108 paint->setTypeface(SkTypeface::MakeFromName("serif", in set_face()
Dtypeface.cpp108 fFaces[i] = SkTypeface::MakeFromName( in onOnceBeforeDraw()
/external/skia/samplecode/
DSampleFontScalerTest.cpp44 fFaces[i] = SkTypeface::MakeFromName( in FontScalerTestView()
82 paint.setTypeface(SkTypeface::MakeFromName("Times Roman", SkFontStyle())); in onDrawContent()
DSampleXfermodesBlur.cpp30 paint->setTypeface(SkTypeface::MakeFromName(name, SkFontStyle())); in setNamedTypeface()
91 paint.setTypeface(SkTypeface::MakeFromName("Arial Unicode MS", SkFontStyle())); in onDrawContent()
DClockFaceView.cpp190 paint.setTypeface(SkTypeface::MakeFromName("sans-serif", in onDraw()
DSampleAll.cpp490 paint.setTypeface(SkTypeface::MakeFromName("sans-serif", in drawOneRaster()
DSampleFilterFuzz.cpp515 paint.setTypeface(SkTypeface::MakeFromName(make_font_name().c_str(), in make_paint()
DSampleSlides.cpp627 paint.setTypeface(SkTypeface::MakeFromName("Georgia", in texteffect_slide()
DSampleApp.cpp910 fTypeface = SkTypeface::MakeFromName("Courier", SkFontStyle(SkFontStyle::kBold_Weight, in SampleWindow()
/external/skia/tests/
DFontHostTest.cpp227 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
281 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
DTypefaceTest.cpp171 sk_sp<SkTypeface> t1(SkTypeface::MakeFromName(nullptr, SkFontStyle())); in DEF_TEST()
181 sk_sp<SkTypeface> t3(SkTypeface::MakeFromName("non-existent-font", SkFontStyle())); in DEF_TEST()
DFontHostStreamTest.cpp69 paint.setTypeface(SkTypeface::MakeFromName("Georgia", SkFontStyle())); in DEF_TEST()
DFontObjTest.cpp81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_cachedfont()
DFontMgrTest.cpp67 sk_sp<SkTypeface> first(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names()
72 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names()
DTextBlobTest.cpp430 sk_sp<SkTypeface> tf1 = SkTypeface::MakeFromName("Times", SkFontStyle()); in DEF_TEST()
DPictureTest.cpp851 paint.setTypeface(SkTypeface::MakeFromName("Arial", in test_typeface()
/external/skia/src/core/
DSkTypeface.cpp119 sk_sp<SkTypeface> SkTypeface::MakeFromName(const char name[], in MakeFromName() function in SkTypeface
205 return SkTypeface::MakeFromName(desc.getFamilyName(), desc.getStyle()); in MakeDeserialize()
/external/skia/include/core/
DSkTypeface.h123 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
/external/skia/tools/
Dsk_tool_utils.cpp89 return SkTypeface::MakeFromName("Apple Color Emoji", SkFontStyle()); in emoji_typeface()
106 return SkTypeface::MakeFromName("Segoe UI Symbol", SkFontStyle()); in emoji_typeface()
/external/skia/fuzz/
DFilterFuzz.cpp545 paint.setTypeface(SkTypeface::MakeFromName(make_font_name().c_str(),make_typeface_style())); in make_paint()