Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java165 int iwidth = mOverlayIcon.getIntrinsicWidth(); in updateOverlayIconBounds() local
169 float scaleWidth = ((float) vwidth) / (iwidth * OVERLAY_ICON_SIZE_DENOMINATOR); in updateOverlayIconBounds()
171 mOverlayIcon.setBounds((vwidth - iwidth) / 2, in updateOverlayIconBounds()
173 (vwidth + iwidth) / 2, in updateOverlayIconBounds()
177 mOverlayIcon.setBounds((int) (vwidth - scale * iwidth) / 2, in updateOverlayIconBounds()
179 (int) (vwidth + scale * iwidth) / 2, in updateOverlayIconBounds()