Home
last modified time | relevance | path

Searched refs:addPreference (Results 1 – 25 of 115) sorted by relevance

12345

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java170 screen.addPreference(versionPreference); in onCreatePreferences()
182 screen.addPreference(openPreference); in onCreatePreferences()
187 screen.addPreference(mForceStopPreference); in onCreatePreferences()
191 screen.addPreference(mUninstallPreference); in onCreatePreferences()
195 screen.addPreference(mEnableDisablePreference); in onCreatePreferences()
199 screen.addPreference(mAppStoragePreference); in onCreatePreferences()
203 screen.addPreference(mClearDataPreference); in onCreatePreferences()
207 screen.addPreference(mClearCachePreference); in onCreatePreferences()
211 screen.addPreference(mClearDefaultsPreference); in onCreatePreferences()
215 screen.addPreference(mNotificationsPreference); in onCreatePreferences()
[all …]
DAppsFragment.java152 screen.addPreference(permissionsPreference); in onCreatePreferences()
158 screen.addPreference(mDownloadedPreferenceGroup); in onCreatePreferences()
165 screen.addPreference(mSystemPreferenceGroup); in onCreatePreferences()
237 group.addPreference(newPref);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DAccessibilityFragment.java75 screen.addPreference(captionsPreference); in onCreatePreferences()
85 screen.addPreference(highContrastPreference); in onCreatePreferences()
89 screen.addPreference(mServicesPref); in onCreatePreferences()
95 screen.addPreference(ttsPref); in onCreatePreferences()
146 group.addPreference(servicePref); in refreshServices()
176 screen.addPreference(mEnablePref); in onCreatePreferences()
188 screen.addPreference(settingsPref); in onCreatePreferences()
DLocationFragment.java84 screen.addPreference(mLocationMode); in onCreatePreferences()
104 screen.addPreference(recentRequests); in onCreatePreferences()
131 recentRequests.addPreference(banner); in onCreatePreferences()
167 container.addPreference(entry); in addPreferencesSorted()
DInputsFragment.java122 mConnectedGroup.addPreference(inputPref); in refresh()
128 mStandbyGroup.addPreference(inputPref); in refresh()
134 mDisconnectedGroup.addPreference(inputPref); in refresh()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java157 addPreference(mSummary); in update()
173 addPreference(mMount); in update()
178 addPreference(mFormatPublic); in update()
180 addPreference(mFormatPrivate); in update()
184 private void addPreference(Preference pref) { in addPreference() method in PublicVolumeSettings
186 getPreferenceScreen().addPreference(pref); in addPreference()
DStorageSettings.java152 mInternalCategory.addPreference(mInternalSummary); in refresh()
164 mInternalCategory.addPreference( in refresh()
172 mExternalCategory.addPreference( in refresh()
192 mInternalCategory.addPreference(pref); in refresh()
205 mExternalCategory.addPreference(pref); in refresh()
216 getPreferenceScreen().addPreference(mInternalCategory); in refresh()
219 getPreferenceScreen().addPreference(mExternalCategory); in refresh()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java262 preferenceScreen.addPreference(createRoutePreference(route)); in update()
273 preferenceScreen.addPreference(new UnpairedWifiDisplayPreference( in update()
318 preferenceScreen.addPreference(mCertCategory); in buildCertificationMenu()
325 mCertCategory.addPreference(p); in buildCertificationMenu()
329 mCertCategory.addPreference(new Preference(getPrefContext()) { in buildCertificationMenu()
368 mCertCategory.addPreference(pref); in buildCertificationMenu()
385 mCertCategory.addPreference(pref); in buildCertificationMenu()
416 mCertCategory.addPreference(lp); in buildCertificationMenu()
440 mCertCategory.addPreference(lp); in buildCertificationMenu()
464 mCertCategory.addPreference(lp); in buildCertificationMenu()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintSettings.java360 root.addPreference(pref); in addFingerprintItemPreferences()
363 Preference addPreference = new Preference(root.getContext()); in addFingerprintItemPreferences() local
364 addPreference.setKey(KEY_FINGERPRINT_ADD); in addFingerprintItemPreferences()
365 addPreference.setTitle(R.string.fingerprint_add_title); in addFingerprintItemPreferences()
366 addPreference.setIcon(R.drawable.ic_add_24dp); in addFingerprintItemPreferences()
367 root.addPreference(addPreference); in addFingerprintItemPreferences()
368 addPreference.setOnPreferenceChangeListener(this); in addFingerprintItemPreferences()
379 Preference addPreference = findPreference(KEY_FINGERPRINT_ADD); in updateAddPreference() local
380 addPreference.setSummary(maxSummary); in updateAddPreference()
381 addPreference.setEnabled(!tooMany); in updateAddPreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java167 getPreferenceScreen().addPreference(mPairedDevicesCategory); in addPreferencesForActivity()
172 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in addPreferencesForActivity()
177 getPreferenceScreen().addPreference(mMyDevicePreference); in addPreferencesForActivity()
277 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in startScanning()
324 getPreferenceScreen().addPreference(mPairedDevicesCategory); in updateContent()
325 getPreferenceScreen().addPreference(mAvailableDevicesCategory); in updateContent()
326 getPreferenceScreen().addPreference(mMyDevicePreference); in updateContent()
341 preferenceScreen.addPreference(mPairedDevicesCategory); in updateContent()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DReviewPermissionsActivity.java345 screen.addPreference(preference); in loadPreferences()
351 screen.addPreference(mNewPermissionsCategory); in loadPreferences()
353 mNewPermissionsCategory.addPreference(preference); in loadPreferences()
360 screen.addPreference(currentPermissionsCategory); in loadPreferences()
362 currentPermissionsCategory.addPreference(preference); in loadPreferences()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnabler.java168 root.addPreference(keyboardSettingsCategory); in addInputMethodSubtypePreferences()
178 keyboardSettingsCategory.addPreference(autoSelectionPref); in addInputMethodSubtypePreferences()
184 root.addPreference(activeInputMethodsCategory); in addInputMethodSubtypePreferences()
213 activeInputMethodsCategory.addPreference(pref); in addInputMethodSubtypePreferences()
/packages/apps/Settings/src/com/android/settings/datausage/
DTemplatePreferenceCategory.java40 public boolean addPreference(Preference preference) { in addPreference() method in TemplatePreferenceCategory
45 return super.addPreference(preference); in addPreference()
DDataUsageMeteredSettings.java90 mMobileCategory.addPreference(buildMobilePref(context)); in updateNetworks()
99 mWifiCategory.addPreference(buildWifiPref(context, config)); in updateNetworks()
103 mWifiCategory.addPreference(mWifiDisabled); in updateNetworks()
/packages/apps/Settings/src/com/android/settings/applications/
DManageAssist.java120 getPreferenceScreen().addPreference(mContextPref); in updateUi()
121 getPreferenceScreen().addPreference(mScreenshotPref); in updateUi()
130 getPreferenceScreen().addPreference(mVoiceInputPref); in updateUi()
DInstalledAppDetails.java846 screen.addPreference(new ShortcutPreference(getPrefContext(),
851 screen.addPreference(new ShortcutPreference(getPrefContext(),
856 screen.addPreference(new ShortcutPreference(getPrefContext(),
861 screen.addPreference(new ShortcutPreference(getPrefContext(),
866 screen.addPreference(new ShortcutPreference(getPrefContext(),
875 screen.addPreference(category);
889 category.addPreference(pref);
903 category.addPreference(pref);
928 screen.addPreference(category);
942 category.addPreference(pref);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java132 getPreferenceScreen().addPreference( in onActivityCreated()
184 group.addPreference(stylePref); in onSaveCustomInputStyle()
264 group.addPreference(pref); in setPrefSubtypes()
311 getPreferenceScreen().addPreference(newSubtype); in onOptionsItemSelected()
DTwoStatePreferenceHelper.java57 group.addPreference(preference); in replaceAllCheckBoxPreferencesBySwitchPreferences()
79 group.addPreference(switchPref); in addSwitchPreferenceBasedOnCheckBoxPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetFragment.java162 deviceCategory.addPreference(volPreference); in refresh()
173 deviceCategory.addPreference(missingPreference); in refresh()
200 removableCategory.addPreference(volPreference); in refresh()
210 removableCategory.addPreference(unsupportedDiskPreference); in refresh()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java285 preferenceScreen.addPreference(profileData.preferenceGroup); in updateUi()
312 parent.addPreference(profileData.preferenceGroup); in updateProfileUi()
404 profileData.preferenceGroup.addPreference(preferences.get(i)); in updateAccountTypes()
407 profileData.preferenceGroup.addPreference(profileData.addAccountPreference); in updateAccountTypes()
416 profileData.preferenceGroup.addPreference(mProfileNotAvailablePreference); in updateAccountTypes()
419 profileData.preferenceGroup.addPreference(profileData.removeWorkProfilePreference); in updateAccountTypes()
422 profileData.preferenceGroup.addPreference(profileData.managedProfilePreference); in updateAccountTypes()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java122 getPreferenceScreen().addPreference(otherGroup); in getOtherGroup()
163 pref.addPreference(getPreference(perm, group)); in updateUi()
169 getOtherGroup().addPreference(getPreference(perm, group)); in updateUi()
213 getPreferenceScreen().addPreference(pref); in findOrCreate()
DManagePermissionsFragment.java158 screen.addPreference(preference); in updatePermissionsUi()
163 mExtraScreen.addPreference(preference); in updatePermissionsUi()
205 screen.addPreference(extraScreenPreference); in updatePermissionsUi()
/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java186 getPreferenceScreen().addPreference(mPrintServicesCategory); in onLoadFinished()
223 mPrintServicesCategory.addPreference(preference); in onLoadFinished()
228 mPrintServicesCategory.addPreference(addNewServicePreference); in onLoadFinished()
306 getPreferenceScreen().addPreference(mActivePrintJobsCategory); in onLoadFinished()
375 mActivePrintJobsCategory.addPreference(preference); in onLoadFinished()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java134 pref.addPreference(getPreference(perm, group, pm)); in updateUi()
137 otherGroup.addPreference(getPreference(perm, group, pm)); in updateUi()
182 getPreferenceScreen().addPreference(pref); in findOrCreate()
DManagePermissionsFragment.java162 screen.addPreference(preference); in updatePermissionsUi()
167 mExtraScreen.addPreference(preference); in updatePermissionsUi()
209 screen.addPreference(extraScreenPreference); in updatePermissionsUi()

12345