Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java351 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
364 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation( in testReturnsLandscape_UserRotationLockedSeascape_AppRequestsLandscape()
377 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsSeascape_UserRotationLockedSeascape_AppRequestsSeascape()
390 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait()
403 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsUpsideDown_UserRotationLockedUpsideDown_AppRequestsUpsideDown()
415 final int rotation = mTarget.rotationForOrientation( in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest()
589 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsSensorRotation_RotationThawed()
606 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReverseRotation()
610 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReverseRotation()
614 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation( in testReverseRotation()
[all …]
DTestDisplayContent.java66 final int rotation = displayRotation.rotationForOrientation( in TestDisplayContent()
DDisplayContentTests.java1086 .rotationForOrientation(SCREEN_ORIENTATION_UNSPECIFIED, ROTATION_90)); in testNoSensorRevert()
1100 .rotationForOrientation(SCREEN_ORIENTATION_UNSPECIFIED, ROTATION_0)); in testNoSensorRevert()
1984 doReturn((dr.getRotation() + 2) % 4).when(dr).rotationForOrientation(anyInt(), anyInt()); in testRemoteRotation()
2084 doReturn((dr.getRotation() + 1) % 4).when(dr).rotationForOrientation(anyInt(), anyInt()); in testShellTransitRotation()
2122 doReturn(dr.getRotation() + 1).when(dr).rotationForOrientation(anyInt(), anyInt()); in testShellTransitRotation()
2125 doReturn(dr.getRotation() - 1).when(dr).rotationForOrientation(anyInt(), anyInt()); in testShellTransitRotation()
DActivityRecordTests.java1921 doReturn((originalRotation + 1) % 4).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
1939 doReturn(originalRotation).when(displayRotation).rotationForOrientation( in testActivityOnCancelFixedRotationTransform()
2568 doReturn(rotationToReport).when(spiedRotation).rotationForOrientation(anyInt(), anyInt()); in performRotation()
DRootWindowContainerTests.java602 .rotationForOrientation(activity.getOrientation(), display.getRotation())); in testAwakeFromSleepingWithAppConfiguration()
DTransitionTests.java1361 doReturn(prevRotation + 1).when(displayRotation).rotationForOrientation( in testDeferRotationForTransientLaunch()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java573 int rotation = rotationForOrientation(lastOrientation, oldRotation); in updateRotationUnchecked()
1213 final int rotation = rotationForOrientation(mLastOrientation, oldRotation); in needsUpdate()
1243 int rotationForOrientation(@ScreenOrientation int orientation, in rotationForOrientation() method in DisplayRotation
DDisplayContent.java1839 final int rotation = mDisplayRotation.rotationForOrientation(r.getRequestedOrientation(), in rotationForActivityInDifferentOrientation()
DActivityRecord.java2679 && mDisplayContent.getDisplayRotation().rotationForOrientation( in getStartingWindowType()
/frameworks/base/services/
Dart-wear-profile27144 HPLcom/android/server/wm/DisplayRotation;->rotationForOrientation(II)I