Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java55 private Drawable mOverlayIcon; field in MtpImageView
94 if (mShowOverlayIcon && mOverlayIcon == null) { in setMtpDeviceAndObjectInfo()
95 mOverlayIcon = getResources().getDrawable(R.drawable.ic_control_play); in setMtpDeviceAndObjectInfo()
164 int iheight = mOverlayIcon.getIntrinsicHeight(); in updateOverlayIconBounds()
165 int iwidth = mOverlayIcon.getIntrinsicWidth(); in updateOverlayIconBounds()
171 mOverlayIcon.setBounds((vwidth - iwidth) / 2, in updateOverlayIconBounds()
177 mOverlayIcon.setBounds((int) (vwidth - scale * iwidth) / 2, in updateOverlayIconBounds()
190 if (mShowOverlayIcon && changed && mOverlayIcon != null) { in onLayout()
198 if (mShowOverlayIcon && mOverlayIcon != null) { in onDraw()
199 mOverlayIcon.draw(canvas); in onDraw()