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

  /packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java 50 int vwidth = getWidth() - mPaddingLeft - mPaddingRight; local
55 if (dwidth * vheight > vwidth * dheight) {
57 dx = (vwidth - dwidth * scale) * 0.5f;
59 scale = (float) vwidth / (float) dwidth;
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 124 float vwidth = getWidth(); local
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(); local
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
    [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;
  /frameworks/base/core/java/android/widget/
ImageView.java 920 int vwidth = getWidth() - mPaddingLeft - mPaddingRight; local
923 boolean fits = (dwidth < 0 || vwidth == dwidth) &&
930 mDrawable.setBounds(0, 0, vwidth, vheight);
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 718 final int vwidth = getWidth(); local
721 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
749 final int vwidth = mAllowCrop ? sCropSize : getWidth(); local
752 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
763 mTempDst.set(0, 0, vwidth, vheight);
766 (vwidth / 2) - (dwidth * mMaxInitialScaleFactor / 2),
768 (vwidth / 2) + (dwidth * mMaxInitialScaleFactor / 2),
783 final int vwidth = mAllowCrop ? getCropSize() : getWidth(); local
786 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 158 milliseconds