Home | History | Annotate | Download | only in skottie

Lines Matching defs:Animation

683         explicit SkottieSGAdapter(sk_sp<Animation> animation)
684 : fAnimation(std::move(animation)) {
698 const sk_sp<Animation> fAnimation;
703 SkottieAnimatorAdapter(sk_sp<Animation> animation, float frameRate)
704 : fAnimation(std::move(animation))
718 const sk_sp<Animation> fAnimation;
728 auto animation = Animation::Make(resStream.get(), ctx->fResources);
729 if (!animation) {
730 LOG("!! Could not load nested animation: %s\n", path);
734 ctx->fAnimators.push_back(skstd::make_unique<SkottieAnimatorAdapter>(animation,
737 return sk_make_sp<SkottieSGAdapter>(std::move(animation));
1140 sk_sp<Animation> Animation::Make(SkStream* stream, const ResourceProvider& res) {
1170 LOG("!! invalid animation params (version: %s, size: [%f %f], frame rate: %f)",
1175 return sk_sp<Animation>(new Animation(res, std::move(version), size, fps, json));
1178 sk_sp<Animation> Animation::MakeFromFile(const char path[], const ResourceProvider* res) {
1204 Animation::Animation(const ResourceProvider& resources,
1233 Animation::~Animation() = default;
1235 void Animation::setShowInval(bool show) {
1241 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const {
1254 void Animation::animationTick(SkMSec ms) {