/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...] |
/external/chromium_org/base/prefs/ |
pref_value_store.h | 25 // the value of a Preference from the source with the highest priority, and 39 // |extension_prefs| contains preference values set by extensions. 40 // |command_line_prefs| contains preference values set by command-line 42 // |user_prefs| contains all user-set preference values. 44 // |default_prefs| contains application-default preference values. It must 47 // |pref_notifier| facilitates broadcasting preference change notifications 76 // Gets the value for the given preference name that has the specified value 80 // Preference::GetValue() instead of calling this method directly. 85 // Gets the recommended value for the given preference name that has the 89 // Preference::GetRecommendedValue() instead of calling this method directly [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
codec.h | 82 int preference; member in struct:cricket::Codec 87 Codec(int id, const std::string& name, int clockrate, int preference) 91 preference(preference) { 95 Codec() : id(0), clockrate(0), preference(0) {} 111 return first.preference > other.preference; 122 preference = c.preference; 130 preference == c.preference [all...] |
/external/svox/pico/src/com/svox/pico/ |
EngineSettings.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 24 import android.preference.Preference.OnPreferenceClickListener; 60 Preference pref = findPreference(available.get(i)); 71 Preference pref = findPreference(unavailableLang); 76 public boolean onPreferenceClick(Preference preference) {
|
/packages/apps/Settings/src/com/android/settings/ |
DisplaySettings.java | 30 import android.preference.CheckBoxPreference; 31 import android.preference.ListPreference; 32 import android.preference.Preference; 33 import android.preference.Preference.OnPreferenceClickListener; 34 import android.preference.PreferenceScreen; 45 Preference.OnPreferenceChangeListener, OnPreferenceClickListener { 66 private Preference mScreenSaverPreference; 128 ListPreference preference = mScreenTimeoutPreference local [all...] |
ApnSettings.java | 35 import android.preference.Preference; 36 import android.preference.PreferenceActivity; 37 import android.preference.PreferenceGroup; 38 import android.preference.PreferenceScreen; 53 Preference.OnPreferenceChangeListener { 171 ArrayList<Preference> mmsApnList = new ArrayList<Preference>(); 203 for (Preference preference : mmsApnList) [all...] |
IconPreferenceScreen.java | 22 import android.preference.Preference; 28 public class IconPreferenceScreen extends Preference { 58 * Sets the icon for this Preference with a Drawable. 60 * @param icon The icon for this Preference 70 * Returns the icon of this Preference.
|
VoiceInputOutputSettings.java | 28 import android.preference.ListPreference; 29 import android.preference.Preference; 30 import android.preference.PreferenceCategory; 31 import android.preference.PreferenceGroup; 32 import android.preference.PreferenceScreen; 33 import android.preference.Preference.OnPreferenceChangeListener; 63 private Preference mRecognizerSettingsPref; 64 private Preference mTtsSettingsPref [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutPickerFragment.java | 27 import android.preference.CheckBoxPreference; 28 import android.preference.Preference; 29 import android.preference.PreferenceScreen; 93 Preference preference) { 94 if (preference instanceof CheckBoxPreference) { 95 CheckBoxPreference checkboxPref = (CheckBoxPreference)preference; 109 return super.onPreferenceTreeClick(preferenceScreen, preference);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
NfcEnabler.java | 24 import android.preference.CheckBoxPreference; 25 import android.preference.Preference; 26 import android.preference.PreferenceScreen; 31 * NfcEnabler is a helper to manage the Nfc on/off checkbox preference. It is 32 * turns on/off Nfc and ensures the summary of the preference reflects the 35 public class NfcEnabler implements Preference.OnPreferenceChangeListener { 87 public boolean onPreferenceChange(Preference preference, Object value) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
DebugSettings.java | 22 import android.preference.CheckBoxPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceFragment; 25 import android.preference.PreferenceScreen; 58 final Preference usabilityStudyPref = findPreference(PREF_USABILITY_STUDY_MODE); 65 final Preference statisticsLoggingPref = findPreference(PREF_STATISTICS_LOGGING); 77 new Preference.OnPreferenceClickListener() { 79 public boolean onPreferenceClick(final Preference arg0) {
|
/libcore/luni/src/main/java/java/util/prefs/ |
Preferences.java | 27 * preference tree, which provides a mechanism to store and access configuration 46 * preference update method calls may return immediately instead of blocking. 125 * Gets the absolute path string of this preference node. 127 * @return the preference node's absolute path string. 234 * the preference key. 238 * @return the preference value mapped to the given key. 261 * the preference key. 290 * the preference key. 318 * the preference key. 347 * the preference key [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TtsEngineSettingsFragment.java | 25 import android.preference.CheckBoxPreference; 26 import android.preference.ListPreference; 27 import android.preference.Preference; 28 import android.preference.Preference.OnPreferenceChangeListener; 29 import android.preference.Preference.OnPreferenceClickListener; 30 import android.preference.PreferenceScreen; 59 private Preference mEngineSettingsPreference [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettings.java | 37 import android.preference.CheckBoxPreference; 38 import android.preference.ListPreference; 39 import android.preference.Preference; 40 import android.preference.PreferenceCategory; 41 import android.preference.PreferenceScreen; 70 Preference.OnPreferenceChangeListener { 85 // Preference categories 188 // Preference controls. 197 private Preference mNoServicesMessagePreference 418 PreferenceScreen preference = getPreferenceManager().createPreferenceScreen( local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
SetPreferencesActivity.java | 21 import android.preference.Preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceScreen; 39 Preference eraseGameButton = getPreferenceManager().findPreference("erasegame"); 45 Preference configureKeyboardPref = getPreferenceManager().findPreference("keyconfig");
|
/packages/services/Telephony/src/com/android/phone/ |
GsmUmtsOptions.java | 19 import android.preference.Preference; 20 import android.preference.PreferenceActivity; 21 import android.preference.PreferenceScreen; 86 public boolean preferenceTreeClick(Preference preference) {
|
RespondViaSmsManager.java | 39 import android.preference.EditTextPreference; 40 import android.preference.Preference; 41 import android.preference.PreferenceActivity; 86 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings. 103 implements Preference.OnPreferenceChangeListener { 111 // This preference screen is ultra-simple; it's just 4 plain 115 // each of those EditTextPreferences and use it as the preference's 148 // Preference.OnPreferenceChangeListener implementation 150 public boolean onPreferenceChange(Preference preference, Object newValue) [all...] |
CellBroadcastSms.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.ListPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceScreen; 25 import android.preference.PreferenceActivity; 39 implements Preference.OnPreferenceChangeListener{ 44 //String keys for preference lookup 174 * Invoked on each preference click in this hierarchy, overrides 176 * preference click events [all...] |
/external/chromium_org/chrome/browser/prefs/ |
pref_model_associator.cc | 33 return pref.GetSpecifics().priority_preference().preference(); 35 return pref.GetSpecifics().preference(); 51 // List of migrated preference name pairs. If a preference is migrated 52 // (meaning renamed) adding the old and new preference names here will ensure 54 // with the old name. Preference migration itself doesn't happen here. It may 106 VLOG(1) << "Associating preference " << pref_name; 109 const sync_pb::PreferenceSpecifics& preference = GetSpecifics(sync_pref); local 110 DCHECK(pref_name == preference.name() || 112 preference.name() = 247 const sync_pb::PreferenceSpecifics& preference = GetSpecifics(*sync_iter); local 584 const PrefService::Preference* preference = local [all...] |
pref_model_associator.h | 33 // Contains all preference sync related logic. 59 // Returns the list of preference names that are registered as syncable, and 63 // Register a preference with the specified name for syncing. We do not care 70 // Returns true if the specified preference is registered for syncing. 73 // Process a local preference change. This can trigger new SyncChanges being 89 // Fills |sync_data| with a sync representation of the preference data 95 // Extract preference value and name from sync specifics. 117 // Create an association for a given preference. If |sync_pref| is valid, 118 // signifying that sync has data for this preference, we reconcile their data 121 // the current preference data [all...] |
/packages/services/Telephony/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...] |
/external/chromium_org/chrome/browser/extensions/api/preference/ |
preference_apitest.cc | 32 const PrefService::Preference* pref = prefs->FindPreference( 49 const PrefService::Preference* pref = prefs->FindPreference( 108 const char kExtensionPath[] = "preference/standard"; 135 RunExtensionTestIncognito("preference/persistent_incognito")) << 138 // Setting an incognito preference should not create an incognito profile. 142 const PrefService::Preference* pref = 156 EXPECT_FALSE(RunExtensionTest("preference/persistent_incognito")); 164 RunExtensionTestIncognito("preference/session_only_incognito")) << 170 const PrefService::Preference* pref = 186 EXPECT_TRUE(RunExtensionTest("preference/clear")) << message_ [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_pref_value_map.h | 23 // - If two extensions set a value for the same preference, the following 66 // Set an extension preference |value| for |key| of extension |ext_id|. 76 // Remove the extension preference value for |key| of extension |ext_id|. 83 // preference. 85 // policies. An extension is only really able to control a preference if 86 // PrefService::Preference::IsExtensionModifiable() returns true as well. 92 // preference. This means this extension has set a preference value and no 95 // policies. An extension is only really able to control a preference if 96 // PrefService::Preference::IsExtensionModifiable() returns true as well [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 32 import android.preference.CheckBoxPreference; 33 import android.preference.ListPreference; 34 import android.preference.Preference; 35 import android.preference.Preference.OnPreferenceChangeListener; 36 import android.preference.Preference.OnPreferenceClickListener; 37 import android.preference.PreferenceCategory; 38 import android.preference.PreferenceFragment [all...] |
/cts/tests/res/xml/ |
preferences_from_intent.xml | 20 android:title="Check box preference" 21 android:summary="This is a check box preference."
|