Home
last modified time | relevance | path

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

/external/skia/modules/canvaskit/tests/
Dutil.js3 const CANVAS_HEIGHT = 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.js6 const CANVAS_HEIGHT = 600;
255 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
260 realCanvas.height = CANVAS_HEIGHT;
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);
797 realCanvas.height = CANVAS_HEIGHT;
Dfont.spec.js5 const CANVAS_HEIGHT = 600;
Dpath.spec.js5 const CANVAS_HEIGHT = 600;
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js24 const CANVAS_HEIGHT = 600;
273 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
278 realCanvas.height = CANVAS_HEIGHT;
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);
815 realCanvas.height = CANVAS_HEIGHT;
Dpath.spec.js24 const CANVAS_HEIGHT = 600;
41 let pixels = surface.getCanvas().readPixels(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT);
43 var imageData = new ImageData(pixels, CANVAS_WIDTH, CANVAS_HEIGHT);