Home
last modified time | relevance | path

Searched refs:animatedImage (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DAnimatedImageTest.cpp140 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local
141 if (!animatedImage) { in DEF_TEST()
145 animatedImage->setRepetitionCount(0); in DEF_TEST()
155 pictures[i].reset(animatedImage->newPictureSnapshot()); in DEF_TEST()
158 const auto duration = animatedImage->decodeNextFrame(); in DEF_TEST()
240 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local
241 if (!animatedImage) { in DEF_TEST()
246 REPORTER_ASSERT(r, defaultRepetitionCount == animatedImage->getRepetitionCount()); in DEF_TEST()
248 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST()
254 animatedImage->draw(&c); in DEF_TEST()
[all …]
/external/skia/tests/
DAnimatedImageTest.cpp129 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local
130 if (!animatedImage) { in DEF_TEST()
134 animatedImage->setRepetitionCount(0); in DEF_TEST()
144 pictures[i].reset(animatedImage->newPictureSnapshot()); in DEF_TEST()
147 const auto duration = animatedImage->decodeNextFrame(); in DEF_TEST()
229 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local
230 if (!animatedImage) { in DEF_TEST()
235 REPORTER_ASSERT(r, defaultRepetitionCount == animatedImage->getRepetitionCount()); in DEF_TEST()
237 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST()
243 animatedImage->draw(&c); in DEF_TEST()
[all …]