Searched refs:mVibratePref (Results 1 – 2 of 2) sorted by relevance
61 mController.mVibratePref = new SelectorWithWidgetPreference(mContext); in setUp()86 assertThat(mController.mVibratePref.isEnabled()).isTrue(); in testUpdateState_mute()88 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_mute()97 assertThat(mController.mVibratePref.isEnabled()).isTrue(); in testUpdateState_vibrate()99 assertThat(mController.mVibratePref.isChecked()).isTrue(); in testUpdateState_vibrate()108 assertThat(mController.mVibratePref.isEnabled()).isFalse(); in testUpdateState_off()110 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_off()119 assertThat(mController.mVibratePref.isChecked()).isFalse(); in testUpdateState_other()
57 SelectorWithWidgetPreference mVibratePref; field in PreventRingingGesturePreferenceController79 mVibratePref = makeRadioPreference(KEY_VIBRATE, R.string.prevent_ringing_option_vibrate); in displayPreference()118 if (mVibratePref != null && mVibratePref.isChecked() != isVibrate) { in updateState()119 mVibratePref.setChecked(isVibrate); in updateState()126 mVibratePref.setEnabled(false); in updateState()129 mVibratePref.setEnabled(true); in updateState()