Home
last modified time | relevance | path

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

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