/external/webkit/WebCore/page/ |
Settings.cpp | 27 #include "Settings.h" 49 bool Settings::gShouldPaintNativeControls = true; 53 bool Settings::gShouldUseHighResolutionTimers = true; 56 Settings::Settings(Page* page) 151 void Settings::setStandardFontFamily(const AtomicString& standardFontFamily) 160 void Settings::setFixedFontFamily(const AtomicString& fixedFontFamily) 169 void Settings::setSerifFontFamily(const AtomicString& serifFontFamily) 178 void Settings::setSansSerifFontFamily(const AtomicString& sansSerifFontFamily) 187 void Settings::setCursiveFontFamily(const AtomicString& cursiveFontFamily [all...] |
/external/webkit/WebKit/android/WebCoreSupport/ |
CachedFramePlatformDataAndroid.h | 32 class Settings; 39 CachedFramePlatformDataAndroid(WebCore::Settings* settings); 42 void restoreMetadata(WebCore::Settings* settings);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SettingsTest.java | 28 import android.provider.Settings; 31 @TestTargetClass(android.provider.Settings.class) 35 Settings.System._ID, Settings.System.NAME, Settings.System.VALUE 49 IContentProvider provider = cr.acquireProvider(Settings.System.CONTENT_URI); 55 value.put(Settings.System.NAME, insertName); 56 value.put(Settings.System.VALUE, insertValue); 58 provider.insert(Settings.System.CONTENT_URI, value); 59 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION [all...] |
Contacts_SettingsTest.java | 23 import android.provider.Contacts.Settings; 33 @TestTargetClass(android.provider.Contacts.Settings.class) 41 @ToBeFixed(explanation = "The URL: content://contacts/settings does not support" + 51 // Cursor cursor = mProvider.query(Settings.CONTENT_URI, null, null, null, null); 56 // value.put(Settings._ID, cursor.getInt(0)); 57 // value.put(Settings._SYNC_ACCOUNT, cursor.getString(1)); 58 // value.put(Settings.KEY, cursor.getString(2)); 59 // value.put(Settings.VALUE, cursor.getString(3)); 70 // NOTE: because we cannot delete the URL: content://contacts/settings, 73 // mProvider.delete(Settings.CONTENT_URI, null, null) [all...] |
Settings_SettingNotFoundExceptionTest.java | 23 import android.provider.Settings.SettingNotFoundException; 26 @TestTargetClass(android.provider.Settings.SettingNotFoundException.class) 30 method = "Settings.SettingNotFoundException",
|
/packages/apps/Settings/src/com/android/settings/ |
DevelopmentSettings.java | 17 package com.android.settings; 29 import android.provider.Settings; 66 mEnableAdb.setChecked(Settings.Secure.getInt(getContentResolver(), 67 Settings.Secure.ADB_ENABLED, 0) != 0); 68 mKeepScreenOn.setChecked(Settings.System.getInt(getContentResolver(), 69 Settings.System.STAY_ON_WHILE_PLUGGED_IN, 0) != 0); 70 mAllowMockLocation.setChecked(Settings.Secure.getInt(getContentResolver(), 71 Settings.Secure.ALLOW_MOCK_LOCATION, 0) != 0); 94 Settings.Secure.putInt(getContentResolver(), Settings.Secure.ADB_ENABLED, 0) [all...] |
SoundSettings.java | 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) [all...] |
ApplicationSettings.java | 17 package com.android.settings; 29 import android.provider.Settings; 64 boolean userSetInstLocation = (Settings.System.getInt(getContentResolver(), 65 Settings.Secure.SET_INSTALL_LOCATION, 0) != 0); 88 Settings.System.putInt(getContentResolver(), 89 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_DEVICE); 91 Settings.System.putInt(getContentResolver(), 92 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_SDCARD); 94 Settings.System.putInt(getContentResolver(), 95 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO) [all...] |
BrightnessPreference.java | 17 package com.android.settings; 24 import android.provider.Settings; 25 import android.provider.Settings.SettingNotFoundException; 68 mOldBrightness = Settings.System.getInt(getContext().getContentResolver(), 69 Settings.System.SCREEN_BRIGHTNESS); 79 mOldAutomatic = Settings.System.getInt(getContext().getContentResolver(), 80 Settings.System.SCREEN_BRIGHTNESS_MODE); 105 setMode(isChecked ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC 106 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); 117 Settings.System.putInt(getContext().getContentResolver(), [all...] |
AccessibilitySettings.java | 17 package com.android.settings; 36 import android.provider.Settings; 48 * Activity with the accessibility settings. 99 String settingValue = Settings.Secure.getString(getContentResolver(), 100 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 118 int serviceState = Settings.Secure.getInt(getContentResolver(), 119 Settings.Secure.ACCESSIBILITY_ENABLED, 0); 131 Settings.Secure.putInt(getContentResolver(), 132 Settings.Secure.ACCESSIBILITY_ENABLED, 0); 141 int incallPowerBehavior = Settings.Secure.getInt(getContentResolver() [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SettingsProviderTest.java | 25 import android.provider.Settings; 34 Settings.Secure.putString(r, "test_service", "Value"); 35 assertEquals("Value", Settings.Secure.getString(r, "test_service")); 38 Settings.Secure.putString(r, "test_service", "New"); 39 assertEquals("New", Settings.Secure.getString(r, "test_service")); 42 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null)); 43 assertEquals(null, Settings.Secure.getString(r, "test_service")); 46 Settings.System.putString(r, "test_setting", "Value"); 47 assertEquals("Value", Settings.System.getString(r, "test_setting")); 49 Settings.System.putString(r, "test_setting", "New") [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 17 package com.android.providers.settings; 35 import android.provider.Settings; 36 import android.provider.Settings.Secure; 60 private static final String DATABASE_NAME = "settings.db"; 65 // settings. 121 // Load inital settings values 127 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " 209 // This introduces the new secure settings table. 222 Settings.Secure.ADB_ENABLED, 223 Settings.Secure.ANDROID_ID [all...] |
/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 28 import android.provider.Settings; 41 Settings.Secure.putInt(getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 1); 44 // Not needed since this SDK will contain the Settings app. 45 Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, LocationManager.GPS_PROVIDER); 48 Settings.Secure.putInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 1);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 25 import android.provider.Settings; 57 Settings.System.putString(r, "test", "Value"); 59 Settings.System.CONTENT_URI, 61 Settings.System.NAME, 62 Settings.System.VALUE, 66 cursor, Settings.System.NAME, true, null); 72 Settings.System.putString(r, "test", "New Value"); 74 String value = v.getAsString(Settings.System.VALUE); 82 String value = v.getAsString(Settings.System.VALUE);
|
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 23 import android.provider.Settings; 35 Settings.Secure.putInt(getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 1);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoWriteSecureSettingsPermissionTest.java | 22 * Verify secure settings cannot be written to without required permissions. 27 * Verify that write to secure settings requires permissions. 33 assertWritingContentUriRequiresPermission(android.provider.Settings.Secure.CONTENT_URI,
|
/frameworks/base/tools/localize/ |
localize.h | 18 struct Settings 27 int read_settings(const string& filename, map<string,Settings>* result, const string& rootDir); 30 int validate_config(const string& settingsFile, const map<string,Settings>& settings, 32 int validate_configs(const string& settingsFile, const map<string,Settings>& settings, 35 const map<string,Settings>& settings, const string& rootDir); 37 const map<string,Settings>& settings, const string& rootDir) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SettingsActivity.java | 28 import com.android.inputmethod.pinyin.Settings; 48 addPreferencesFromResource(R.xml.settings); 61 Settings.getInstance(PreferenceManager 77 Settings.releaseInstance(); 84 Settings.setKeySound(mKeySoundPref.isChecked()); 85 Settings.setVibrate(mVibratePref.isChecked()); 86 Settings.setPrediction(mPredictionPref.isChecked()); 88 Settings.writeBack(); 96 mKeySoundPref.setChecked(Settings.getKeySound()); 97 mVibratePref.setChecked(Settings.getVibrate()) [all...] |
Settings.java | 23 * Class used to maintain settings. 25 public class Settings { 34 private static Settings mInstance = null; 40 protected Settings(SharedPreferences pref) { 45 public static Settings getInstance(SharedPreferences pref) { 47 mInstance = new Settings(pref);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
SettingsActivity.java | 26 import android.provider.Settings; 29 * Settings for the Alarm Clock. 47 addPreferencesFromResource(R.xml.settings); 61 int ringerModeStreamTypes = Settings.System.getInt( 63 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0); 71 Settings.System.putInt(getContentResolver(), 72 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 92 Settings.System.getInt(getContentResolver(), 93 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
|
/external/webkit/WebKit/chromium/src/ |
WebSettingsImpl.h | 38 class Settings; 45 explicit WebSettingsImpl(WebCore::Settings*); 89 WebCore::Settings* m_settings;
|
/external/webkit/WebKit/wx/ |
WebSettings.h | 40 class Settings; 57 call its wxWebView::GetWebSettings() method to get and change that WebView's settings. 63 wxWebSettings(WebCore::Settings* settings) : 65 m_settings(settings) 162 WebCore::Settings* m_settings;
|
/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);
|
/development/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...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
ContactsPreferences.java | 25 import android.provider.Settings; 26 import android.provider.Settings.SettingNotFoundException; 66 mSortOrder = Settings.System.getInt(mContext.getContentResolver(), 77 Settings.System.putInt(mContext.getContentResolver(), 100 mDisplayOrder = Settings.System.getInt(mContext.getContentResolver(), 111 Settings.System.putInt(mContext.getContentResolver(), 123 Settings.System.getUriFor( 126 Settings.System.getUriFor(
|