Searched refs:GetResourceAsStream (Results 1 – 25 of 30) sorted by relevance
12
13 std::unique_ptr<SkStream> stream(GetResourceAsStream("images/exif-orientation-2-ur.jpg")); in DEF_TEST()24 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()
268 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()404 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()423 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()560 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_dimensions()624 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_invalid()887 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in DEF_TEST()986 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform()1062 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()1072 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()1075 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/yellow_rose.png")); in DEF_TEST()[all …]
81 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/Em.ttf")); in DEF_TEST()98 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()141 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
34 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
19 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in codec_yuv()
142 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/test.ttc")); in test_fontstream()
270 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()406 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()425 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()562 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_dimensions()898 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in DEF_TEST()997 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform()1073 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()1083 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()1086 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/yellow_rose.png")); in DEF_TEST()1104 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/index8.png")); in DEF_TEST()[all …]
39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() function61 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream(resource)); in MakeResourceAsTypeface()
35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path))); in onDraw()
38 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in onDraw()
121 std::unique_ptr<SkStream> stream(GetResourceAsStream(FLAGS_animatedGif[0])); in initCodec()
53 std::unique_ptr<SkStream> stream(GetResourceAsStream("images/google_chrome.ico")); in make_raster_image()
169 fAsset = GetResourceAsStream("pdf_command_stream.txt"); in onDelayedSetup()