Home
last modified time | relevance | path

Searched refs:canvasHeight (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java190 int canvasHeight = canvas.getHeight(); in drawContents() local
198 if (scaledHeight < canvasHeight) { in drawContents()
201 int pad = (canvasHeight - scaledHeight) / 2; in drawContents()
205 scale = (float) canvasHeight / photoHeight; in drawContents()
208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js609 canvasHeight: 100, property
620 this.options.canvasHeight /= this.options.pixelHeight;
651 var canvasHeight = this.options.canvasHeight;
654 for(var y=0; y < canvasHeight; y++){
656 var yp = y * 1.0 / canvasHeight * 2 - 1;
892 canvasHeight: imageHeight, property