HomeSort by relevance Sort by last modified time
    Searched refs:vheight (Results 1 - 9 of 9) 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 128 float vheight = getHeight(); local
139 if (dwidth <= vwidth && dheight <= vheight) {
142 scale = Math.min(vwidth / dwidth, vheight / dheight);
153 (vheight - dheight * scale) * 0.5f);
156 mDrawMatrix.postRotate(mLastRotationDegrees, vwidth / 2, vheight / 2);
166 int vheight = getHeight(); local
168 float scaleHeight = ((float) vheight) / (iheight * OVERLAY_ICON_SIZE_DENOMINATOR);
172 (vheight - iheight) / 2,
174 (vheight + iheight) / 2);
178 (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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
UserAvatarView.java 135 int vheight = getHeight() - mPaddingTop - mPaddingBottom; local
144 vheight -= 2 * (mFrameWidth - 1);
146 dheight = vheight;
157 (float) vheight / (float) dheight);
160 dy = (int) ((vheight - dheight * scale) * 0.5f + 0.5f);
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 337 final int vheight = canvas.getHeight(); local
343 if (dwidth < vwidth || dheight < vheight) {
345 (float) vheight / (float) dheight);
349 float dy = (vheight - dheight * scale) * 0.5f + 0.5f;
  /frameworks/base/core/java/android/widget/
ImageView.java 1034 int vheight = getHeight() - mPaddingTop - mPaddingBottom; local
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 838 final int vheight = getHeight(); local
841 (dheight < 0 || vheight == dheight);
869 final int vheight = mAllowCrop ? sCropSize : getHeight(); local
872 (dheight < 0 || vheight == dheight);
882 mTempDst.set(0, 0, vwidth, vheight);
886 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2),
888 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2));
903 final int vheight = mAllowCrop ? getCropSize() : getHeight(); local
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 1278 int vheight = v.getHeight(); local
    [all...]

Completed in 1614 milliseconds