Lines Matching refs:SkShaper
27 typedef std::unique_ptr<SkShaper> (*ShaperFactory)();
59 SkShaper::PurgeCaches(); in drawTest()
68 std::unique_ptr<SkShaper::BiDiRunIterator> bidi( in drawTest()
69 SkShaper::MakeBiDiRunIterator(utf8, utf8Bytes, 0xfe)); in drawTest()
74 std::unique_ptr<SkShaper::LanguageRunIterator> language( in drawTest()
75 SkShaper::MakeStdLanguageRunIterator(utf8, utf8Bytes)); in drawTest()
81 std::unique_ptr<SkShaper::ScriptRunIterator> script( in drawTest()
82 SkShaper::MakeScriptRunIterator(utf8, utf8Bytes, undeterminedScript)); in drawTest()
87 std::unique_ptr<SkShaper::FontRunIterator> font( in drawTest()
88 SkShaper::MakeFontMgrRunIterator(utf8, utf8Bytes, srcFont, SkFontMgr::RefDefault(), in drawTest()
113 std::unique_ptr<SkShaper> fShaper;
117 DEF_SAMPLE( return new TextBoxView([](){ return SkShaper::Make(); }, "default"); ); in __anon1a0f289c0102()
119 DEF_SAMPLE( return new TextBoxView(SkShaper::MakeCoreText, "coretext"); );
130 std::unique_ptr<SkShaper> shaper) { in drawTest()
141 std::unique_ptr<SkShaper::BiDiRunIterator> bidi( in drawTest()
142 SkShaper::MakeBiDiRunIterator(str, len, 0xfe)); in drawTest()
147 std::unique_ptr<SkShaper::LanguageRunIterator> language( in drawTest()
148 SkShaper::MakeStdLanguageRunIterator(str, len)); in drawTest()
154 std::unique_ptr<SkShaper::ScriptRunIterator> script( in drawTest()
155 SkShaper::MakeScriptRunIterator(str, len, undeterminedScript)); in drawTest()
160 std::unique_ptr<SkShaper::FontRunIterator> font( in drawTest()
161 SkShaper::MakeFontMgrRunIterator(str, len, srcFont, SkFontMgr::RefDefault(), in drawTest()
178 this->drawTest(canvas, text, size, SkShaper::Make()); in onDrawContent()
181 this->drawTest(canvas, text, size, SkShaper::MakeCoreText()); in onDrawContent()