Searched refs:defaultDisplayRotation (Results 1 – 2 of 2) sorted by relevance
574 @Surface.Rotation int defaultDisplayRotation, in rotateRearDisplayMetricsIfNeeded()584 if (defaultDisplayRotation == Surface.ROTATION_0 in rotateRearDisplayMetricsIfNeeded()585 || defaultDisplayRotation == Surface.ROTATION_180) { in rotateRearDisplayMetricsIfNeeded()
1882 final DisplayRotation defaultDisplayRotation = defaultDisplayContent.getDisplayRotation(); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay() local1909 defaultDisplayRotation.updateOrientation(SCREEN_ORIENTATION_PORTRAIT, false); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1910 assertEquals(defaultDisplayRotation.mPortraitRotation, in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1911 defaultDisplayRotation.getRotation()); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1912 assertEquals(defaultDisplayRotation.mPortraitRotation, in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1916 assertRotationsAreCorrectlyReversed(defaultDisplayRotation.getRotation(), in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1921 defaultDisplayRotation.updateOrientation(SCREEN_ORIENTATION_LANDSCAPE, false); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1922 assertEquals(defaultDisplayRotation.mLandscapeRotation, in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1923 defaultDisplayRotation.getRotation()); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()1924 assertEquals(defaultDisplayRotation.mLandscapeRotation, in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()[all …]