Lines Matching defs:preference

17 package android.preference;
63 * this class only allowed the display of a single set of preference; this
98 * <p>The following sample code shows a simple preference activity that
100 * of the activity itself as well as its two preference fragments is:</p>
102 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/PreferenceWithHeaders.java
115 * <p>Note that this XML resource contains a preference screen holding another
172 // extras that allow any preference activity to be launched as part of a wizard
200 // --- State for old mode when showing a single preference list
211 * The starting request code given out to preference framework.
383 * Intent to launch when the preference is selected.
553 // the currently selected preference fragment.
670 * and a preference fragment.
692 * to show a particular preference activity.
766 if (!"preference-headers".equals(nodeName)) {
768 "XML document must start with <preference-headers> tag; found"
1041 * preference fragment. When launched in this mode, the header list
1042 * will be hidden and the given preference fragment will be instantiated
1147 * preference fragment.
1159 * preference fragment.
1241 * Start a new fragment containing a preference panel. If the prefences
1254 * preference panel is done. The launched panel must use
1282 * Called by a preference panel fragment to finish itself.
1316 * Binding late is preferred as any custom preference types created in
1358 * Sets the root of the preference hierarchy that this activity is showing.
1360 * @param preferenceScreen The root {@link PreferenceScreen} of the preference hierarchy.
1380 * Gets the root of the preference hierarchy that this activity is showing.
1382 * @return The {@link PreferenceScreen} that is the root of the preference
1412 * Inflates the given XML resource and adds the preference hierarchy to the current
1413 * preference hierarchy.
1435 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
1442 * @param key The key of the preference to retrieve.