Home
last modified time | relevance | path

Searched refs:mPreferenceControllers (Results 1 – 8 of 8) 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()
DMainFragment.java95 private List<AbstractPreferenceController> mPreferenceControllers; field in MainFragment
141 for (AbstractPreferenceController controller : mPreferenceControllers) { in shouldShowQuickSettings()
246 mPreferenceControllers = new ArrayList<>(1); in onCreatePreferenceControllers()
248 mPreferenceControllers.add(mHotwordSwitchController); in onCreatePreferenceControllers()
249 return mPreferenceControllers; in onCreatePreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFragment.java60 private final Map<Class, List<AbstractPreferenceController>> mPreferenceControllers = field in DashboardFragment
125 mBlockerController.start(()->updatePreferenceVisibility(mPreferenceControllers)); in checkUiBlocker()
198 mPreferenceControllers.values(); in onPreferenceTreeClick()
244 List<AbstractPreferenceController> controllerList = mPreferenceControllers.get(clazz); in use()
257 if (mPreferenceControllers.get(controller.getClass()) == null) { in addPreferenceController()
258 mPreferenceControllers.put(controller.getClass(), new ArrayList<>()); in addPreferenceController()
260 mPreferenceControllers.get(controller.getClass()).add(controller); in addPreferenceController()
301 mPreferenceControllers.values().stream().flatMap(Collection::stream).forEach( in displayResourceTiles()
311 mPreferenceControllers.values(); in updatePreferenceStates()
359 updatePreferenceVisibility(mPreferenceControllers); in refreshAllPreferences()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java63 private final Map<Class, List<AbstractPreferenceController>> mPreferenceControllers = field in DashboardFragment
131 mBlockerController.start(()->updatePreferenceVisibility(mPreferenceControllers)); in checkUiBlocker()
204 mPreferenceControllers.values(); in onPreferenceTreeClick()
250 List<AbstractPreferenceController> controllerList = mPreferenceControllers.get(clazz); in use()
263 if (mPreferenceControllers.get(controller.getClass()) == null) { in addPreferenceController()
264 mPreferenceControllers.put(controller.getClass(), new ArrayList<>()); in addPreferenceController()
266 mPreferenceControllers.get(controller.getClass()).add(controller); in addPreferenceController()
312 mPreferenceControllers.values().stream().flatMap(Collection::stream).forEach( in displayResourceTiles()
322 mPreferenceControllers.values(); in updatePreferenceStates()
370 updatePreferenceVisibility(mPreferenceControllers); in refreshAllPreferences()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragment.java75 private List<AbstractPreferenceController> mPreferenceControllers = new ArrayList<>(); field in DevelopmentSettingsDashboardFragment
81 for (AbstractPreferenceController controller : mPreferenceControllers) {
99 for (AbstractPreferenceController controller : mPreferenceControllers) {
117 for (AbstractPreferenceController controller : mPreferenceControllers) {
130 for (AbstractPreferenceController controller : mPreferenceControllers) {
298 for (AbstractPreferenceController controller : mPreferenceControllers) { in onActivityResult()
330 mPreferenceControllers = new ArrayList<>(); in createPreferenceControllers()
333 mPreferenceControllers = buildPreferenceControllers(context, getActivity(), in createPreferenceControllers()
336 return mPreferenceControllers; in createPreferenceControllers()
359 for (AbstractPreferenceController controller : mPreferenceControllers) { in enableDeveloperOptions()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DDevelopmentSettingsDashboardFragment.java75 private List<AbstractPreferenceController> mPreferenceControllers = new ArrayList<>(); field in DevelopmentSettingsDashboardFragment
81 for (AbstractPreferenceController controller : mPreferenceControllers) {
99 for (AbstractPreferenceController controller : mPreferenceControllers) {
117 for (AbstractPreferenceController controller : mPreferenceControllers) {
130 for (AbstractPreferenceController controller : mPreferenceControllers) {
298 for (AbstractPreferenceController controller : mPreferenceControllers) { in onActivityResult()
330 mPreferenceControllers = new ArrayList<>(); in createPreferenceControllers()
333 mPreferenceControllers = buildPreferenceControllers(context, getActivity(), in createPreferenceControllers()
336 return mPreferenceControllers; in createPreferenceControllers()
359 for (AbstractPreferenceController controller : mPreferenceControllers) { in enableDeveloperOptions()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java80 private final List<PreferenceController> mPreferenceControllers = new ArrayList<>(); field in SettingsFragment
155 mPreferenceControllers.clear(); in onAttach()
156 mPreferenceControllers.addAll( in onAttach()
162 mPreferenceControllers.forEach(controller -> { in onAttach()
182 for (PreferenceController controller : mPreferenceControllers) { in onCreatePreferences()
225 mPreferenceControllers.forEach(lifecycle::removeObserver); in onDetach()
236 for (PreferenceController controller : mPreferenceControllers) { in onUxRestrictionsChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/
DSoundFragment.java64 private List<AbstractPreferenceController> mPreferenceControllers; field in SoundFragment
104 mPreferenceControllers = new ArrayList<>(mFormats.size()); in onCreatePreferenceControllers()
106 mPreferenceControllers.add(new SoundFormatPreferenceController(context, in onCreatePreferenceControllers()
109 return mPreferenceControllers; in onCreatePreferenceControllers()
154 for (AbstractPreferenceController controller : mPreferenceControllers) { in updateFormatPreferencesStates()