HomeSort by relevance Sort by last modified time
    Searched full:dheight (Results 1 - 20 of 20) 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;
  /hardware/intel/img/psb_video/src/x11/
psb_coverlay.c 631 local_rect->dHeight = extend_rect->dHeight = *x11_window_height;
633 local_rect->dHeight = pPriv->display_height - desty;
635 extend_rect->dHeight = *x11_window_height = pPriv->extend_display_height - desty;
637 extend_rect->dHeight = *x11_window_height;
639 extend_rect->dHeight = pPriv->extend_display_height - desty;
641 local_rect->dHeight = *x11_window_height = pPriv->display_height - desty;
643 local_rect->dHeight = *x11_window_height;
661 local_rect->sHeight = (unsigned short)(local_rect->dHeight * yScaleFactor);
663 extend_rect->sHeight = (unsigned short)(extend_rect->dHeight * yScaleFactor)
    [all...]
psb_x11.h 59 unsigned short dHeight;
  /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);
  /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/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/base/core/java/android/widget/
ImageView.java 1031 int dheight = mDrawableHeight; local
    [all...]
  /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);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 257 int dHeight = (int) (imageHeight * k);
258 ImageData scaledImageData = image.getImageData().scaledTo(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;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
codemirror.js     [all...]
  /external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
codemirror.js     [all...]
  /external/skia/experimental/webtry/res/js/cm/
codemirror.js     [all...]
  /prebuilts/tools/common/m2/repository/com/android/tools/external/propertysheet/1.0/
propertysheet-1.0.jar 

Completed in 326 milliseconds