Home
last modified time | relevance | path

Searched refs:aImg (Results 1 – 6 of 6) sorted by relevance

/external/skqp/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage() local
20 if (nullptr == aImg) { in FuzzAnimatedImage()
31 while (!aImg->isFinished() && escape < 100) { in FuzzAnimatedImage()
32 aImg->draw(s->getCanvas()); in FuzzAnimatedImage()
34 aImg->decodeNextFrame(); in FuzzAnimatedImage()
/external/skia/fuzz/oss_fuzz/
DFuzzAnimatedImage.cpp19 auto aImg = SkAnimatedImage::Make(std::move(codec)); in FuzzAnimatedImage() local
20 if (nullptr == aImg) { in FuzzAnimatedImage()
31 while (!aImg->isFinished() && escape < 100) { in FuzzAnimatedImage()
32 aImg->draw(s->getCanvas()); in FuzzAnimatedImage()
34 aImg->decodeNextFrame(); in FuzzAnimatedImage()
/external/skia/modules/canvaskit/tests/
Dcore.spec.js169 let aImg = CanvasKit.MakeAnimatedImageFromEncoded(fetchedByteBuffers[0]); variable
170 expect(aImg).toBeTruthy();
171 expect(aImg.getRepetitionCount()).toEqual(-1); // infinite loop
172 expect(aImg.width()).toEqual(320);
173 expect(aImg.height()).toEqual(240);
174 expect(aImg.getFrameCount()).toEqual(60);
176 let img = aImg.makeImageAtCurrentFrame();
180 let c = aImg.decodeNextFrame();
182 canvas.drawImageAtCurrentFrame(aImg, 300, 0, null);
184 c = aImg.decodeNextFrame();
[all …]
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts76 img?: Image, aImg?: AnimatedImage, para?: Paragraph,
79 if (!canvas || !paint || !path || !img || !aImg || !para || !skp || !font ||
114 canvas.drawImageAtCurrentFrame(aImg, 0, -43);
115 canvas.drawImageAtCurrentFrame(aImg, 0, -43, paint);
Dindex.d.ts1223 drawImageAtCurrentFrame(aImg: AnimatedImage, left: number, top: number,
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp935 …nction("drawImageAtCurrentFrame", optional_override([](SkCanvas& self, sk_sp<SkAnimatedImage> aImg, in EMSCRIPTEN_BINDINGS()
937 auto img = aImg->getCurrentFrame(); in EMSCRIPTEN_BINDINGS()