/external/libvncserver/utils/ |
bdf2c.pl | 23 $dwidth=0; 24 } elsif(/^DWIDTH (.*) (.*)/) { 25 $dwidth=$1; 29 if($dwidth != 0) { 30 $encodings[$glyphindex*5+1]=$dwidth; 32 $dwidth=$width; 42 if(int(($dwidth+7)/8) > int(($width+7)/8)) { 43 $_ .= "00"x(int(($dwidth+7)/8)-int(($width+7)/8)); 45 $_=substr($_,0,(int(($dwidth+7)/8)*2)); 46 $counter+=(int(($dwidth+7)/8)) [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
AutoThumbnailDrawable.java | 130 int dwidth = mBitmap.getWidth(); local 136 if (dwidth * vheight > vwidth * dheight) { 138 dx = (vwidth - dwidth * scale) * 0.5f; 140 scale = (float) vwidth / (float) dwidth; 153 private int calculateSampleSizeLocked(int dwidth, int dheight) { 160 if (dwidth * vheight > vwidth * dheight) { 163 scale = (float) dwidth / (float) vwidth;
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 109 int dwidth = mBitmap.getWidth(); local 115 if (dwidth * vheight > vwidth * dheight) { 117 dx = (vwidth - dwidth * scale) * 0.5f; 119 scale = (float) vwidth / (float) dwidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
MtpImageView.java | 126 float dwidth; local 133 dwidth = mLastBitmapHeight; 136 dwidth = mLastBitmapWidth; 139 if (dwidth <= vwidth && dheight <= vheight) { 142 scale = Math.min(vwidth / dwidth, vheight / dheight); 147 -dwidth * scale * 0.5f); 149 mDrawMatrix.postTranslate(dwidth * scale * 0.5f, 152 mDrawMatrix.postTranslate((vwidth - dwidth * scale) * 0.5f,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LockscreenWallpaper.java | 240 int dwidth = mState.mBackground.getWidth(); local 245 if (dwidth * vheight > vwidth * dheight) { 248 scale = (float) vwidth / (float) dwidth; 259 bounds.left + Math.round(dwidth * scale),
|
/frameworks/base/core/java/android/widget/ |
ImageView.java | 1138 final int dwidth = mDrawableWidth; local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooserDialogFragment.java | 341 final int dwidth = mIntrinsicWidth; local 346 if (dwidth < vwidth || dheight < vheight) { 347 scale = Math.max((float) vwidth / (float) dwidth, 351 float dx = (vwidth - dwidth * scale) * 0.5f + 0.5f;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 805 final int dwidth = mDrawable.getIntrinsicWidth(); local 811 final boolean fits = (dwidth < 0 || vwidth == dwidth) && 815 mDrawable.setBounds(0, 0, dwidth, dheight); 836 final int dwidth = mDrawable.getIntrinsicWidth(); local 842 final boolean fits = (dwidth < 0 || vwidth == dwidth) && 849 mTempSrc.set(0, 0, dwidth, dheight); 856 (vwidth / 2) - (dwidth * mMaxInitialScaleFactor / 2), 858 (vwidth / 2) + (dwidth * mMaxInitialScaleFactor / 2) 870 final int dwidth = mDrawable.getIntrinsicWidth(); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 53 intersect_rectangles(VGint dwidth, VGint dheight, 60 if (tx + twidth <= 0 || tx >= dwidth) 74 location[2] = MIN2(tx + swidth, MIN2(dwidth, tx + twidth)); 77 offsets[2] = MIN2(twidth, MIN2(dwidth - tx, swidth ));
|
image.c | 219 VGfloat dwidth, dheight; local 225 dwidth = MIN2(width, img->width); 230 x, y, dwidth, dheight);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BackgroundManager.java | 1052 int dwidth = bitmap.getWidth(); local [all...] |
/external/opencv3/modules/imgproc/src/ |
imgwarp.cpp | [all...] |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |