Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java574 @Surface.Rotation int defaultDisplayRotation, in rotateRearDisplayMetricsIfNeeded()
584 if (defaultDisplayRotation == Surface.ROTATION_0 in rotateRearDisplayMetricsIfNeeded()
585 || defaultDisplayRotation == Surface.ROTATION_180) { in rotateRearDisplayMetricsIfNeeded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1882 final DisplayRotation defaultDisplayRotation = defaultDisplayContent.getDisplayRotation(); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay() local
1909 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 …]