/packages/apps/Settings/src/com/android/settings/ |
SoundSettings.java | 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) [all...] |
BrightnessPreference.java | 17 package com.android.settings; 30 import android.provider.Settings; 31 import android.provider.Settings.SettingNotFoundException; 92 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS), true, 96 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE), true, 114 mAutomaticMode = mOldAutomatic == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; 137 setMode(isChecked ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC 138 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL) [all...] |
AirplaneModeEnabler.java | 17 package com.android.settings; 27 import android.provider.Settings; 78 Settings.System.getUriFor(Settings.System.AIRPLANE_MODE_ON), true, 89 return Settings.System.getInt(context.getContentResolver(), 90 Settings.System.AIRPLANE_MODE_ON, 0) != 0; 95 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
|
/frameworks/base/core/tests/coretests/src/android/os/ |
BrightnessLimit.java | 25 import android.provider.Settings; 57 Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BootReceiver.java | 23 import android.provider.Settings; 38 if (Settings.System.getInt(res, Settings.System.SHOW_PROCESSES, 0) != 0) {
|
DreamsDockLauncher.java | 10 import android.provider.Settings; 26 String component = Settings.Secure.getString( 27 context.getContentResolver(), Settings.Secure.SCREENSAVER_COMPONENT); 60 final boolean activateOnDock = 0 != Settings.Secure.getInt( 62 Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, 0);
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySettingsTest.java | 22 import android.provider.Settings; 30 * accessibility settings has an activity that handles it. 37 Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 41 // make sure accessibility settings exist 42 String message = "Accessibility settings activity must be launched via Intent " + 43 "Settings.ACTION_ACCESSIBILITY_SETTINGS";
|
/cts/tests/tests/media/src/android/media/cts/ |
AsyncPlayerTest.java | 23 import android.provider.Settings; 29 final Uri PLAY_URI = Settings.System.DEFAULT_NOTIFICATION_URI;
|
/external/webkit/Source/WebCore/page/ |
DOMTimer.h | 37 class Settings; 40 friend class Settings; 64 // These are only modified via static methods in Settings.
|
/frameworks/base/services/java/com/android/server/am/ |
CoreSettingsObserver.java | 23 import android.provider.Settings; 24 import android.provider.Settings.SettingNotFoundException; 31 * Helper class for watching a set of core settings which the framework 33 * disk I/O operations. Note: This class assumes that all core settings reside 34 * in {@link Settings.Secure}. 43 sCoreSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); 44 // add other core settings here... 76 Uri uri = Settings.Secure.getUriFor(setting); 89 String value = Settings.Secure.getString(context.getContentResolver(), 93 int value = Settings.Secure.getInt(context.getContentResolver() [all...] |
/packages/apps/Contacts/src/com/android/contacts/preference/ |
ContactsPreferences.java | 26 import android.provider.Settings; 27 import android.provider.Settings.SettingNotFoundException; 68 mSortOrder = Settings.System.getInt(mContext.getContentResolver(), 79 Settings.System.putInt(mContext.getContentResolver(), 102 mDisplayOrder = Settings.System.getInt(mContext.getContentResolver(), 113 Settings.System.putInt(mContext.getContentResolver(), 129 Settings.System.getUriFor( 132 Settings.System.getUriFor(
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java 37 import android.provider.Settings; 38 import android.provider.Settings.SettingNotFoundException; 128 mCompatibilityMode.setChecked(Settings.System.getInt(getContentResolver(), 129 Settings.System.COMPATIBILITY_MODE, 1) != 0); 145 mFancyImeAnimationsPref.setChecked(Settings.System.getInt( 147 Settings.System.FANCY_IME_ANIMATIONS, 0) != 0); 148 mHapticFeedbackPref.setChecked(Settings.System.getInt( 150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0) [all...] |
Enabler.java | 25 import android.provider.Settings; 35 Settings.System.ADVANCED_SETTINGS_DEFAULT) != 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
SettingsSecureCompatUtils.java | 23 android.provider.Settings.Secure.class, "ACCESSIBILITY_SPEAK_PASSWORD");
|
/frameworks/base/media/java/android/media/audiofx/ |
PresetReverb.java | 234 * The Settings class regroups all preset reverb parameters. It is used in 238 public static class Settings { 241 public Settings() { 245 * Settings class constructor from a key=value; pairs formatted string. The string is 246 * typically returned by Settings.toString() method. 249 public Settings(String settings) { 250 StringTokenizer st = new StringTokenizer(settings, "=;"); 253 throw new IllegalArgumentException("settings: " + settings); 292 Settings settings = new Settings(); local [all...] |
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 24 import android.provider.Settings; 62 final String secureServer = Settings.Secure.getString( 63 resolver, Settings.Secure.NTP_SERVER); 64 final long timeout = Settings.Secure.getLong( 65 resolver, Settings.Secure.NTP_TIMEOUT, defaultTimeout);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AirplaneModeController.java | 27 import android.provider.Settings; 76 return 0 != Settings.System.getInt(cr, Settings.System.AIRPLANE_MODE_ON, 0); 84 Settings.System.putInt( 86 Settings.System.AIRPLANE_MODE_ON,
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 22 import android.provider.Settings; 56 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(), 57 Settings.System.DATE_FORMAT); 63 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12"); 68 Settings.System.putString(mContentResolver, Settings.System.DATE_FORMAT, mDefaultFormat); 74 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "24"); 76 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12") [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackActivity.java | 22 import android.provider.Settings; 34 /** An intent for launching the system settings. */ 36 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 46 // Add a shortcut to the accessibility settings.
|
TaskListActivity.java | 24 import android.provider.Settings; 31 /** An intent for launching the system settings. */ 33 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 50 // Add a shortcut to the accessibility settings.
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
ImePreferences.java | 31 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName()); 44 public static class Settings extends InputMethodSettingsFragment {
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
CachedFramePlatformDataAndroid.cpp | 29 #include "Settings.h" 33 CachedFramePlatformDataAndroid::CachedFramePlatformDataAndroid(WebCore::Settings* settings) 36 m_viewport_width = settings->viewportWidth(); 37 m_viewport_height = settings->viewportHeight(); 38 m_viewport_initial_scale = settings->viewportInitialScale(); 39 m_viewport_minimum_scale = settings->viewportMinimumScale(); 40 m_viewport_maximum_scale = settings->viewportMaximumScale(); 41 m_viewport_target_densitydpi = settings->viewportTargetDensityDpi(); 42 m_viewport_user_scalable = settings->viewportUserScalable() [all...] |
/packages/apps/Settings/tests/ |
Android.mk | 15 LOCAL_INSTRUMENTATION_FOR := Settings
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SettingsValues.java | 77 // Deduced settings 112 // Get the settings preferences 113 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); 115 mSoundOn = prefs.getBoolean(Settings.PREF_SOUND_ON, 120 mVoiceMode = prefs.getString(Settings.PREF_VOICE_MODE, voiceModeMain); 121 mAutoCorrectionThresholdRawValue = prefs.getString(Settings.PREF_AUTO_CORRECTION_THRESHOLD, 123 mShowSuggestionsSetting = prefs.getString(Settings.PREF_SHOW_SUGGESTIONS_SETTING, 127 Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false); 130 Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY, 132 mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 24 import android.provider.Settings; 44 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT 62 Settings.Bookmarks.CONTENT_URI, sProjection, null, null, null);
|