Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/detail/
DTransformableImageView.java50 int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in onDraw() local
55 if (dwidth * vheight > vwidth * dheight) { in onDraw()
57 dx = (vwidth - dwidth * scale) * 0.5f; in onDraw()
59 scale = (float) vwidth / (float) dwidth; in onDraw()
/packages/apps/Music/src/com/android/music/
DMusicUtils.java1277 int vwidth = v.getWidth(); in setBackground() local
1281 float scalex = (float) vwidth / bwidth; in setBackground()
1286 Bitmap bg = Bitmap.createBitmap(vwidth, vheight, config); in setBackground()
1302 matrix.postTranslate(vwidth/2, vheight/2); // Move bitmap center to view center in setBackground()