/packages/apps/Settings/src/com/android/settings/ |
D | DevelopmentSettings.java | 63 import android.provider.Settings; 292 || Settings.Global.getInt(getActivity().getContentResolver(), in onCreate() 293 Settings.Global.DEVICE_PROVISIONED, 0) == 0) { in onCreate() 512 mLastEnabledState = Settings.Global.getInt(cr, in onResume() 513 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0; in onResume() 522 Settings.Global.putInt(getActivity().getContentResolver(), in onResume() 523 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in onResume() 574 updateSwitchPreference(mEnableAdb, Settings.Global.getInt(cr, in updateAllOptions() 575 Settings.Global.ADB_ENABLED, 0) != 0); in updateAllOptions() 581 updateSwitchPreference(mBugreportInPower, Settings.Secure.getInt(cr, in updateAllOptions() [all …]
|
D | ApplicationSettings.java | 26 import android.provider.Settings; 69 boolean userSetInstLocation = (Settings.Global.getInt(getContentResolver(), in onCreate() 70 Settings.Global.SET_INSTALL_LOCATION, 0) != 0); in onCreate() 87 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation() 88 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_DEVICE); in handleUpdateAppInstallLocation() 90 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation() 91 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_SDCARD); in handleUpdateAppInstallLocation() 93 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation() 94 Settings.Global.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO); in handleUpdateAppInstallLocation() 97 Settings.Global.putInt(getContentResolver(), in handleUpdateAppInstallLocation() [all …]
|
D | DisplaySettings.java | 25 import static android.provider.Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED; 26 import static android.provider.Settings.Secure.CAMERA_GESTURE_DISABLED; 27 import static android.provider.Settings.Secure.DOUBLE_TAP_TO_WAKE; 28 import static android.provider.Settings.Secure.DOZE_ENABLED; 29 import static android.provider.Settings.Secure.WAKE_GESTURE_ENABLED; 30 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE; 31 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; 32 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; 33 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT; 56 import android.provider.Settings; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsValues.java | 134 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); in SettingsValues() 135 mVibrateOn = Settings.readVibrationEnabled(prefs, res); in SettingsValues() 136 mSoundOn = Settings.readKeypressSoundEnabled(prefs, res); in SettingsValues() 137 mKeyPreviewPopupOn = Settings.readKeyPreviewPopupEnabled(prefs, res); in SettingsValues() 143 mIncludesOtherImesInLanguageSwitchList = Settings.ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS in SettingsValues() 144 ? prefs.getBoolean(Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false) in SettingsValues() 146 mShowsLanguageSwitchKey = Settings.ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS in SettingsValues() 147 ? Settings.readShowsLanguageSwitchKey(prefs) : true /* forcibly */; in SettingsValues() 148 mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true); in SettingsValues() 149 mUsePersonalizedDicts = prefs.getBoolean(Settings.PREF_KEY_USE_PERSONALIZED_DICTS, true); in SettingsValues() [all …]
|
D | AdvancedSettingsFragment.java | 59 if (!Settings.isInternal(prefs)) { in onCreate() 60 removePreference(Settings.SCREEN_DEBUG); in onCreate() 64 removePreference(Settings.PREF_VIBRATION_DURATION_SETTINGS); in onCreate() 68 if (!Settings.readFromBuildConfigIfToShowKeyPreviewPopupOption(res)) { in onCreate() 69 removePreference(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY); in onCreate() 73 (ListPreference) findPreference(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY); in onCreate() 88 Settings.readKeyPreviewPopupEnabled(prefs, res)); in onCreate() 101 updateListPreferenceSummaryToCurrentValue(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY); in onResume() 107 if (key.equals(Settings.PREF_POPUP_ON)) { in onSharedPreferenceChanged() 108 setPreferenceEnabled(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY, in onSharedPreferenceChanged() [all …]
|
D | PreferencesSettingsFragment.java | 62 removePreference(Settings.PREF_VOICE_INPUT_KEY); in onCreate() 65 removePreference(Settings.PREF_VIBRATE_ON); in onCreate() 67 if (!Settings.readFromBuildConfigIfToShowKeyPreviewPopupOption(res)) { in onCreate() 68 removePreference(Settings.PREF_POPUP_ON); in onCreate() 77 final Preference voiceInputKeyOption = findPreference(Settings.PREF_VOICE_INPUT_KEY); in onResume() 89 if (key.equals(Settings.PREF_POPUP_ON)) { in onSharedPreferenceChanged() 90 setPreferenceEnabled(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY, in onSharedPreferenceChanged() 91 Settings.readKeyPreviewPopupEnabled(prefs, res)); in onSharedPreferenceChanged() 99 setPreferenceEnabled(Settings.PREF_VIBRATION_DURATION_SETTINGS, in refreshEnablingsOfKeypressSoundAndVibrationSettings() 100 Settings.readVibrationEnabled(prefs, res)); in refreshEnablingsOfKeypressSoundAndVibrationSettings() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 39 import android.provider.Settings; 513 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF; 522 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY: in getButtonImageId() 523 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: in getButtonImageId() 536 mCurrentLocationMode = Settings.Secure.getInt(resolver, in getActualState() 537 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getActualState() 538 return (mCurrentLocationMode == Settings.Secure.LOCATION_MODE_OFF) in getActualState() 558 int currentMode = Settings.Secure.getInt(resolver, in requestStateChange() 559 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in requestStateChange() 560 int mode = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; in requestStateChange() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 39 import android.provider.Settings; 258 Settings.Secure.putInt(getContentResolver(), in handleLongPressTimeoutPreferenceChange() 259 Settings.Secure.LONG_PRESS_TIMEOUT, Integer.parseInt(stringValue)); in handleLongPressTimeoutPreferenceChange() 265 Settings.Secure.putInt(getContentResolver(), in handleToggleInversionPreferenceChange() 266 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, (checked ? 1 : 0)); in handleToggleInversionPreferenceChange() 306 Settings.Secure.putInt(getContentResolver(), in handleToggleTextContrastPreferenceClick() 307 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, in handleToggleTextContrastPreferenceClick() 312 Settings.Secure.putInt(getContentResolver(), in handleTogglePowerButtonEndsCallPreferenceClick() 313 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, in handleTogglePowerButtonEndsCallPreferenceClick() 315 ? Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP in handleTogglePowerButtonEndsCallPreferenceClick() [all …]
|
D | CaptionPropertiesFragment.java | 29 import android.provider.Settings; 240 Settings.Secure.putInt(getActivity().getContentResolver(), in onInstallSwitchBarToggleSwitch() 241 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, checked ? 1 : 0); in onInstallSwitchBarToggleSwitch() 429 Settings.Secure.putInt( in onValueChanged() 430 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, merged); in onValueChanged() 433 Settings.Secure.putInt( in onValueChanged() 434 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, merged); in onValueChanged() 437 Settings.Secure.putInt( in onValueChanged() 438 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, merged); in onValueChanged() 440 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value); in onValueChanged() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | DefaultAssistPreference.java | 25 import android.provider.Settings; 71 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone() 72 Settings.Secure.ASSISTANT, ITEM_NONE_VALUE); in setAssistNone() 73 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone() 74 Settings.Secure.VOICE_INTERACTION_SERVICE, ""); in setAssistNone() 75 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone() 76 Settings.Secure.VOICE_RECOGNITION_SERVICE, getDefaultRecognizer()); in setAssistNone() 89 Settings.Secure.putString(getContext().getContentResolver(), in setAssistService() 90 Settings.Secure.ASSISTANT, serviceComponentName); in setAssistService() 91 Settings.Secure.putString(getContext().getContentResolver(), in setAssistService() [all …]
|
D | DefaultEmergencyPreference.java | 27 import android.provider.Settings; 60 String previousValue = Settings.Secure.getString(mContentResolver, in persistString() 61 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION); in persistString() 64 Settings.Secure.putString(mContentResolver, in persistString() 65 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, in persistString() 81 String currentPkg = Settings.Secure.getString(mContentResolver, in load() 82 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION); in load() 123 String defaultPackage = Settings.Secure.getString(mContentResolver, in resolveAssistPackageAndQueryApps() 124 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION); in resolveAssistPackageAndQueryApps() 128 Settings.Secure.putString(mContentResolver, in resolveAssistPackageAndQueryApps() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettings.java | 51 import android.provider.Settings; 393 return Settings.System.putInt(getContentResolver(), in initVibrateWhenRinging() 394 Settings.System.VIBRATE_WHEN_RINGING, in initVibrateWhenRinging() 402 mVibrateWhenRinging.setChecked(Settings.System.getInt(getContentResolver(), in updateVibrateWhenRinging() 403 Settings.System.VIBRATE_WHEN_RINGING, 0) != 0); in updateVibrateWhenRinging() 423 return Settings.System.putInt(getContentResolver(), in initPulse() 424 Settings.System.NOTIFICATION_LIGHT_PULSE, in initPulse() 436 mNotificationPulse.setChecked(Settings.System.getInt(getContentResolver(), in updatePulse() 437 Settings.System.NOTIFICATION_LIGHT_PULSE) == 1); in updatePulse() 438 } catch (Settings.SettingNotFoundException snfe) { in updatePulse() [all …]
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 37 import android.provider.Settings; 38 import android.provider.Settings.SettingNotFoundException; 128 mCompatibilityMode.setChecked(Settings.Global.getInt(getContentResolver(), in onCreate() 129 Settings.Global.COMPATIBILITY_MODE, 1) != 0); in onCreate() 145 mFancyImeAnimationsPref.setChecked(Settings.Global.getInt( in updateToggles() 147 Settings.Global.FANCY_IME_ANIMATIONS, 0) != 0); in updateToggles() 148 mHapticFeedbackPref.setChecked(Settings.System.getInt( in updateToggles() 150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0); in updateToggles() 170 Settings.Global.putInt(getContentResolver(), in onPreferenceTreeClick() 171 Settings.Global.COMPATIBILITY_MODE, in onPreferenceTreeClick() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | CustomContactListFilterActivity.java | 41 import android.provider.ContactsContract.Settings; 257 final Uri.Builder settingsUri = Settings.CONTENT_URI.buildUpon() in fromSettings() 258 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) in fromSettings() 259 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType); in fromSettings() 261 settingsUri.appendQueryParameter(Settings.DATA_SET, dataSet); in fromSettings() 264 Settings.SHOULD_SYNC, Settings.UNGROUPED_VISIBLE in fromSettings() 269 values.put(Settings.ACCOUNT_NAME, accountName); in fromSettings() 270 values.put(Settings.ACCOUNT_TYPE, accountType); in fromSettings() 271 values.put(Settings.DATA_SET, dataSet); in fromSettings() 275 values.put(Settings.SHOULD_SYNC, cursor.getInt(0)); in fromSettings() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 24 import android.provider.Settings; 25 import android.provider.Settings.SettingNotFoundException; 86 return Settings.Secure.getInt(resolver, in getInputMethodSubtypeSelected() 87 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE); in getInputMethodSubtypeSelected() 98 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode); in putSelectedInputMethodSubtype() 104 final String enabledInputMethodsStr = Settings.Secure.getString( in getEnabledInputMethodsAndSubtypeList() 105 resolver, Settings.Secure.ENABLED_INPUT_METHODS); in getEnabledInputMethodsAndSubtypeList() 142 Settings.Secure.putString(resolver, in enableInputMethodSubtypesOf() 143 Settings.Secure.ENABLED_INPUT_METHODS, enabledImesAndSubtypesString); in enableInputMethodSubtypesOf() 148 String disabledIMEsStr = Settings.Secure.getString( in getDisabledSystemIMEs() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/settings/ |
D | SoundSettingsFragment.java | 32 import android.provider.Settings; 122 Settings.System.getInt(context.getContentResolver(), in onCreate() 123 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, in onCreate() 135 if (!Settings.System.canWrite(getContext())) { in onResume() 158 if (!Settings.System.canWrite(getContext())) { in onPreferenceChange() 168 Settings.System.putInt(getActivity().getContentResolver(), in onPreferenceChange() 169 Settings.System.VIBRATE_WHEN_RINGING, in onPreferenceChange() 173 Settings.System.putInt(getActivity().getContentResolver(), in onPreferenceChange() 174 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index); in onPreferenceChange() 184 if (!Settings.System.canWrite(getContext())) { in onPreferenceTreeClick() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CdmaSystemSelectListPreference.java | 26 import android.provider.Settings; 27 import android.provider.Settings.Secure; 72 Settings.Global.getInt(mPhone.getContext().getContentResolver(), in onDialogClosed() 73 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME); in onDialogClosed() 85 Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onDialogClosed() 86 Settings.Global.CDMA_ROAMING_MODE, in onDialogClosed() 121 int settingsRoamingMode = Settings.Global.getInt( in handleQueryCdmaRoamingPreference() 123 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME); in handleQueryCdmaRoamingPreference() 131 Settings.Global.putInt( in handleQueryCdmaRoamingPreference() 133 Settings.Global.CDMA_ROAMING_MODE, in handleQueryCdmaRoamingPreference() [all …]
|
D | MobileNetworkSettings.java | 214 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onPreferenceTreeClick() 216 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId, in onPreferenceTreeClick() 221 String tmpl = android.provider.Settings.Global.getString(getContentResolver(), in onPreferenceTreeClick() 222 android.provider.Settings.Global.SETUP_PREPAID_DATA_SERVICE_URL); in onPreferenceTreeClick() 239 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onPreferenceTreeClick() 241 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId, in onPreferenceTreeClick() 541 int settingsNetworkMode = android.provider.Settings.Global.getInt( in updateBody() 543 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId, in updateBody() 588 int lteForced = android.provider.Settings.Global.getInt( in updateBody() 590 android.provider.Settings.Global.LTE_SERVICE_FORCED + mPhone.getSubId(), in updateBody() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Settings.java | 46 public class Settings implements Parcelable { class 49 static final Settings EMPTY_SETTINGS = new Settings(); 117 private static final Settings sDefault = EMPTY_SETTINGS; 119 private Settings() { in Settings() method in Settings 143 public Settings(Parcel inParcel) { in Settings() method in Settings 167 public Settings(Cursor cursor) { in Settings() method in Settings 203 private Settings(JSONObject json) { in Settings() method in Settings 327 public static Settings newInstance(JSONObject json) { in newInstance() 331 return new Settings(json); in newInstance() 371 public static Uri getDefaultInboxUri(Settings settings) { in getDefaultInboxUri() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GroupsTest.java | 32 import android.provider.ContactsContract.Settings; 316 values.put(Settings.ACCOUNT_NAME, sTestAccount.name); in testUngroupedVisible() 317 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type); in testUngroupedVisible() 318 values.put(Settings.UNGROUPED_VISIBLE, 0); in testUngroupedVisible() 319 mResolver.insert(Settings.CONTENT_URI, values); in testUngroupedVisible() 324 values.put(Settings.UNGROUPED_VISIBLE, 1); in testUngroupedVisible() 325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND " in testUngroupedVisible() 326 + Settings.ACCOUNT_TYPE + "=?", new String[] { in testUngroupedVisible() 372 values.put(Settings.ACCOUNT_NAME, sTestAccount.name); in testMultipleSourcesVisible() 373 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type); in testMultipleSourcesVisible() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | DeveloperOptionsActivity.java | 39 import android.provider.Settings; 812 return Settings.Global.getString(getContentResolver(), Settings.Global.DEBUG_APP); in getDebugApp() 816 boolean waitForDebugger = getGlobalSettingBoolean(Settings.Global.WAIT_FOR_DEBUGGER); in setDebugApp() 930 return Settings.Global.getInt(getContentResolver(), setting, 0) != 0; in getGlobalSettingBoolean() 934 Settings.Global.putInt(getContentResolver(), setting, value ? 1 : 0); in setGlobalSettingBoolean() 938 return Settings.Secure.getInt(getContentResolver(), setting, 0) != 0; in getSecureSettingBoolean() 942 Settings.Secure.putInt(getContentResolver(), setting, value ? 1 : 0); in setSecureSettingBoolean() 946 return getGlobalSettingBoolean(Settings.Global.STAY_ON_WHILE_PLUGGED_IN) ? in getStayAwakeActionId() 951 setGlobalSettingBoolean(Settings.Global.STAY_ON_WHILE_PLUGGED_IN, value); in setStayAwake() 1003 return getSecureSettingBoolean(Settings.Secure.BLUETOOTH_HCI_LOG) ? in getHciLoggingActionId() [all …]
|
D | CaptionSetupActivity.java | 24 import android.provider.Settings; 594 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, in setEnabled() 603 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, s); in setStyle() 616 Settings.Secure.putFloat(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, in setTextSize() 624 Settings.Secure.putString(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, language); in setLanguage() 631 Settings.Secure.putString(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, in setFontFamily() 650 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, in updateCaptioningTextColor() 677 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, in updateCaptioningWindowColor() 685 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, in setEdgeType() 693 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, in setEdgeColor() [all …]
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 46 import android.provider.Settings; 161 getContentResolver().registerContentObserver(Settings.Global.getUriFor( in onStart() 162 Settings.Global.WIFI_DISPLAY_ON), false, mSettingsObserver); in onStart() 163 getContentResolver().registerContentObserver(Settings.Global.getUriFor( in onStart() 164 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON), false, mSettingsObserver); in onStart() 165 getContentResolver().registerContentObserver(Settings.Global.getUriFor( in onStart() 166 Settings.Global.WIFI_DISPLAY_WPS_CONFIG), false, mSettingsObserver); in onStart() 207 Settings.Global.putInt(getContentResolver(), in onOptionsItemSelected() 208 Settings.Global.WIFI_DISPLAY_ON, mWifiDisplayOnSetting ? 1 : 0); in onOptionsItemSelected() 235 mWifiDisplayOnSetting = Settings.Global.getInt(getContentResolver(), in update() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 50 import android.provider.ContactsContract.Settings; 771 android.provider.Contacts.Settings._ID + " INTEGER PRIMARY KEY," + in createSettingsTable() 772 android.provider.Contacts.Settings._SYNC_ACCOUNT + " TEXT," + in createSettingsTable() 773 android.provider.Contacts.Settings._SYNC_ACCOUNT_TYPE + " TEXT," + in createSettingsTable() 774 android.provider.Contacts.Settings.KEY + " STRING NOT NULL," + in createSettingsTable() 775 android.provider.Contacts.Settings.VALUE + " STRING " + in createSettingsTable() 1253 String accountName = values.getAsString(android.provider.Contacts.Settings._SYNC_ACCOUNT); in updateSettings() 1255 values.getAsString(android.provider.Contacts.Settings._SYNC_ACCOUNT_TYPE); in updateSettings() 1256 String key = values.getAsString(android.provider.Contacts.Settings.KEY); in updateSettings() 1261 if (key.equals(android.provider.Contacts.Settings.SYNC_EVERYTHING)) { in updateSettings() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 27 import com.android.inputmethod.latin.settings.Settings; 37 mNextWordPrediction = getBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, true); in setUp() 42 setBooleanPreference(Settings.PREF_BIGRAM_PREDICTIONS, mNextWordPrediction, true); in tearDown() 240 setBooleanPreference(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true, true); in verifyDoubleSpace() 306 setBooleanPreference(Settings.PREF_SHOW_SUGGESTIONS, true, true); in testDoubleSpacePeriod() 307 setBooleanPreference(Settings.PREF_AUTO_CORRECTION, true, true); in testDoubleSpacePeriod() 308 setBooleanPreference(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true, true); in testDoubleSpacePeriod() 311 testDoubleSpacePeriodWithSettings(true, Settings.PREF_SHOW_SUGGESTIONS, false); in testDoubleSpacePeriod() 313 testDoubleSpacePeriodWithSettings(true, Settings.PREF_SHOW_SUGGESTIONS, true); in testDoubleSpacePeriod() 316 testDoubleSpacePeriodWithSettings(false, Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, false); in testDoubleSpacePeriod() [all …]
|