Home
last modified time | relevance | path

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

/external/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 …]
/external/skqp/src/android/
DSkAnimatedImage.cpp20 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/
DSkAnimatedImage.h24 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/
DSkAnimatedImage.h23 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/
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()
/external/skqp/tests/
DAnimatedImageTest.cpp53 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/
DSampleAnimatedImage.cpp26 sk_sp<SkAnimatedImage> fImage;
88 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
/external/skqp/samplecode/
DSampleAnimatedImage.cpp87 fImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec(std::move(codec))); in onOnceBeforeDraw()
128 sk_sp<SkAnimatedImage> fImage;
/external/skia/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
/external/skqp/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp714 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 …]
DCHANGELOG.md51 - `SkAnimatedImage.getCurrentFrame` which returns an SkImage.
79 and `SkAnimatedImage.getCurrentFrame`.
106 - Add `width()`, `height()`, `reset()`, `getFrameCount()` to SkAnimatedImage.
Dexterns.js148 SkAnimatedImage: { property
/external/skia/site/user/release/
Drelease_notes.md27 * Added SkAnimatedImage::getCurrentFrame()
70 * Added dimensions() and getFrameCount() to SkAnimatedImage
/external/skia/
DRELEASE_NOTES.txt59 * Added SkAnimatedImage::getCurrentFrame()
106 * Added dimensions() and getFrameCount() to SkAnimatedImage
DBUILD.gn908 "src/android/SkAnimatedImage.cpp",
DAndroid.bp56 "src/android/SkAnimatedImage.cpp",
/external/skqp/
DBUILD.gn932 "src/android/SkAnimatedImage.cpp",
2242 "src/android/SkAnimatedImage.cpp",
DAndroid.bp519 "src/android/SkAnimatedImage.cpp",