Home
last modified time | relevance | path

Searched refs:getPreference (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java102 mEmergencyContactsPreference.getPreference(0); in testAddAndRemoveEmergencyContact()
112 (ContactPreference) mEmergencyContactsPreference.getPreference(0)); in testAddAndRemoveEmergencyContact()
165 mEmergencyContactsPreference.getPreference(0); in testReloadFromPreference()
189 mEmergencyContactsPreference.getPreference(0); in testWidgetClick_positiveButton()
238 mEmergencyContactsPreference.getPreference(0); in testWidgetClick_negativeButton()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerPreferences.java133 private static String getPreference(Context context, String key) { in getPreference() method in UsbTunerPreferences
154 return Integer.parseInt(getPreference(context, key)); in getPreferenceInt()
164 return Boolean.valueOf(getPreference(context, key)); in getPreferenceBoolean()
/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()
187 private Preference getPreference(PermissionInfo perm, PermissionGroupInfo group, in getPreference() method in AllAppPermissionsFragment
DPermissionAppsFragment.java181 preferencesToRemove.add(screen.getPreference(i).getKey()); in onPermissionsLoaded()
185 preferencesToRemove.add(mExtraScreen.getPreference(i).getKey()); in onPermissionsLoaded()
289 if (((SwitchPreference) mExtraScreen.getPreference(i)).isChecked()) { in onPermissionsLoaded()
/packages/apps/Settings/src/com/android/settings/accounts/
DManageAccountsSettings.java218 Preference pref = getPreferenceScreen().getPreference(i); in requestOrCancelSyncForAccounts()
275 Preference pref = getPreferenceScreen().getPreference(i); in showSyncState()
451 Preference pref = prefs.getPreference(i); in updatePreferenceIntents()
543 Preference pref = getPreferenceScreen().getPreference(i); in onAuthDescriptionsUpdated()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java163 pref.addPreference(getPreference(perm, group)); in updateUi()
169 getOtherGroup().addPreference(getPreference(perm, group)); in updateUi()
218 private Preference getPreference(final PermissionInfo perm, final PermissionGroupInfo group) { in getPreference() method in AllAppPermissionsFragment
DPermissionAppsFragment.java179 preferencesToRemove.add(screen.getPreference(i).getKey()); in onPermissionsLoaded()
183 preferencesToRemove.add(mExtraScreen.getPreference(i).getKey()); in onPermissionsLoaded()
273 if (((SwitchPreference) mExtraScreen.getPreference(i)).isChecked()) { in onPermissionsLoaded()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java127 removePreference(getPreference(0)); in setEmergencyContacts()
135 ContactPreference contactPreference = (ContactPreference) getPreference(i); in setEmergencyContacts()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java269 Preference child = parent.getPreference(i); in findByKey()
308 Preference pref = group.getPreference(i); in fillEntriesAndSummaries()
337 Preference pref = group.getPreference(i); in recursiveDelete()
/packages/apps/Settings/src/com/android/settings/datausage/
DTemplatePreferenceCategory.java53 ((TemplatePreference) getPreference(i)).setTemplate(mTemplate, mSubId, services); in pushTemplates()
DDataUsageSummary.java167 Preference pref = rootPreferences.getPreference(0); in inflatePreferences()
252 ((TemplatePreferenceCategory) screen.getPreference(i)).pushTemplates(services); in updateState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetFragment.java177 final Preference pref = deviceCategory.getPreference(i); in refresh()
214 final Preference pref = removableCategory.getPreference(i); in refresh()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRadioPreference.java57 final Preference p = preferenceGroup.getPreference(i); in clearOtherRadioPreferences()
DMainFragment.java275 final Preference preference = mAccountsGroup.getPreference(i); in updateAccounts()
350 final Preference preference = mAccessoriesGroup.getPreference(i); in updateAccessories()
/packages/apps/Settings/src/com/android/settings/
DProgressCategory.java63 (getPreferenceCount() == 1 && getPreference(0) == mNoDeviceFoundPreference)); in onBindViewHolder()
DCustomDialogPreference.java85 return (CustomDialogPreference) getPreference(); in getCustomizablePreference()
DCustomEditTextPreference.java90 return (CustomEditTextPreference) getPreference(); in getCustomizablePreference()
DCustomListPreference.java72 return (CustomListPreference) getPreference(); in getCustomizablePreference()
DSettingsPreferenceFragment.java151 Preference pref = preferenceGroup.getPreference(i); in checkAvailablePrefs()
386 Preference p = group.getPreference(i); in cacheRemoveAllPrefs()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DTwoStatePreferenceHelper.java49 preferences.add(group.getPreference(index)); in replaceAllCheckBoxPreferencesBySwitchPreferences()
DThemeSettingsFragment.java104 final Preference preference = screen.getPreference(index); in updateSelected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java209 Preference pref = mSyncCategory.getPreference(i); in requestOrCancelSyncForEnabledProviders()
286 Preference pref = mSyncCategory.getPreference(i); in onSyncStateUpdated()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java211 final Preference pref = prefScreen.getPreference(i); in findWordListPreference()
265 prefGroup.removePreference(prefGroup.getPreference(i)); in removeAnyDictSettings()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DImeiInformation.java109 Preference pref = prefScreen.getPreference(i); in setNewKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTimeZoneFragment.java110 final Preference pref = screen.getPreference(i); in updateZones()

12