Home | History | Annotate | Download | only in settings

Lines Matching refs:Settings

17 package com.android.settings;
19 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
36 import android.provider.Settings;
37 import android.provider.Settings.SettingNotFoundException;
116 mDtmfTone.setChecked(Settings.System.getInt(resolver,
117 Settings.System.DTMF_TONE_WHEN_DIALING, 1) != 0);
120 mSoundEffects.setChecked(Settings.System.getInt(resolver,
121 Settings.System.SOUND_EFFECTS_ENABLED, 0) != 0);
124 mHapticFeedback.setChecked(Settings.System.getInt(resolver,
125 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0);
128 mLockSounds.setChecked(Settings.System.getInt(resolver,
129 Settings.System.LOCKSCREEN_SOUNDS_ENABLED, 1) != 0);
134 emergencyTonePreference.setValue(String.valueOf(Settings.System.getInt(
135 resolver, Settings.System.EMERGENCY_TONE, FALLBACK_EMERGENCY_TONE_VALUE)));
147 mNotificationPulse.setChecked(Settings.System.getInt(resolver,
148 Settings.System.NOTIFICATION_LIGHT_PULSE) == 1);
151 Log.e(TAG, Settings.System.NOTIFICATION_LIGHT_PULSE + " not found");
175 boolean vibeInSilent = (Settings.System.getInt(
177 Settings.System.VIBRATE_IN_SILENT,
229 Settings.System.putInt(getContentResolver(),
230 Settings.System.VIBRATE_IN_SILENT,
267 int silentModeStreams = Settings.System.getInt(getContentResolver(),
268 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
279 boolean vibeInSilent = (1 == Settings.System.getInt(
281 Settings.System.VIBRATE_IN_SILENT,
291 Settings.System.putInt(getContentResolver(), Settings.System.DTMF_TONE_WHEN_DIALING,
300 Settings.System.putInt(getContentResolver(), Settings.System.SOUND_EFFECTS_ENABLED,
304 Settings.System.putInt(getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED,
308 Settings.System.putInt(getContentResolver(), Settings.System.LOCKSCREEN_SOUNDS_ENABLED,
313 Settings.System.putInt(getContentResolver(),
314 Settings.System.NOTIFICATION_LIGHT_PULSE, value ? 1 : 0);
325 Settings.System.putInt(getContentResolver(),
326 Settings.System.EMERGENCY_TONE, value);