Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java264 void restoreSettings(int userRotationMode, int userRotation, in restoreSettings() argument
272 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings()
273 && userRotationMode != WindowManagerPolicy.USER_ROTATION_LOCKED) { in restoreSettings()
274 Slog.w(TAG, "Trying to restore an invalid user rotation mode " + userRotationMode in restoreSettings()
276 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings()
283 mUserRotationMode = userRotationMode; in restoreSettings()
298 private void setUserRotation(int userRotationMode, int userRotation) { in setUserRotation() argument
303 userRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED ? 0 : 1; in setUserRotation()
312 if (mUserRotationMode != userRotationMode) { in setUserRotation()
313 mUserRotationMode = userRotationMode; in setUserRotation()
[all …]