Home
last modified time | relevance | path

Searched refs:isRotationLocked (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DDeviceStateAutoRotateSettingController.java115 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()
DSmartAutoRotateController.java96 return !isRotationLocked() && hasSufficientPermission(mContext) in getAvailabilityStatus()
100 protected boolean isRotationLocked() { in isRotationLocked() method in SmartAutoRotateController
104 return RotationPolicy.isRotationLocked(mContext); in isRotationLocked()
161 return !isRotationLocked() && hasSufficientPermission(mContext) in isChecked()
DSmartAutoRotatePreferenceController.java164 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
180 if (!RotationPolicy.isRotationLocked(mContext)) { in getSummary()
DAutoRotateSwitchBarController.java77 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
DAutoRotatePreferenceController.java98 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceControllerTest.java98 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in setChecked_enabled()
107 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in setChecked_disabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDeviceStateAutoRotateSettingControllerTest.java153 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_true_deviceStateSettingIsUnlocked()
162 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_false_deviceStateSettingIsLocked()
DAutoRotatePreferenceControllerTest.java164 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in testSetCheck()
168 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in testSetCheck()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRotationPolicy.java44 protected static boolean isRotationLocked(Context context) { in isRotationLocked() method in ShadowRotationPolicy
/packages/apps/Settings/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceController.java48 return !RotationPolicy.isRotationLocked(mContext); in isChecked()