Home
last modified time | relevance | path

Searched refs:cropBounds (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java467 RectF cropBounds, int rotation, int outWidth, int outHeight,
471 init(cropBounds, rotation,
476 RectF cropBounds, int rotation, int outWidth, int outHeight,
479 init(cropBounds, rotation,
484 RectF cropBounds, int rotation, int outWidth, int outHeight,
488 init(cropBounds, rotation,
493 RectF cropBounds, int rotation, int outWidth, int outHeight,
498 init(cropBounds, rotation,
502 private void init(RectF cropBounds, int rotation, int outWidth, int outHeight,
504 mCropBounds = cropBounds;
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceFreezer.java188 Rect cropBounds = null; in createSnapshotBuffer() local
190 cropBounds = new Rect(bounds); in createSnapshotBuffer()
191 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
195 .setSourceCrop(cropBounds) in createSnapshotBuffer()
DLetterboxUiController.java1275 final Rect cropBounds = new Rect(mActivityRecord.getBounds()); in getCropBoundsIfNeeded() local
1280 adjustBoundsForTaskbar(mainWindow, cropBounds); in getCropBoundsIfNeeded()
1284 cropBounds.scale(scale); in getCropBoundsIfNeeded()
1290 cropBounds.offsetTo(0, 0); in getCropBoundsIfNeeded()
1291 return cropBounds; in getCropBoundsIfNeeded()
DTransition.java2340 Rect cropBounds = new Rect(bounds); in freeze() local
2341 cropBounds.offsetTo(0, 0); in freeze()
2344 .setSourceCrop(cropBounds) in freeze()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java432 final Rect cropBounds = new Rect(screenshotChange.getStartAbsBounds()); in getOrCreateScreenshot() local
433 cropBounds.offsetTo(0, 0); in getOrCreateScreenshot()
435 animationChange.getLeash(), cropBounds, Integer.MAX_VALUE); in getOrCreateScreenshot()