Home
last modified time | relevance | path

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

12345678910

/external/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 …]
/external/skqp/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 …]
/external/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 …]
/external/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()
66 class CustomPropertyManager::MarkerInterceptor final : public skottie::MarkerObserver {
97 sk_sp<skottie::PropertyObserver> CustomPropertyManager::getPropertyObserver() const { in getPropertyObserver()
101 sk_sp<skottie::MarkerObserver> CustomPropertyManager::getMarkerObserver() const { in getMarkerObserver()
147 skottie::ColorPropertyValue CustomPropertyManager::getColor(const PropKey& key) const { in getColor()
[all …]
/external/skqp/modules/skottie/utils/
DSkottieUtils.h12 #include "Skottie.h"
28 class MultiFrameImageAsset final : public skottie::ImageAsset {
41 using INHERITED = skottie::ImageAsset;
44 class FileResourceProvider final : public skottie::ResourceProvider {
50 sk_sp<skottie::ImageAsset> loadImageAsset(const char[], const char []) const override;
57 using INHERITED = skottie::ResourceProvider;
80 skottie::ColorPropertyValue getColor(const PropKey&) const;
81 bool setColor(const PropKey&, const skottie::ColorPropertyValue&);
84 skottie::OpacityPropertyValue getOpacity(const PropKey&) const;
85 bool setOpacity(const PropKey&, const skottie::OpacityPropertyValue&);
[all …]
DSkottieUtils.cpp58 sk_sp<skottie::ImageAsset> FileResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset()
63 class CustomPropertyManager::PropertyInterceptor final : public skottie::PropertyObserver {
68 const LazyHandle<skottie::ColorPropertyHandle>& c) override { in onColorProperty()
76 const LazyHandle<skottie::OpacityPropertyHandle>& o) override { in onOpacityProperty()
84 const LazyHandle<skottie::TransformPropertyHandle>& t) override { in onTransformProperty()
95 class CustomPropertyManager::MarkerInterceptor final : public skottie::MarkerObserver {
116 sk_sp<skottie::PropertyObserver> CustomPropertyManager::getPropertyObserver() const { in getPropertyObserver()
120 sk_sp<skottie::MarkerObserver> CustomPropertyManager::getMarkerObserver() const { in getMarkerObserver()
166 skottie::ColorPropertyValue CustomPropertyManager::getColor(const PropKey& key) const { in getColor()
167 return this->get<skottie::ColorPropertyValue>(key, fColorMap); in getColor()
[all …]
/external/skqp/experimental/canvaskit/
Dskottie_bindings.cpp11 #include "Skottie.h"
33 auto animation = skottie::Animation::Builder() in Make()
43 // skottie::Animation API
99 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
104 sk_sp<skottie::Animation> fAnimation;
111 EMSCRIPTEN_BINDINGS(Skottie) { in EMSCRIPTEN_BINDINGS() argument
113 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
114 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
115 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
118 .function("size", &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
[all …]
Dcompile.sh56 modules/skottie/src/Skottie.cpp \
57 modules/skottie/src/SkottieAdapter.cpp \
58 modules/skottie/src/SkottieAnimator.cpp \
59 modules/skottie/src/SkottieJson.cpp \
60 modules/skottie/src/SkottieLayer.cpp \
61 modules/skottie/src/SkottieLayerEffect.cpp \
62 modules/skottie/src/SkottiePrecompLayer.cpp \
63 modules/skottie/src/SkottieProperty.cpp \
64 modules/skottie/src/SkottieShapeLayer.cpp \
65 modules/skottie/src/SkottieTextLayer.cpp \
[all …]
/external/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()
/external/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 …]
/external/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 …]
/external/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>
/external/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 …]
/external/skia/
DAndroid.bp94 "modules/skottie/include/",
1930 "modules/skottie/include/",
1931 "modules/skottie/utils/",
2366 "modules/skottie/gm/ExternalProperties.cpp",
2367 "modules/skottie/gm/SkottieGM.cpp",
2368 "modules/skottie/src/Camera.cpp",
2369 "modules/skottie/src/Composition.cpp",
2370 "modules/skottie/src/Layer.cpp",
2371 "modules/skottie/src/Path.cpp",
2372 "modules/skottie/src/Skottie.cpp",
[all …]
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
Dnative-lib.cpp25 #include <Skottie.h>
78 SkottieRunner* skottie = new SkottieRunner(); in Java_org_skia_skottie_SkottieRunner_nCreateProxy() local
79 skottie->mGrContext = grContext; in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
81 return (jlong) skottie; in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
90 SkottieRunner* skottie = reinterpret_cast<SkottieRunner*>(nativeProxy); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy() local
91 if (skottie->mGrContext) { in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
92 skottie->mGrContext->releaseResourcesAndAbandonContext(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
93 skottie->mGrContext.reset(); in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
95 delete skottie; in Java_org_skia_skottie_SkottieRunner_nDeleteProxy()
101 sk_sp<skottie::Animation> mAnimation;
[all …]
/external/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.
/external/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 …]
/external/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
DOffsetPaths.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::internal { namespace
68 } // namespace skottie::internal
/external/skia/modules/skottie/
DBUILD.gn14 skia_component("skottie") {
16 import("skottie.gni")
42 ":skottie",
64 ":skottie",
94 public_deps = [ ":skottie" ]
111 ":skottie",
130 ":skottie",
140 group("skottie") {
/external/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