Searched refs:userRotation (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 903 void restoreSettings(int userRotationMode, int userRotation, int fixedToUserRotation) { in restoreSettings() argument 916 if (userRotation < Surface.ROTATION_0 || userRotation > Surface.ROTATION_270) { in restoreSettings() 917 Slog.w(TAG, "Trying to restore an invalid user rotation " + userRotation in restoreSettings() 919 userRotation = Surface.ROTATION_0; in restoreSettings() 924 userRotation = userRotationOverride; in restoreSettings() 927 mUserRotation = userRotation; in restoreSettings() 947 void setUserRotation(int userRotationMode, int userRotation, String caller) { in setUserRotation() argument 948 mRotationLockHistory.addRecord(userRotationMode, userRotation, caller); in setUserRotation() 957 Settings.System.putIntForUser(res, Settings.System.USER_ROTATION, userRotation, in setUserRotation() 967 if (mUserRotation != userRotation) { in setUserRotation() [all …]
|
D | DisplayWindowSettings.java | 308 final int userRotation = settings.mUserRotation != null in applySettingsToDisplayLocked() local 312 dc.getDisplayRotation().restoreSettings(userRotationMode, userRotation, in applySettingsToDisplayLocked()
|