Lines Matching refs:preference

17 package android.preference;
68 * this class only allowed the display of a single set of preference; this
102 * <p>The following sample code shows a simple preference activity that
104 * of the activity itself as well as its two preference fragments is:</p>
106 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/PreferenceWithHeaders.java
119 * <p>Note that this XML resource contains a preference screen holding another
181 // extras that allow any preference activity to be launched as part of a wizard
216 // --- State for old mode when showing a single preference list
230 * The starting request code given out to preference framework.
419 * Intent to launch when the preference is selected.
748 * and a preference fragment.
770 * to show a particular preference activity.
850 if (!"preference-headers".equals(nodeName)) {
852 "XML document must start with <preference-headers> tag; found"
1145 * preference fragment. When launched in this mode, the header list
1146 * will be hidden and the given preference fragment will be instantiated
1272 * preference fragment.
1291 * preference fragment.
1375 * Start a new fragment containing a preference panel. If the preferences
1388 * preference panel is done. The launched panel must use
1412 * Called by a preference panel fragment to finish itself.
1441 * Binding late is preferred as any custom preference types created in
1483 * Sets the root of the preference hierarchy that this activity is showing.
1485 * @param preferenceScreen The root {@link PreferenceScreen} of the preference hierarchy.
1505 * Gets the root of the preference hierarchy that this activity is showing.
1507 * @return The {@link PreferenceScreen} that is the root of the preference
1537 * Inflates the given XML resource and adds the preference hierarchy to the current
1538 * preference hierarchy.
1560 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
1567 * @param key The key of the preference to retrieve.