Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/preference/
DPreferenceFragment.java222 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
223 if (preferenceScreen != null) { in onActivityCreated()
224 preferenceScreen.restoreHierarchyState(container); in onActivityCreated()
264 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
265 if (preferenceScreen != null) { in onSaveInstanceState()
267 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
292 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
293 if (mPreferenceManager.setPreferences(preferenceScreen) && preferenceScreen != null) { in setPreferenceScreen()
339 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, in onPreferenceTreeClick() argument
375 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in bindPreferences() local
[all …]
DPreferenceManager.java334 final PreferenceScreen preferenceScreen = new PreferenceScreen(context, null); in createPreferenceScreen() local
335 preferenceScreen.onAttachedToHierarchy(this); in createPreferenceScreen()
336 return preferenceScreen; in createPreferenceScreen()
560 boolean setPreferences(PreferenceScreen preferenceScreen) { in setPreferences() argument
561 if (preferenceScreen != mPreferenceScreen) { in setPreferences()
562 mPreferenceScreen = preferenceScreen; in setPreferences()
991 boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference); in onPreferenceTreeClick() argument
DPreferenceActivity.java1025 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
1026 if (preferenceScreen != null) { in onSaveInstanceState()
1028 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
1039 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onRestoreInstanceState() local
1040 if (preferenceScreen != null) { in onRestoreInstanceState()
1041 preferenceScreen.restoreHierarchyState(container); in onRestoreInstanceState()
1450 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in bindPreferences() local
1451 if (preferenceScreen != null) { in bindPreferences()
1452 preferenceScreen.bind(getListView()); in bindPreferences()
1491 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
[all …]
DPreference.java1129 public void performClick(PreferenceScreen preferenceScreen) { in performClick() argument
1145 if (preferenceScreen != null && listener != null in performClick()
1146 && listener.onPreferenceTreeClick(preferenceScreen, this)) { in performClick()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceFragmentCompat.java346 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
347 if (preferenceScreen != null) { in onActivityCreated()
348 preferenceScreen.restoreHierarchyState(container); in onActivityCreated()
383 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
384 if (preferenceScreen != null) { in onSaveInstanceState()
386 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
404 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
405 if (mPreferenceManager.setPreferences(preferenceScreen) && preferenceScreen != null) { in setPreferenceScreen()
497 public void onNavigateToScreen(PreferenceScreen preferenceScreen) { in onNavigateToScreen() argument
501 .onPreferenceStartScreen(this, preferenceScreen); in onNavigateToScreen()
[all …]
DPreferenceFragment.java346 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onActivityCreated() local
347 if (preferenceScreen != null) { in onActivityCreated()
348 preferenceScreen.restoreHierarchyState(container); in onActivityCreated()
383 final PreferenceScreen preferenceScreen = getPreferenceScreen(); in onSaveInstanceState() local
384 if (preferenceScreen != null) { in onSaveInstanceState()
386 preferenceScreen.saveHierarchyState(container); in onSaveInstanceState()
404 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
405 if (mPreferenceManager.setPreferences(preferenceScreen) && preferenceScreen != null) { in setPreferenceScreen()
497 public void onNavigateToScreen(PreferenceScreen preferenceScreen) { in onNavigateToScreen() argument
501 .onPreferenceStartScreen(this, preferenceScreen); in onNavigateToScreen()
[all …]
DPreferenceManager.java148 final PreferenceScreen preferenceScreen = new PreferenceScreen(context, null); in createPreferenceScreen() local
149 preferenceScreen.onAttachedToHierarchy(this); in createPreferenceScreen()
150 return preferenceScreen; in createPreferenceScreen()
374 public boolean setPreferences(PreferenceScreen preferenceScreen) { in setPreferences() argument
375 if (preferenceScreen != mPreferenceScreen) { in setPreferences()
379 mPreferenceScreen = preferenceScreen; in setPreferences()
724 void onNavigateToScreen(PreferenceScreen preferenceScreen); in onNavigateToScreen() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java81 @NonNull String preferenceGroupAdapterClassName, @NonNull Object preferenceScreen) in createPreferenceGroupAdapter() argument
84 getClassInstance(preferenceScreen, preferenceGroupClassName); in createPreferenceGroupAdapter()
87 new Class[]{preferenceGroupClass}, new Object[]{preferenceScreen}); in createPreferenceGroupAdapter()
94 @NonNull Object preferenceScreen, @NonNull Object preferenceManager) in createInflatedPreference() argument
97 getClassInstance(preferenceScreen, preferenceGroupClassName); in createInflatedPreference()
241 Object preferenceScreen = in inflatePreference() local
244 if (preferenceScreen == null) { in inflatePreference()
274 preferenceInflaterClassName, context, parser, preferenceScreen, in inflatePreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservablePreferenceFragment.java64 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
65 mLifecycle.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
66 super.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
DLifecycle.java125 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
129 ((SetPreferenceScreen) observer).setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreferenceMixin.java38 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument
40 preferenceScreen.addPreference(mFooterPreference); in setPreferenceScreen()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DSettingsFragment.java50 PreferenceScreen preferenceScreen) { in onPreferenceStartScreen() argument
51 PreferenceFragment frag = buildPreferenceFragment(preferenceScreen.getKey()); in onPreferenceStartScreen()
/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.java315 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in setSubtypesPreferenceEnabled() local
321 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
334 final PreferenceScreen preferenceScreen = context.getPreferenceScreen(); in updateSubtypesPreferenceChecked() local
350 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/preference/
DPreferenceGroupTest.kt48 .findFragmentByTag(TestPreferenceActivity.TAG) as PreferenceFragment).preferenceScreen in <lambda>()
/frameworks/support/preference/ktx/src/androidTest/java/androidx/preference/
DPreferenceGroupTest.kt44 … .findFragmentByTag(TestPreferenceActivity.TAG) as PreferenceFragment).preferenceScreen in <lambda>()