Searched refs:dstRect (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 235 Rect dstRect = new Rect(0, 0, mOutputX, mOutputY); in onSaveClicked() local 237 int dx = (srcRect.width() - dstRect.width()) / 2; in onSaveClicked() 238 int dy = (srcRect.height() - dstRect.height()) / 2; in onSaveClicked() 244 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy)); in onSaveClicked() 247 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in onSaveClicked() 266 Rect dstRect = new Rect(0, 0, width, height); in onSaveClicked() local 267 canvas.drawBitmap(mBitmap, r, dstRect, null); in onSaveClicked()
|
D | GridViewSpecial.java | 1124 Rect dstRect = new Rect(srcRect); in doDraw() local 1125 dstRect.offset(xPos, yPos); in doDraw() 1126 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in doDraw()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | RoundedThumbnailView.java | 674 RectF dstRect = new RectF(0.0f, 0.0f, mViewSize, mViewSize); in precomputeThumbnailPaint() local 679 shaderMatrix.setRectToRect(srcRect, dstRect, Matrix.ScaleToFit.FILL); in precomputeThumbnailPaint()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 302 final WorkspaceItemInfo srcInfo, final DragObject d, Rect dstRect, in performCreateAnimation() argument 313 onDrop(srcInfo, d, dstRect, scaleRelativeToDragLayer, 1, in performCreateAnimation()
|