Home
last modified time | relevance | path

Searched refs:anim (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/bench/
DDecodeBench.cpp66 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/
DSkottieTool.cpp283 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()
DSkottie.cpp515 for (const auto& anim : fAnimators) { in seekFrame() local
516 anim->seek(comp_time); in seekFrame()
/third_party/skia/modules/skottie/tests/
DExpression.cpp249 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()
DImage.cpp104 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()
DText.cpp108 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/skia/gm/
Dstringart.cpp116 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/
DSkottieActivity.java262 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/
DSkottieUtils.cpp205 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/
Dskottie2movie.cpp33 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/skia/third_party/externals/icu/source/data/rbnf/
Dfil.txt23 "6: anim na;",
41 "6: anim;",
/third_party/icu/icu4c/source/data/rbnf/
Dfil.txt23 "6: anim na;",
41 "6: anim;",
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts691 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/
Dgstgdkanimation.c38 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/skia/experimental/skottiekit/
Dinterface.js104 var anim = SkottieKit._MakeManagedAnimation(json, assetKeys.length, namesPtr,
112 return anim;
/third_party/skia/modules/canvaskit/
Dskottie.js59 var anim = CanvasKit._MakeManagedAnimation(json, assetKeys.length, namesPtr,
68 return anim;
/third_party/skia/third_party/externals/libwebp/src/mux/
Dmuxread.c501 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()
Dmuxedit.c329 const WebPData anim = { data, ANIM_CHUNK_SIZE }; in WebPMuxSetAnimationParams() local
343 return MuxSet(mux, kChunks[IDX_ANIM].tag, &anim, 1); in WebPMuxSetAnimationParams()
/third_party/skia/modules/skottie/src/layers/
DPrecompLayer.cpp67 for (const auto& anim : fAnimators) { in onSeek() local
68 changed |= anim->seek(t); in onSeek()
/third_party/libuv/test/fixtures/
Dlorem_ipsum.txt1 …int occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
/third_party/skia/samplecode/
DSample3D.cpp479 for (auto& anim : fAnim) { in onAnimate() local
480 SkScalar dur = anim->duration(); in onAnimate()
482 anim->seek(t); in onAnimate()
/third_party/pcre2/pcre2/testdata/
Dgrepinput34 …int occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
/third_party/skia/tools/viewer/
DSlideDir.cpp374 for (const auto& anim : fSceneAnimators) { in animate() local
375 anim->tick(t); in animate()
/third_party/curl/tests/data/
Dtest97024 …sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Dtest97224 …sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

12