Searched refs:USER_ROTATION_FREE (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationReversionControllerTests.java | 20 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_FREE; 70 doReturn(USER_ROTATION_FREE).when(displayRotation).getUserRotationMode(); in beforeOverrideApplied_dontUseDisplayRotationWhenNotUserRotationLocked()
|
D | DisplayRotationTests.java | 228 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_InternalDisplay() 232 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testUserRotationSystemProperty_NonDefault_InternalDisplay() 243 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_ExternalDisplay() 258 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_OverlayDisplay() 277 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 280 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 286 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 300 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistUserRotation_UnlockRotation_DefaultDisplay() 312 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay() 315 eq(WindowManagerPolicy.USER_ROTATION_FREE), anyInt()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
|
D | DisplayWindowSettingsTests.java | 280 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, rotation.getUserRotationMode()); in testDefaultToFreeUserRotation()
|
D | TaskTests.java | 44 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_FREE; 681 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_0, /* caller= */ "TaskTests"); in testFullscreenBoundsForcedOrientation() 713 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_90, /* caller= */ "TaskTests"); in testFullscreenBoundsForcedOrientation() 752 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_0, /* caller= */ "TaskTests"); in testReportsOrientationRequestInLetterboxForOrientation()
|
D | DisplayContentTests.java | 1101 dc.getDisplayRotation().setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, in testNoSensorRevert()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 397 @IntDef({USER_ROTATION_FREE, USER_ROTATION_LOCKED}) 403 public final int USER_ROTATION_FREE = 0; field 1204 case USER_ROTATION_FREE: in userRotationModeToString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 228 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; 910 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings() 914 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings() 996 setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, mUserRotation, caller); in thawRotation() 1336 } else if (((mUserRotationMode == WindowManagerPolicy.USER_ROTATION_FREE in rotationForOrientation() 1647 ? WindowManagerPolicy.USER_ROTATION_FREE in updateSettings() 2129 && mUserRotationMode == WindowManagerPolicy.USER_ROTATION_FREE
|
D | DisplayWindowSettings.java | 307 ? settings.mUserRotationMode : WindowManagerPolicy.USER_ROTATION_FREE; in applySettingsToDisplayLocked()
|
/frameworks/base/core/proto/android/server/ |
D | windowmanagerservice.proto | 146 USER_ROTATION_FREE = 0; enumerator
|