/third_party/flutter/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 …]
|
/third_party/skia/src/android/ |
D | SkAnimatedImage.cpp | 22 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 32 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), requestedInfo, in Make() 42 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() 56 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, in SkAnimatedImage() function in SkAnimatedImage 105 SkAnimatedImage::~SkAnimatedImage() { } in ~SkAnimatedImage() 107 SkRect SkAnimatedImage::onGetBounds() { in onGetBounds() 111 SkAnimatedImage::Frame::Frame() in Frame() 115 bool SkAnimatedImage::Frame::init(const SkImageInfo& info, OnInit onInit) { in init() 141 bool SkAnimatedImage::Frame::copyTo(Frame* dst) const { in copyTo() 152 void SkAnimatedImage::reset() { in reset() [all …]
|
D | BUILD.bazel | 7 "SkAnimatedImage.cpp",
|
/third_party/flutter/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>);
|
/third_party/skia/tests/ |
D | AnimatedImageTest.cpp | 47 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 71 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 139 auto image = SkAnimatedImage::Make(std::move(codec), info.makeDimensions(rec.scaledSize), in DEF_TEST() 168 auto image = SkAnimatedImage::Make(std::move(codec), info, rect, nullptr); in DEF_TEST() 244 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 267 REPORTER_ASSERT(r, duration == SkAnimatedImage::kFinished); in DEF_TEST() 269 REPORTER_ASSERT(r, duration != SkAnimatedImage::kFinished); in DEF_TEST() 344 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec)); in DEF_TEST() 352 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 378 REPORTER_ASSERT(r, frameTime == SkAnimatedImage::kFinished); in DEF_TEST() [all …]
|
/third_party/skia/include/android/ |
D | SkAnimatedImage.h | 24 class SK_API SkAnimatedImage : public SkDrawable { 36 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 42 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 44 ~SkAnimatedImage() override; 156 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, const SkImageInfo& requestedInfo,
|
D | BUILD.bazel | 7 "SkAnimatedImage.h",
|
/third_party/flutter/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()
|
/third_party/skia/gm/ |
D | animated_image_orientation.cpp | 90 auto drawProc = [canvas, usePic](const sk_sp<SkAnimatedImage>& animatedImage) { in onDraw() 127 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec), in onDraw() 142 if (duration == SkAnimatedImage::kFinished) { in onDraw()
|
/third_party/flutter/skia/samplecode/ |
D | SampleAnimatedImage.cpp | 26 sk_sp<SkAnimatedImage> fImage; 88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
|
/third_party/skia/samplecode/ |
D | SampleAnimatedImage.cpp | 26 sk_sp<SkAnimatedImage> fImage; 88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
|
/third_party/flutter/skia/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
|
/third_party/skia/modules/canvaskit/ |
D | canvaskit_bindings.cpp | 809 size_t length)->sk_sp<SkAnimatedImage> { in EMSCRIPTEN_BINDINGS() 817 return SkAnimatedImage::Make(std::move(aCodec)); in EMSCRIPTEN_BINDINGS() 895 class_<SkAnimatedImage>("AnimatedImage") in EMSCRIPTEN_BINDINGS() 896 .smart_ptr<sk_sp<SkAnimatedImage>>("sk_sp<AnimatedImage>") in EMSCRIPTEN_BINDINGS() 897 .function("decodeNextFrame", &SkAnimatedImage::decodeNextFrame) in EMSCRIPTEN_BINDINGS() 898 .function("getFrameCount", &SkAnimatedImage::getFrameCount) in EMSCRIPTEN_BINDINGS() 899 .function("getRepetitionCount", &SkAnimatedImage::getRepetitionCount) in EMSCRIPTEN_BINDINGS() 900 .function("height", optional_override([](SkAnimatedImage& self)->int32_t { in EMSCRIPTEN_BINDINGS() 904 .function("makeImageAtCurrentFrame", &SkAnimatedImage::getCurrentFrame) in EMSCRIPTEN_BINDINGS() 905 .function("reset", &SkAnimatedImage::reset) in EMSCRIPTEN_BINDINGS() [all …]
|
D | CHANGELOG.md | 366 `SkCanvas.drawImageAtCurrentFrame` or `SkAnimatedImage.makeImageAtCurrentFrame` and then 404 - `SkAnimatedImage.getCurrentFrame`; prefer `SkAnimatedImage.makeImageAtCurrentFrame` (which 665 - `SkAnimatedImage.getCurrentFrame` which returns an SkImage. 693 and `SkAnimatedImage.getCurrentFrame`. 720 - Add `width()`, `height()`, `reset()`, `getFrameCount()` to SkAnimatedImage.
|
/third_party/skia/site/docs/user/release/ |
D | release_notes.md | 171 * SkAnimatedImage: Always respect exif orientation 627 * Added SkAnimatedImage::getCurrentFrame() 670 * Added dimensions() and getFrameCount() to SkAnimatedImage
|
/third_party/skia/ |
D | RELEASE_NOTES.txt | 228 * SkAnimatedImage: Always respect exif orientation 734 * Added SkAnimatedImage::getCurrentFrame() 782 * Added dimensions() and getFrameCount() to SkAnimatedImage
|
D | BUILD.gn | 1554 "src/android/SkAnimatedImage.cpp", 1729 "src/android/SkAnimatedImage.cpp",
|
/third_party/flutter/skia/ |
D | BUILD.gn | 903 "src/android/SkAnimatedImage.cpp",
|
/third_party/flutter/build/skia/ohos/ |
D | BUILD.gn | 217 "$flutter_root/skia/src/android/SkAnimatedImage.cpp",
|
/third_party/flutter/build/skia/ |
D | BUILD.gn | 536 "$flutter_root/skia/src/android/SkAnimatedImage.cpp",
|
/third_party/flutter/engine/flutter/ci/licenses_golden/ |
D | licenses_skia | 893 FILE: ../../../third_party/skia/include/android/SkAnimatedImage.h 963 FILE: ../../../third_party/skia/src/android/SkAnimatedImage.cpp
|