Home
last modified time | relevance | path

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

12

/external/skqp/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()
/external/skia/samplecode/
DSampleChineseFling.cpp28 return SkTypeface::MakeFromName("SimSun", SkFontStyle()); in chinese_typeface()
30 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
32 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
34 return SkTypeface::MakeFromName("Noto Sans CJK SC", SkFontStyle()); in chinese_typeface()
/external/skqp/samplecode/
DSampleChineseFling.cpp28 return SkTypeface::MakeFromName("SimSun", SkFontStyle()); in chinese_typeface()
30 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
32 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
34 return SkTypeface::MakeFromName("Noto Sans CJK SC", SkFontStyle()); in chinese_typeface()
/external/skqp/tests/
DSkRemoteGlyphCacheTest.cpp167 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
229 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
263 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
292 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
331 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
361 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
382 auto serverTf = SkTypeface::MakeFromName("Georgia", SkFontStyle()); in DEF_TEST()
408 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
520 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
567 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DFontHostTest.cpp225 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
280 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
DGlyphRunTest.cpp49 auto tf = SkTypeface::MakeFromName("monospace", SkFontStyle());
DFontHostStreamTest.cpp70 SkFont font(SkTypeface::MakeFromName("Georgia", SkFontStyle()), 30); in DEF_TEST()
/external/skia/tests/
DSkRemoteGlyphCacheTest.cpp210 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
272 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
307 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
344 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
384 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
414 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
436 auto serverTf = SkTypeface::MakeFromName("Georgia", SkFontStyle()); in DEF_TEST()
465 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
654 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
696 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DGlyphRunTest.cpp22 auto tf = SkTypeface::MakeFromName("monospace", SkFontStyle());
DFontHostTest.cpp184 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
239 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
DFontHostStreamTest.cpp70 SkFont font(SkTypeface::MakeFromName("Georgia", SkFontStyle()), 30); in DEF_TEST()
/external/skia/tools/fonts/
DToolUtilsFont.cpp36 return SkTypeface::MakeFromName("Planet", SkFontStyle()); in planet_typeface()
55 return SkTypeface::MakeFromName("Emoji", SkFontStyle()); in emoji_typeface()
/external/skia/docs/examples/
DPaint_getTypeface.cpp10 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle()));
DPaint_setTypeface.cpp9 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle()));
DTypeface_Methods.cpp9 paint.setTypeface(SkTypeface::MakeFromName(nullptr, SkFontStyle()));
DPaint_refTypeface.cpp9 paint1.setTypeface(SkTypeface::MakeFromName("monospace",
DColorTypeIsAlwaysOpaque.cpp11 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
DColorTypeBytesPerPixel.cpp11 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
DColorTypeValidateAlphaType.cpp15 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
Dcount_verbs.cpp32 SkFont font(SkTypeface::MakeFromName("DejaVu Sans Mono", SkFontStyle()), 30); in draw()
/external/skqp/tools/fonts/
Dsk_tool_utils_font.cpp35 return SkTypeface::MakeFromName("Emoji", SkFontStyle()); in emoji_typeface()
/external/skia/bench/
DGlyphQuadFillBench.cpp36 auto typeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onPerCanvasPreDraw()
DTypefaceBench.cpp236 fTypeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onDelayedSetup()
/external/skia/gm/
Dgammatext.cpp149 SkFont font(SkTypeface::MakeFromName("serif", SkFontStyle::Italic()), 18); in onDraw()
/external/skqp/src/core/
DSkTypeface.cpp135 sk_sp<SkTypeface> SkTypeface::MakeFromName(const char name[], in MakeFromName() function in SkTypeface
231 return SkTypeface::MakeFromName(desc.getFamilyName(), desc.getStyle()); in MakeDeserialize()

12