/frameworks/base/services/java/com/android/server/wm/ |
InputManager.java | 32 import android.provider.Settings; 33 import android.provider.Settings.SettingNotFoundException; 442 Settings.System.getUriFor(Settings.System.POINTER_SPEED), true, 454 speed = Settings.System.getInt(mContext.getContentResolver(), 455 Settings.System.POINTER_SPEED); 468 Settings.System.getUriFor(Settings.System.SHOW_TOUCHES), true, 480 result = Settings.System.getInt(mContext.getContentResolver(), 481 Settings.System.SHOW_TOUCHES) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 43 import android.provider.Contacts.Settings; 597 * Test case for the behavior of the ContactsProvider's settings table 602 Settings._ID, Settings._SYNC_ACCOUNT, Settings._SYNC_ACCOUNT_TYPE, 603 Settings.KEY, Settings.VALUE}; 618 value.put(Settings.KEY, insertKey); 619 value.put(Settings.VALUE, insertValue); 622 mProvider.insert(Settings.CONTENT_URI, value) [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 43 import android.provider.Settings; 240 mIsAccessibilityEnabled = Settings.Secure.getInt( 242 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1; 247 mIsTouchExplorationEnabled = Settings.Secure.getInt( 249 Settings.Secure.TOUCH_EXPLORATION_ENABLED, 0) == 1; 271 Settings.Secure.putString(mContext.getContentResolver(), 272 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 286 * {@link ContentObserver}s for {@link Settings.Secure#ACCESSIBILITY_ENABLED} 287 * and {@link Settings.Secure#ENABLED_ACCESSIBILITY_SERVICES} settings [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
EnvironmentalReverb.java | 505 * The Settings class regroups all environmental reverb parameters. It is used in 509 public static class Settings { 521 public Settings() { 525 * Settings class constructor from a key=value; pairs formatted string. The string is 526 * typically returned by Settings.toString() method. 529 public Settings(String settings) { 530 StringTokenizer st = new StringTokenizer(settings, "=;"); 533 throw new IllegalArgumentException("settings: " + settings); 631 Settings settings = new Settings(); local [all...] |
Equalizer.java | 450 * The Settings class regroups all equalizer parameters. It is used in 454 public static class Settings { 459 public Settings() { 463 * Settings class constructor from a key=value; pairs formatted string. The string is 464 * typically returned by Settings.toString() method. 467 public Settings(String settings) { 468 StringTokenizer st = new StringTokenizer(settings, "=;"); 471 throw new IllegalArgumentException("settings: " + settings); 533 Settings settings = new Settings(); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
AccessibilityManagerServiceTest.java | 28 import android.provider.Settings; 562 * settings and waiting until the accessibility manager service pick it up. 564 * @param context A context handle to access the settings. 565 * @param enabled The accessibility state to write to the settings. 569 boolean isEnabled = (Settings.Secure.getInt(context.getContentResolver(), 570 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1 ? true : false); 576 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.ACCESSIBILITY_ENABLED, 585 * names are enabled by writing to the system settings and waiting until the 589 * @param context A context handle to access the settings [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothInputProfileHandler.java | 28 import android.provider.Settings; 138 return Settings.Secure.getInt(mContext.getContentResolver(), 139 Settings.Secure.getBluetoothInputDevicePriorityKey(device.getAddress()), 147 return Settings.Secure.putInt(mContext.getContentResolver(), 148 Settings.Secure.getBluetoothInputDevicePriorityKey(device.getAddress()),
|
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 34 import android.provider.Settings; 211 return Settings.System.getInt(mContext.getContentResolver(), Settings.System.AUTO_TIME, 0) 283 resolver.registerContentObserver(Settings.System.getUriFor(Settings.System.AUTO_TIME),
|
/frameworks/base/tools/localize/ |
localize_test.cpp | 98 Settings setting; 122 map<string,Settings> settings; local 123 map<string,Settings>::iterator it; 125 err = read_settings("testdata/config.xml", &settings, "//asdf"); 131 for (it=settings.begin(); it!=settings.end(); it++) { 132 const Settings& setting = it->second; 153 for (it=settings.begin(); it!=settings.end(); it++) [all...] |
localize.cpp | 27 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir) 41 Settings settings; local 42 settings.id = configNode->GetAttribute("", "id", ""); 43 if (settings.id == "") { 49 settings.oldVersion = configNode->GetAttribute("", "old-cl", ""); 51 settings.currentVersion = configNode->GetAttribute("", "new-cl", ""); 52 if (settings.currentVersion == "") { 72 settings.apps.push_back(dir); 104 settings.reject.push_back(reject) 177 const Settings* settings = reinterpret_cast<const Settings*>(cookie); local 273 map<string,Settings> settings; local 480 const PseudolocalizeSettings* settings = (PseudolocalizeSettings*)cookie; local 495 PseudolocalizeSettings settings; local [all...] |
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallHelper.java | 31 import android.provider.Settings; 347 // Settings activity turns it off. 348 if (Settings.System.getInt(mApp.getContentResolver(), 349 Settings.System.AIRPLANE_MODE_ON, 0) > 0) { 353 Settings.System.putInt(mApp.getContentResolver(), 354 Settings.System.AIRPLANE_MODE_ON, 0); 362 // (even though the Settings database doesn't think we're
|
ADNList.java | 30 import android.provider.Settings; 175 return Settings.System.getInt(context.getContentResolver(), 176 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
|
OtaStartupReceiver.java | 28 import android.provider.Settings; 160 boolean provisioned = Settings.Secure.getInt(context.getContentResolver(), 161 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
|
/development/apps/Development/src/com/android/development/ |
AppPicker.java | 30 import android.provider.Settings; 81 boolean waitForDebugger = Settings.System.getInt( 82 getContentResolver(), Settings.System.WAIT_FOR_DEBUGGER, 0) != 0;
|
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 31 import android.provider.Settings; 71 new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS); 72 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, mImi.getId());
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 25 import android.provider.Settings; 65 new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS); 66 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, mImi.getId());
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarSettingsActivity.java | 29 import android.provider.Settings; 80 Intent nextIntent = new Intent(Settings.ACTION_ADD_ACCOUNT); 82 nextIntent.putExtra(Settings.EXTRA_AUTHORITIES, array);
|
/packages/apps/Email/src/com/android/email/activity/ |
AttachmentInfoDialog.java | 31 import android.provider.Settings; 65 actionIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS); 74 actionIntent = new Intent(Settings.ACTION_WIFI_SETTINGS);
|
/packages/apps/Settings/src/com/android/settings/ |
AccessibilityEnableScriptInjectionPreference.java | 17 package com.android.settings; 24 import android.provider.Settings; 141 Settings.Secure.putInt(getContext().getContentResolver(), 142 Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, enabled ? 1 : 0);
|
PrivacySettings.java | 17 package com.android.settings; 32 import android.provider.Settings; 35 * Gesture lock pattern settings. 41 private static final String GSETTINGS_PROVIDER = "com.google.settings"; 148 mAutoRestore.setChecked(Settings.Secure.getInt(res, 149 Settings.Secure.BACKUP_AUTO_RESTORE, 1) == 1);
|
/cts/tests/tests/media/src/android/media/cts/ |
RingtoneTest.java | 28 import android.provider.Settings; 46 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI); 47 // backup ringer settings 61 // restore original settings
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebsettings.h | 31 class Settings; 159 QWebSettings(WebCore::Settings *settings);
|
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebInspectorClient.h | 83 WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> createFrontendSettings(); 97 WebInspectorFrontendClient(WebView* inspectedWebView, HWND inspectedWebViewHwnd, HWND frontendHwnd, const COMPtr<WebView>& frotnendWebView, HWND frontendWebViewHwnd, WebInspectorClient*, WTF::PassOwnPtr<Settings>);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 17 package com.android.providers.settings; 31 import android.provider.Settings; 53 * Performs backup and restore of the System and Secure settings. 54 * List of settings that are backed up are stored in the Settings.java file 92 Settings.NameValueTable._ID, 93 Settings.NameValueTable.NAME, 94 Settings.NameValueTable.VALUE 161 restoreSettings(data, Settings.System.CONTENT_URI); 164 restoreSettings(data, Settings.Secure.CONTENT_URI) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationController.java | 29 import android.provider.Settings; 88 Intent gpsIntent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
|