/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 21 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 30 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 46 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 56 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() 64 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 76 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() function in SkAnimatedImage 103 SkAnimatedImage::~SkAnimatedImage() { } in ~SkAnimatedImage() 105 SkRect SkAnimatedImage::onGetBounds() { in onGetBounds() 109 SkAnimatedImage::Frame::Frame() in Frame() 113 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 | 24 class SK_API SkAnimatedImage : public SkDrawable { 36 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 49 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 55 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 57 ~SkAnimatedImage() override; 175 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize, 177 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/skia/tests/ |
D | AnimatedImageTest.cpp | 54 auto image = SkAnimatedImage::Make(std::move(codec), info, rect, nullptr); in DEF_TEST() 130 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 153 REPORTER_ASSERT(r, duration == SkAnimatedImage::kFinished); in DEF_TEST() 155 REPORTER_ASSERT(r, duration != SkAnimatedImage::kFinished); in DEF_TEST() 230 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 238 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 264 REPORTER_ASSERT(r, frameTime == SkAnimatedImage::kFinished); in DEF_TEST() 323 animatedImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec( in DEF_TEST() 335 if (frameTime == SkAnimatedImage::kFinished) { in DEF_TEST()
|
/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/samplecode/ |
D | SampleAnimatedImage.cpp | 26 sk_sp<SkAnimatedImage> fImage; 88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
|
/external/skqp/samplecode/ |
D | SampleAnimatedImage.cpp | 87 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw() 128 sk_sp<SkAnimatedImage> fImage;
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/external/skqp/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/external/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 714 size_t length)->sk_sp<SkAnimatedImage> { in EMSCRIPTEN_BINDINGS() 721 return SkAnimatedImage::Make(std::move(codec)); in EMSCRIPTEN_BINDINGS() 881 class_<SkAnimatedImage>("SkAnimatedImage") in EMSCRIPTEN_BINDINGS() 882 .smart_ptr<sk_sp<SkAnimatedImage>>("sk_sp<SkAnimatedImage>") in EMSCRIPTEN_BINDINGS() 883 .function("decodeNextFrame", &SkAnimatedImage::decodeNextFrame) in EMSCRIPTEN_BINDINGS() 884 .function("getCurrentFrame", &SkAnimatedImage::getCurrentFrame) in EMSCRIPTEN_BINDINGS() 885 .function("getFrameCount", &SkAnimatedImage::getFrameCount) in EMSCRIPTEN_BINDINGS() 886 .function("getRepetitionCount", &SkAnimatedImage::getRepetitionCount) in EMSCRIPTEN_BINDINGS() 887 .function("height", optional_override([](SkAnimatedImage& self)->int32_t { in EMSCRIPTEN_BINDINGS() 890 .function("reset", &SkAnimatedImage::reset) in EMSCRIPTEN_BINDINGS() [all …]
|
D | CHANGELOG.md | 51 - `SkAnimatedImage.getCurrentFrame` which returns an SkImage. 79 and `SkAnimatedImage.getCurrentFrame`. 106 - Add `width()`, `height()`, `reset()`, `getFrameCount()` to SkAnimatedImage.
|
D | externs.js | 148 SkAnimatedImage: { property
|
/external/skia/site/user/release/ |
D | release_notes.md | 27 * Added SkAnimatedImage::getCurrentFrame() 70 * Added dimensions() and getFrameCount() to SkAnimatedImage
|
/external/skia/ |
D | RELEASE_NOTES.txt | 59 * Added SkAnimatedImage::getCurrentFrame() 106 * Added dimensions() and getFrameCount() to SkAnimatedImage
|
D | BUILD.gn | 908 "src/android/SkAnimatedImage.cpp",
|
D | Android.bp | 56 "src/android/SkAnimatedImage.cpp",
|
/external/skqp/ |
D | BUILD.gn | 932 "src/android/SkAnimatedImage.cpp", 2242 "src/android/SkAnimatedImage.cpp",
|
D | Android.bp | 519 "src/android/SkAnimatedImage.cpp",
|