Home
last modified time | relevance | path

Searched refs:mPreferenceControllers (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DPreferenceControllerFragment.java45 private final Set<AbstractPreferenceController> mPreferenceControllers = new ArraySet<>(); field in PreferenceControllerFragment
54 mPreferenceControllers.addAll(controllers); in onAttach()
80 new ArrayList<>(mPreferenceControllers); in onPreferenceTreeClick()
95 mPreferenceControllers.stream() in getOnePreferenceController()
107 return (Collection<T>) mPreferenceControllers.stream() in getPreferenceControllers()
112 mPreferenceControllers.add(controller); in addPreferenceController()
120 new ArrayList<>(mPreferenceControllers); in updatePreferenceStates()
141 new ArrayList<>(mPreferenceControllers); in refreshAllPreferences()
DSuggestionQuickSettingPrefsContainer.java37 private List<AbstractPreferenceController> mPreferenceControllers; field in SuggestionQuickSettingPrefsContainer
193 for (AbstractPreferenceController controller : mPreferenceControllers) { in shouldShowQuickSettings()
249 mPreferenceControllers = new ArrayList<>(2); in onCreatePreferenceControllers()
253 mPreferenceControllers.add(mHotwordSwitchController); in onCreatePreferenceControllers()
254 mPreferenceControllers.add(mTakeBugReportController); in onCreatePreferenceControllers()
256 return mPreferenceControllers; in onCreatePreferenceControllers()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/data/
DPreferenceControllerState.java42 protected List<AbstractPreferenceController> mPreferenceControllers = new ArrayList<>(); field in PreferenceControllerState
64 mPreferenceControllers.addAll(controllers); in onCreate()
102 new ArrayList<>(mPreferenceControllers); in onPreferenceTreeClick()
114 new ArrayList<>(mPreferenceControllers); in onPreferenceChange()
133 new ArrayList<>(mPreferenceControllers); in initAllPreferenceControllers()
146 new ArrayList<>(mPreferenceControllers); in updateAllPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java82 private final Map<Class, List<AbstractPreferenceController>> mPreferenceControllers = field in DashboardFragment
157 updatePreferenceVisibility(mPreferenceControllers); in checkUiBlocker()
249 mPreferenceControllers.values(); in onPreferenceTreeClick()
287 for (List<AbstractPreferenceController> controllerList : mPreferenceControllers.values()) { in onActivityResult()
303 List<AbstractPreferenceController> controllerList = mPreferenceControllers.get(clazz); in use()
317 return (List<T>) mPreferenceControllers.getOrDefault(clazz, Collections.emptyList()); in useAll()
321 if (mPreferenceControllers.get(controller.getClass()) == null) { in addPreferenceController()
322 mPreferenceControllers.put(controller.getClass(), new ArrayList<>()); in addPreferenceController()
324 mPreferenceControllers.get(controller.getClass()).add(controller); in addPreferenceController()
378 mPreferenceControllers.values().stream().flatMap(Collection::stream).forEach( in displayResourceTilesToScreen()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java83 private final List<PreferenceController> mPreferenceControllers = new ArrayList<>(); field in SettingsFragment
166 mPreferenceControllers.clear(); in onAttach()
167 mPreferenceControllers.addAll( in onAttach()
173 mPreferenceControllers.forEach(controller -> { in onAttach()
192 for (PreferenceController controller : mPreferenceControllers) { in onCreatePreferences()
229 mPreferenceControllers.forEach(lifecycle::removeObserver); in onDetach()
268 for (PreferenceController controller : mPreferenceControllers) { in onUxRestrictionsChanged()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java110 private List<AbstractPreferenceController> mPreferenceControllers = new ArrayList<>(); field in DevelopmentSettingsDashboardFragment
116 for (AbstractPreferenceController controller : mPreferenceControllers) {
134 for (AbstractPreferenceController controller : mPreferenceControllers) {
152 for (AbstractPreferenceController controller : mPreferenceControllers) {
165 for (AbstractPreferenceController controller : mPreferenceControllers) {
537 for (AbstractPreferenceController controller : mPreferenceControllers) { in onActivityResult()
569 mPreferenceControllers = new ArrayList<>(); in createPreferenceControllers()
572 mPreferenceControllers = buildPreferenceControllers(context, getActivity(), in createPreferenceControllers()
575 return mPreferenceControllers; in createPreferenceControllers()
598 for (AbstractPreferenceController controller : mPreferenceControllers) { in enableDeveloperOptions()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragment.java77 private List<AbstractPreferenceController> mPreferenceControllers; field in AdvancedVolumeFragment
131 mPreferenceControllers = new ArrayList<>(mFormats.size()); in onCreatePreferenceControllers()
133 mPreferenceControllers.add(new SoundFormatPreferenceController(context, in onCreatePreferenceControllers()
136 return mPreferenceControllers; in onCreatePreferenceControllers()
378 for (AbstractPreferenceController controller : mPreferenceControllers) { in updateFormatPreferencesStates()
DHdrFormatSelectionFragment.java97 private List<AbstractPreferenceController> mPreferenceControllers; field in HdrFormatSelectionFragment
168 mPreferenceControllers = new ArrayList<>(); in onCreatePreferenceControllers()
171 mPreferenceControllers.add( in onCreatePreferenceControllers()
175 return mPreferenceControllers; in onCreatePreferenceControllers()
414 for (AbstractPreferenceController controller : mPreferenceControllers) { in updateFormatPreferencesStates()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatSelectionState.java228 mPreferenceControllers.addAll(preferenceControllers); in createFormatInfoOnManual()
317 for (AbstractPreferenceController controller : mPreferenceControllers) { in updateFormatStates()
DAdvancedVolumeState.java281 mPreferenceControllers.addAll(preferenceControllers); in createFormatInfoPreferencesOnManual()
423 for (AbstractPreferenceController controller : mPreferenceControllers) { in updateFormatPreferencesStates()