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

  /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/
LockscreenWallpaper.java 239 int vheight = getBounds().height(); local
245 if (dwidth * vheight > vwidth * dheight) {
246 scale = (float) vheight / (float) dheight;
254 dy = (vheight - dheight * scale) * 0.5f;
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 340 final int vheight = canvas.getHeight(); local
346 if (dwidth < vwidth || dheight < vheight) {
348 (float) vheight / (float) dheight);
352 float dy = (vheight - dheight * scale) * 0.5f + 0.5f;
  /frameworks/base/core/java/android/widget/
ImageView.java 1142 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; local
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 809 final int vheight = getHeight(); local
812 (dheight < 0 || vheight == dheight);
840 final int vheight = mAllowCrop ? sCropSize : getHeight(); local
843 (dheight < 0 || vheight == dheight);
853 mTempDst.set(0, 0, vwidth, vheight);
857 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2),
859 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2));
874 final int vheight = mAllowCrop ? getCropSize() : getHeight(); local
876 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 216 milliseconds