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

  /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/
UserAvatarView.java 137 int dwidth; local
140 dwidth = mBitmap.getWidth();
145 dwidth = vwidth;
147 mDrawable.setBounds(0, 0, dwidth, dheight);
156 scale = Math.min((float) vwidth / (float) dwidth,
159 dx = (int) ((vwidth - dwidth * scale) * 0.5f + 0.5f);
  /frameworks/base/core/java/android/widget/
ImageView.java 1098 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 834 final int dwidth = mDrawable.getIntrinsicWidth(); local
840 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
844 mDrawable.setBounds(0, 0, dwidth, dheight);
865 final int dwidth = mDrawable.getIntrinsicWidth(); local
871 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
878 mTempSrc.set(0, 0, dwidth, dheight);
885 (vwidth / 2) - (dwidth * mMaxInitialScaleFactor / 2),
887 (vwidth / 2) + (dwidth * mMaxInitialScaleFactor / 2)
899 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...]
  /prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar 

Completed in 1015 milliseconds