Searched refs:userRotation (Results 1 – 1 of 1) sorted by relevance
264 void restoreSettings(int userRotationMode, int userRotation, in restoreSettings() argument278 if (userRotation < Surface.ROTATION_0 || userRotation > Surface.ROTATION_270) { in restoreSettings()279 Slog.w(TAG, "Trying to restore an invalid user rotation " + userRotation in restoreSettings()281 userRotation = Surface.ROTATION_0; in restoreSettings()284 mUserRotation = userRotation; in restoreSettings()298 private void setUserRotation(int userRotationMode, int userRotation) { in setUserRotation() argument306 Settings.System.putIntForUser(res, Settings.System.USER_ROTATION, userRotation, in setUserRotation()316 if (mUserRotation != userRotation) { in setUserRotation()317 mUserRotation = userRotation; in setUserRotation()321 userRotation); in setUserRotation()[all …]