Searched refs:dwidth (Results 1 – 1 of 1) sorted by relevance
47 int dwidth = getDrawable().getIntrinsicWidth(); in onDraw() local55 if (dwidth * vheight > vwidth * dheight) { in onDraw()57 dx = (vwidth - dwidth * scale) * 0.5f; in onDraw()59 scale = (float) vwidth / (float) dwidth; in onDraw()