Home
last modified time | relevance | path

Searched refs:rotationForOrientation (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java234 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
246 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest()
258 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest()
427 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsSensorRotation_RotationThawed()
478 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed()
496 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsUserRotation_SensorEnabled_RotationLocked()
508 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation(SCREEN_ORIENTATION_PORTRAIT, in testReturnsUserRotation_ForceDefaultRotation_Car()
517 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation(SCREEN_ORIENTATION_PORTRAIT, in testReturnsUserRotation_ForceDefaultRotation_Tv()
531 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsLidOpenRotation_LidOpen()
544 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsCarDockRotation_CarDockedMode()
[all …]
DAppWindowTokenTests.java213 doReturn(rotationToReport).when(spiedRotation).rotationForOrientation(anyInt(), anyInt()); in performRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java525 int rotationForOrientation(int orientation, int lastRotation) { in rotationForOrientation() method in DisplayRotation
DDisplayContent.java1201 final int rotation = mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation); in rotationNeedsUpdate()
1403 final int rotation = mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked()
/frameworks/base/services/
Dart-profile16125 HSPLcom/android/server/wm/DisplayRotation;->rotationForOrientation(II)I