Searched refs:dstRect (Results 1 – 5 of 5) 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/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 322 final ShortcutInfo srcInfo, final DragView srcView, Rect dstRect, in performCreateAnimation() argument 336 onDrop(srcInfo, srcView, dstRect, scaleRelativeToDragLayer, 1, postAnimationRunnable, null); in performCreateAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderIcon.java | 383 final ShortcutInfo srcInfo, final DragView srcView, Rect dstRect, in performCreateAnimation() argument 397 onDrop(srcInfo, srcView, dstRect, scaleRelativeToDragLayer, 1, postAnimationRunnable, null); in performCreateAnimation()
|