/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/gm/ |
D | filterbitmap.cpp | 26 static void setTypeface(SkFont* font, const char name[], SkFontStyle style) { in setTypeface() function 27 font->setTypeface(ToolUtils::create_portable_typeface(name, style)); in setTypeface() 120 setTypeface(&font, "serif", SkFontStyle::Normal()); in makeBitmap() 122 setTypeface(&font, "serif", SkFontStyle::Bold()); in makeBitmap() 124 setTypeface(&font, "serif", SkFontStyle::Italic()); in makeBitmap() 126 setTypeface(&font, "serif", SkFontStyle::BoldItalic()); in makeBitmap()
|
D | fontmgr.cpp | 52 font.setTypeface(typeface); in drawCharacter() 64 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 96 font.setTypeface(nullptr); in onDraw() 108 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw() 145 f.setTypeface(sk_sp<SkTypeface>(fset->createTypeface(j))); in iterateFamily() 162 f.setTypeface(std::move(face)); in exploreFamily() 281 labelFont.setTypeface(ToolUtils::create_portable_typeface()); in show_bounds() 329 font.setTypeface(sk_sp<SkTypeface>(set->createTypeface(j))); in onDraw()
|
D | downsamplebitmap.cpp | 105 font.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle())); in make_text() 107 font.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle::Bold())); in make_text() 109 font.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle::Italic())); in make_text() 111 font.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle::BoldItalic())); in make_text()
|
D | textblobrandomfont.cpp | 62 font.setTypeface(sk_make_sp<SkRandomTypeface>(std::move(typeface), paint, false)); in onOnceBeforeDraw() 89 font.setTypeface(sk_make_sp<SkRandomTypeface>(origEmoji, paint, false)); in onOnceBeforeDraw()
|
D | variedtext.cpp | 94 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onOnceBeforeDraw() 123 fFont.setTypeface(fTypefaces[fTypefaceIndices[i]]); in onDraw()
|
D | mixedtextblobs.cpp | 93 font.setTypeface(fEmojiTypeface); in onOnceBeforeDraw() 101 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/examples/android/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/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 | 102 font.setTypeface(orig); in text_blob_cache_inner() 104 font.setTypeface(sk_make_sp<SkRandomTypeface>(orig, SkPaint(), true)); in text_blob_cache_inner() 213 font.setTypeface(tf); in make_blob()
|
/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()
|
/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 | 83 fFont.setTypeface(font.refTypefaceOrDefault()); in FontMgrRunIterator() 84 fFallbackFont.setTypeface(nullptr); in FontMgrRunIterator() 109 fFallbackFont.setTypeface(std::move(candidate)); in consume()
|
/external/skia/bench/ |
D | SkGlyphCacheBench.cpp | 62 font.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle::Italic())); in onDraw() 102 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
|