Home
last modified time | relevance | path

Searched refs:distortableStream (Results 1 – 6 of 6) sorted by relevance

/external/skqp/gm/
Dfontscalerdistortable.cpp40 … std::unique_ptr<SkStreamAsset> distortableStream(GetResourceAsStream("fonts/Distortable.ttf")); in onDraw() local
43 if (!distortableStream) { in onDraw()
65 distortableStream->duplicate(), in onDraw()
/external/skqp/tests/
DFontMgrFontConfigTest.cpp56 std::unique_ptr<SkStreamAsset> distortableStream( in DEF_TEST() local
58 if (!distortableStream) { in DEF_TEST()
74 fontMgr->makeFromStream(distortableStream->duplicate(), in DEF_TEST()
DFontMgrAndroidParserTest.cpp311 std::unique_ptr<SkStreamAsset> distortableStream( in DEF_TEST() local
313 if (!distortableStream) { in DEF_TEST()
329 fontMgr->makeFromStream(distortableStream->duplicate(), in DEF_TEST()
/external/skia/tests/
DFontMgrFontConfigTest.cpp66 std::unique_ptr<SkStreamAsset> distortableStream( in DEF_TEST() local
68 if (!distortableStream) { in DEF_TEST()
84 fontMgr->makeFromStream(distortableStream->duplicate(), in DEF_TEST()
DFontMgrAndroidParserTest.cpp310 std::unique_ptr<SkStreamAsset> distortableStream( in DEF_TEST() local
312 if (!distortableStream) { in DEF_TEST()
328 fontMgr->makeFromStream(distortableStream->duplicate(), in DEF_TEST()
/external/skia/gm/
Dfontscalerdistortable.cpp67 std::unique_ptr<SkStreamAsset> distortableStream( info.distortable in onOnceBeforeDraw() local
86 if (distortableStream) { in onOnceBeforeDraw()
87 return fontMgr->makeFromStream(distortableStream->duplicate(), in onOnceBeforeDraw()