Searched refs:getCropBoundsIfNeeded (Results 1 – 3 of 3) sorted by relevance
531 assertNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()536 assertNotNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()552 final Rect noCrop = mController.getCropBoundsIfNeeded(mainWindow); in testGetCropBoundsIfNeeded_noCrop()574 final Rect crop = mController.getCropBoundsIfNeeded(mainWindow); in testGetCropBoundsIfNeeded_appliesCrop()604 final Rect crop = mController.getCropBoundsIfNeeded(mainWindow); in testGetCropBoundsIfNeeded_appliesCropWithSizeCompatScaling()
1439 .setCrop(windowSurface, getCropBoundsIfNeeded(mainWindow)) in updateRoundedCornersIfNeeded()1445 Rect getCropBoundsIfNeeded(final WindowState mainWindow) { in getCropBoundsIfNeeded() method in LetterboxUiController
27609 HPLcom/android/server/wm/LetterboxUiController;->getCropBoundsIfNeeded(Lcom/android/server/wm/Windo…