/third_party/skia/experimental/sktext/tests/ |
D | FontResolvedText.cpp | 42 TrivialFontChain* fontChain = new TrivialFontChain("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST() local 43 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST() 56 …REPORTER_ASSERT(reporter, resolvedFonts.front().typeface->uniqueID() == fontChain->getTypeface()->… in UNIX_ONLY_TEST() 62 …MultipleFontChain* fontChain = new MultipleFontChain({ "Roboto", "Noto Color Emoji", "Noto Serif C… in UNIX_ONLY_TEST() local 63 if (fontChain->count() < 3) return; in UNIX_ONLY_TEST() 69 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST()
|
D | ShapedText.cpp | 42 TrivialFontChain* fontChain = new TrivialFontChain("Roboto", 40.0f, SkFontStyle::Normal()); in UNIX_ONLY_TEST() local 43 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST() 61 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local 62 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 68 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST()
|
D | SelectableText.cpp | 95 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local 96 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 102 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST() 143 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local 144 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 150 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST() 185 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local 186 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 192 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST() 226 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local [all …]
|
D | WrappedText.cpp | 93 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Roboto", 40.0f, SkFontStyle::Nor… in UNIX_ONLY_TEST() local 94 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 100 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST() 142 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>("Noto Naskh Arabic", 40.0f, SkFon… in UNIX_ONLY_TEST() local 143 if (fontChain->empty()) return; in UNIX_ONLY_TEST() 149 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST()
|
/third_party/skia/experimental/sktext/src/ |
D | Paint.cpp | 36 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>(fontFamily.c_str(), fontSize, fon… in drawText() local 37 FontBlock fontBlock(text.size(), fontChain); in drawText() 38 if (fontChain->getTypeface() == nullptr || fontChain->getTypeface().get() == nullptr) { in drawText()
|
D | Text.cpp | 100 …lvedText::resolveChain(UnicodeText* unicodeText, TextRange textRange, const FontChain& fontChain) { in resolveChain() argument 104 for (auto fontIndex = 0; fontIndex < fontChain.count(); ++fontIndex) { in resolveChain() 105 auto typeface = fontChain[fontIndex]; in resolveChain() 143 … fResolvedFonts.emplace_back(resolvedText, typeface, fontChain.fontSize(), SkFontStyle::Normal()); in resolveChain() 150 … fResolvedFonts.emplace_back(resolvedText, typeface, fontChain.fontSize(), SkFontStyle::Normal()); in resolveChain()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | FontChain.java | 28 private static native long nCreate(FontChain fontChain); in nCreate() argument
|
/third_party/skia/experimental/sktext/include/ |
D | Types.h | 189 FontBlock(uint32_t count, sk_sp<FontChain> fontChain) in FontBlock() 192 , chain(fontChain) { } in FontBlock()
|
D | Text.h | 108 bool resolveChain(UnicodeText* unicodeText, TextRange textRange, const FontChain& fontChain);
|