Searched refs:isRotationLocked (Results 1 – 10 of 10) sorted by relevance
115 return !mAutoRotateSettingsManager.isRotationLocked(mDeviceState); in isChecked()120 boolean isRotationLocked = !isChecked; in setChecked()122 mAutoRotateSettingsManager.updateSetting(mDeviceState, isRotationLocked); in setChecked()127 boolean isRotationLocked = !isChecked; in logSettingChanged()129 isRotationLocked); in logSettingChanged()
96 return !isRotationLocked() && hasSufficientPermission(mContext) in getAvailabilityStatus()100 protected boolean isRotationLocked() { in isRotationLocked() method in SmartAutoRotateController104 return RotationPolicy.isRotationLocked(mContext); in isRotationLocked()161 return !isRotationLocked() && hasSufficientPermission(mContext) in isChecked()
164 return !RotationPolicy.isRotationLocked(mContext); in isChecked()180 if (!RotationPolicy.isRotationLocked(mContext)) { in getSummary()
77 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
98 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
98 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in setChecked_enabled()107 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in setChecked_disabled()
153 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_true_deviceStateSettingIsUnlocked()162 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_false_deviceStateSettingIsLocked()
164 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in testSetCheck()168 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in testSetCheck()
44 protected static boolean isRotationLocked(Context context) { in isRotationLocked() method in ShadowRotationPolicy
48 return !RotationPolicy.isRotationLocked(mContext); in isChecked()