Home
last modified time | relevance | path

Searched refs:preventRingingSetting (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingGesturePreferenceController.java104 int preventRingingSetting = keyToSetting(preference.getKey()); in onRadioButtonClicked() local
105 if (preventRingingSetting != Settings.Secure.getInt(mContext.getContentResolver(), in onRadioButtonClicked()
108 Settings.Secure.VOLUME_HUSH_GESTURE, preventRingingSetting); in onRadioButtonClicked() local
114 int preventRingingSetting = Settings.Secure.getInt(mContext.getContentResolver(), in updateState() local
116 final boolean isVibrate = preventRingingSetting == Settings.Secure.VOLUME_HUSH_VIBRATE; in updateState()
117 final boolean isMute = preventRingingSetting == Settings.Secure.VOLUME_HUSH_MUTE; in updateState()
125 if (preventRingingSetting == Settings.Secure.VOLUME_HUSH_OFF) { in updateState()
DPreventRingingSwitchPreferenceController.java85 int preventRingingSetting = Settings.Secure.getInt(mContext.getContentResolver(), in updateState() local
87 setChecked(preventRingingSetting != Settings.Secure.VOLUME_HUSH_OFF); in updateState()
98 final int preventRingingSetting = Settings.Secure.getInt(mContext.getContentResolver(), in onCheckedChanged() local
100 final int newRingingSetting = preventRingingSetting == Settings.Secure.VOLUME_HUSH_OFF in onCheckedChanged()
102 : preventRingingSetting; in onCheckedChanged()
DPreventRingingParentPreferenceController.java79 final int preventRingingSetting = Settings.Secure.getInt(mContext.getContentResolver(), in setChecked() local
81 final int newRingingSetting = preventRingingSetting == Settings.Secure.VOLUME_HUSH_OFF in setChecked()
83 : preventRingingSetting; in setChecked()