/third_party/skia/modules/skottie/utils/ |
H A D | SkottieUtils.h | 11 #include "modules/skottie/include/ExternalLayer.h" 12 #include "modules/skottie/include/Skottie.h" 13 #include "modules/skottie/include/SkottieProperty.h" 49 skottie::ColorPropertyValue getColor(const PropKey&) const; 50 bool setColor(const PropKey&, const skottie::ColorPropertyValue&); 53 skottie::OpacityPropertyValue getOpacity(const PropKey&) const; 54 bool setOpacity(const PropKey&, const skottie::OpacityPropertyValue&); 57 skottie::TransformPropertyValue getTransform(const PropKey&) const; 58 bool setTransform(const PropKey&, const skottie::TransformPropertyValue&); 61 skottie [all...] |
H A D | SkottieUtils.cpp | 8 #include "modules/skottie/utils/SkottieUtils.h" 12 class CustomPropertyManager::PropertyInterceptor final : public skottie::PropertyObserver { 17 const LazyHandle<skottie::ColorPropertyHandle>& c) override { 25 const LazyHandle<skottie::OpacityPropertyHandle>& o) override { 33 const LazyHandle<skottie::TransformPropertyHandle>& t) override { 41 const LazyHandle<skottie::TextPropertyHandle>& t) override { 72 class CustomPropertyManager::MarkerInterceptor final : public skottie::MarkerObserver { 103 sk_sp<skottie::PropertyObserver> CustomPropertyManager::getPropertyObserver() const { in getPropertyObserver() 107 sk_sp<skottie::MarkerObserver> CustomPropertyManager::getMarkerObserver() const { in getMarkerObserver() 153 skottie [all...] |
/third_party/skia/modules/skottie/tests/ |
H A D | AudioLayer.cpp | 8 #include "modules/skottie/include/Skottie.h" 12 using namespace skottie; 96 auto skottie = skottie::Animation::Builder() in DEF_TEST() local 102 REPORTER_ASSERT(r, skottie); in DEF_TEST() 105 skottie->seekFrame(0); in DEF_TEST() 109 skottie->seekFrame(20); in DEF_TEST() 114 skottie->seekFrame(50); in DEF_TEST() 120 skottie->seekFrame(70); in DEF_TEST() 126 skottie in DEF_TEST() [all...] |
/third_party/skia/modules/canvaskit/ |
H A D | skottie_bindings.cpp | 12 #include "modules/skottie/include/Skottie.h" 23 #include "modules/skottie/include/SkottieProperty.h" 24 #include "modules/skottie/utils/SkottieUtils.h" 47 class SkottieAssetProvider : public skottie::ResourceProvider { 62 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, 125 class JSLogger final : public skottie::Logger { 152 sk_sp<skottie::ResourceProvider> rp, in Make() 161 auto animation = skottie::Animation::Builder() in Make() 176 // skottie::Animation API 272 ManagedAnimation(sk_sp<skottie [all...] |
/third_party/skia/experimental/skottiekit/ |
H A D | skottiekit_bindings.cpp | 17 #include "modules/skottie/include/Skottie.h" 27 #include "modules/skottie/utils/SkottieUtils.h" 55 class SkottieAssetProvider : public skottie::ResourceProvider { 73 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, 109 sk_sp<skottie::ResourceProvider> rp) { in Make() 111 auto animation = skottie::Animation::Builder() in Make() 124 // skottie::Animation API 192 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation() 197 sk_sp<skottie::Animation> fAnimation; 354 class_<skottie in EMSCRIPTEN_BINDINGS() [all...] |
H A D | externs.js | 76 skottie: {},
|
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/ |
H A D | native-lib.cpp | 25 #include "modules/skottie/include/Skottie.h" 87 SkottieRunner* skottie = new SkottieRunner(); in Java_org_skia_skottie_SkottieRunner_nCreateProxy() local 88 skottie->mDContext = std::move(dContext); in Java_org_skia_skottie_SkottieRunner_nCreateProxy() 90 return (jlong) skottie; in Java_org_skia_skottie_SkottieRunner_nCreateProxy() 99 SkottieRunner* skottie = reinterpret_cast<SkottieRunner*>(nativeProxy); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() local 100 if (skottie->mDContext) { in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 101 skottie->mDContext->releaseResourcesAndAbandonContext(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 102 skottie->mDContext.reset(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 104 delete skottie; in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() 110 sk_sp<skottie [all...] |
/third_party/skia/modules/skottie/src/ |
H A D | SkottieTest.cpp | 13 #include "modules/skottie/include/Skottie.h" 14 #include "modules/skottie/include/SkottieProperty.h" 15 #include "modules/skottie/src/text/SkottieShaper.h" 26 using namespace skottie; 137 std::unique_ptr<skottie::ColorPropertyHandle> handle; in DEF_TEST() 142 std::unique_ptr<skottie::OpacityPropertyHandle> handle; in DEF_TEST() 147 std::unique_ptr<skottie::TextPropertyHandle> handle; in DEF_TEST() 152 std::unique_ptr<skottie::TransformPropertyHandle> handle; in DEF_TEST() 254 auto animation = skottie::Animation::Builder() in DEF_TEST() 285 REPORTER_ASSERT(reporter, transforms[0].handle->get() == skottie in DEF_TEST() [all...] |
H A D | SkottieTool.cpp | 15 #include "modules/skottie/include/Skottie.h" 16 #include "modules/skottie/utils/SkottieUtils.h" 204 class Logger final : public skottie::Logger { 211 void log(skottie::Logger::Level lvl, const char message[], const char json[]) override { 212 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; 283 auto anim = skottie::Animation::Builder() in main() 340 skottie::Animation::Builder() in main()
|
H A D | SkottieJson.h | 18 namespace skottie { namespace 32 } // namespace skottie
|
H A D | Adapter.h | 11 #include "modules/skottie/src/animator/Animator.h" 13 namespace skottie { namespace 40 } // namespace skottie
|
H A D | SkottieValue.h | 20 namespace skottie { namespace 44 } // namespace skottie
|
H A D | Composition.h | 11 #include "modules/skottie/src/SkottiePriv.h" 14 #include "modules/skottie/src/Layer.h" 18 namespace skottie { namespace 48 } // namespace skottie
|
/third_party/skia/modules/skottie/gm/ |
H A D | SkottieGM.cpp | 11 #include "modules/skottie/include/Skottie.h" 12 #include "modules/skottie/include/SkottieProperty.h" 13 #include "modules/skottie/utils/SkottieUtils.h" 23 static constexpr char kSkottieResource[] = "skottie/skottie_sample_webfont.json"; 56 fAnimation = skottie::Animation::Builder() 86 sk_sp<skottie::Animation> fAnimation; 112 fAnimation = skottie::Animation::Builder() 172 sk_sp<skottie::Animation> fAnimation; 181 DEF_GM(return new SkottieColorizeGM("color", "skottie/skottie_sample_search.json");) 182 DEF_GM(return new SkottieColorizeGM("text" , "skottie/skotti [all...] |
H A D | ExternalProperties.cpp | 11 #include "modules/skottie/include/Skottie.h" 12 #include "modules/skottie/include/SkottieProperty.h" 13 #include "modules/skottie/utils/SkottieUtils.h" 23 static constexpr char kSkottieResource[] = "skottie/skottie_sample_webfont.json"; 57 fAnimation = skottie::Animation::Builder() 131 sk_sp<skottie::Animation> fAnimation;
|
/third_party/skia/modules/skottie/src/text/ |
H A D | TextValue.cpp | 8 #include "modules/skottie/src/text/TextValue.h" 10 #include "modules/skottie/src/SkottieJson.h" 11 #include "modules/skottie/src/SkottiePriv.h" 12 #include "modules/skottie/src/SkottieValue.h" 14 namespace skottie::internal { 114 if (skottie::Parse((*jtxt)[ "vj"], &vj) || in Parse() 115 skottie::Parse((*jtxt)["sk_vj"], &vj)) { // TODO: remove after migrating clients. in Parse() 147 if (!skottie::Parse(*jcolor, &color_vec)) { in Parse() 168 } // namespace skottie::internal
|
H A D | TextValue.h | 11 #include "modules/skottie/include/SkottieProperty.h" 15 namespace skottie { namespace 24 } // namespace skottie
|
/third_party/skia/tools/viewer/ |
H A D | SkottieSlide.h | 14 #include "modules/skottie/include/Skottie.h" 44 sk_sp<skottie::Animation> fAnimation; 45 skottie::Animation::Builder::Stats fAnimationStats;
|
H A D | SkottieSlide.cpp | 17 #include "modules/skottie/include/Skottie.h" 18 #include "modules/skottie/utils/SkottieUtils.h" 79 static void draw_stats_box(SkCanvas* canvas, const skottie::Animation::Builder::Stats& stats) { in draw_stats_box() 119 class Logger final : public skottie::Logger { in load() 126 void log(skottie::Logger::Level lvl, const char message[], const char json[]) override { in load() 127 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in load() 156 flags |= skottie::Animation::Builder::kPreferEmbeddedFonts; in load() 158 skottie::Animation::Builder builder(flags); in load()
|
/third_party/skia/gm/ |
H A D | stringart.cpp | 96 #include "modules/skottie/include/Skottie.h" 107 skottie::Animation* fAnims[N]; 123 SkString onShortName() override { return SkString("skottie"); } 130 // for (;;) skottie::Animation::Make((const char*)data->data(), data->size()); in init() 132 fAnims[i] = skottie::Animation::Make((const char*)data->data(), data->size()).release(); in init()
|
/third_party/skia/bench/ |
H A D | DecodeBench.cpp | 11 #include "modules/skottie/include/Skottie.h" 66 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), 83 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), 98 "skottie/skottie-text-scale-to-fit-minmax.json")); 100 "skottie/skottie-sphere-effect.json")); 102 "skottie/skottie_sample_multiframe.json")); 105 "skottie/skottie [all...] |
/third_party/skia/tools/ |
H A D | skottie2movie.cpp | 15 #include "modules/skottie/include/Skottie.h" 24 static DEFINE_string2(input, i, "", "skottie animation to render"); 33 static void produce_frame(SkSurface* surf, skottie::Animation* anim, double frame) { in produce_frame() 47 CommandLineFlags::SetUsage("Converts skottie to a mp4"); in main() 67 auto animation = skottie::Animation::Builder() in main()
|
/third_party/skia/modules/skottie/src/layers/ |
H A D | NullLayer.cpp | 8 #include "modules/skottie/src/SkottiePriv.h" 12 namespace skottie { namespace 23 } // namespace skottie
|
/third_party/skia/modules/skottie/include/ |
H A D | ExternalLayer.h | 16 namespace skottie { namespace 54 } // namespace skottie
|
/third_party/skia/modules/skottie/fuzz/ |
H A D | FuzzSkottieJSON.cpp | 10 #include "modules/skottie/include/Skottie.h" 16 auto animation = skottie::Animation::Make(&stream); in FuzzSkottieJSON()
|