Home
last modified time | relevance | path

Searched refs:preferenceCategory (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAutomaticRulesPreferenceController.java60 PreferenceCategory preferenceCategory = screen.findPreference(getPreferenceKey()); in displayPreference() local
61 preferenceCategory.setPersistent(false); in displayPreference()
63 updateRules(preferenceCategory); in displayPreference()
88 private void updateRules(PreferenceCategory preferenceCategory) { in updateRules() argument
90 for (int i = 0; i < preferenceCategory.getPreferenceCount(); i++) { in updateRules()
91 ZenRulePreference pref = (ZenRulePreference) preferenceCategory.getPreference(i); in updateRules()
107 mSortedRules[i], preferenceCategory); in updateRules()
108 preferenceCategory.addPreference(pref); in updateRules()
115 preferenceCategory.removePreferenceRecursively(key); in updateRules()
121 PreferenceCategory preferenceCategory) { in createZenRulePreference() argument
[all …]
DZenPrioritySendersHelper.java109 void displayPreference(PreferenceCategory preferenceCategory) { in displayPreference() argument
110 mPreferenceCategory = preferenceCategory; in displayPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListChildFragment.java168 private static void clearPreferenceCategory(@Nullable PreferenceCategory preferenceCategory, in clearPreferenceCategory() argument
171 if (preferenceCategory == null) { in clearPreferenceCategory()
174 clearPreferences(preferenceCategory, oldPreferences); in clearPreferenceCategory()
175 preferenceScreen.removePreference(preferenceCategory); in clearPreferenceCategory()
176 preferenceCategory.setOrder(Preference.DEFAULT_ORDER); in clearPreferenceCategory()
197 PreferenceCategory preferenceCategory = oldPreferenceCategory; in addPreferenceCategory() local
198 if (preferenceCategory == null) { in addPreferenceCategory()
199 preferenceCategory = new PreferenceCategory(context); in addPreferenceCategory()
200 preferenceCategory.setKey(key); in addPreferenceCategory()
201 preferenceCategory.setTitle(title); in addPreferenceCategory()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DRecentAppsListPreferenceController.java81 protected void updateState(PreferenceCategory preferenceCategory) { in updateState() argument
82 preferenceCategory.setVisible(!mRecentAppStats.isEmpty()); in updateState()
83 preferenceCategory.removeAll(); in updateState()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DNewKeyboardLayoutEnabledLocalesFragment.java225 PreferenceCategory preferenceCategory = new PreferenceCategory(mContext); in updatePreferenceLayout() local
226 preferenceCategory.setTitle(hasMultipleImes ? mContext.getString(R.string.ime_label_title, in updatePreferenceLayout()
229 preferenceCategory.setKey(info.getPackageName()); in updatePreferenceLayout()
230 preferenceScreen.addPreference(preferenceCategory); in updatePreferenceLayout()
254 preferenceCategory.addPreference(pref); in updatePreferenceLayout()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataFragment.kt125 val preferenceCategory = in <lambda>() constant
127 preferenceScreen.addPreference(preferenceCategory) in <lambda>()
134 preferenceCategory.addPreference( in <lambda>()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatSelectionState.java349 PreferenceCompat preferenceCategory = mPreferenceCompatManager.getOrCreatePrefCompat(key); in createPreferenceCategory() local
350 preferenceCategory.setType(PreferenceCompat.TYPE_PREFERENCE_CATEGORY); in createPreferenceCategory()
351 preferenceCategory.setTitle(ResourcesUtil.getString(mContext, valueName)); in createPreferenceCategory()
352 return preferenceCategory; in createPreferenceCategory()
DAdvancedVolumeState.java394 PreferenceCompat preferenceCategory = mPreferenceCompatManager.getOrCreatePrefCompat(key); in createPreferenceCategory() local
395 preferenceCategory.setType(PreferenceCompat.TYPE_PREFERENCE_CATEGORY); in createPreferenceCategory()
396 preferenceCategory.setTitle(ResourcesUtil.getString(mContext, valueName)); in createPreferenceCategory()
397 return preferenceCategory; in createPreferenceCategory()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragment.java336 PreferenceCategory preferenceCategory = new PreferenceCategory(getContext()); in createPreferenceCategory() local
337 preferenceCategory.setTitle(titleResourceId); in createPreferenceCategory()
338 preferenceCategory.setKey(key); in createPreferenceCategory()
339 return preferenceCategory; in createPreferenceCategory()
DHdrFormatSelectionFragment.java400 PreferenceCategory preferenceCategory = new PreferenceCategory(getContext()); in createPreferenceCategory() local
401 preferenceCategory.setTitle(titleResourceId); in createPreferenceCategory()
402 preferenceCategory.setKey(key); in createPreferenceCategory()
403 return preferenceCategory; in createPreferenceCategory()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/
DAllDataFragment.kt188 val preferenceCategory = in <lambda>() constant
190 preferenceScreen.addPreference(preferenceCategory) in <lambda>()
197 preferenceCategory.addPreference( in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsCompanionAppsControllerTest.java125 PreferenceCategory preferenceCategory = mProfiles.findPreference( in getPreference() local
127 return Objects.requireNonNull(preferenceCategory).getPreference(index); in getPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java320 PreferenceCategory preferenceCategory = findPreference(STORAGE_FOOTER.getCategoryName()); in addStorageFooterSeeAllFilesAccess() local
323 if (preferenceCategory == null || existingPreference != null) { in addStorageFooterSeeAllFilesAccess()
337 preferenceCategory.addPreference(preference); in addStorageFooterSeeAllFilesAccess()