Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceFreezer.java189 Rect cropBounds = null; in createSnapshotBuffer() local
191 cropBounds = new Rect(bounds); in createSnapshotBuffer()
192 cropBounds.offsetTo(0, 0); in createSnapshotBuffer()
196 .setSourceCrop(cropBounds) in createSnapshotBuffer()
DLetterboxUiController.java1455 final Rect cropBounds = new Rect(mActivityRecord.getBounds()); in getCropBoundsIfNeeded() local
1463 && (cropBounds.width() != mainWindow.mRequestedWidth in getCropBoundsIfNeeded()
1464 || cropBounds.height() != mainWindow.mRequestedHeight)) { in getCropBoundsIfNeeded()
1471 adjustBoundsForTaskbar(mainWindow, cropBounds); in getCropBoundsIfNeeded()
1475 cropBounds.scale(scale); in getCropBoundsIfNeeded()
1481 cropBounds.offsetTo(0, 0); in getCropBoundsIfNeeded()
1482 return cropBounds; in getCropBoundsIfNeeded()
DTransition.java3892 Rect cropBounds = new Rect(bounds); in freeze() local
3893 cropBounds.offsetTo(0, 0); in freeze()
3898 .setSourceCrop(cropBounds) in freeze()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java522 final Rect cropBounds = new Rect(screenshotChange.getStartAbsBounds()); in getOrCreateScreenshot() local
523 cropBounds.offsetTo(0, 0); in getOrCreateScreenshot()
525 animationChange.getLeash(), cropBounds, Integer.MAX_VALUE); in getOrCreateScreenshot()