Searched refs:mAutoRotateSettingsManager (Results 1 – 2 of 2) sorted by relevance
48 private final DeviceStateRotationLockSettingsManager mAutoRotateSettingsManager; field in DeviceStateAutoRotateSettingController64 mAutoRotateSettingsManager = DeviceStateRotationLockSettingsManager.getInstance(context); in DeviceStateAutoRotateSettingController()80 mAutoRotateSettingsManager.registerListener(mDeviceStateRotationLockSettingsListener); in onStart()85 mAutoRotateSettingsManager.unregisterListener(mDeviceStateRotationLockSettingsListener); in onStop()115 return !mAutoRotateSettingsManager.isRotationLocked(mDeviceState); in isChecked()122 mAutoRotateSettingsManager.updateSetting(mDeviceState, isRotationLocked); in setChecked()
64 private final DeviceStateRotationLockSettingsManager mAutoRotateSettingsManager = field in DeviceStateAutoRotateSettingControllerTest137 mAutoRotateSettingsManager.updateSetting(DEFAULT_DEVICE_STATE, /* rotationLocked= */ false); in isChecked_settingForStateIsUnlocked_returnsTrue()144 mAutoRotateSettingsManager.updateSetting(DEFAULT_DEVICE_STATE, /* rotationLocked= */ true); in isChecked_settingForStateIsLocked_returnsFalse()153 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_true_deviceStateSettingIsUnlocked()162 boolean rotationLocked = mAutoRotateSettingsManager.isRotationLocked(DEFAULT_DEVICE_STATE); in setChecked_false_deviceStateSettingIsLocked()