Searched refs:canvasHeight (Results 1 – 1 of 1) sorted by relevance
214 int canvasHeight = canvas.getHeight(); in drawContents() local222 if (scaledHeight < canvasHeight) { in drawContents()225 int pad = (canvasHeight - scaledHeight) / 2; in drawContents()229 scale = (float) canvasHeight / photoHeight; in drawContents()232 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()