/frameworks/base/core/tests/coretests/src/android/preference/ |
H A D | ListPreferenceTest.java | 17 package android.preference; 19 import android.preference.ListPreference;
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceCategory.java | 17 package android.preference; 51 protected boolean onPrepareAddPreference(Preference preference) { argument 52 if (preference instanceof PreferenceCategory) { 57 return super.onPrepareAddPreference(preference);
|
H A D | OnDependencyChangeListener.java | 17 package android.preference; 26 * Called when this preference has changed in a way that dependents should
|
H A D | CheckBoxPreference.java | 17 package android.preference; 29 * This preference will store a boolean into the SharedPreferences.
|
H A D | SeekBarDialogPreference.java | 17 package android.preference; 21 import android.preference.DialogPreference;
|
H A D | PreferenceGroup.java | 17 package android.preference; 103 public void addItemFromInflater(Preference preference) { argument 104 addPreference(preference); 109 * @return The number of preference children in this group. 127 * preference's order. 129 * @param preference The preference to add. 130 * @return Whether the preference is now in this group. 132 public boolean addPreference(Preference preference) { argument 133 if (mPreferenceList.contains(preference)) { 180 removePreference(Preference preference) argument 186 removePreferenceInt(Preference preference) argument 212 onPrepareAddPreference(Preference preference) argument [all...] |
H A D | PreferenceFrameLayout.java | 17 package android.preference;
|
H A D | PreferenceInflater.java | 17 package android.preference; 34 * The {@link PreferenceInflater} is used to inflate preference hierarchies from 65 setDefaultPackage("android.preference."); 80 "Error parsing preference"); 97 "Error parsing preference");
|
H A D | SwitchPreference.java | 17 package android.preference; 30 * This preference will store a boolean into the SharedPreferences. 61 * @param context The Context that will style this preference 84 * @param context The Context that will style this preference 94 * @param context The Context that will style this preference
|
H A D | PreferenceFragment.java | 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 88 * <p>The following sample code shows a simple preference fragment that is 97 * {@sample development/samples/ApiDemos/src/com/example/android/apis/preference/FragmentPreference 292 onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) argument [all...] |
H A D | PreferenceGroupAdapter.java | 17 package android.preference; 24 import android.preference.Preference.OnPreferenceChangeInternalListener; 152 final Preference preference = group.getPreference(i); 154 preferences.add(preference); 156 if (!mHasReturnedViewTypeCount && !preference.hasSpecifiedLayout()) { 157 addPreferenceClassName(preference); 160 if (preference instanceof PreferenceGroup) { 161 final PreferenceGroup preferenceAsGroup = (PreferenceGroup) preference; 167 preference.setOnPreferenceChangeInternalListener(this); 172 * Creates a string that includes the preference nam 176 createPreferenceLayout(Preference preference, PreferenceLayout in) argument 184 addPreferenceClassName(Preference preference) argument 237 onPreferenceChange(Preference preference) argument 241 onPreferenceHierarchyChange(Preference preference) argument [all...] |
H A D | EditTextPreference.java | 17 package android.preference; 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.
|
H A D | PreferenceScreen.java | 17 package android.preference; 45 * <li> When it appears inside another preference hierarchy, it is shown and 51 * Instead, a separate screen will be shown when this preference is clicked. 214 final Preference preference = (Preference) item; 215 preference.performClick(this);
|
H A D | RingtonePreference.java | 17 package android.preference;
|
H A D | PreferenceManager.java | 17 package android.preference; 51 * The Activity meta-data key for its XML preference hierarchy. 53 public static final String METADATA_KEY_PREFERENCES = "android.preference"; 114 * The {@link PreferenceScreen} at the root of the preference hierarchy. 153 * an XML preference hierarchy. 156 * should be used ANY time a preference will be displayed, since some preference 170 * Sets the owning preference fragment 177 * Returns the owning preference fragment, if any. 197 * Inflates a preference hierarch 814 onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) argument [all...] |
H A D | GenericInflater.java | 17 package android.preference;
|
H A D | ListPreference.java | 17 package android.preference; 32 * This preference will store a string into the SharedPreferences. This string will be the value 99 * The array to find the value to save for a preference when an entry from 101 * second item in this array will be saved to the preference. 103 * @param entryValues The array to be used as values to save for the preference. 118 * Returns the array of values to be saved for the preference. 163 * @param summary The summary for the preference.
|
H A D | MultiCheckPreference.java | 17 package android.preference; 104 * The array to find the value to save for a preference when an entry from 106 * second item in this array will be saved to the preference. 108 * @param entryValues The array to be used as values to save for the preference. 135 * Returns the array of values to be saved for the preference. 195 * @param summary The summary for the preference.
|
H A D | MultiSelectListPreference.java | 17 package android.preference; 34 * This preference will store a set of strings into the SharedPreferences. 94 * The array to find the value to save for a preference when an entry from 96 * second item in this array will be saved to the preference. 98 * @param entryValues The array to be used as values to save for the preference. 113 * Returns the array of values to be saved for the preference.
|
H A D | SeekBarPreference.java | 17 package android.preference; 170 * Suppose a client uses this preference type without persisting. We
|
H A D | TwoStatePreference.java | 17 package android.preference; 163 * Returns whether dependents are disabled when this preference is on ({@code true}) 164 * or when this preference is off ({@code false}). 166 * @return Whether dependents are disabled when this preference is on ({@code true}) 167 * or when this preference is off ({@code false}). 174 * Sets whether dependents are disabled when this preference is on ({@code true}) 175 * or when this preference is off ({@code false}). 177 * @param disableDependentsState The preference state that should disable dependents.
|
H A D | PreferenceActivity.java | 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 i 1444 onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) argument [all...] |
H A D | DialogPreference.java | 17 package android.preference; 41 * actual preference controls. 75 // Fallback on the regular title of the preference 253 * Prepares the dialog builder to be shown when the preference is clicked. 271 * automatically on clicking on the preference. Call this method if you need to 312 * Returns whether the preference needs to display a soft input method when the dialog 397 * Gets the dialog that is shown by this preference.
|
H A D | VolumePreference.java | 17 package android.preference;
|
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | 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.
|