HomeSort by relevance Sort by last modified time
    Searched refs:vwidth (Results 1 - 8 of 8) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 129 float vwidth = getWidth(); local
139 if (dwidth <= vwidth && dheight <= vheight) {
142 scale = Math.min(vwidth / dwidth, vheight / dheight);
152 mDrawMatrix.postTranslate((vwidth - dwidth * scale) * 0.5f,
156 mDrawMatrix.postRotate(mLastRotationDegrees, vwidth / 2, vheight / 2);
167 int vwidth = getWidth(); local
169 float scaleWidth = ((float) vwidth) / (iwidth * OVERLAY_ICON_SIZE_DENOMINATOR);
171 mOverlayIcon.setBounds((vwidth - iwidth) / 2,
173 (vwidth + iwidth) / 2,
177 mOverlayIcon.setBounds((int) (vwidth - scale * iwidth) / 2
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java 132 int vwidth = mBounds.width(); local
136 if (dwidth * vheight > vwidth * dheight) {
138 dx = (vwidth - dwidth * scale) * 0.5f;
140 scale = (float) vwidth / (float) dwidth;
156 int vwidth = mBounds.width(); local
160 if (dwidth * vheight > vwidth * dheight) {
163 scale = (float) dwidth / (float) vwidth;
  /packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java 111 int vwidth = bounds.width(); local
115 if (dwidth * vheight > vwidth * dheight) {
117 dx = (vwidth - dwidth * scale) * 0.5f;
119 scale = (float) vwidth / (float) dwidth;
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 339 final int vwidth = canvas.getWidth(); local
346 if (dwidth < vwidth || dheight < vheight) {
347 scale = Math.max((float) vwidth / (float) dwidth,
351 float dx = (vwidth - dwidth * scale) * 0.5f + 0.5f;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LockscreenWallpaper.java 238 int vwidth = getBounds().width(); local
245 if (dwidth * vheight > vwidth * dheight) {
248 scale = (float) vwidth / (float) dwidth;
  /frameworks/base/core/java/android/widget/
ImageView.java 1141 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; local
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 808 final int vwidth = getWidth(); local
811 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
839 final int vwidth = mAllowCrop ? sCropSize : getWidth(); local
842 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
853 mTempDst.set(0, 0, vwidth, vheight);
856 (vwidth / 2) - (dwidth * mMaxInitialScaleFactor / 2),
858 (vwidth / 2) + (dwidth * mMaxInitialScaleFactor / 2),
873 final int vwidth = mAllowCrop ? getCropSize() : getWidth(); local
876 if (dwidth < vwidth && dheight < vheight && !mAllowCrop) {
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 1277 int vwidth = v.getWidth(); local
    [all...]

Completed in 208 milliseconds