Home
last modified time | relevance | path

Searched refs:skottie (Results 1 – 25 of 221) sorted by relevance

123456789

/third_party/skia/site/docs/user/modules/
Dskottie.md23 <a href="https://skottie.skia.org/e6741dda67629da1f80c254dad3df865">
24 …<skottie-inline-sk src="https://skottie.skia.org/_/j/e6741dda67629da1f80c254dad3df865" width=200 h…
26 <a href="https://skottie.skia.org/ffea72cf6be48fa061671c124ed7789c">
27 …<skottie-inline-sk src="https://skottie.skia.org/_/j/ffea72cf6be48fa061671c124ed7789c" width=200 h…
29 <a href="https://skottie.skia.org/00e850cdbed7304985eaefe98a4e8a9c">
30 …<skottie-inline-sk src="https://skottie.skia.org/_/j/00e850cdbed7304985eaefe98a4e8a9c" width=200 h…
32 <a href="https://skottie.skia.org/e1aca009d5ebec9bd122b87b018bb673">
33 …<skottie-inline-sk src="https://skottie.skia.org/_/j/e1aca009d5ebec9bd122b87b018bb673" width=200 h…
35 <a href="https://skottie.skia.org/821fd79dd7437b97ba891e7a00970a06">
36 …<skottie-inline-sk src="https://skottie.skia.org/_/j/821fd79dd7437b97ba891e7a00970a06" width=200 h…
[all …]
/third_party/skia/tools/skottie_ios_app/
DBUILD.gn33 "../../resources/skottie/skottie-3d-rotation-order.json",
34 "../../resources/skottie/skottie-camera-parent-3.json",
35 "../../resources/skottie/skottie-gradient-ramp.json",
36 "../../resources/skottie/skottie-linear-wipe-effect.json",
37 "../../resources/skottie/skottie-text-animator-1.json",
38 "../../resources/skottie/skottie-text-animator-2.json",
39 "../../resources/skottie/skottie-text-animator-3.json",
40 "../../resources/skottie/skottie-text-animator-4.json",
41 "../../resources/skottie/skottie-text-animator-5.json",
42 "../../resources/skottie/skottie-text-animator-8.json",
[all …]
/third_party/flutter/skia/site/user/modules/
Dskottie.md20 <a href="https://skottie.skia.org/e6741dda67629da1f80c254dad3df865">
21 …<skottie-inline-sk src="https://skottie.skia.org/_/j/e6741dda67629da1f80c254dad3df865" width=200 h…
23 <a href="https://skottie.skia.org/ffea72cf6be48fa061671c124ed7789c">
24 …<skottie-inline-sk src="https://skottie.skia.org/_/j/ffea72cf6be48fa061671c124ed7789c" width=200 h…
26 <a href="https://skottie.skia.org/00e850cdbed7304985eaefe98a4e8a9c">
27 …<skottie-inline-sk src="https://skottie.skia.org/_/j/00e850cdbed7304985eaefe98a4e8a9c" width=200 h…
29 <a href="https://skottie.skia.org/e1aca009d5ebec9bd122b87b018bb673">
30 …<skottie-inline-sk src="https://skottie.skia.org/_/j/e1aca009d5ebec9bd122b87b018bb673" width=200 h…
32 <a href="https://skottie.skia.org/821fd79dd7437b97ba891e7a00970a06">
33 …<skottie-inline-sk src="https://skottie.skia.org/_/j/821fd79dd7437b97ba891e7a00970a06" width=200 h…
[all …]
/third_party/skia/modules/skottie/utils/
DSkottieUtils.h49 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::TextPropertyValue getText(const PropKey&) const;
62 bool setText(const PropKey&, const skottie::TextPropertyValue&);
71 sk_sp<skottie::PropertyObserver> getPropertyObserver() const;
74 sk_sp<skottie::MarkerObserver> getMarkerObserver() const;
[all …]
DSkottieUtils.cpp12 class CustomPropertyManager::PropertyInterceptor final : public skottie::PropertyObserver {
17 const LazyHandle<skottie::ColorPropertyHandle>& c) override { in onColorProperty()
25 const LazyHandle<skottie::OpacityPropertyHandle>& o) override { in onOpacityProperty()
33 const LazyHandle<skottie::TransformPropertyHandle>& t) override { in onTransformProperty()
41 const LazyHandle<skottie::TextPropertyHandle>& t) override { in onTextProperty()
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::ColorPropertyValue CustomPropertyManager::getColor(const PropKey& key) const { in getColor()
154 return this->get<skottie::ColorPropertyValue>(key, fColorMap); in getColor()
[all …]
/third_party/flutter/skia/modules/skottie/utils/
DSkottieUtils.h28 class MultiFrameImageAsset final : public skottie::ImageAsset {
49 using INHERITED = skottie::ImageAsset;
52 class FileResourceProvider final : public skottie::ResourceProvider {
58 sk_sp<skottie::ImageAsset> loadImageAsset(const char[], const char[],
66 using INHERITED = skottie::ResourceProvider;
89 skottie::ColorPropertyValue getColor(const PropKey&) const;
90 bool setColor(const PropKey&, const skottie::ColorPropertyValue&);
93 skottie::OpacityPropertyValue getOpacity(const PropKey&) const;
94 bool setOpacity(const PropKey&, const skottie::OpacityPropertyValue&);
97 skottie::TransformPropertyValue getTransform(const PropKey&) const;
[all …]
DSkottieUtils.cpp95 sk_sp<skottie::ImageAsset> FileResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset()
101 class CustomPropertyManager::PropertyInterceptor final : public skottie::PropertyObserver {
106 const LazyHandle<skottie::ColorPropertyHandle>& c) override { in onColorProperty()
114 const LazyHandle<skottie::OpacityPropertyHandle>& o) override { in onOpacityProperty()
122 const LazyHandle<skottie::TransformPropertyHandle>& t) override { in onTransformProperty()
133 class CustomPropertyManager::MarkerInterceptor final : public skottie::MarkerObserver {
154 sk_sp<skottie::PropertyObserver> CustomPropertyManager::getPropertyObserver() const { in getPropertyObserver()
158 sk_sp<skottie::MarkerObserver> CustomPropertyManager::getMarkerObserver() const { in getMarkerObserver()
204 skottie::ColorPropertyValue CustomPropertyManager::getColor(const PropKey& key) const { in getColor()
205 return this->get<skottie::ColorPropertyValue>(key, fColorMap); in getColor()
[all …]
/third_party/skia/modules/skottie/tests/
DAudioLayer.cpp12 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->seekFrame(80); in DEF_TEST()
131 skottie->seekFrame(100); in DEF_TEST()
/third_party/flutter/skia/modules/canvaskit/
Dskottie_bindings.cpp33 class SkottieAssetProvider : public skottie::ResourceProvider {
51 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
88 auto animation = skottie::Animation::Builder() in Make()
162 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
167 sk_sp<skottie::Animation> fAnimation;
176 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
177 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
178 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
181 .function("size", &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
182 .function("duration", &skottie::Animation::duration) in EMSCRIPTEN_BINDINGS()
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/cpp/
Dnative-lib.cpp77 SkottieRunner* skottie = new SkottieRunner(); in Java_org_skia_skottie_SkottieRunner_nCreateProxy() local
78 skottie->mGrContext = grContext; in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
80 return (jlong) skottie; in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
89 SkottieRunner* skottie = reinterpret_cast<SkottieRunner*>(nativeProxy); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() local
90 if (skottie->mGrContext) { in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
91 skottie->mGrContext->releaseResourcesAndAbandonContext(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
92 skottie->mGrContext.reset(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
94 delete skottie; in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
100 sk_sp<skottie::Animation> mAnimation;
125 skottieAnimation->mAnimation = skottie::Animation::Make(skottieAnimation->mStream.get()); in Java_org_skia_skottie_SkottieRunner_00024SkottieAnimationImpl_nCreateProxy()
/third_party/flutter/skia/modules/skottie/
DBUILD.gn18 component("skottie") {
20 import("skottie.gni")
45 ":skottie",
61 ":skottie",
91 public_deps = [ ":skottie" ]
107 ":skottie",
126 ":skottie",
136 group("skottie") {
/third_party/skia/modules/skottie/
DBUILD.gn14 skia_component("skottie") {
16 import("skottie.gni")
43 ":skottie",
66 ":skottie",
96 public_deps = [ ":skottie" ]
113 ":skottie",
132 ":skottie",
142 group("skottie") {
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/
Dnative-lib.cpp87 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::Animation> mAnimation;
151 skottieAnimation->mAnimation = skottie::Animation::Make(skottieAnimation->mStream.get()); in Java_org_skia_skottie_SkottieAnimation_nCreateProxy()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp25 using namespace skottie;
134 std::unique_ptr<skottie::ColorPropertyHandle> handle; in DEF_TEST()
139 std::unique_ptr<skottie::OpacityPropertyHandle> handle; in DEF_TEST()
144 std::unique_ptr<skottie::TextPropertyHandle> handle; in DEF_TEST()
149 std::unique_ptr<skottie::TransformPropertyHandle> handle; in DEF_TEST()
233 auto animation = skottie::Animation::Builder() in DEF_TEST()
257 REPORTER_ASSERT(reporter, transforms[0].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
266 REPORTER_ASSERT(reporter, transforms[1].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
278 REPORTER_ASSERT(reporter, texts[0].handle->get() == skottie::TextPropertyValue({ in DEF_TEST()
343 auto animation = skottie::Animation::Builder() in DEF_TEST()
[all …]
DSkottieTool.cpp41 bool handleFrame(const sk_sp<skottie::Animation>& anim, size_t idx) const { in handleFrame()
57 virtual bool saveFrame(const sk_sp<skottie::Animation>& anim, SkFILEWStream*) const = 0;
73 bool saveFrame(const sk_sp<skottie::Animation>& anim, SkFILEWStream* stream) const override { in saveFrame()
105 bool saveFrame(const sk_sp<skottie::Animation>& anim, SkFILEWStream* stream) const override { in saveFrame()
124 class Logger final : public skottie::Logger {
131 void log(skottie::Logger::Level lvl, const char message[], const char json[]) override { in log()
132 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in log()
189 auto anim = skottie::Animation::Builder() in main()
/third_party/skia/modules/canvaskit/
Dskottie_bindings.cpp47 class SkottieAssetProvider : public skottie::ResourceProvider {
62 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
125 class JSLogger final : public skottie::Logger {
152 sk_sp<skottie::ResourceProvider> rp, in Make()
161 auto animation = skottie::Animation::Builder() in Make()
272 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
278 const sk_sp<skottie::Animation> fAnimation;
287 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
288 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
289 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
[all …]
/third_party/skia/experimental/skottiekit/
Dskottiekit_bindings.cpp55 class SkottieAssetProvider : public skottie::ResourceProvider {
73 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
109 sk_sp<skottie::ResourceProvider> rp) { in Make()
111 auto animation = skottie::Animation::Builder() in Make()
192 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
197 sk_sp<skottie::Animation> fAnimation;
354 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
355 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
356 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
359 .function("size" , &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
[all …]
/third_party/skia/platform_tools/android/apps/skottie/
Drun_perf.sh28 adb shell am force-stop org.skia.skottie
29 renderer_names=(lottie_hw lottie_sw skottie)
40 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
50 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
54 adb shell am force-stop org.skia.skottie
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp26 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::TransformPropertyValue({ in DEF_TEST()
294 REPORTER_ASSERT(reporter, transforms[1].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
303 REPORTER_ASSERT(reporter, transforms[2].handle->get() == skottie::TransformPropertyValue({ in DEF_TEST()
315 REPORTER_ASSERT(reporter, texts[0].handle->get() == skottie::TextPropertyValue({ in DEF_TEST()
[all …]
/third_party/skia/modules/skottie/gm/
DSkottieGM.cpp56 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw()
86 sk_sp<skottie::Animation> fAnimation;
112 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw()
172 sk_sp<skottie::Animation> fAnimation;
197 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw()
237 sk_sp<skottie::Animation> fAnimation;
/third_party/flutter/skia/tools/viewer/
DSkottieSlide.cpp21 static void draw_stats_box(SkCanvas* canvas, const skottie::Animation::Builder::Stats& stats) { in draw_stats_box()
61 class Logger final : public skottie::Logger { in load()
68 void log(skottie::Logger::Level lvl, const char message[], const char json[]) override { in load()
69 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in load()
95 skottie::Animation::Builder builder; in load()
/third_party/flutter/skia/
Dpublic.bzl709 return native.glob(["modules/skottie/include/*.h"])
714 "modules/skottie/src/*.cpp",
715 "modules/skottie/src/*.h",
716 "modules/skottie/src/effects/*.cpp",
717 "modules/skottie/src/effects/*.h",
718 "modules/skottie/src/layers/*.cpp",
719 "modules/skottie/src/layers/*.h",
720 "modules/skottie/src/text/*.cpp",
721 "modules/skottie/src/text/*.h",
724 "modules/skottie/src/SkottieTest.cpp",
[all …]
/third_party/skia/platform_tools/android/apps/
Dsettings.gradle3 include ':skottie'
4 include ':skottie:skottielib'
/third_party/skia/
Dpublic.bzl877 return native.glob(["modules/skottie/include/*.h"])
882 "modules/skottie/src/*.cpp",
883 "modules/skottie/src/*.h",
884 "modules/skottie/src/animator/*.cpp",
885 "modules/skottie/src/animator/*.h",
886 "modules/skottie/src/effects/*.cpp",
887 "modules/skottie/src/effects/*.h",
888 "modules/skottie/src/layers/*.cpp",
889 "modules/skottie/src/layers/*.h",
890 "modules/skottie/src/layers/shapelayer/*.cpp",
[all …]
/third_party/skia/modules/skottie/src/text/
DTextValue.cpp14 namespace skottie::internal { namespace
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()

123456789