Home
last modified time | relevance | path

Searched refs:dstRect (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DCropImage.java235 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()
DGridViewSpecial.java1124 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/
DRoundedThumbnailView.java674 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/
DFolderIcon.java271 final WorkspaceItemInfo srcInfo, final DragView srcView, Rect dstRect, in performCreateAnimation() argument
281 onDrop(srcInfo, srcView, dstRect, scaleRelativeToDragLayer, 1, in performCreateAnimation()