Home
last modified time | relevance | path

Searched refs:GetResourceAsStream (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/tests/
DExifTest.cpp13 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()
DCodecTest.cpp268 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 …]
DTypefaceTest.cpp81 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()
DBadIcoTest.cpp34 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
DYUVTest.cpp19 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in codec_yuv()
DFontHostTest.cpp142 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/test.ttc")); in test_fontstream()
/external/skia/tests/
DExifTest.cpp13 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()
DCodecTest.cpp270 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 …]
DTypefaceTest.cpp81 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()
DBadIcoTest.cpp34 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
DYUVTest.cpp19 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in codec_yuv()
DFontHostTest.cpp142 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/test.ttc")); in test_fontstream()
/external/skqp/tools/
DResources.cpp39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() function
61 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream(resource)); in MakeResourceAsTypeface()
DResources.h35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
/external/skia/tools/
DResources.cpp39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() function
61 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream(resource)); in MakeResourceAsTypeface()
DResources.h35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
/external/skia/gm/
Dbitmapimage.cpp39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path))); in onDraw()
Dfontscalerdistortable.cpp38 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in onDraw()
DanimatedGif.cpp121 std::unique_ptr<SkStream> stream(GetResourceAsStream(FLAGS_animatedGif[0])); in initCodec()
/external/skqp/gm/
Dbitmapimage.cpp39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path))); in onDraw()
Dfontscalerdistortable.cpp38 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in onDraw()
DanimatedGif.cpp121 std::unique_ptr<SkStream> stream(GetResourceAsStream(FLAGS_animatedGif[0])); in initCodec()
Dreadpixels.cpp53 std::unique_ptr<SkStream> stream(GetResourceAsStream("images/google_chrome.ico")); in make_raster_image()
/external/skqp/bench/
DPDFBench.cpp169 fAsset = GetResourceAsStream("pdf_command_stream.txt"); in onDelayedSetup()
/external/skia/bench/
DPDFBench.cpp169 fAsset = GetResourceAsStream("pdf_command_stream.txt"); in onDelayedSetup()

12