Searched refs:userRotationMode (Results 1 – 2 of 2) sorted by relevance
903 void restoreSettings(int userRotationMode, int userRotation, int fixedToUserRotation) { in restoreSettings() argument910 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings()911 && userRotationMode != WindowManagerPolicy.USER_ROTATION_LOCKED) { in restoreSettings()912 Slog.w(TAG, "Trying to restore an invalid user rotation mode " + userRotationMode in restoreSettings()914 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings()923 userRotationMode = WindowManagerPolicy.USER_ROTATION_LOCKED; in restoreSettings()926 mUserRotationMode = userRotationMode; in restoreSettings()947 void setUserRotation(int userRotationMode, int userRotation, String caller) { in setUserRotation() argument948 mRotationLockHistory.addRecord(userRotationMode, userRotation, caller); in setUserRotation()954 userRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED ? 0 : 1; in setUserRotation()[all …]
306 final int userRotationMode = settings.mUserRotationMode != null in applySettingsToDisplayLocked() local312 dc.getDisplayRotation().restoreSettings(userRotationMode, userRotation, in applySettingsToDisplayLocked()