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

  /packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java 54 int vheight = getHeight() - mPaddingTop - mPaddingBottom; local
58 if (dwidth * vheight > vwidth * dheight) {
59 scale = (float) vheight / (float) dheight;
63 dy = (vheight - dheight * scale) * 0.5f;
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 123 float vheight = getHeight(); local
134 if (dwidth <= vwidth && dheight <= vheight) {
137 scale = Math.min(vwidth / dwidth, vheight / dheight);
148 (vheight - dheight * scale) * 0.5f);
151 mDrawMatrix.postRotate(mLastRotationDegrees, vwidth / 2, vheight / 2);
161 int vheight = getHeight(); local
163 float scale_height = ((float) vheight) / (iheight * OVERLAY_ICON_SIZE_DENOMINATOR);
167 (vheight - iheight) / 2,
169 (vheight + iheight) / 2);
173 (int) (vheight - scale * iheight) / 2
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java 133 int vheight = mBounds.height(); local
136 if (dwidth * vheight > vwidth * dheight) {
137 scale = (float) vheight / (float) dheight;
141 dy = (vheight - dheight * scale) * 0.5f;
157 int vheight = mBounds.height(); local
160 if (dwidth * vheight > vwidth * dheight) {
161 scale = (float) dheight / (float) vheight;
  /packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java 112 int vheight = bounds.height(); local
115 if (dwidth * vheight > vwidth * dheight) {
116 scale = (float) vheight / (float) dheight;
120 dy = (vheight - dheight * scale) * 0.5f;
  /frameworks/base/core/java/android/widget/
ImageView.java 921 int vheight = getHeight() - mPaddingTop - mPaddingBottom; local
924 (dheight < 0 || vheight == dheight);
930 mDrawable.setBounds(0, 0, vwidth, vheight);
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 719 final int vheight = getHeight(); local
722 (dheight < 0 || vheight == dheight);
750 final int vheight = mAllowCrop ? sCropSize : getHeight(); local
753 (dheight < 0 || vheight == dheight);
763 mTempDst.set(0, 0, vwidth, vheight);
767 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2),
769 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2));
784 final int vheight = mAllowCrop ? getCropSize() : getHeight(); local
786 if (dwidth < vwidth && dheight < vheight && !mAllowCrop) {
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 1278 int vheight = v.getHeight(); local
    [all...]

Completed in 76 milliseconds