Searched refs:canvasHeight (Results 1 – 1 of 1) sorted by relevance
190 int canvasHeight = canvas.getHeight(); in drawContents() local198 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()