/frameworks/base/core/java/android/preference/ |
D | PreferenceFragment.java | 222 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 …]
|
D | PreferenceManager.java | 334 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
|
D | PreferenceActivity.java | 1025 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 …]
|
D | Preference.java | 1129 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/ |
D | PreferenceFragmentCompat.java | 346 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 …]
|
D | PreferenceFragment.java | 346 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 …]
|
D | PreferenceManager.java | 148 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/ |
D | SupportPreferencesUtil.java | 81 @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/ |
D | ObservablePreferenceFragment.java | 64 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument 65 mLifecycle.setPreferenceScreen(preferenceScreen); in setPreferenceScreen() 66 super.setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
|
D | Lifecycle.java | 125 public void setPreferenceScreen(PreferenceScreen preferenceScreen) { in setPreferenceScreen() argument 129 ((SetPreferenceScreen) observer).setPreferenceScreen(preferenceScreen); in setPreferenceScreen()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | FooterPreferenceMixin.java | 38 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/ |
D | SettingsFragment.java | 50 PreferenceScreen preferenceScreen) { in onPreferenceStartScreen() argument 51 PreferenceFragment frag = buildPreferenceFragment(preferenceScreen.getKey()); in onPreferenceStartScreen()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/events/ |
D | SetPreferenceScreen.java | 23 void setPreferenceScreen(PreferenceScreen preferenceScreen); in setPreferenceScreen() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 315 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/ |
D | PreferenceGroupTest.kt | 48 .findFragmentByTag(TestPreferenceActivity.TAG) as PreferenceFragment).preferenceScreen in <lambda>()
|
/frameworks/support/preference/ktx/src/androidTest/java/androidx/preference/ |
D | PreferenceGroupTest.kt | 44 … .findFragmentByTag(TestPreferenceActivity.TAG) as PreferenceFragment).preferenceScreen in <lambda>()
|