Home
last modified time | relevance | path

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

12345

/external/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 …]
/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/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/skia/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/canvaskit/
Dskottie_bindings.cpp13 #include "Skottie.h"
32 class SkottieAssetProvider : public skottie::ResourceProvider {
50 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
52 // For CK/Skottie we ignore paths and identify images based solely on name. in loadImageAsset()
86 auto animation = skottie::Animation::Builder() in Make()
99 // skottie::Animation API
155 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
160 sk_sp<skottie::Animation> fAnimation;
167 EMSCRIPTEN_BINDINGS(Skottie) { in EMSCRIPTEN_BINDINGS() argument
169 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
[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/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/modules/skottie/
DBUILD.gn19 component("skottie") {
21 import("skottie.gni")
48 ":skottie",
68 ":skottie",
99 ":skottie",
118 ":skottie",
136 ":skottie",
/external/skqp/modules/skottie/
DBUILD.gn17 source_set("skottie") {
19 import("skottie.gni")
45 ":skottie",
64 ":skottie",
95 ":skottie",
114 ":skottie",
132 ":skottie",
/external/skia/modules/skottie/src/
DSkottieTool.cpp14 #include "Skottie.h"
41 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()
DSkottieTest.cpp9 #include "Skottie.h"
18 using namespace skottie;
87 skottie::TransformPropertyValue transform; in DEF_TEST()
118 auto animation = skottie::Animation::Builder() in DEF_TEST()
139 REPORTER_ASSERT(reporter, transforms[0].transform == skottie::TransformPropertyValue({ in DEF_TEST()
148 REPORTER_ASSERT(reporter, transforms[1].transform == skottie::TransformPropertyValue({ in DEF_TEST()
206 auto animation = skottie::Animation::Builder() in DEF_TEST()
/external/skqp/modules/skottie/src/
DSkottieTool.cpp14 #include "Skottie.h"
41 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()
DSkottieTest.cpp9 #include "Skottie.h"
18 using namespace skottie;
87 skottie::TransformPropertyValue transform; in DEF_TEST()
118 auto animation = skottie::Animation::Builder() in DEF_TEST()
139 REPORTER_ASSERT(reporter, transforms[0].transform == skottie::TransformPropertyValue({ in DEF_TEST()
148 REPORTER_ASSERT(reporter, transforms[1].transform == skottie::TransformPropertyValue({ in DEF_TEST()
206 auto animation = skottie::Animation::Builder() in DEF_TEST()
/external/skia/modules/skottie/gm/
DSkottieGM.cpp14 #include "Skottie.h"
21 using namespace skottie;
26 static constexpr char kSkottieResource[] = "skottie/skottie_sample_webfont.json";
108 if (auto stream = GetResourceAsStream("skottie/skottie_sample_search.json")) { in onOnceBeforeDraw()
183 if (auto stream = GetResourceAsStream("skottie/skottie_sample_multiframe.json")) { in onOnceBeforeDraw()
212 class MultiFrameResourceProvider final : public skottie::ResourceProvider {
/external/skqp/modules/skottie/gm/
DSkottieGM.cpp14 #include "Skottie.h"
21 using namespace skottie;
26 static constexpr char kSkottieResource[] = "skottie/skottie_sample_webfont.json";
106 if (auto stream = GetResourceAsStream("skottie/skottie_sample_search.json")) { in onOnceBeforeDraw()
179 if (auto stream = GetResourceAsStream("skottie/skottie_sample_multiframe.json")) { in onOnceBeforeDraw()
206 class MultiFrameResourceProvider final : public skottie::ResourceProvider {
/external/skia/tools/viewer/
DSkottieSlide.cpp16 #include "Skottie.h"
21 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()
DSkottieSlide.h14 #include "Skottie.h"
36 sk_sp<skottie::Animation> fAnimation;
37 skottie::Animation::Builder::Stats fAnimationStats;
/external/skqp/tools/viewer/
DSkottieSlide.cpp16 #include "Skottie.h"
21 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()
DSkottieSlide.h14 #include "Skottie.h"
36 sk_sp<skottie::Animation> fAnimation;
37 skottie::Animation::Builder::Stats fAnimationStats;
/external/skia/gm/
Dstringart.cpp90 #include "Skottie.h"
101 skottie::Animation* fAnims[N];
117 SkString onShortName() override { return SkString("skottie"); }
124 // for (;;) skottie::Animation::Make((const char*)data->data(), data->size());
126 fAnims[i] = skottie::Animation::Make((const char*)data->data(), data->size()).release();
/external/skqp/gm/
Dstringart.cpp90 #include "Skottie.h"
101 skottie::Animation* fAnims[N];
117 SkString onShortName() override { return SkString("skottie"); }
124 // for (;;) skottie::Animation::Make((const char*)data->data(), data->size());
126 fAnims[i] = skottie::Animation::Make((const char*)data->data(), data->size()).release();

12345