Searched refs:rotationLockSetting (Results 1 – 3 of 3) sorted by relevance
165 int rotationLockSetting = mPostureRotationLockSettings.get( in getRotationLockSetting() local167 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in getRotationLockSetting()168 rotationLockSetting = getFallbackRotationLockSetting(devicePosture); in getRotationLockSetting()170 return rotationLockSetting; in getRotationLockSetting()318 int rotationLockSetting = Integer.parseInt(values[1]); in loadDefaults() local319 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in loadDefaults()330 boolean isSettable = rotationLockSetting != DEVICE_STATE_ROTATION_LOCK_IGNORED; in loadDefaults()337 mPostureRotationLockSettings.put(posture, rotationLockSetting); in loadDefaults()338 mPostureDefaultRotationLockSettings.put(posture, rotationLockSetting); in loadDefaults()
142 int rotationLockSetting = in readPersistedSetting() local144 boolean shouldBeLocked = rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_LOCKED; in readPersistedSetting()147 mLogger.readPersistedSetting(caller, state, rotationLockSetting, shouldBeLocked, isLocked); in readPersistedSetting()149 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in readPersistedSetting()
97 rotationLockSetting: Int, in readPersistedSetting()107 int2 = rotationLockSetting in readPersistedSetting()