Home
last modified time | relevance | path

Searched refs:preferenceScreen (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/preference/
DPreferenceFragment.java213 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
214 if (preferenceScreen != null) { in onActivityCreated()
215 preferenceScreen.restoreHierarchyState(container); in onActivityCreated()
255 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
256 if (preferenceScreen != null) { in onSaveInstanceState()
258 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
283 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
284 if (mPreferenceManager.setPreferences(preferenceScreen) && preferenceScreen != null) { in setPreferenceScreen()
330 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, in onPreferenceTreeClick() argument
366 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in bindPreferences() local
[all …]
DPreferenceManager.java353 final PreferenceScreen preferenceScreen = new PreferenceScreen(context, null); in createPreferenceScreen() local
354 preferenceScreen.onAttachedToHierarchy(this); in createPreferenceScreen()
355 return preferenceScreen; in createPreferenceScreen()
580 boolean setPreferences(PreferenceScreen preferenceScreen) { in setPreferences() argument
581 if (preferenceScreen != mPreferenceScreen) { in setPreferences()
582 mPreferenceScreen = preferenceScreen; in setPreferences()
1032 boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference); in onPreferenceTreeClick() argument
DPreferenceActivity.java1015 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
1016 if (preferenceScreen != null) { in onSaveInstanceState()
1018 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
1029 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onRestoreInstanceState() local
1030 if (preferenceScreen != null) { in onRestoreInstanceState()
1031 preferenceScreen.restoreHierarchyState(container); in onRestoreInstanceState()
1441 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in bindPreferences() local
1442 if (preferenceScreen != null) { in bindPreferences()
1443 preferenceScreen.bind(getListView()); in bindPreferences()
1483 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
[all …]
DPreference.java1157 public void performClick(PreferenceScreen preferenceScreen) { in performClick() argument
1173 if (preferenceScreen != null && listener != null in performClick()
1174 && listener.onPreferenceTreeClick(preferenceScreen, this)) { in performClick()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java85 @NonNull String preferenceGroupAdapterClassName, @NonNull Object preferenceScreen) in createPreferenceGroupAdapter() argument
88 getClassInstance(preferenceScreen, preferenceGroupClassName); in createPreferenceGroupAdapter()
91 new Class[]{preferenceGroupClass}, new Object[]{preferenceScreen}); in createPreferenceGroupAdapter()
98 @NonNull Object preferenceScreen, @NonNull Object preferenceManager) in createInflatedPreference() argument
101 getClassInstance(preferenceScreen, preferenceGroupClassName); in createInflatedPreference()
249 Object preferenceScreen = in inflatePreference() local
252 if (preferenceScreen == null) { in inflatePreference()
286 preferenceInflaterClassName, context, parser, preferenceScreen, in inflatePreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservablePreferenceFragment.java65 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
66 mLifecycle.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
67 super.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
DLifecycle.java126 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
130 ((SetPreferenceScreen) observer).setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreferenceMixinCompat.java39 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
41 preferenceScreen.addPreference(mFooterPreference); in setPreferenceScreen()
DFooterPreferenceMixin.java45 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
47 preferenceScreen.addPreference(mFooterPreference); in setPreferenceScreen()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/events/
DSetPreferenceScreen.java23 void setPreferenceScreen(PreferenceScreen preferenceScreen); in setPreferenceScreen() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtil.java316 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in setSubtypesPreferenceEnabled() local
322 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
335 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in updateSubtypesPreferenceChecked() local
351 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()
DInputMethodAndSubtypeUtilCompat.java316 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in setSubtypesPreferenceEnabled() local
322 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
335 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in updateSubtypesPreferenceChecked() local
351 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()