Home
last modified time | relevance | path

Searched refs:SkAnimatedImage (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/skia/src/android/
DSkAnimatedImage.cpp21 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/
DSkAnimatedImage.cpp22 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 …]
DBUILD.bazel7 "SkAnimatedImage.cpp",
/third_party/flutter/skia/include/android/
DSkAnimatedImage.h23 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/
DAnimatedImageTest.cpp47 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/
DSkAnimatedImage.h24 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,
DBUILD.bazel7 "SkAnimatedImage.h",
/third_party/flutter/skia/tests/
DAnimatedImageTest.cpp54 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/
Danimated_image_orientation.cpp90 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/
DSampleAnimatedImage.cpp26 sk_sp<SkAnimatedImage> fImage;
88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
/third_party/skia/samplecode/
DSampleAnimatedImage.cpp26 sk_sp<SkAnimatedImage> fImage;
88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
/third_party/flutter/skia/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
/third_party/skia/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp809 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 …]
DCHANGELOG.md366 `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/
Drelease_notes.md171 * SkAnimatedImage: Always respect exif orientation
627 * Added SkAnimatedImage::getCurrentFrame()
670 * Added dimensions() and getFrameCount() to SkAnimatedImage
/third_party/skia/
DRELEASE_NOTES.txt228 * SkAnimatedImage: Always respect exif orientation
734 * Added SkAnimatedImage::getCurrentFrame()
782 * Added dimensions() and getFrameCount() to SkAnimatedImage
DBUILD.gn1554 "src/android/SkAnimatedImage.cpp",
1729 "src/android/SkAnimatedImage.cpp",
/third_party/flutter/skia/
DBUILD.gn903 "src/android/SkAnimatedImage.cpp",
/third_party/flutter/build/skia/ohos/
DBUILD.gn217 "$flutter_root/skia/src/android/SkAnimatedImage.cpp",
/third_party/flutter/build/skia/
DBUILD.gn536 "$flutter_root/skia/src/android/SkAnimatedImage.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia893 FILE: ../../../third_party/skia/include/android/SkAnimatedImage.h
963 FILE: ../../../third_party/skia/src/android/SkAnimatedImage.cpp