Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceControllerTest.java76 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in setChecked_enabled()
85 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in setChecked_disabled()
/packages/apps/Settings/src/com/android/settings/display/
DSmartAutoRotateController.java86 return !RotationPolicy.isRotationLocked(mContext) && hasSufficientPermission(mContext) in getAvailabilityStatus()
138 return !RotationPolicy.isRotationLocked(mContext) && hasSufficientPermission(mContext) in isChecked()
DAutoRotateSwitchBarController.java81 final boolean isEnabled = !RotationPolicy.isRotationLocked(mContext); in onChange()
DAutoRotatePreferenceController.java91 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
DSmartAutoRotatePreferenceController.java127 if (!RotationPolicy.isRotationLocked(mContext)) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAutoRotatePreferenceControllerTest.java134 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in testSetCheck()
138 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in testSetCheck()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRotationPolicy.java43 protected static boolean isRotationLocked(Context context) { in isRotationLocked() method in ShadowRotationPolicy
/packages/apps/Settings/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceController.java46 return !RotationPolicy.isRotationLocked(mContext); in isChecked()