Searched refs:newActivityBounds (Results 1 – 2 of 2) sorted by relevance
1441 final Rect newActivityBounds = new Rect(mActivity.getBounds()); in testDisplayIgnoreOrientationRequest_orientationLetterboxBecameSizeCompatAfterRotate() local1447 assertEquals(activityBounds.width(), newActivityBounds.width()); in testDisplayIgnoreOrientationRequest_orientationLetterboxBecameSizeCompatAfterRotate()1448 assertEquals(activityBounds.height(), newActivityBounds.height()); in testDisplayIgnoreOrientationRequest_orientationLetterboxBecameSizeCompatAfterRotate()1514 final Rect newActivityBounds = new Rect(newActivity.getBounds()); in testDisplayIgnoreOrientationRequest_newLaunchedOrientationAppInLetterbox() local1524 assertEquals(displayBounds.height(), newActivityBounds.height()); in testDisplayIgnoreOrientationRequest_newLaunchedOrientationAppInLetterbox()1526 newActivityBounds.width()); in testDisplayIgnoreOrientationRequest_newLaunchedOrientationAppInLetterbox()1558 final Rect newActivityBounds = new Rect(newActivity.getBounds()); in testDisplayIgnoreOrientationRequest_newLaunchedMaxAspectApp() local1565 .isEqualTo(newActivityBounds); in testDisplayIgnoreOrientationRequest_newLaunchedMaxAspectApp()1571 assertEquals(displayBounds.height(), newActivityBounds.height()); in testDisplayIgnoreOrientationRequest_newLaunchedMaxAspectApp()1572 assertEquals((long) Math.rint(newActivityBounds.height() in testDisplayIgnoreOrientationRequest_newLaunchedMaxAspectApp()[all …]
247 final Rect newActivityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation() local259 assertThat(newActivityBounds.width()).isEqualTo(activityBounds.width()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()260 assertThat(newActivityBounds.height()).isEqualTo(activityBounds.height()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()