/external/chromium/chrome/browser/sync/ |
profile_sync_service_preference_unittest.cc | 80 // Register the preference data type. 104 const PrefService::Preference* preference = local 106 return *preference->GetValue(); 223 const PrefService::Preference* pref = 242 const PrefService::Preference* pref = 331 const PrefService::Preference* pref = 410 int64 node_id = SetSyncedValue("unknown preference", *expected); 421 // of an unknown preference. We just should not crash. 425 // Make the homepage preference managed [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
PreferenceLoader.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceGroup; 22 import android.preference.PreferenceScreen; 102 public Preference inflate(Context context, Preference parent) throws Exception { 103 Preference preference = create(context, (PreferenceGroup) parent); local 106 child.inflate(context, preference); 109 return preference; 113 Preference preference = constructPreference(context, parent); local [all...] |
/frameworks/base/core/java/android/preference/ |
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 54 /* Retrieve the Preference summary attribute since it's private 55 * in the Preference class. 58 com.android.internal.R.styleable.Preference, 0, 0); 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 [all...] |
MultiCheckPreference.java | 17 package android.preference; 31 * A {@link Preference} that displays a list of entries as 57 /* Retrieve the Preference summary attribute since it's private 58 * in the Preference class. 61 com.android.internal.R.styleable.Preference, 0, 0); 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. 189 * Sets the summary for this Preference with a CharSequence [all...] |
MultiSelectListPreference.java | 17 package android.preference; 31 * A {@link Preference} that displays a list of entries as 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.
|
SeekBarPreference.java | 17 package android.preference; 32 public class SeekBarPreference extends Preference 170 * Suppose a client uses this preference type without persisting. We 206 * of MyPreference, a subclass of Preference.
|
TwoStatePreference.java | 17 package android.preference; 35 public abstract class TwoStatePreference extends 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.
|
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. 270 * Shows the dialog associated with this Preference. This is normally initiated 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 [all...] |
PreferenceFragment.java | 17 package android.preference; 34 * Shows a hierarchy of {@link Preference} objects as 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: 61 * to actual {@link Preference} subclasses. As mentioned above, subsequent 68 * resource. These XML resources will be inflated into a single preference 75 * preference in the current hierarchy, se [all...] |
PreferenceManager.java | 17 package android.preference; 37 * Used to help create {@link Preference} hierarchies 51 * The Activity meta-data key for its XML preference hierarchy. 53 public static final String METADATA_KEY_PREFERENCES = "android.preference"; 102 * The SharedPreferences name that will be used for all {@link Preference}s 108 * The SharedPreferences mode that will be used for all {@link Preference}s 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 [all...] |
VolumePreference.java | 17 package android.preference;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
ContactsPreferences.java | 17 package com.android.contacts.common.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/apps/Settings/src/com/android/settings/ |
CryptKeeperSettings.java | 32 import android.preference.Preference; 33 import android.preference.PreferenceActivity; 200 Preference preference = new Preference(getActivity()); local 201 preference.setFragment(CryptKeeperConfirm.class.getName()); 202 preference.setTitle(R.string.crypt_keeper_confirm_title); 203 preference.getExtras().putString("password", password); 204 ((PreferenceActivity) getActivity()).onPreferenceStartFragment(null, preference); [all...] |
MasterClear.java | 32 import android.preference.Preference; 33 import android.preference.PreferenceActivity; 97 Preference preference = new Preference(getActivity()); local 98 preference.setFragment(MasterClearConfirm.class.getName()); 99 preference.setTitle(R.string.master_clear_confirm_title); 100 preference.getExtras().putBoolean(ERASE_EXTERNAL_EXTRA, mExternalStorage.isChecked()); 101 ((PreferenceActivity) getActivity()).onPreferenceStartFragment(null, preference); [all...] |
DisplaySettings.java | 36 import android.preference.CheckBoxPreference; 37 import android.preference.ListPreference; 38 import android.preference.Preference; 39 import android.preference.Preference.OnPreferenceClickListener; 40 import android.preference.PreferenceScreen; 52 Preference.OnPreferenceChangeListener, OnPreferenceClickListener { 76 private Preference mScreenSaverPreference; 79 private Preference mWifiDisplayPreference 149 ListPreference preference = mScreenTimeoutPreference; local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
SyncSettings.java | 28 import android.preference.CheckBoxPreference; 29 import android.preference.Preference; 30 import android.preference.Preference.OnPreferenceChangeListener; 31 import android.preference.PreferenceScreen; 59 public boolean onPreferenceChange(Preference preference, Object newValue) { 98 public boolean onPreferenceTreeClick(PreferenceScreen preferences, Preference preference) { 157 final AccountPreference preference = local [all...] |
ManageAccountsSettings.java | 36 import android.preference.Preference; 37 import android.preference.PreferenceActivity; 38 import android.preference.PreferenceScreen; 140 public boolean onPreferenceTreeClick(PreferenceScreen preferences, Preference preference) { 141 if (preference instanceof AccountPreference) { 142 startAccountSettings((AccountPreference) preference); 197 Preference pref = getPreferenceScreen().getPreference(i); 237 Preference pref = getPreferenceScreen().getPreference(i) 330 final AccountPreference preference = local [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceListPreferenceFragment.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceCategory; 24 import android.preference.PreferenceGroup; 25 import android.preference.PreferenceScreen; 133 Preference preference) { 134 if (KEY_BT_SCAN.equals(preference.getKey())) { 139 if (preference instanceof BluetoothDevicePreference) { 140 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; 168 BluetoothDevicePreference preference = new BluetoothDevicePreference( local 185 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [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 | 32 import android.preference.CheckBoxPreference; 33 import android.preference.EditTextPreference; 34 import android.preference.ListPreference; 35 import android.preference.Preference; 36 import android.preference.PreferenceActivity; 37 import android.preference.PreferenceGroup; 55 implements Preference.OnPreferenceChangeListener { 94 Preference preference; field in class:SipEditor.PreferenceKey [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 32 import android.preference.Preference; 33 import android.preference.PreferenceGroup; 63 Handler.Callback, Preference.OnPreferenceClickListener, 243 // Update the preference. 244 VpnPreference preference = mPreferences.get(profile.key); local 245 if (preference != null) { 247 preference.update(profile); 249 preference = new VpnPreference(getActivity(), profile); 250 preference.setOnPreferenceClickListener(this) 274 Preference preference = (Preference) getListView().getItemAtPosition( local 293 VpnPreference preference = mPreferences.get(mSelectedKey); local 356 VpnPreference preference = mPreferences.get(mInfo.key); local 363 VpnPreference preference = mPreferences.get(info.key); local [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 53 import android.preference.CheckBoxPreference; 54 import android.preference.ListPreference; 55 import android.preference.MultiSelectListPreference; 56 import android.preference.Preference; 57 import android.preference.Preference.OnPreferenceChangeListener; 58 import android.preference.Preference.OnPreferenceClickListener; 59 import android.preference.PreferenceGroup 813 AppRestrictionsPreference preference; field in class:AppRestrictionsFragment.RestrictionsResultReceiver [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
port.h | 111 // A value in [0,1] that indicates the preference for this port versus other 112 // ports on this client. (Larger indicates more preference.) 113 float preference() const { return preference_; } function in class:cricket::Port 114 void set_preference(float preference) { preference_ = preference; }
|