Searched refs:userRotationMode (Results 1 – 1 of 1) sorted by relevance
264 void restoreSettings(int userRotationMode, int userRotation, in restoreSettings() argument272 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() argument303 userRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED ? 0 : 1; in setUserRotation()312 if (mUserRotationMode != userRotationMode) { in setUserRotation()313 mUserRotationMode = userRotationMode; in setUserRotation()[all …]