Home
last modified time | relevance | path

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

/external/skia/modules/canvaskit/tests/
Dutil.js2 const CANVAS_WIDTH = 600; constant
10 let pixels = surface.getCanvas().readPixels(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
12 const imageData = new ImageData(pixels, CANVAS_WIDTH, CANVAS_HEIGHT);
Dcanvas2d.spec.js5 const CANVAS_WIDTH = 600;
255 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
259 realCanvas.width = CANVAS_WIDTH;
582 let grad = ctx.createLinearGradient(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
586 ctx.fillRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
630 ctx.fillRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
794 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
796 realCanvas.width = CANVAS_WIDTH;
Dfont.spec.js4 const CANVAS_WIDTH = 600;
Dpath.spec.js4 const CANVAS_WIDTH = 600;
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js23 const CANVAS_WIDTH = 600;
273 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
277 realCanvas.width = CANVAS_WIDTH;
600 let grad = ctx.createLinearGradient(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
604 ctx.fillRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
648 ctx.fillRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
812 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
814 realCanvas.width = CANVAS_WIDTH;
Dpath.spec.js23 const CANVAS_WIDTH = 600;
41 let pixels = surface.getCanvas().readPixels(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
43 var imageData = new ImageData(pixels, CANVAS_WIDTH, CANVAS_HEIGHT);