Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java243 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
256 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation( in testReturnsLandscape_UserRotationLockedSeascape_AppRequestsLandscape()
269 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsSeascape_UserRotationLockedSeascape_AppRequestsSeascape()
282 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait()
295 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsUpsideDown_UserRotationLockedUpsideDown_AppRequestsUpsideDown()
307 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest()
476 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsSensorRotation_RotationThawed()
527 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed()
545 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsUserRotation_SensorEnabled_RotationLocked()
557 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation(SCREEN_ORIENTATION_PORTRAIT, in testReturnsUserRotation_ForceDefaultRotation_Car()
[all …]
DTestDisplayContent.java58 final int rotation = displayRotation.rotationForOrientation( in TestDisplayContent()
DActivityRecordTests.java1738 doReturn((originalRotation + 1) % 4).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1755 doReturn(originalRotation).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
2317 doReturn(rotationToReport).when(spiedRotation).rotationForOrientation(anyInt(), anyInt()); in performRotation()
DRootWindowContainerTests.java383 .rotationForOrientation(activity.getOrientation(), display.getRotation())); in testAwakeFromSleepingWithAppConfiguration()
DDisplayContentTests.java1620 doReturn((dr.getRotation() + 2) % 4).when(dr).rotationForOrientation(anyInt(), anyInt()); in testRemoteRotation()
1672 doReturn((dr.getRotation() + 2) % 4).when(dr).rotationForOrientation(anyInt(), anyInt()); in testShellTransitRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java464 final int rotation = rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked()
1104 final int rotation = rotationForOrientation(mLastOrientation, oldRotation); in needsUpdate()
1119 int rotationForOrientation(@ScreenOrientation int orientation, in rotationForOrientation() method in DisplayRotation
DDisplayContent.java1535 final int rotation = mDisplayRotation.rotationForOrientation(r.getRequestedOrientation(), in rotationForActivityInDifferentOrientation()
/frameworks/base/services/
Dart-profile46231 HPLcom/android/server/wm/DisplayRotation;->rotationForOrientation(II)I+]Lcom/android/server/wm/Disp…