/third_party/flutter/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 57 fAnimation = Animation::Builder() in onOnceBeforeDraw() 64 if (!fAnimation) { in onDraw() 70 fAnimation->render(canvas, &dest); in onDraw() 75 if (!fAnimation) { in onAnimate() 79 const auto duration = fAnimation->duration(); in onAnimate() 80 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate() 87 sk_sp<Animation> fAnimation; member in SkottieWebFontGM 109 fAnimation = Animation::Builder() in onOnceBeforeDraw() 117 if (!fAnimation) { in onDraw() 123 fAnimation->render(canvas, &dest); in onDraw() [all …]
|
/third_party/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 56 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw() 63 if (!fAnimation) { in onDraw() 69 fAnimation->render(canvas, &dest); in onDraw() 74 if (!fAnimation) { in onAnimate() 78 const auto duration = fAnimation->duration(); in onAnimate() 79 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate() 86 sk_sp<skottie::Animation> fAnimation; member in SkottieWebFontGM 112 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw() 121 if (!fAnimation) { in onDraw() 127 fAnimation->render(canvas, &dest); in onDraw() [all …]
|
D | ExternalProperties.cpp | 57 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw() 65 if (!fAnimation) { in onDraw() 74 fAnimation->render(canvas, &dest); in onDraw() 80 if (!fAnimation) { in onAnimate() 84 const auto duration = fAnimation->duration(); in onAnimate() 85 fAnimation->seek(std::fmod(1e-9 * nanos, duration) / duration); in onAnimate() 131 sk_sp<skottie::Animation> fAnimation; member in SkottieExternalPropsGM
|
/third_party/skia/tools/viewer/ |
D | SkottieSlide.cpp | 171 fAnimation = builder in load() 180 if (fAnimation) { in load() 181 fAnimation->seek(0); in load() 182 fFrameTimes.resize(SkScalarCeilToInt(fAnimation->duration() * fAnimation->fps())); in load() 184 fAnimation->version().c_str(), in load() 185 fAnimation->size().width(), in load() 186 fAnimation->size().height()); in load() 194 fAnimation.reset(); in unload() 207 if (fAnimation) { in draw() 213 fAnimation->render(canvas, &dstR); in draw() [all …]
|
D | SkottieSlide.h | 44 sk_sp<skottie::Animation> fAnimation; variable
|
/third_party/flutter/skia/tools/viewer/ |
D | SkottieSlide.cpp | 97 fAnimation = builder in load() 106 if (fAnimation) { in load() 108 fAnimation->version().c_str(), in load() 109 fAnimation->size().width(), in load() 110 fAnimation->size().height()); in load() 118 fAnimation.reset(); in unload() 127 if (fAnimation) { in draw() 130 fAnimation->render(canvas, &dstR); in draw() 136 const auto t = SkMatrix::MakeRectToRect(SkRect::MakeSize(fAnimation->size()), in draw() 163 if (fAnimation) { in animate() [all …]
|
D | SkottieSlide.h | 37 sk_sp<skottie::Animation> fAnimation; variable
|
/third_party/flutter/skia/modules/skottie/src/ |
D | Composition.cpp | 24 : fAnimation(std::move(animation)) { in attachNestedAnimation() 25 SkASSERT(fAnimation); in attachNestedAnimation() 30 return SkRect::MakeSize(fAnimation->size()); in attachNestedAnimation() 40 fAnimation->render(canvas); in attachNestedAnimation() 44 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieSGAdapter 50 : fAnimation(std::move(animation)) in attachNestedAnimation() 52 SkASSERT(fAnimation); in attachNestedAnimation() 58 fAnimation->seek(t * fTimeScale); in attachNestedAnimation() 62 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieAnimatorAdapter
|
/third_party/skia/tools/skottie_ios_app/ |
D | SkottieViewController.mm | 21 explicit operator bool() const { return fAnimation != nullptr; } 41 fAnimation->render(canvas); 46 fAnimation = builder.make((const char*)data, (size_t)length); 48 fAnimationSize = fAnimation ? fAnimation->size() : SkSize{0, 0}; 51 void seek(double time) { if (fAnimation) { fAnimation->seekFrameTime(time, nullptr); } } 53 float duration() { return fAnimation ? fAnimation->duration() : 0; } 58 sk_sp<skottie::Animation> fAnimation; // owner
|
/third_party/flutter/skia/modules/canvaskit/ |
D | skottie_bindings.cpp | 102 void render(SkCanvas* canvas) const { fAnimation->render(canvas, nullptr); } in render() 103 void render(SkCanvas* canvas, const SkRect& dst) const { fAnimation->render(canvas, &dst); } in render() 107 fAnimation->seek(t, &ic); in seek() 110 SkScalar duration() const { return fAnimation->duration(); } in duration() 111 const SkSize& size() const { return fAnimation->size(); } in size() 112 std::string version() const { return std::string(fAnimation->version().c_str()); } in version() 164 : fAnimation(std::move(animation)) in ManagedAnimation() 167 sk_sp<skottie::Animation> fAnimation; member in __anon317a2f2a0111::ManagedAnimation
|
/third_party/skia/experimental/skottiekit/ |
D | skottiekit_bindings.cpp | 125 void render(SkCanvas* canvas) const { fAnimation->render(canvas, nullptr); } in render() 126 void render(SkCanvas* canvas, const SkRect& dst) const { fAnimation->render(canvas, &dst); } in render() 130 fAnimation->seek(t, &ic); in seek() 136 fAnimation->seekFrame(t, &ic); in seekFrame() 139 double duration() const { return fAnimation->duration(); } in duration() 140 double fps() const { return fAnimation->fps(); } in fps() 141 const SkSize& size() const { return fAnimation->size(); } in size() 142 std::string version() const { return std::string(fAnimation->version().c_str()); } in version() 194 : fAnimation(std::move(animation)) in ManagedAnimation() 197 sk_sp<skottie::Animation> fAnimation; member in __anonf4d939190111::ManagedAnimation
|
/third_party/skia/modules/canvaskit/ |
D | skottie_bindings.cpp | 177 void render(SkCanvas* canvas, const SkRect* dst) const { fAnimation->render(canvas, dst); } in render() 181 fAnimation->seek(t, &ic); in seek() 187 fAnimation->seekFrame(t, &ic); in seekFrame() 190 double duration() const { return fAnimation->duration(); } in duration() 191 double fps() const { return fAnimation->fps(); } in fps() 192 const SkSize& size() const { return fAnimation->size(); } in size() 193 std::string version() const { return std::string(fAnimation->version().c_str()); } in version() 274 : fAnimation(std::move(animation)) in ManagedAnimation() 278 const sk_sp<skottie::Animation> fAnimation; member in __anonba53e8b50111::ManagedAnimation
|
/third_party/skia/bench/ |
D | SKPAnimationBench.cpp | 15 , fAnimation(std::move(animation)) { in SKPAnimationBench() 16 fUniqueName.printf("%s_%s", name, fAnimation->getTag()); in SKPAnimationBench() 33 fAnimation->preConcatFrameMatrix(fAnimationTime.nextRangeF(0, 1000), fDevBounds, &trans); in drawPicture()
|
D | SKPAnimationBench.h | 43 sk_sp<Animation> fAnimation;
|
/third_party/flutter/skia/bench/ |
D | SKPAnimationBench.cpp | 16 , fAnimation(std::move(animation)) { in SKPAnimationBench() 17 fUniqueName.printf("%s_%s", name, fAnimation->getTag()); in SKPAnimationBench() 34 fAnimation->preConcatFrameMatrix(fAnimationTime.nextRangeF(0, 1000), fDevBounds, &trans); in drawPicture()
|
D | SKPAnimationBench.h | 44 sk_sp<Animation> fAnimation;
|
/third_party/skia/modules/skottie/utils/ |
D | SkottieUtils.cpp | 206 : fAnimation(std::move(anim)) in ExternalAnimationLayer() 211 fAnimation->seekFrameTime(t); in render() 214 fAnimation->render(canvas, &dst_rect); in render() 217 const sk_sp<skottie::Animation> fAnimation; member in skottie_utils::__anon75d991380111::ExternalAnimationLayer
|
/third_party/flutter/skia/tools/fiddle/ |
D | examples.h | 22 bool fAnimation; member
|