Searched refs:animatedImage (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | AnimatedImageTest.cpp | 130 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local 131 if (!animatedImage) { in DEF_TEST() 135 animatedImage->setRepetitionCount(0); in DEF_TEST() 145 pictures[i].reset(animatedImage->newPictureSnapshot()); in DEF_TEST() 148 const auto duration = animatedImage->decodeNextFrame(); in DEF_TEST() 230 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() local 231 if (!animatedImage) { in DEF_TEST() 236 REPORTER_ASSERT(r, defaultRepetitionCount == animatedImage->getRepetitionCount()); in DEF_TEST() 238 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 244 animatedImage->draw(&c); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | AnimatedImageTest.cpp | 140 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 …]
|