Home
last modified time | relevance | path

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

12

/third_party/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()
31 std::unique_ptr<SkStream> stream(GetResourceAsStream("images/orientation/exif.jpg")); in DEF_TEST()
40 std::unique_ptr<SkStream> stream(GetResourceAsStream("images/orientation/subifd.jpg")); in DEF_TEST()
DTypefaceTest.cpp87 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/Em.ttf")); in DEF_TEST()
222 std::unique_ptr<SkStreamAsset> variable(GetResourceAsStream("fonts/Variable.ttf")); in DEF_TEST()
237 std::unique_ptr<SkStreamAsset> dupTags(GetResourceAsStream("fonts/VaryAlongQuads.ttf")); in DEF_TEST()
258 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
284 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
425 std::unique_ptr<SkStreamAsset> variable(GetResourceAsStream("fonts/Variable.ttf")); in DEF_TEST()
440 std::unique_ptr<SkStreamAsset> dupTags(GetResourceAsStream("fonts/VaryAlongQuads.ttf")); in DEF_TEST()
458 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
525 GetResourceAsStream("fonts/Distortable.ttf")), in DEF_TEST()
DCodecTest.cpp450 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check_codec_image_generator()
487 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()
629 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_dimensions()
967 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in DEF_TEST()
1066 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform()
1137 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()
1147 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
1150 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/yellow_rose.png")); in DEF_TEST()
1168 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/index8.png")); in DEF_TEST()
1180 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_conversion_possible()
[all …]
DBadIcoTest.cpp38 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
DEncodedInfoTest.cpp20 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
DFontMgrFontConfigTest.cpp67 GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
DYUVTest.cpp19 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in codec_yuv()
/third_party/flutter/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.cpp295 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()
431 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()
450 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check()
582 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_dimensions()
917 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in DEF_TEST()
1016 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform()
1087 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()
1097 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
1100 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/yellow_rose.png")); in DEF_TEST()
1118 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/index8.png")); in DEF_TEST()
[all …]
DTypefaceTest.cpp88 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("fonts/Em.ttf")); in DEF_TEST()
144 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
187 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
236 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
326 GetResourceAsStream("fonts/Distortable.ttf")), in DEF_TEST()
DBadIcoTest.cpp37 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
DEncodedInfoTest.cpp20 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
DFontMgrFontConfigTest.cpp66 GetResourceAsStream("fonts/Distortable.ttf")); in DEF_TEST()
DYUVTest.cpp19 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in codec_yuv()
/third_party/flutter/skia/modules/skottie/gm/
DSkottieGM.cpp56 if (auto stream = GetResourceAsStream(kSkottieResource)) { in onOnceBeforeDraw()
107 if (auto stream = GetResourceAsStream("skottie/skottie_sample_search.json")) { in onOnceBeforeDraw()
182 if (auto stream = GetResourceAsStream("skottie/skottie_sample_multiframe.json")) { in onOnceBeforeDraw()
/third_party/skia/tools/
DResources.cpp39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() function
59 return SkTypeface::MakeFromStream(GetResourceAsStream(resource), ttcIndex); in MakeResourceAsTypeface()
DResources.h35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
/third_party/flutter/skia/tools/
DResources.cpp39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream() function
59 return SkTypeface::MakeFromStream(GetResourceAsStream(resource), ttcIndex); in MakeResourceAsTypeface()
DResources.h35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
/third_party/skia/modules/skottie/gm/
DSkottieGM.cpp55 if (auto stream = GetResourceAsStream(kSkottieResource)) { in onOnceBeforeDraw()
110 if (auto stream = GetResourceAsStream(fResource)) { in onOnceBeforeDraw()
196 if (auto stream = GetResourceAsStream("skottie/skottie_sample_multiframe.json")) { in onOnceBeforeDraw()
DExternalProperties.cpp55 if (auto stream = GetResourceAsStream(kSkottieResource)) { in onOnceBeforeDraw()
/third_party/skia/gm/
Dbitmapimage.cpp50 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path))); in onDraw()
/third_party/flutter/skia/gm/
Dbitmapimage.cpp50 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path))); in onDraw()
Dfontscalerdistortable.cpp54 … std::unique_ptr<SkStreamAsset> distortableStream(GetResourceAsStream("fonts/Distortable.ttf")); in onDraw()
Danimated_gif.cpp108 std::unique_ptr<SkStream> stream(GetResourceAsStream(FLAGS_animatedGif[0])); in initCodec()

12