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/Camera/src/com/android/camera/
DCropImage.java233 Rect dstRect = new Rect(0, 0, mOutputX, mOutputY); in onSaveClicked() local
235 int dx = (srcRect.width() - dstRect.width()) / 2; in onSaveClicked()
236 int dy = (srcRect.height() - dstRect.height()) / 2; in onSaveClicked()
242 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy)); in onSaveClicked()
245 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in onSaveClicked()
264 Rect dstRect = new Rect(0, 0, width, height); in onSaveClicked() local
265 canvas.drawBitmap(mBitmap, r, dstRect, null); in onSaveClicked()
DGridViewSpecial.java1122 Rect dstRect = new Rect(srcRect); in doDraw() local
1123 dstRect.offset(xPos, yPos); in doDraw()
1124 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in doDraw()