/external/skqp/gm/ |
D | filterbitmap.cpp | 16 static void setTypeface(SkFont* font, const char name[], SkFontStyle style) { in setTypeface() function 17 font->setTypeface(sk_tool_utils::create_portable_typeface(name, style)); in setTypeface() 127 setTypeface(&font, "serif", SkFontStyle::Normal()); in makeBitmap() 129 setTypeface(&font, "serif", SkFontStyle::Bold()); in makeBitmap() 131 setTypeface(&font, "serif", SkFontStyle::Italic()); in makeBitmap() 133 setTypeface(&font, "serif", SkFontStyle::BoldItalic()); in makeBitmap()
|
D | fontmgr.cpp | 38 font.setTypeface(typeface); in drawCharacter() 50 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 89 font.setTypeface(nullptr); in onDraw() 101 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw() 150 f.setTypeface(sk_sp<SkTypeface>(fset->createTypeface(j))); in iterateFamily() 167 f.setTypeface(std::move(face)); in exploreFamily() 276 labelFont.setTypeface(sk_tool_utils::create_portable_typeface()); in show_bounds() 332 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw()
|
D | downsamplebitmap.cpp | 90 font.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle())); in make_text() 92 font.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Bold())); in make_text() 94 font.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic())); in make_text() 96 font.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle::BoldItalic())); in make_text()
|
D | fontscalerdistortable.cpp | 60 font.setTypeface(sk_sp<SkTypeface>( in onDraw() 64 font.setTypeface(sk_sp<SkTypeface>(fontMgr->makeFromStream( in onDraw()
|
D | textblobrandomfont.cpp | 49 font.setTypeface(sk_make_sp<SkRandomTypeface>(std::move(typeface), paint, false)); in onOnceBeforeDraw() 76 font.setTypeface(sk_make_sp<SkRandomTypeface>(origEmoji, paint, false)); in onOnceBeforeDraw()
|
D | variedtext.cpp | 83 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw() 112 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw()
|
D | mixedtextblobs.cpp | 83 font.setTypeface(fEmojiTypeface); in onOnceBeforeDraw() 93 font.setTypeface(fReallyBigATypeface); in onOnceBeforeDraw()
|
/external/skia/docs/examples/ |
D | Paint_setTypeface.cpp | 9 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle())); 11 paint.setTypeface(nullptr);
|
D | Typeface_Methods.cpp | 9 paint.setTypeface(SkTypeface::MakeFromName(nullptr, SkFontStyle())); 13 paint.setTypeface(nullptr);
|
D | Paint_refTypeface.cpp | 9 paint1.setTypeface(SkTypeface::MakeFromName("monospace", 14 paint2.setTypeface(paint1.refTypeface());
|
D | Paint_getTypeface.cpp | 10 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle()));
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | BorderedText.java | 73 public void setTypeface(Typeface typeface) { in setTypeface() method in BorderedText 74 interiorPaint.setTypeface(typeface); in setTypeface() 75 exteriorPaint.setTypeface(typeface); in setTypeface()
|
/external/skia/gm/ |
D | fontmgr.cpp | 53 font.setTypeface(typeface); in drawCharacter() 65 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 97 font.setTypeface(nullptr); in onDraw() 109 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw() 146 f.setTypeface(sk_sp<SkTypeface>(fset->createTypeface(j))); in iterateFamily() 163 f.setTypeface(std::move(face)); in exploreFamily() 297 labelFont.setTypeface(ToolUtils::create_portable_typeface()); in show_bounds() 349 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw()
|
D | textblobrandomfont.cpp | 63 font.setTypeface(sk_make_sp<SkRandomTypeface>(std::move(typeface), paint, false)); in onOnceBeforeDraw() 90 font.setTypeface(sk_make_sp<SkRandomTypeface>(origEmoji, paint, false)); in onOnceBeforeDraw()
|
D | variedtext.cpp | 94 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw() 121 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw()
|
D | mixedtextblobs.cpp | 93 font.setTypeface(fEmojiTypeface); in onOnceBeforeDraw() 101 font.setTypeface(fReallyBigATypeface); in onOnceBeforeDraw()
|
D | scaledemoji.cpp | 115 font.setTypeface(fEmojiFont.fTypeface); in onDraw() 175 font.setTypeface(fEmojiFont.fTypeface); in onDraw()
|
/external/skqp/tests/ |
D | SerialProcsTest.cpp | 186 font.setTypeface(tf0); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 187 font.setTypeface(tf1); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 188 font.setTypeface(tf0); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 189 font.setTypeface(tf1); canvas->drawString("hello", 0, 0, font, paint); in make_picture()
|
D | TextBlobCacheTest.cpp | 99 font.setTypeface(orig); in text_blob_cache_inner() 101 font.setTypeface(sk_make_sp<SkRandomTypeface>(orig, SkPaint(), true)); in text_blob_cache_inner()
|
D | SkRemoteGlyphCacheTest.cpp | 72 font.setTypeface(tf); in buildTextBlob() 443 font.setTypeface(targetTf); in make_blob_causing_fallback() 639 font.setTypeface(clientTf); in DEF_TEST() 767 font.setTypeface(serverTf); in DEF_TEST() 786 font.setTypeface(clientTf); in DEF_TEST() 806 font.setTypeface(serverTf); in DEF_TEST() 825 font.setTypeface(clientTf); in DEF_TEST()
|
/external/skia/tests/ |
D | SerialProcsTest.cpp | 185 font.setTypeface(tf0); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 186 font.setTypeface(tf1); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 187 font.setTypeface(tf0); canvas->drawString("hello", 0, 0, font, paint); in make_picture() 188 font.setTypeface(tf1); canvas->drawString("hello", 0, 0, font, paint); in make_picture()
|
D | TextBlobCacheTest.cpp | 115 font.setTypeface(orig); in text_blob_cache_inner() 117 font.setTypeface(sk_make_sp<SkRandomTypeface>(orig, SkPaint(), true)); in text_blob_cache_inner() 226 font.setTypeface(tf); in make_blob() 250 font.setTypeface(tf);
|
D | SkStrikeCacheTest.cpp | 22 font.setTypeface(typeface); in DEF_TEST()
|
/external/skqp/bench/ |
D | SkGlyphCacheBench.cpp | 61 font.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle::Italic())); in onDraw() 101 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 104 fFont.setTypeface(font.refTypefaceOrDefault()); in FontMgrRunIterator() 105 fFallbackFont.setTypeface(nullptr); in FontMgrRunIterator() 130 fFallbackFont.setTypeface(std::move(candidate)); in consume()
|