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

  /packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java 51 int dheight = getDrawable().getIntrinsicHeight(); 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/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;
  /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;
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 127 float dheight; local
134 dheight = mLastBitmapWidth;
137 dheight = mLastBitmapHeight;
139 if (dwidth <= vwidth && dheight <= vheight) {
142 scale = Math.min(vwidth / dwidth, vheight / dheight);
146 mDrawMatrix.postTranslate(-dheight * scale * 0.5f,
150 dheight * scale * 0.5f);
153 (vheight - dheight * scale) * 0.5f);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
UserAvatarView.java 138 int dheight; local
141 dheight = mBitmap.getHeight();
146 dheight = vheight;
147 mDrawable.setBounds(0, 0, dwidth, dheight);
157 (float) vheight / (float) dheight);
160 dy = (int) ((vheight - dheight * scale) * 0.5f + 0.5f);
  /frameworks/base/core/java/android/widget/
ImageView.java 1031 int dheight = mDrawableHeight; local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 339 final int dheight = mIntrinsicHeight; local
343 if (dwidth < vwidth || dheight < vheight) {
345 (float) vheight / (float) dheight);
349 float dy = (vheight - dheight * scale) * 0.5f + 0.5f;
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 835 final int dheight = mDrawable.getIntrinsicHeight(); local
841 (dheight < 0 || vheight == dheight);
844 mDrawable.setBounds(0, 0, dwidth, dheight);
866 final int dheight = mDrawable.getIntrinsicHeight(); local
872 (dheight < 0 || vheight == dheight);
878 mTempSrc.set(0, 0, dwidth, dheight);
886 (vheight / 2) - (dheight * mMaxInitialScaleFactor / 2),
888 (vheight / 2) + (dheight * mMaxInitialScaleFactor / 2))
900 final int dheight = mDrawable.getIntrinsicHeight(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
mask.c 53 intersect_rectangles(VGint dwidth, VGint dheight,
62 if (ty + theight <= 0 || ty >= dheight)
85 location[3] = MIN2(ty + sheight, MIN2(dheight, ty + theight));
88 offsets[3] = MIN2(theight, MIN2(dheight - ty, sheight));
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/
mask.c 53 intersect_rectangles(VGint dwidth, VGint dheight,
62 if (ty + theight <= 0 || ty >= dheight)
85 location[3] = MIN2(ty + sheight, MIN2(dheight, ty + theight));
88 offsets[3] = MIN2(theight, MIN2(dheight - ty, sheight));
image.c 219 VGfloat dwidth, dheight; local
226 dheight = MIN2(height, img->height);
230 x, y, dwidth, dheight);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java 673 int dheight = bitmap.getHeight(); local
677 if (dwidth * mHeightPx > mWidthPx * dheight) {
678 scale = (float) mHeightPx / (float) dheight;
  /prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar 

Completed in 1218 milliseconds