Searched refs:inSizeCompatMode (Results 1 – 12 of 12) sorted by relevance
1281 assertFalse(activity.inSizeCompatMode()); in testAlwaysSandboxDisplayApis_configEnabled_sandboxingApplied_resizableSplit()1599 assertFalse(mActivity.inSizeCompatMode()); in testGetLetterboxInnerBounds_noScalingApplied()1614 assertThat(mActivity.inSizeCompatMode()).isTrue(); in testGetLetterboxInnerBounds_noScalingApplied()1725 assertFalse(mActivity.inSizeCompatMode());1756 assertFalse(mActivity.inSizeCompatMode()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio()1786 assertFalse(mActivity.inSizeCompatMode()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio()1816 assertFalse(mActivity.inSizeCompatMode()); in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride()1913 assertFalse(mActivity.inSizeCompatMode()); in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio()2509 assertFalse(activity.inSizeCompatMode());2529 assertFalse(activity.inSizeCompatMode());[all …]
218 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testLaunchPortraitApp_fillsDisplayAreaGroup()242 assertThat(mFirstActivity.inSizeCompatMode()).isTrue(); in testLaunchPortraitApp_sizeCompatAfterRotation()266 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testLaunchNoSensorApp_noSizeCompatAfterRotation()270 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testLaunchNoSensorApp_noSizeCompatAfterRotation()287 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testLaunchLandscapeApp_activityIsLetterboxForFixedOrientationInDisplayAreaGroup()333 assertThat(mFirstActivity.inSizeCompatMode()).isTrue(); in testLaunchLandscapeApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()358 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testLaunchNoSensorApp_fixedOrientationLetterboxBecomesSizeCompatAfterRotation()526 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testResizableFixedOrientationApp_fixedOrientationLetterboxing()538 assertThat(mSecondActivity.inSizeCompatMode()).isFalse(); in testResizableFixedOrientationApp_fixedOrientationLetterboxing()544 assertThat(mFirstActivity.inSizeCompatMode()).isFalse(); in testResizableFixedOrientationApp_fixedOrientationLetterboxing()
502 Assert.assertEquals(inScm, mActivityStack.top().inSizeCompatMode()); in checkTopActivitySizeCompatMode()
621 doReturn(false).when(root).inSizeCompatMode(); in testTopActivityEligibleForUserAspectRatioButton()637 doReturn(true).when(root).inSizeCompatMode(); in testTopActivityEligibleForUserAspectRatioButton()640 doReturn(false).when(root).inSizeCompatMode(); in testTopActivityEligibleForUserAspectRatioButton()
1672 doReturn(true).when(activity).inSizeCompatMode(); in testSizeCompatModeChangedOnFirstOrganizedTask()1696 doReturn(false).when(activity).inSizeCompatMode(); in testSizeCompatModeChangedOnFirstOrganizedTask()
595 doReturn(true).when(mActivity).inSizeCompatMode(); in testGetCropBoundsIfNeeded_appliesCropWithSizeCompatScaling()
1668 if (mActivityRecord.inSizeCompatMode()) { in getLetterboxReasonString()
8342 boolean inSizeCompatMode() { in inSizeCompatMode() method in ActivityRecord10710 proto.write(IN_SIZE_COMPAT_MODE, inSizeCompatMode());
6428 if (r.isState(RESUMED) && r.inSizeCompatMode()) { in handleActivitySizeCompatModeIfNeeded()
3450 appCompatTaskInfo.topActivityInSizeCompat = isTopActivityVisible && top.inSizeCompatMode();
702 Lcom/android/server/wm/WindowState;->inSizeCompatMode()Z
25619 PLcom/android/server/wm/ActivityRecord;->inSizeCompatMode()Z