Searched refs:rotationForOrientation (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 351 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 …]
|
D | TestDisplayContent.java | 66 final int rotation = displayRotation.rotationForOrientation( in TestDisplayContent()
|
D | DisplayContentTests.java | 1086 .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()
|
D | ActivityRecordTests.java | 1921 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()
|
D | RootWindowContainerTests.java | 602 .rotationForOrientation(activity.getOrientation(), display.getRotation())); in testAwakeFromSleepingWithAppConfiguration()
|
D | TransitionTests.java | 1361 doReturn(prevRotation + 1).when(displayRotation).rotationForOrientation( in testDeferRotationForTransientLaunch()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 573 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
|
D | DisplayContent.java | 1839 final int rotation = mDisplayRotation.rotationForOrientation(r.getRequestedOrientation(), in rotationForActivityInDifferentOrientation()
|
D | ActivityRecord.java | 2679 && mDisplayContent.getDisplayRotation().rotationForOrientation( in getStartingWindowType()
|
/frameworks/base/services/ |
D | art-wear-profile | 27144 HPLcom/android/server/wm/DisplayRotation;->rotationForOrientation(II)I
|