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

  /packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java 48 int dheight = getDrawable().getIntrinsicHeight(); local
55 if (dwidth * vheight > vwidth * dheight) {
56 scale = (float) vheight / (float) dheight;
60 dy = (vheight - dheight * scale) * 0.5f;
  /packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java 110 int dheight = mBitmap.getHeight(); local
115 if (dwidth * vheight > vwidth * dheight) {
116 scale = (float) vheight / (float) dheight;
120 dy = (vheight - dheight * scale) * 0.5f;
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
image.c 219 VGfloat dwidth, dheight; local
226 dheight = MIN2(height, img->height);
230 x, y, dwidth, dheight);
  /external/mesa3d/src/gallium/state_trackers/vega/
image.c 219 VGfloat dwidth, dheight; local
226 dheight = MIN2(height, img->height);
230 x, y, dwidth, dheight);
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 122 float dheight; local
129 dheight = mLastBitmapWidth;
132 dheight = mLastBitmapHeight;
134 if (dwidth <= vwidth && dheight <= vheight) {
137 scale = Math.min(vwidth / dwidth, vheight / dheight);
141 mDrawMatrix.postTranslate(-dheight * scale * 0.5f,
145 dheight * scale * 0.5f);
148 (vheight - dheight * scale) * 0.5f);
  /packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java 131 int dheight = mBitmap.getHeight(); local
136 if (dwidth * vheight > vwidth * dheight) {
137 scale = (float) vheight / (float) dheight;
141 dy = (vheight - dheight * scale) * 0.5f;
153 private int calculateSampleSizeLocked(int dwidth, int dheight) {
160 if (dwidth * vheight > vwidth * dheight) {
161 scale = (float) dheight / (float) vheight;
  /frameworks/base/core/java/android/widget/
ImageView.java 918 int dheight = mDrawableHeight; local
924 (dheight < 0 || vheight == dheight);
926 if (dwidth <= 0 || dheight <= 0 || ScaleType.FIT_XY == mScaleType) {
935 mDrawable.setBounds(0, 0, dwidth, dheight);
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 716 final int dheight = mDrawable.getIntrinsicHeight(); local
722 (dheight < 0 || vheight == dheight);
725 mDrawable.setBounds(0, 0, dwidth, dheight);
747 final int dheight = mDrawable.getIntrinsicHeight(); local
753 (dheight < 0 || vheight == dheight);
759 mTempSrc.set(0, 0, dwidth, dheight);
767 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2),
769 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2))
781 final int dheight = mDrawable.getIntrinsicHeight(); local
    [all...]

Completed in 1306 milliseconds