/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 126 final SharedPreferences prefs = getPreferenceScreen().getSharedPreferences(); in onCreate() 132 getPreferenceScreen().removePreference(debugCategory); in onCreate() 141 .getAdvancedSettingsIntent(getPreferenceScreen().getContext())); in onCreate() 145 getPreferenceScreen().removePreference(advancedScreen); in onCreate() 190 getPreferenceScreen().removePreference(mSmsDisabledPreference); in updateSmsEnabledPreferences() 191 getPreferenceScreen().removePreference(mSmsEnabledPreference); in updateSmsEnabledPreferences() 198 if (getPreferenceScreen().findPreference(mSmsEnabledPrefKey) == null) { in updateSmsEnabledPreferences() 199 getPreferenceScreen().addPreference(mSmsEnabledPreference); in updateSmsEnabledPreferences() 205 getPreferenceScreen().removePreference(mSmsDisabledPreference); in updateSmsEnabledPreferences() 208 if (getPreferenceScreen().findPreference(mSmsDisabledPrefKey) == null) { in updateSmsEnabledPreferences() [all …]
|
D | PerSubscriptionSettingsActivity.java | 174 .getApnSettingsIntent(getPreferenceScreen().getContext(), mSubId)); in onCreate() 205 final boolean groupMmsEnabled = getPreferenceScreen().getSharedPreferences().getBoolean( in updateGroupMmsPrefSummary() 214 getPreferenceScreen().getSharedPreferences() in onResume() 242 getPreferenceScreen().getSharedPreferences() in onPause()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 92 if (getPreferenceScreen() != null) { in onResume() 93 getPreferenceScreen().removeAll(); in onResume() 123 mAccountList = (PreferenceCategory) getPreferenceScreen().findPreference( in onResume() 135 getPreferenceScreen().findPreference(DEFAULT_OUTGOING_ACCOUNT_KEY); in onResume() 145 Preference allAccounts = getPreferenceScreen().findPreference(ALL_CALLING_ACCOUNTS_KEY); in onResume() 151 getPreferenceScreen().removePreference(mAccountList); in onResume() 158 getPreferenceScreen().findPreference(USE_SIP_PREF_KEY); in onResume() 177 getPreferenceScreen().findPreference(SIP_RECEIVE_CALLS_PREF_KEY); in onResume() 183 getPreferenceScreen().removePreference( in onResume() 184 getPreferenceScreen().findPreference(SIP_SETTINGS_CATEGORY_PREF_KEY)); in onResume()
|
D | AccessibilitySettingsFragment.java | 59 Preference pref = getPreferenceScreen().findPreference(BUTTON_TTY_KEY); 91 getPreferenceScreen().removePreference(mButtonTty); in onCreate() 100 getPreferenceScreen().removePreference(mButtonHac); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ManageAssist.java | 120 getPreferenceScreen().addPreference(mContextPref); in updateUi() 121 getPreferenceScreen().addPreference(mScreenshotPref); in updateUi() 123 getPreferenceScreen().removePreference(mContextPref); in updateUi() 124 getPreferenceScreen().removePreference(mScreenshotPref); in updateUi() 128 getPreferenceScreen().removePreference(mVoiceInputPref); in updateUi() 130 getPreferenceScreen().addPreference(mVoiceInputPref); in updateUi()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SubScreenFragment.java | 68 setPreferenceEnabled(prefKey, enabled, getPreferenceScreen()); 72 removePreference(prefKey, getPreferenceScreen()); 76 updateListPreferenceSummaryToCurrentValue(prefKey, getPreferenceScreen()); 97 getPreferenceScreen()); 108 if (context == null || fragment.getPreferenceScreen() == null) {
|
D | CustomInputStyleSettingsFragment.java | 132 getPreferenceScreen().addPreference( in onActivityCreated() 164 final PreferenceGroup group = getPreferenceScreen(); in onRemoveCustomInputStyle() 181 final PreferenceGroup group = getPreferenceScreen(); in onSaveCustomInputStyle() 201 final PreferenceGroup group = getPreferenceScreen(); in onAddCustomInputStyle() 257 final PreferenceGroup group = getPreferenceScreen(); in setPrefSubtypes() 269 final PreferenceGroup group = getPreferenceScreen(); in getSubtypes() 311 getPreferenceScreen().addPreference(newSubtype); in onOptionsItemSelected()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothSettings.java | 167 getPreferenceScreen().addPreference(mPairedDevicesCategory); in addPreferencesForActivity() 172 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in addPreferencesForActivity() 177 getPreferenceScreen().addPreference(mMyDevicePreference); in addPreferencesForActivity() 194 setDeviceListGroup(getPreferenceScreen()); in onResume() 277 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in startScanning() 312 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in updateContent() 323 if (getPreferenceScreen().getPreferenceCount() == 0) { in updateContent() 324 getPreferenceScreen().addPreference(mPairedDevicesCategory); in updateContent() 325 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in updateContent() 326 getPreferenceScreen().addPreference(mMyDevicePreference); in updateContent() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceInfoSettings.java | 112 getPreferenceScreen().removePreference(findPreference(KEY_SECURITY_PATCH)); in onCreate() 132 removePreferenceIfPropertyMissing(getPreferenceScreen(), KEY_SELINUX_STATUS, in onCreate() 136 removePreferenceIfPropertyMissing(getPreferenceScreen(), KEY_SAFETY_LEGAL, in onCreate() 140 removePreferenceIfPropertyMissing(getPreferenceScreen(), KEY_EQUIPMENT_ID, in onCreate() 145 getPreferenceScreen().removePreference(findPreference(KEY_BASEBAND_VERSION)); in onCreate() 150 getPreferenceScreen().removePreference(findPreference(KEY_DEVICE_FEEDBACK)); in onCreate() 160 PreferenceGroup parentPreference = getPreferenceScreen(); in onCreate() 183 getPreferenceScreen().removePreference(pref); in onCreate() 334 getPreferenceScreen().removePreference(pref); in removePreferenceIfBoolFalse()
|
D | SettingsPreferenceFragment.java | 145 checkAvailablePrefs(getPreferenceScreen()); in addPreferencesFromResource() 279 if (getPreferenceScreen() != null) { in addPreferenceToTop() 280 getPreferenceScreen().addPreference(preference); in addPreferenceToTop() 293 if (getPreferenceScreen() != null && mFooter != null) { in setFooterView() 294 getPreferenceScreen().removePreference(mFooter); in setFooterView() 299 if (getPreferenceScreen() != null) { in setFooterView() 300 getPreferenceScreen().addPreference(mFooter); in setFooterView() 326 if (getPreferenceScreen() != null) { in updateEmptyView() 327 boolean show = (getPreferenceScreen().getPreferenceCount() in updateEmptyView() 438 getPreferenceScreen().removePreference(pref); in removePreference()
|
D | VoiceInputOutputSettings.java | 43 mTtsEngines = new TtsEngines(fragment.getPreferenceScreen().getContext()); in VoiceInputOutputSettings() 47 mParent = mFragment.getPreferenceScreen(); in onCreate() 60 mFragment.getPreferenceScreen().removePreference(mVoiceCategory); in populateOrRemovePreferences()
|
D | WirelessSettings.java | 248 PreferenceScreen root = getPreferenceScreen(); 284 getPreferenceScreen().removePreference(nfc); 285 getPreferenceScreen().removePreference(androidBeam); 318 getPreferenceScreen().removePreference(mGlobalProxy); 330 getPreferenceScreen().removePreference(findPreference(KEY_TETHER_SETTINGS)); 353 getPreferenceScreen().addPreference(mButtonWfc);
|
D | ApplicationSettings.java | 60 getPreferenceScreen().removePreference(mToggleAdvancedSettings); in onCreate() 64 getPreferenceScreen().removePreference(mInstallLocation); in onCreate() 72 getPreferenceScreen().removePreference(mInstallLocation); in onCreate()
|
D | DreamSettings.java | 265 if (getPreferenceScreen() == null) { 268 getPreferenceScreen().removeAll(); 273 getPreferenceScreen().addPreference( 337 for (int i = 0; i < getPreferenceScreen().getPreferenceCount(); i++) { 339 (DreamInfoPreference) getPreferenceScreen().getPreference(i);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
D | DisplayOptionsPreferenceFragment.java | 62 getPreferenceScreen().removePreference(findPreference("sortOrder")); in removeUnsupportedPreferences() 67 getPreferenceScreen().removePreference(findPreference("displayOrder")); in removeUnsupportedPreferences() 75 getPreferenceScreen().removePreference(findPreference("accounts")); in removeUnsupportedPreferences() 84 getPreferenceScreen().addPreference(preference); in addExtraPreferences()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AppNotificationSettings.java | 76 (RestrictedSwitchPreference) getPreferenceScreen().findPreference(KEY_BYPASS_DND); in onCreate() 78 (RestrictedDropDownPreference) getPreferenceScreen().findPreference( in onCreate() 80 mBlock = (RestrictedSwitchPreference) getPreferenceScreen().findPreference(KEY_BLOCK); in onCreate() 81 mSilent = (RestrictedSwitchPreference) getPreferenceScreen().findPreference(KEY_SILENT); in onCreate() 111 if (getPreferenceScreen().findPreference(mBlock.getKey()) != null) { in updateDependents()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ManageAccountsSettings.java | 215 int count = getPreferenceScreen().getPreferenceCount(); in requestOrCancelSyncForAccounts() 218 Preference pref = getPreferenceScreen().getPreference(i); in requestOrCancelSyncForAccounts() 274 for (int i = 0, count = getPreferenceScreen().getPreferenceCount(); i < count; i++) { in showSyncState() 275 Preference pref = getPreferenceScreen().getPreference(i); in showSyncState() 367 getPreferenceScreen().removeAll(); in showAccountsIfNeeded() 391 getPreferenceScreen().addPreference(preference); in showAccountsIfNeeded() 406 PreferenceScreen prefs = addPreferencesForType(mAccountType, getPreferenceScreen()); in addAuthenticatorSettings() 542 for (int i = 0; i < getPreferenceScreen().getPreferenceCount(); i++) { in onAuthDescriptionsUpdated() 543 Preference pref = getPreferenceScreen().getPreference(i); in onAuthDescriptionsUpdated()
|
D | AccountSyncSettings.java | 157 getPreferenceScreen().setOrderingAsAdded(false); in onCreate() 241 getPreferenceScreen().addPreference(item); in addSyncStateSwitch() 370 int count = getPreferenceScreen().getPreferenceCount(); in requestOrCancelSyncForEnabledProviders() 372 Preference pref = getPreferenceScreen().getPreference(i); in requestOrCancelSyncForEnabledProviders() 430 for (int i = 0, count = getPreferenceScreen().getPreferenceCount(); i < count; i++) { in setFeedsState() 431 Preference pref = getPreferenceScreen().getPreference(i); in setFeedsState() 540 cacheRemoveAllPrefs(getPreferenceScreen()); in updateAccountSwitches() 553 removeCachedPrefs(getPreferenceScreen()); in updateAccountSwitches()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 115 getPreferenceScreen().removePreference(mActivePrintJobsCategory); in onCreate() 183 getPreferenceScreen().removePreference(mPrintServicesCategory); in onLoadFinished() 185 } else if (getPreferenceScreen().findPreference(PRINT_SERVICES_CATEGORY) == null) { in onLoadFinished() 186 getPreferenceScreen().addPreference(mPrintServicesCategory); in onLoadFinished() 234 getPreferenceScreen().removePreference(mPrintServicesCategory); in onLoaderReset() 303 getPreferenceScreen().removePreference(mActivePrintJobsCategory); in onLoadFinished() 305 if (getPreferenceScreen().findPreference(PRINT_JOBS_CATEGORY) == null) { in onLoadFinished() 306 getPreferenceScreen().addPreference(mActivePrintJobsCategory); in onLoadFinished() 382 getPreferenceScreen().removePreference(mActivePrintJobsCategory); in onLoaderReset()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NetworkSetting.java | 105 getPreferenceScreen().setEnabled(true); 130 getPreferenceScreen().setEnabled(true); 263 mNetworkList = (PreferenceGroup) getPreferenceScreen().findPreference(LIST_NETWORKS_KEY); in onCreate() 266 mSearchButton = getPreferenceScreen().findPreference(BUTTON_SRCH_NETWRKS_KEY); in onCreate() 267 mAutoSelect = getPreferenceScreen().findPreference(BUTTON_AUTO_SELECT_KEY); in onCreate() 353 getPreferenceScreen().setEnabled(false); in onPrepareDialog() 473 getPreferenceScreen().setEnabled(true); in networksListLoaded()
|
D | MobileNetworkSettings.java | 150 Preference pref = getPreferenceScreen().findPreference(BUTTON_4G_LTE_KEY); 453 PreferenceScreen prefSet = getPreferenceScreen(); in onCreate() 494 getPreferenceScreen().setEnabled(true); in onResume() 501 if (getPreferenceScreen().findPreference(BUTTON_PREFERED_NETWORK_MODE) != null in onResume() 502 || getPreferenceScreen().findPreference(BUTTON_ENABLED_NETWORKS_KEY) != null) { in onResume() 529 PreferenceScreen prefSet = getPreferenceScreen(); in updateBody() 716 PreferenceScreen root = getPreferenceScreen(); in updateBody() 763 PreferenceScreen root = getPreferenceScreen(); in updateBody() 965 if (getPreferenceScreen().findPreference(BUTTON_PREFERED_NETWORK_MODE) != null) { in handleSetPreferredNetworkTypeResponse() 971 if (getPreferenceScreen().findPreference(BUTTON_ENABLED_NETWORKS_KEY) != null) { in handleSetPreferredNetworkTypeResponse() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiSettings.java | 605 getPreferenceScreen().removeAll(); in onAccessPointsChanged() 615 getPreferenceScreen().removeAll(); in onAccessPointsChanged() 619 cacheRemoveAllPrefs(getPreferenceScreen()); in onAccessPointsChanged() 643 getPreferenceScreen().addPreference(preference); in onAccessPointsChanged() 647 removeCachedPrefs(getPreferenceScreen()); in onAccessPointsChanged() 661 getPreferenceScreen().addPreference(pref); in onAccessPointsChanged() 663 getPreferenceScreen().addPreference(mAddPreference); in onAccessPointsChanged() 666 getPreferenceScreen().addPreference(mAddPreference); in onAccessPointsChanged() 675 getPreferenceScreen().removeAll(); in onAccessPointsChanged() 699 getPreferenceScreen().removeAll(); in setOffMessage() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndLanguageSettings.java | 133 getPreferenceScreen().removePreference(findPreference(KEY_PHONE_LANGUAGE)); in onCreate() 159 getPreferenceScreen().removeAll(); in onCreate() 161 getPreferenceScreen().addPreference(mHardKeyboardCategory); in onCreate() 164 getPreferenceScreen().addPreference(mShowInputMethodSelectorPref); in onCreate() 168 getPreferenceScreen().addPreference(mKeyboardSettingsCategory); in onCreate() 219 getPreferenceScreen().removePreference(userDictionaryPreference); in updateUserDictionaryPreference() 510 final Preference curPref = getPreferenceScreen().findPreference(KEY_CURRENT_INPUT_METHOD); in updateCurrentImeName() 579 getPreferenceScreen().addPreference(mHardKeyboardCategory); in updateHardKeyboards() 581 getPreferenceScreen().removePreference(mHardKeyboardCategory); in updateHardKeyboards() 619 getPreferenceScreen().addPreference(mGameControllerCategory); in updateGameControllers() [all …]
|
D | VirtualKeyboardFragment.java | 108 getPreferenceScreen().removeAll(); in updateInputMethodPreferenceViews() 112 getPreferenceScreen().addPreference(pref); in updateInputMethodPreferenceViews() 118 getPreferenceScreen().addPreference(mAddVirtualKeyboardScreen); in updateInputMethodPreferenceViews()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 140 getPreferenceScreen().setEnabled(false); in onResume() 143 getPreferenceScreen().setEnabled(true); in onResume() 164 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in onCreate() 535 mAdvancedSettingsTrigger = getPreferenceScreen().findPreference( in AdvancedSettings() 543 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in loadAdvancedPreferences() 563 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in show() 576 PreferenceGroup screen = (PreferenceGroup) getPreferenceScreen(); in hide()
|