/frameworks/base/core/java/android/preference/ |
OnDependencyChangeListener.java | 17 package android.preference; 21 * {@link Preference} changes with respect to enabling/disabling 26 * Called when this preference has changed in a way that dependents should 31 void onDependencyChanged(Preference dependency, boolean disablesDependent);
|
PreferenceCategory.java | 17 package android.preference; 25 * Used to group {@link Preference} objects 44 protected boolean onPrepareAddPreference(Preference preference) { 45 if (preference instanceof PreferenceCategory) { 50 return super.onPrepareAddPreference(preference);
|
SeekBarPreference.java | 17 package android.preference; 21 import android.preference.DialogPreference;
|
PreferenceGroup.java | 17 package android.preference; 33 * {@link Preference} objects. It is a base class for Preference objects that are 38 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> { 40 * The container for child {@link Preference}s. This is sorted based on the 41 * ordering, please use {@link #addPreference(Preference)} instead of adding 44 private List<Preference> mPreferenceList; 55 mPreferenceList = new ArrayList<Preference>(); 69 * Whether to order the {@link Preference} children of this group as the 232 final Preference preference = getPreference(i); local [all...] |
PreferenceInflater.java | 17 package android.preference; 32 * The {@link PreferenceInflater} is used to inflate preference hierarchies from 39 class PreferenceInflater extends GenericInflater<Preference, PreferenceGroup> { 50 PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager preferenceManager, Context newContext) { 56 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) { 62 setDefaultPackage("android.preference."); 66 protected boolean onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference,
|
PreferenceGroupAdapter.java | 17 package android.preference; 24 import android.preference.Preference.OnPreferenceChangeInternalListener; 32 * An adapter that returns the {@link Preference} contained in this group. 34 * adapters from {@link Preference#getAdapter()}. 37 * {@link Preference}'s adapter rule (the 39 * {@link Preference#getView(ViewGroup)} if a {@link Preference} has an 40 * adapter via {@link Preference#getAdapter()}). 59 * Maps a position into this adapter -> {@link Preference}. Thes 152 final Preference preference = group.getPreference(i); local 211 final Preference preference = this.getItem(position); local 257 final Preference preference = this.getItem(position); local [all...] |
PreferenceScreen.java | 17 package android.preference; 34 * Represents a top-level {@link Preference} that 35 * is the root of a Preference hierarchy. A {@link PreferenceActivity} 42 * <li> When it appears inside another preference hierarchy, it is shown and 46 * {@link Preference#getIntent()}). The children of this {@link PreferenceScreen} 48 * Instead, a separate screen will be shown when this preference is clicked. 100 * subclass of {@link Preference}. 102 * @return An adapter that provides the {@link Preference} contained in this 126 * {@link Preference} contained by this {@link PreferenceScreen}. 187 if (!(item instanceof Preference)) return [all...] |
EditTextPreference.java | 17 package android.preference; 33 * A {@link Preference} that allows for string 41 * This preference will store a string into the SharedPreferences. 62 * The preference framework and view framework both have an 'enabled' 64 * the preference framework, but it was also given to the view framework. 99 * @return The current preference value. 122 * Adds the EditText widget of this preference to the dialog's view.
|
RingtonePreference.java | 17 package android.preference; 30 * A {@link Preference} that allows the user to choose a ringtone from those on the device. 43 public class RingtonePreference extends Preference implements
|
CheckBoxPreference.java | 17 package android.preference; 33 * A {@link Preference} that provides checkbox widget 36 * This preference will store a boolean into the SharedPreferences. 42 public class CheckBoxPreference extends Preference { 86 // because clicking a preference does not immediately change the checked state 232 * Returns whether dependents are disabled when this preference is on ({@code true}) 233 * or when this preference is off ({@code false}). 235 * @return Whether dependents are disabled when this preference is on ({@code true}) 236 * or when this preference is off ({@code false}). 243 * Sets whether dependents are disabled when this preference is on ({@code true} [all...] |
GenericInflater.java | 17 package android.preference;
|
ListPreference.java | 17 package android.preference; 29 * A {@link Preference} that displays a list of entries as 32 * This preference will store a string into the SharedPreferences. This string will be the value 90 * The array to find the value to save for a preference when an entry from 92 * second item in this array will be saved to the preference. 94 * @param entryValues The array to be used as values to save for the preference. 109 * Returns the array of values to be saved for the preference.
|
PreferenceActivity.java | 17 package android.preference; 29 * Shows a hierarchy of {@link Preference} objects as 33 * preference hierarchy in this activity will use, call 42 * A {@link PreferenceScreen} object should be at the top of the preference 45 * {@link PreferenceScreen} should be shown on another screen. The preference 46 * framework handles showing these other screens from the preference hierarchy. 48 * The preference hierarchy can be formed in multiple ways: 56 * to actual {@link Preference} subclasses. As mentioned above, subsequent 63 * resource. These XML resources will be inflated into a single preference 70 * preference in the current hierarchy, se [all...] |
DialogPreference.java | 17 package android.preference; 39 * A base class for {@link Preference} objects that are 41 * actual preference controls. 50 public abstract class DialogPreference extends Preference implements 75 // Fallback on the regular title of the preference 253 * Prepares the dialog builder to be shown when the preference is clicked. 268 * Shows the dialog associated with this Preference. This is normally initiated 269 * automatically on clicking on the preference. Call this method if you need to 310 * Returns whether the preference needs to display a soft input method when the dialog 397 * Gets the dialog that is shown by this preference [all...] |
PreferenceManager.java | 17 package android.preference; 38 * Used to help create {@link Preference} hierarchies 52 * The Activity meta-data key for its XML preference hierarchy. 54 public static final String METADATA_KEY_PREFERENCES = "android.preference"; 98 * The SharedPreferences name that will be used for all {@link Preference}s 104 * The SharedPreferences mode that will be used for all {@link Preference}s 110 * The {@link PreferenceScreen} at the root of the preference hierarchy. 146 * an XML preference hierarchy. 149 * should be used ANY time a preference will be displayed, since some preference [all...] |
VolumePreference.java | 17 package android.preference;
|
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 25 import android.preference.Preference; 26 import android.preference.PreferenceGroup; 33 * Set the preference's title to the matching activity's label. 38 * Finds a matching activity for a preference's intent. If a matching 39 * activity is not found, it will remove the preference. 42 * @param parentPreferenceGroup The preference group that contains the 43 * preference whose intent is being resolved. 44 * @param preferenceKey The key of the preference whose intent is being 49 * @return Whether an activity was found. If false, the preference wa 55 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); local [all...] |
AccessibilitySettings.java | 30 import android.preference.CheckBoxPreference; 31 import android.preference.Preference; 32 import android.preference.PreferenceActivity; 33 import android.preference.PreferenceCategory; 34 import android.preference.PreferenceGroup; 35 import android.preference.PreferenceScreen; 112 CheckBoxPreference preference = (CheckBoxPreference) findPreference(key); local 113 if (preference != null) { 114 preference.setChecked(enabled.contains(key)) 286 CheckBoxPreference preference = (CheckBoxPreference) findPreference(key); local 321 CheckBoxPreference preference = new CheckBoxPreference(this); local [all...] |
/frameworks/base/core/java/com/android/internal/preference/ |
YesNoPreference.java | 17 package com.android.internal.preference; 23 import android.preference.DialogPreference; 27 * The {@link YesNoPreference} is a preference to show a dialog with Yes and No 30 * This preference will store a boolean into the SharedPreferences. 57 * Sets the value of this preference, and saves it to the persistent store 60 * @param value The value of the preference. 71 * Gets the value of this preference. 73 * @return The value of the preference.
|
/development/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 31 import android.preference.CheckBoxPreference; 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceGroup; 36 import android.preference.PreferenceScreen; 46 implements Preference.OnPreferenceChangeListener, 77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey) local [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
AdvancedSettings.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.EditTextPreference; 27 import android.preference.ListPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceActivity; 40 implements Preference.OnPreferenceChangeListener { 75 Preference preference = findPreference(mPreferenceKeys[i]); local 76 preference.setOnPreferenceChangeListener(this) 292 EditTextPreference preference = (EditTextPreference) findPreference(mPreferenceKeys[i]); local 306 EditTextPreference preference = (EditTextPreference) findPreference(mPreferenceKeys[i]); local [all...] |
/bionic/libc/netbsd/nameser/ |
ns_print.c | 351 u_int order, preference; local 359 preference = ns_get16(rdata); rdata += NS_INT16SZ; 360 len = SPRINTF((t, "%u %u ", order, preference));
|
/packages/apps/Phone/src/com/android/phone/ |
TimeConsumingPreferenceActivity.java | 9 import android.preference.Preference; 10 import android.preference.PreferenceActivity; 17 public void onStarted(Preference preference, boolean reading); 18 public void onFinished(Preference preference, boolean reading); 19 public void onError(Preference preference, int error); 20 public void onException(Preference preference, CommandException exception) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SettingsActivity.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceGroup; 26 import android.preference.PreferenceManager; 27 import android.preference.PreferenceScreen; 37 Preference.OnPreferenceChangeListener { 91 public boolean onPreferenceChange(Preference preference, Object newValue) 102 Preference preference = parentPref.findPreference(prefKey); local [all...] |
/packages/apps/Phone/src/com/android/phone/sip/ |
SipEditor.java | 30 import android.preference.CheckBoxPreference; 31 import android.preference.EditTextPreference; 32 import android.preference.ListPreference; 33 import android.preference.Preference; 34 import android.preference.PreferenceActivity; 35 import android.preference.PreferenceGroup; 55 implements Preference.OnPreferenceChangeListener { 88 Preference preference; field in class:SipEditor.PreferenceKey [all...] |