Searched refs:mImageBounds (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java73 protected Rect mImageBounds = new Rect(); field in class:ImageShow
330 canvas.clipRect(mImageBounds);
367 d.roundOut(mImageBounds);
413 mShaderMatrix.preTranslate(-x + mImageBounds.left, -y + mImageBounds.top);
414 float scaleImageX = mImageBounds.width() / (float) image.getWidth();
415 float scaleImageY = mImageBounds.height() / (float) image.getHeight();
422 drawShadow(canvas, mImageBounds); // as needed
424 canvas.clipRect(mImageBounds);
485 drawShadow(canvas, mImageBounds); // a
[all...]
H A DImageCrop.java41 private RectF mImageBounds = new RectF(); field in class:ImageCrop
236 || mImageBounds.width() != width || mImageBounds.height() != height
238 mImageBounds.set(0, 0, width, height);
243 mCropObj = new CropObject(mImageBounds, scaledCrop, (int) mUpdateHolder.straighten);
265 mImageBounds.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
H A DGradControl.java49 Rect mImageBounds; field in class:GradControl
121 mImageBounds = new Rect(imageBounds);
125 return (!mImageBounds.contains((int) ((x1 + x2) / 2), (int) ((y1 + y2) / 2)));
H A DEclipseControl.java61 private Rect mImageBounds; field in class:EclipseControl
104 mImageBounds = new Rect(imageBounds);
108 return (!mImageBounds.contains((int) x1, (int) y1));
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropView.java41 private RectF mImageBounds = new RectF(); field in class:CropView
298 mImageBounds = new RectF(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
306 mCropObj = new CropObject(mImageBounds, mImageBounds, 0);
313 if (!CropDrawingUtils.setImageToScreenMatrix(mDisplayMatrix, mImageBounds, mScreenBounds,
331 mScreenImageBounds.set(mImageBounds);

Completed in 109 milliseconds