/external/skqp/modules/skottie/gm/ |
D | SkottieGM.cpp | 58 fAnimation = Animation::Builder() in onOnceBeforeDraw() 65 if (!fAnimation) { in onDraw() 70 fAnimation->render(canvas, &dest); in onDraw() 74 if (!fAnimation) { in onAnimate() 78 const auto duration = fAnimation->duration(); in onAnimate() 79 fAnimation->seek(std::fmod(timer.secs(), duration) / duration); in onAnimate() 86 sk_sp<Animation> fAnimation; member in SkottieWebFontGM 108 fAnimation = Animation::Builder() in onOnceBeforeDraw() 116 if (!fAnimation) { in onDraw() 121 fAnimation->render(canvas, &dest); in onDraw() [all …]
|
/external/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 58 fAnimation = Animation::Builder() in onOnceBeforeDraw() 65 if (!fAnimation) { in onDraw() 71 fAnimation->render(canvas, &dest); in onDraw() 76 if (!fAnimation) { in onAnimate() 80 const auto duration = fAnimation->duration(); in onAnimate() 81 fAnimation->seek(std::fmod(timer.secs(), duration) / duration); in onAnimate() 88 sk_sp<Animation> fAnimation; member in SkottieWebFontGM 110 fAnimation = Animation::Builder() in onOnceBeforeDraw() 118 if (!fAnimation) { in onDraw() 124 fAnimation->render(canvas, &dest); in onDraw() [all …]
|
/external/skqp/tools/viewer/ |
D | SkottieSlide.cpp | 97 fAnimation = builder in load() 106 if (fAnimation) { in load() 107 fAnimation->setShowInval(fShowAnimationInval); in load() 109 fAnimation->version().c_str(), in load() 110 fAnimation->size().width(), in load() 111 fAnimation->size().height()); in load() 119 fAnimation.reset(); in unload() 128 if (fAnimation) { in draw() 131 fAnimation->render(canvas, &dstR); in draw() 145 if (fAnimation) { in animate() [all …]
|
D | SkottieSlide.h | 36 sk_sp<skottie::Animation> fAnimation; variable
|
/external/skia/tools/viewer/ |
D | SkottieSlide.cpp | 97 fAnimation = builder in load() 106 if (fAnimation) { in load() 107 fAnimation->setShowInval(fShowAnimationInval); in load() 109 fAnimation->version().c_str(), in load() 110 fAnimation->size().width(), in load() 111 fAnimation->size().height()); in load() 119 fAnimation.reset(); in unload() 128 if (fAnimation) { in draw() 131 fAnimation->render(canvas, &dstR); in draw() 145 if (fAnimation) { in animate() [all …]
|
D | SkottieSlide.h | 36 sk_sp<skottie::Animation> fAnimation; variable
|
/external/skqp/experimental/canvaskit/ |
D | skottie_bindings.cpp | 44 void render(SkCanvas* canvas) const { fAnimation->render(canvas, nullptr); } in render() 45 void render(SkCanvas* canvas, const SkRect& dst) const { fAnimation->render(canvas, &dst); } in render() 46 void seek(SkScalar t) { fAnimation->seek(t); } in seek() 47 SkScalar duration() const { return fAnimation->duration(); } in duration() 48 const SkSize& size() const { return fAnimation->size(); } in size() 49 std::string version() const { return std::string(fAnimation->version().c_str()); } in version() 101 : fAnimation(std::move(animation)) in ManagedAnimation() 104 sk_sp<skottie::Animation> fAnimation; member in __anonc7a472500111::ManagedAnimation
|
/external/skia/modules/canvaskit/ |
D | skottie_bindings.cpp | 100 void render(SkCanvas* canvas) const { fAnimation->render(canvas, nullptr); } in render() 101 void render(SkCanvas* canvas, const SkRect& dst) const { fAnimation->render(canvas, &dst); } in render() 102 void seek(SkScalar t) { fAnimation->seek(t); } in seek() 103 SkScalar duration() const { return fAnimation->duration(); } in duration() 104 const SkSize& size() const { return fAnimation->size(); } in size() 105 std::string version() const { return std::string(fAnimation->version().c_str()); } in version() 157 : fAnimation(std::move(animation)) in ManagedAnimation() 160 sk_sp<skottie::Animation> fAnimation; member in __anon51f793840111::ManagedAnimation
|
/external/skia/bench/ |
D | SKPAnimationBench.cpp | 16 , fAnimation(SkRef(animation)) { in SKPAnimationBench() 17 fUniqueName.printf("%s_%s", name, fAnimation->getTag()); in SKPAnimationBench() 37 fAnimation->preConcatFrameMatrix(fAnimationTimer.fWall, fDevBounds, &trans); in drawPicture()
|
D | SKPAnimationBench.h | 43 sk_sp<Animation> fAnimation;
|
/external/skqp/bench/ |
D | SKPAnimationBench.cpp | 16 , fAnimation(SkRef(animation)) { in SKPAnimationBench() 17 fUniqueName.printf("%s_%s", name, fAnimation->getTag()); in SKPAnimationBench() 37 fAnimation->preConcatFrameMatrix(fAnimationTimer.fWall, fDevBounds, &trans); in drawPicture()
|
D | SKPAnimationBench.h | 43 sk_sp<Animation> fAnimation;
|
/external/skqp/modules/skottie/src/ |
D | SkottieLayer.cpp | 181 : fAnimation(std::move(animation)) { in attachNestedAnimation() 182 SkASSERT(fAnimation); in attachNestedAnimation() 187 return SkRect::MakeSize(fAnimation->size()); in attachNestedAnimation() 193 fAnimation->render(canvas); in attachNestedAnimation() 197 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieSGAdapter 203 : fAnimation(std::move(animation)) in attachNestedAnimation() 205 SkASSERT(fAnimation); in attachNestedAnimation() 211 fAnimation->seek(t * fTimeScale); in attachNestedAnimation() 215 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieAnimatorAdapter
|
/external/skia/modules/skottie/src/ |
D | SkottieLayer.cpp | 181 : fAnimation(std::move(animation)) { in attachNestedAnimation() 182 SkASSERT(fAnimation); in attachNestedAnimation() 187 return SkRect::MakeSize(fAnimation->size()); in attachNestedAnimation() 195 fAnimation->render(canvas); in attachNestedAnimation() 199 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieSGAdapter 205 : fAnimation(std::move(animation)) in attachNestedAnimation() 207 SkASSERT(fAnimation); in attachNestedAnimation() 213 fAnimation->seek(t * fTimeScale); in attachNestedAnimation() 217 const sk_sp<Animation> fAnimation; in attachNestedAnimation() member in skottie::internal::AnimationBuilder::attachNestedAnimation::SkottieAnimatorAdapter
|