Searched refs:CreateFromName (Results 1 – 22 of 22) sorted by relevance
/external/skia/src/utils/ |
D | SkWhitelistTypefaces.cpp | 35 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()
|
D | SkLua.cpp | 2046 SkTypeface* face = SkTypeface::CreateFromName(name, in lsk_newTypeface()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 13 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()
|
D | FontHostTest.cpp | 226 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()
|
D | FontHostStreamTest.cpp | 72 SkTypeface* fTypeface = SkTypeface::CreateFromName("Georgia", in DEF_TEST()
|
D | FontObjTest.cpp | 81 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal)); in test_cachedfont()
|
D | FontMgrTest.cpp | 67 SkAutoTUnref<SkTypeface> first(SkTypeface::CreateFromName(inNames[i], in test_alias_names() 73 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(inNames[i], in test_alias_names()
|
D | PictureTest.cpp | 1184 paint.setTypeface(SkTypeface::CreateFromName("Arial", SkTypeface::kItalic)); in test_typeface()
|
/external/skia/gm/ |
D | verttext2.cpp | 35 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()
|
D | gammatext.cpp | 23 SkTypeface* tf = SkTypeface::CreateFromName(name, SkTypeface::kNormal); in setFont() 113 SkTypeface* face = SkTypeface::CreateFromName("serif", SkTypeface::kItalic); in set_face()
|
D | typeface.cpp | 111 fFaces[i] = SkTypeface::CreateFromName( in onOnceBeforeDraw()
|
/external/skia/samplecode/ |
D | SampleFontScalerTest.cpp | 45 fFaces[i] = SkTypeface::CreateFromName(gFaces[i].fName, in FontScalerTestView() 96 … SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromName("Times Roman", SkTypeface::kNormal))); in onDrawContent()
|
D | SampleXfermodesBlur.cpp | 34 SkTypeface* face = SkTypeface::CreateFromName(name, SkTypeface::kNormal); in setNamedTypeface() 99 paint.setTypeface(SkTypeface::CreateFromName("Arial Unicode MS", SkTypeface::kNormal)); in onDrawContent()
|
D | ClockFaceView.cpp | 228 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in onDraw()
|
D | SampleAll.cpp | 540 paint.setTypeface(SkTypeface::CreateFromName("sans-serif", in drawOneRaster()
|
D | SampleFilterFuzz.cpp | 534 SkTypeface::CreateFromName(make_font_name().c_str(), make_typeface_style())); in make_paint()
|
D | SampleSlides.cpp | 638 paint.setTypeface(SkTypeface::CreateFromName("Georgia", SkTypeface::kItalic)); in texteffect_slide()
|
/external/skia/src/animator/ |
D | SkPaintPart.h | 66 return SkTypeface::CreateFromName(fontName.c_str(), style); } in getTypeface()
|
/external/skia/src/core/ |
D | SkTypeface.cpp | 111 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/ |
D | SkTypeface.h | 111 static SkTypeface* CreateFromName(const char familyName[], Style style);
|
/external/skia/tools/ |
D | create_test_font.cpp | 341 SkTypeface* systemTypeface = SkTypeface::CreateFromName(fontDesc.fFont, fontDesc.fStyle); in generate_fonts()
|
D | sk_tool_utils.cpp | 84 tf->reset(SkTypeface::CreateFromName("Apple Color Emoji", SkTypeface::kNormal)); in emoji_typeface()
|