/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieTool.cpp | 41 bool handleFrame(const sk_sp<skottie::Animation>& anim, size_t idx) const { in handleFrame() argument 51 return this->saveFrame(anim, &stream); 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() argument 79 canvas->concat(SkMatrix::MakeRectToRect(SkRect::MakeSize(anim->size()), in saveFrame() 84 anim->render(canvas); in saveFrame() 105 bool saveFrame(const sk_sp<skottie::Animation>& anim, SkFILEWStream* stream) const override { in saveFrame() argument 109 canvas->concat(SkMatrix::MakeRectToRect(SkRect::MakeSize(anim->size()), in saveFrame() 112 anim->render(canvas); in saveFrame() 189 auto anim = skottie::Animation::Builder() in main() local [all …]
|
/third_party/skia/bench/ |
D | DecodeBench.cpp | 66 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), in onDraw() local 83 const auto anim = skottie::Animation::Make(reinterpret_cast<const char*>(fData->data()), in onDraw() local 86 anim->seek(0); in onDraw() 87 anim->render(recorder.beginRecording(anim->size().width(), anim->size().height())); in onDraw()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieTool.cpp | 283 auto anim = skottie::Animation::Builder() in main() local 287 if (!anim) { in main() 292 const auto scale_matrix = SkMatrix::RectToRect(SkRect::MakeSize(anim->size()), in main() 299 native_fps = anim->fps(), in main() 300 frame0 = anim->duration() * t0 * native_fps, in main() 301 duration = anim->duration() * (t1 - t0); in main() 339 thread_local static auto* anim = in main() local 347 if (sink && anim) { in main() 348 anim->seekFrame(frame0 + i * fps_scale); in main() 349 anim->render(sink->beginFrame(i)); in main()
|
/third_party/flutter/skia/tools/ |
D | skottie2movie.cpp | 28 static void produce_frame(SkSurface* surf, skottie::Animation* anim, double frame_time) { in produce_frame() argument 29 anim->seekFrameTime(frame_time); in produce_frame() 31 anim->render(surf->getCanvas()); in produce_frame() 34 static void produce_frame(SkSurface* surf, SkSurface* tmp, skottie::Animation* anim, in produce_frame() argument 50 produce_frame(tmp, anim, t); in produce_frame()
|
/third_party/skia/modules/skottie/tests/ |
D | Expression.cpp | 249 auto anim = Animation::Builder() in DEF_TEST() local 254 REPORTER_ASSERT(r, anim); in DEF_TEST() 256 anim->seekFrameTime(0); in DEF_TEST() 349 auto anim = Animation::Builder() in DEF_TEST() local 354 REPORTER_ASSERT(r, anim); in DEF_TEST() 356 anim->seekFrameTime(0); in DEF_TEST()
|
D | Image.cpp | 104 auto anim = Animation::Builder() in DEF_TEST() local 108 REPORTER_ASSERT(r, anim); in DEF_TEST() 119 anim->seekFrameTime(tst.t); in DEF_TEST() 120 anim->render(surf->getCanvas(), &rect); in DEF_TEST()
|
D | Text.cpp | 108 auto anim = Animation::Builder() in DEF_TEST() local 112 REPORTER_ASSERT(r, anim); in DEF_TEST() 216 auto anim = Animation::Builder() in DEF_TEST() local 221 REPORTER_ASSERT(r, anim); in DEF_TEST()
|
/third_party/flutter/skia/gm/ |
D | stringart.cpp | 116 for (auto anim : fAnims) { 117 SkSafeUnref(anim); 152 for (auto anim : fAnims) { 153 anim->seek(time);
|
/third_party/skia/gm/ |
D | stringart.cpp | 116 for (auto anim : fAnims) { 117 SkSafeUnref(anim); 152 for (auto anim : fAnims) { 153 anim->seek(time);
|
/third_party/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
D | SkottieActivity.java | 262 for (SkottieView anim : mAnimations) { in onClick() 263 anim.play(); in onClick() 267 for (SkottieView anim : mAnimations) { in onClick() 268 anim.pause(); in onClick() 272 for (SkottieView anim : mAnimations) { in onClick() 273 anim.seek(0f); in onClick()
|
/third_party/skia/modules/skottie/utils/ |
D | SkottieUtils.cpp | 205 ExternalAnimationLayer(sk_sp<skottie::Animation> anim, const SkSize& size) in ExternalAnimationLayer() argument 206 : fAnimation(std::move(anim)) in ExternalAnimationLayer() 242 auto anim = skottie::Animation::Builder() in onLoadPrecomp() local 246 return anim ? sk_make_sp<ExternalAnimationLayer>(std::move(anim), size) in onLoadPrecomp()
|
/third_party/skia/tools/ |
D | skottie2movie.cpp | 33 static void produce_frame(SkSurface* surf, skottie::Animation* anim, double frame) { in produce_frame() argument 34 anim->seekFrame(frame); in produce_frame() 36 anim->render(surf->getCanvas()); in produce_frame()
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGScene.cpp | 52 for (const auto& anim : fAnimators) { in animate() local 53 anim->tick(t); in animate()
|
/third_party/flutter/skia/modules/canvaskit/ |
D | skottie.js | 43 var anim = CanvasKit._MakeManagedAnimation(json, assetKeys.length, namesPtr, 52 return anim;
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 691 const anim = CK.MakeAnimation('some json'); // $ExpectType SkottieAnimation constant 692 const a = anim.duration(); // $ExpectType number 693 const b = anim.fps(); // $ExpectType number 694 const c = anim.version(); // $ExpectType string 695 const d = anim.size(); // $ExpectType Float32Array 696 anim.size(d); 697 const rect = anim.seek(0.5); 698 anim.seek(0.6, rect); 699 const rect2 = anim.seekFrame(12.3); 700 anim.seekFrame(12.3, rect2); [all …]
|
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/ |
D | gstgdkanimation.c | 38 static void gst_gdk_animation_get_size (GdkPixbufAnimation * anim, gint * width, 41 anim, const GTimeVal * start_time); 140 gst_gdk_animation_get_size (GdkPixbufAnimation * anim, gint * width, in gst_gdk_animation_get_size() argument 143 GstGdkAnimation *ani = GST_GDK_ANIMATION (anim); in gst_gdk_animation_get_size() 439 gst_gdk_animation_get_iter (GdkPixbufAnimation * anim, in gst_gdk_animation_get_iter() argument 442 GstGdkAnimation *ani = GST_GDK_ANIMATION (anim); in gst_gdk_animation_get_iter()
|
/third_party/flutter/skia/modules/skottie/gm/ |
D | 3dgm.cpp | 90 skottie::Animation* anim) { in draw_skia() argument 91 auto proc = [canvas, vp, anim](SkColor c, const SkMatrix44& m4) { in draw_skia() 97 anim->render(canvas, &r); in draw_skia()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/rbnf/ |
D | fil.txt | 22 "6: anim na;", 40 "6: anim;",
|
/third_party/icu/icu4c/source/data/rbnf/ |
D | fil.txt | 23 "6: anim na;", 41 "6: anim;",
|
/third_party/skia/third_party/externals/icu/source/data/rbnf/ |
D | fil.txt | 23 "6: anim na;", 41 "6: anim;",
|
/third_party/skia/experimental/skottiekit/ |
D | interface.js | 104 var anim = SkottieKit._MakeManagedAnimation(json, assetKeys.length, namesPtr, 112 return anim;
|
/third_party/skia/modules/canvaskit/ |
D | skottie.js | 59 var anim = CanvasKit._MakeManagedAnimation(json, assetKeys.length, namesPtr, 68 return anim;
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | muxread.c | 505 WebPData anim; in WebPMuxGetAnimationParams() local 510 err = MuxGet(mux, IDX_ANIM, 1, &anim); in WebPMuxGetAnimationParams() 512 if (anim.size < kChunks[WEBP_CHUNK_ANIM].size) return WEBP_MUX_BAD_DATA; in WebPMuxGetAnimationParams() 513 params->bgcolor = GetLE32(anim.bytes); in WebPMuxGetAnimationParams() 514 params->loop_count = GetLE16(anim.bytes + 4); in WebPMuxGetAnimationParams()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxread.c | 501 WebPData anim; in WebPMuxGetAnimationParams() local 506 err = MuxGet(mux, IDX_ANIM, 1, &anim); in WebPMuxGetAnimationParams() 508 if (anim.size < kChunks[WEBP_CHUNK_ANIM].size) return WEBP_MUX_BAD_DATA; in WebPMuxGetAnimationParams() 509 params->bgcolor = GetLE32(anim.bytes); in WebPMuxGetAnimationParams() 510 params->loop_count = GetLE16(anim.bytes + 4); in WebPMuxGetAnimationParams()
|
/third_party/skia/modules/skottie/src/layers/ |
D | PrecompLayer.cpp | 67 for (const auto& anim : fAnimators) { in onSeek() local 68 changed |= anim->seek(t); in onSeek()
|