Lines Matching refs:preference
17 package android.preference;
44 * preference hierarchy in this fragment will use, call
53 * A {@link PreferenceScreen} object should be at the top of the preference
56 * {@link PreferenceScreen} should be shown on another screen. The preference
57 * framework handles showing these other screens from the preference hierarchy.
59 * The preference hierarchy can be formed in multiple ways:
74 * resource. These XML resources will be inflated into a single preference
81 * preference in the current hierarchy, see
94 * <p>The following sample code shows a simple preference fragment that is
103 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/FragmentPreferences.java
122 * The starting request code given out to preference framework.
147 * implement to be able to process preference items that wish to
282 * Sets the root of the preference hierarchy that this fragment is showing.
284 * @param preferenceScreen The root {@link PreferenceScreen} of the preference hierarchy.
297 * Gets the root of the preference hierarchy that this fragment is showing.
299 * @return The {@link PreferenceScreen} that is the root of the preference
318 * Inflates the given XML resource and adds the preference hierarchy to the current
319 * preference hierarchy.
334 Preference preference) {
335 if (preference.getFragment() != null &&
338 this, preference);
346 * @param key The key of the preference to retrieve.