Lines Matching refs:Settings
17 package com.android.settings;
40 import android.provider.Settings;
123 mVibrateWhenRinging.setChecked(Settings.System.getInt(resolver,
124 Settings.System.VIBRATE_WHEN_RINGING, 0) != 0);
128 mDtmfTone.setChecked(Settings.System.getInt(resolver,
129 Settings.System.DTMF_TONE_WHEN_DIALING, 1) != 0);
132 mSoundEffects.setChecked(Settings.System.getInt(resolver,
133 Settings.System.SOUND_EFFECTS_ENABLED, 1) != 0);
136 mHapticFeedback.setChecked(Settings.System.getInt(resolver,
137 Settings.System.HAPTIC_FEEDBACK_ENABLED, 1) != 0);
140 mLockSounds.setChecked(Settings.System.getInt(resolver,
141 Settings.System.LOCKSCREEN_SOUNDS_ENABLED, 1) != 0);
155 emergencyTonePreference.setValue(String.valueOf(Settings.System.getInt(
156 resolver, Settings.System.EMERGENCY_TONE, FALLBACK_EMERGENCY_TONE_VALUE)));
239 Settings.System.putInt(getContentResolver(), Settings.System.VIBRATE_WHEN_RINGING,
242 Settings.System.putInt(getContentResolver(), Settings.System.DTMF_TONE_WHEN_DIALING,
251 Settings.System.putInt(getContentResolver(), Settings.System.SOUND_EFFECTS_ENABLED,
255 Settings.System.putInt(getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED,
259 Settings.System.putInt(getContentResolver(), Settings.System.LOCKSCREEN_SOUNDS_ENABLED,
275 Settings.System.putInt(getContentResolver(),
276 Settings.System.EMERGENCY_TONE, value);