Home
last modified time | relevance | path

Searched refs:activityBounds (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDualDisplayAreaGroupPolicyTest.java208 final Rect activityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchPortraitApp_fillsDisplayAreaGroup() local
214 assertThat(activityBounds).isEqualTo(taskBounds); in testLaunchPortraitApp_fillsDisplayAreaGroup()
225 final Rect activityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchPortraitApp_sizeCompatAfterRotation() local
243 assertThat(activityConfigBounds.width()).isEqualTo(activityBounds.width()); in testLaunchPortraitApp_sizeCompatAfterRotation()
244 assertThat(activityConfigBounds.height()).isEqualTo(activityBounds.height()); in testLaunchPortraitApp_sizeCompatAfterRotation()
274 final Rect activityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchLandscapeApp_activityIsLetterboxForFixedOrientationInDisplayAreaGroup() local
281 assertThat(activityBounds.width()).isEqualTo(dagBounds.width()); in testLaunchLandscapeApp_activityIsLetterboxForFixedOrientationInDisplayAreaGroup()
282 assertThat(activityBounds.height()) in testLaunchLandscapeApp_activityIsLetterboxForFixedOrientationInDisplayAreaGroup()
314 final Rect activityBounds = new Rect(mFirstActivity.getBounds()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation() local
331 assertThat(newActivityBounds.width()).isEqualTo(activityBounds.width()); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()
[all …]
H A DSizeCompatTests.java1949 final Rect activityBounds = new Rect(mActivity.getBounds());
1964 activityBounds.width());
1980 final Rect activityBounds = new Rect(mActivity.getBounds()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio() local
1995 activityBounds.width()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio()
2010 final Rect activityBounds = new Rect(mActivity.getBounds()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio() local
2025 activityBounds.width()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio()
2040 final Rect activityBounds = new Rect(mActivity.getBounds()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride() local
2054 activityBounds.width()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride()
3085 assertEquals(activityBounds, mActivity.getBounds());
3306 assertEquals(2400, activityBounds.width());
[all …]
H A DActivityRecordTests.java3103 final Rect activityBounds = new Rect(100, 400, 300, 600); in testTransitionAnimationBounds_returnTaskFragment() local
3109 activity.getWindowConfiguration().setBounds(activityBounds); in testTransitionAnimationBounds_returnTaskFragment()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipMenuTests.kt66 val activityBounds: Rect =
70 pipBoundsWhileInMenu == activityBounds
77 top >= activityBounds.bottom