Lines Matching refs:preference
17 package android.preference;
38 * preference hierarchy in this fragment will use, call
47 * A {@link PreferenceScreen} object should be at the top of the preference
50 * {@link PreferenceScreen} should be shown on another screen. The preference
51 * framework handles showing these other screens from the preference hierarchy.
53 * The preference hierarchy can be formed in multiple ways:
68 * resource. These XML resources will be inflated into a single preference
75 * preference in the current hierarchy, see
81 * <p>The following sample code shows a simple preference fragment that is
90 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/FragmentPreferences.java
107 * The starting request code given out to preference framework.
132 * implement to be able to process preference items that wish to
235 * Sets the root of the preference hierarchy that this fragment is showing.
237 * @param preferenceScreen The root {@link PreferenceScreen} of the preference hierarchy.
249 * Gets the root of the preference hierarchy that this fragment is showing.
251 * @return The {@link PreferenceScreen} that is the root of the preference
270 * Inflates the given XML resource and adds the preference hierarchy to the current
271 * preference hierarchy.
286 Preference preference) {
287 if (preference.getFragment() != null &&
290 this, preference);
298 * @param key The key of the preference to retrieve.