/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 20 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 29 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 45 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 55 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() 63 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 75 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() function in SkAnimatedImage 102 SkAnimatedImage::~SkAnimatedImage() { } in ~SkAnimatedImage() 104 SkRect SkAnimatedImage::onGetBounds() { in onGetBounds() 108 SkAnimatedImage::Frame::Frame() in Frame() 112 bool SkAnimatedImage::Frame::init(const SkImageInfo& info, OnInit onInit) { in init() [all …]
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 20 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 35 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 45 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() 53 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 65 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() function in SkAnimatedImage 92 SkAnimatedImage::~SkAnimatedImage() { } in ~SkAnimatedImage() 94 SkRect SkAnimatedImage::onGetBounds() { in onGetBounds() 98 SkAnimatedImage::Frame::Frame() in Frame() 102 bool SkAnimatedImage::Frame::init(const SkImageInfo& info, OnInit onInit) { in init() 128 bool SkAnimatedImage::Frame::copyTo(Frame* dst) const { in copyTo() [all …]
|
/external/skia/include/android/ |
D | SkAnimatedImage.h | 23 class SK_API SkAnimatedImage : public SkDrawable { 35 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 48 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 54 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 56 ~SkAnimatedImage() override; 157 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize, 159 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>);
|
/external/skqp/include/android/ |
D | SkAnimatedImage.h | 23 class SK_API SkAnimatedImage : public SkDrawable { 35 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 41 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 43 ~SkAnimatedImage() override; 144 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize, 146 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>);
|
/external/skqp/tests/ |
D | AnimatedImageTest.cpp | 53 auto image = SkAnimatedImage::Make(std::move(codec), size, rect, nullptr); in DEF_TEST() 140 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 163 REPORTER_ASSERT(r, duration == SkAnimatedImage::kFinished); in DEF_TEST() 165 REPORTER_ASSERT(r, duration != SkAnimatedImage::kFinished); in DEF_TEST() 240 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 248 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 274 REPORTER_ASSERT(r, frameTime == SkAnimatedImage::kFinished); in DEF_TEST() 333 animatedImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec( in DEF_TEST() 345 if (frameTime == SkAnimatedImage::kFinished) { in DEF_TEST()
|
/external/skia/tests/ |
D | AnimatedImageTest.cpp | 53 auto image = SkAnimatedImage::Make(std::move(codec), info, rect, nullptr); in DEF_TEST() 129 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 152 REPORTER_ASSERT(r, duration == SkAnimatedImage::kFinished); in DEF_TEST() 154 REPORTER_ASSERT(r, duration != SkAnimatedImage::kFinished); in DEF_TEST() 229 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 237 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 263 REPORTER_ASSERT(r, frameTime == SkAnimatedImage::kFinished); in DEF_TEST() 322 animatedImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec( in DEF_TEST() 334 if (frameTime == SkAnimatedImage::kFinished) { in DEF_TEST()
|
/external/skia/samplecode/ |
D | SampleAnimatedImage.cpp | 87 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw() 128 sk_sp<SkAnimatedImage> fImage;
|
/external/skqp/samplecode/ |
D | SampleAnimatedImage.cpp | 87 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw() 128 sk_sp<SkAnimatedImage> fImage;
|
/external/skqp/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/external/skia/ |
D | BUILD.gn | 945 "src/android/SkAnimatedImage.cpp", 2312 "src/android/SkAnimatedImage.cpp",
|
D | Android.bp | 87 "src/android/SkAnimatedImage.cpp",
|
/external/skqp/ |
D | BUILD.gn | 932 "src/android/SkAnimatedImage.cpp", 2242 "src/android/SkAnimatedImage.cpp",
|
D | Android.bp | 520 "src/android/SkAnimatedImage.cpp",
|