Home
last modified time | relevance | path

Searched full:skottie (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/third_party/skia/bench/
DDecodeBench.cpp11 #include "modules/skottie/include/Skottie.h"
66 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), in onDraw()
83 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), in onDraw()
98 "skottie/skottie-text-scale-to-fit-minmax.json"));
100 "skottie/skottie-sphere-effect.json"));
102 "skottie/skottie_sample_multiframe.json"));
105 "skottie/skottie-phonehub-connecting.json"));
107 "skottie/skottie-phonehub-generic-error.json"));
109 "skottie/skottie-phonehub-onboard.json"));
113 "skottie/skottie-phonehub-svgo-connecting.json"));
[all …]
/third_party/skia/site/docs/user/modules/
Dskottie.md2 title: 'Skottie - Lottie Animation Player'
3 linkTitle: 'Skottie - Lottie Animation Player'
23 <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…
[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/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/skia/modules/skottie/utils/
DSkottieUtils.h11 #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::TextPropertyValue getText(const PropKey&) const;
[all …]
DSkottieUtils.cpp8 #include "modules/skottie/utils/SkottieUtils.h"
12 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()
[all …]
/third_party/flutter/skia/modules/skottie/utils/
DSkottieUtils.h14 #include "modules/skottie/include/Skottie.h"
15 #include "modules/skottie/include/SkottieProperty.h"
28 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;
[all …]
DSkottieUtils.cpp8 #include "modules/skottie/utils/SkottieUtils.h"
95 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()
[all …]
/third_party/flutter/skia/modules/canvaskit/
Dskottie_bindings.cpp12 #include "modules/skottie/include/Skottie.h"
24 #include "modules/skottie/include/SkottieProperty.h"
25 #include "modules/skottie/utils/SkottieUtils.h"
33 class SkottieAssetProvider : public skottie::ResourceProvider {
51 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
54 // For CK/Skottie we ignore paths & IDs, and identify images based solely on name. in loadImageAsset()
88 auto animation = skottie::Animation::Builder() in Make()
101 // skottie::Animation API
162 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
167 sk_sp<skottie::Animation> fAnimation;
[all …]
/third_party/skia/modules/skottie/tests/
DAudioLayer.cpp8 #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->seekFrame(80); in DEF_TEST()
131 skottie->seekFrame(100); in DEF_TEST()
/third_party/skia/modules/skottie/gm/
DSkottieGM.cpp11 #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() in onOnceBeforeDraw()
86 sk_sp<skottie::Animation> fAnimation;
112 fAnimation = skottie::Animation::Builder() in onOnceBeforeDraw()
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/skottie-text-animator-5.json");)
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/cpp/
Dnative-lib.cpp25 #include "modules/skottie/include/Skottie.h"
32 #include "platform_tools/android/apps/skottie/src/main/cpp/JavaInputStreamAdaptor.h"
77 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()
[all …]
/third_party/skia/modules/canvaskit/
Dskottie_bindings.cpp12 #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 */, in loadImageAsset()
65 // For CK/Skottie we ignore paths & IDs, and identify images based solely on name. 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()
176 // skottie::Animation API
[all …]
/third_party/skia/platform_tools/android/apps/skottie/src/main/res/layout/
Ddemo_layout.xml25 <org.skia.skottie.SkottieView
31 </org.skia.skottie.SkottieView>
32 <org.skia.skottie.SkottieView
38 </org.skia.skottie.SkottieView>
39 <org.skia.skottie.SkottieView
46 </org.skia.skottie.SkottieView>
47 <org.skia.skottie.SkottieView
54 </org.skia.skottie.SkottieView>
/third_party/skia/platform_tools/android/apps/skottie/
Dskottie_metric.proto9 // perf data which is specific to the Skottie player. Skottie app has an additional
11 // 'org.skia.skottie' process only.
16 // Number of times the Skottie GL thread rendered a frame and max/min/avg time for Skottie GL
31 // Skottie players.
32 // Skottie metric is a sum of the time on RenderThread and SkottieAnimator threads, while Lottie
50 // This one number is the "ultimate" benchmark to compare airbnb lottie vs skottie player.
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRoundCorners.cpp8 #include "modules/skottie/src/Adapter.h"
9 #include "modules/skottie/src/SkottieJson.h"
10 #include "modules/skottie/src/SkottiePriv.h"
11 #include "modules/skottie/src/SkottieValue.h"
12 #include "modules/skottie/src/layers/shapelayer/ShapeLayer.h"
15 namespace skottie { namespace
58 } // namespace skottie
DEllipse.cpp9 #include "modules/skottie/src/Adapter.h"
10 #include "modules/skottie/src/SkottieJson.h"
11 #include "modules/skottie/src/SkottiePriv.h"
12 #include "modules/skottie/src/SkottieValue.h"
13 #include "modules/skottie/src/layers/shapelayer/ShapeLayer.h"
16 namespace skottie { namespace
55 } // namespace skottie
DRectangle.cpp9 #include "modules/skottie/src/Adapter.h"
10 #include "modules/skottie/src/SkottieJson.h"
11 #include "modules/skottie/src/SkottiePriv.h"
12 #include "modules/skottie/src/SkottieValue.h"
13 #include "modules/skottie/src/layers/shapelayer/ShapeLayer.h"
16 namespace skottie { namespace
57 } // namespace skottie
DMergePaths.cpp8 #include "modules/skottie/src/Adapter.h"
9 #include "modules/skottie/src/SkottieJson.h"
10 #include "modules/skottie/src/SkottiePriv.h"
11 #include "modules/skottie/src/SkottieValue.h"
12 #include "modules/skottie/src/layers/shapelayer/ShapeLayer.h"
14 namespace skottie { namespace
51 } // namespace skottie
/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp13 #include "modules/skottie/include/Skottie.h"
14 #include "modules/skottie/include/SkottieProperty.h"
15 #include "modules/skottie/src/text/SkottieShaper.h"
25 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()
[all …]
/third_party/skia/experimental/skottiekit/
Dskottiekit_bindings.cpp17 #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 */, in loadImageAsset()
76 // For CK/Skottie we ignore paths & IDs, and identify images based solely on name. in loadImageAsset()
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;
[all …]
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/
Dnative-lib.cpp25 #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::Animation> mAnimation;
[all …]
/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/modules/skottie/src/
DPath.cpp8 #include "modules/skottie/src/Adapter.h"
9 #include "modules/skottie/src/SkottieJson.h"
10 #include "modules/skottie/src/SkottiePriv.h"
11 #include "modules/skottie/src/SkottieValue.h"
14 namespace skottie { namespace
51 } // namespace skottie

12345678910>>...12