Home | History | Annotate | Download | only in ui

Lines Matching refs:vwidth

124         float vwidth = getWidth();
134 if (dwidth <= vwidth && dheight <= vheight) {
137 scale = Math.min(vwidth / dwidth, vheight / dheight);
147 mDrawMatrix.postTranslate((vwidth - dwidth * scale) * 0.5f,
151 mDrawMatrix.postRotate(mLastRotationDegrees, vwidth / 2, vheight / 2);
162 int vwidth = getWidth();
164 float scale_width = ((float) vwidth) / (iwidth * OVERLAY_ICON_SIZE_DENOMINATOR);
166 mOverlayIcon.setBounds((vwidth - iwidth) / 2,
168 (vwidth + iwidth) / 2,
172 mOverlayIcon.setBounds((int) (vwidth - scale * iwidth) / 2,
174 (int) (vwidth + scale * iwidth) / 2,