Home
last modified time | relevance | path

Searched refs:USER_ROTATION_FREE (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java95 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE;
272 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings()
276 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings()
334 setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, mUserRotation); in thawRotation()
604 } else if ((mUserRotationMode == WindowManagerPolicy.USER_ROTATION_FREE in rotationForOrientation()
865 ? WindowManagerPolicy.USER_ROTATION_FREE in updateSettings()
DDisplayWindowSettings.java102 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE;
144 && mUserRotationMode == WindowManagerPolicy.USER_ROTATION_FREE in isEmpty()
540 WindowManagerPolicy.USER_ROTATION_FREE); in readDisplay()
614 if (entry.mUserRotationMode != WindowManagerPolicy.USER_ROTATION_FREE) { in writeSettings()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java690 @IntDef({USER_ROTATION_FREE, USER_ROTATION_LOCKED})
696 public final int USER_ROTATION_FREE = 0; field
1454 case USER_ROTATION_FREE: in userRotationModeToString()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java183 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistUserRotation_UnlockRotation_DefaultDisplay()
195 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
198 eq(WindowManagerPolicy.USER_ROTATION_FREE), anyInt()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
DDisplayWindowSettingsTests.java324 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, rotation.getUserRotationMode()); in testDefaultToFreeUserRotation()
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto102 USER_ROTATION_FREE = 0; enumerator