Searched refs:srcRect (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | IconFactory.java | 86 Rect srcRect = null; in drawIcon() local 89 srcRect = new Rect(0, 0, sourceWidth, sourceHeight); in drawIcon() 102 srcRect = new Rect(); in drawIcon() 103 rec.roundOut(srcRect); in drawIcon() 106 canvas.drawBitmap(sourceImage, srcRect, destRect, new Paint(Paint.FILTER_BITMAP_FLAG)); in drawIcon()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | RoundedThumbnailView.java | 672 RectF srcRect = new RectF( in precomputeThumbnailPaint() local 679 shaderMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in precomputeThumbnailPaint() 683 srcRect.width() / 2, in precomputeThumbnailPaint() 684 srcRect.height() / 2); in precomputeThumbnailPaint()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 234 Rect srcRect = mCrop.getCropRect(); in onSaveClicked() local 237 int dx = (srcRect.width() - dstRect.width()) / 2; in onSaveClicked() 238 int dy = (srcRect.height() - dstRect.height()) / 2; in onSaveClicked() 241 srcRect.inset(Math.max(0, dx), Math.max(0, dy)); in onSaveClicked() 247 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in onSaveClicked()
|
D | GridViewSpecial.java | 1123 Rect srcRect = new Rect(0, 0, w, mBlockHeight); in doDraw() local 1124 Rect dstRect = new Rect(srcRect); in doDraw() 1126 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in doDraw()
|