Searched refs:canvasWidth (Results 1 – 1 of 1) sorted by relevance
189 int canvasWidth = canvas.getWidth(); in drawContents() local196 float scale = (float) canvasWidth / photoWidth; in drawContents()202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); in drawContents()207 float pad = (canvasWidth - scaledWidth) / 2; in drawContents()