Home
last modified time | relevance | path

Searched refs:newActivityBounds (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSizeCompatTests.java1441 final Rect newActivityBounds = new Rect(mActivity.getBounds()); in testDisplayIgnoreOrientationRequest_orientationLetterboxBecameSizeCompatAfterRotate() local
1447 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() local
1524 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() local
1565 .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 …]
H A DDualDisplayAreaGroupPolicyTest.java247 final Rect newActivityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation() local
259 assertThat(newActivityBounds.width()).isEqualTo(activityBounds.width()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()
260 assertThat(newActivityBounds.height()).isEqualTo(activityBounds.height()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()