Searched refs:isRotationLocked (Results 1 – 8 of 8) sorted by relevance
76 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in setChecked_enabled()85 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in setChecked_disabled()
86 return !RotationPolicy.isRotationLocked(mContext) && hasSufficientPermission(mContext) in getAvailabilityStatus()138 return !RotationPolicy.isRotationLocked(mContext) && hasSufficientPermission(mContext) in isChecked()
81 final boolean isEnabled = !RotationPolicy.isRotationLocked(mContext); in onChange()
91 return !RotationPolicy.isRotationLocked(mContext); in isChecked()
127 if (!RotationPolicy.isRotationLocked(mContext)) { in getSummary()
134 assertThat(RotationPolicy.isRotationLocked(mContext)).isTrue(); in testSetCheck()138 assertThat(RotationPolicy.isRotationLocked(mContext)).isFalse(); in testSetCheck()
43 protected static boolean isRotationLocked(Context context) { in isRotationLocked() method in ShadowRotationPolicy
46 return !RotationPolicy.isRotationLocked(mContext); in isChecked()