/cts/tests/src/android/preference/cts/ |
PreferenceStubActivity.java | 17 package android.preference.cts; 19 import android.preference.PreferenceActivity;
|
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
WKPreferences.cpp | 38 WKPreferencesRef preference = WKPreferencesCreate(); local 40 TEST_ASSERT(WKGetTypeID(preference) == WKPreferencesGetTypeID()); 42 WKRelease(preference); 63 WKPreferencesRef preference = WKPreferencesCreate(); local 65 TEST_ASSERT(WKPreferencesGetJavaScriptEnabled(preference) == true); 66 TEST_ASSERT(WKPreferencesGetLoadsImagesAutomatically(preference) == true); 67 TEST_ASSERT(WKPreferencesGetOfflineWebApplicationCacheEnabled(preference) == false); 68 TEST_ASSERT(WKPreferencesGetLocalStorageEnabled(preference) == true); 69 TEST_ASSERT(WKPreferencesGetXSSAuditorEnabled(preference) == true); 70 TEST_ASSERT(WKPreferencesGetFrameFlatteningEnabled(preference) == false) [all...] |
/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);
|
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...] |
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);
|
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...] |
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
language_chewing_handler.cc | 47 const language_prefs::LanguageIntegerRangePreference& preference = local 51 GetI18nContentValue(preference, kI18nPrefix), 52 l10n_util::GetStringUTF16(preference.message_id)); 54 GetTemplateDataMinName(preference, kI18nPrefix), 55 base::IntToString(preference.min_pref_value)); 57 GetTemplateDataMaxName(preference, kI18nPrefix), 58 base::IntToString(preference.max_pref_value)); 63 const language_prefs::LanguageIntegerRangePreference& preference = local 67 GetI18nContentValue(preference, kI18nPrefix), 68 l10n_util::GetStringUTF16(preference.message_id)) 84 preference = language_prefs::kChewingMultipleChoicePrefs[i]; local [all...] |
language_options_util.h | 20 // Returns an i18n-content value corresponding to |preference|. 22 std::string GetI18nContentValue(const T& preference, const char* prefix) { 23 return std::string(prefix) + preference.ibus_config_name; 26 // Returns a property name of templateData corresponding to |preference|. 28 std::string GetTemplateDataPropertyName(const T& preference, 30 return std::string(prefix) + preference.ibus_config_name + "Value"; 36 std::string GetTemplateDataMinName(const T& preference, const char* prefix) { 37 return std::string(prefix) + preference.ibus_config_name + "Min"; 43 std::string GetTemplateDataMaxName(const T& preference, const char* prefix) { 44 return std::string(prefix) + preference.ibus_config_name + "Max" [all...] |
language_mozc_handler.cc | 43 preference = language_prefs::kMozcMultipleChoicePrefs[i]; local 45 GetI18nContentValue(preference, kI18nPrefix), 46 l10n_util::GetStringUTF16(preference.label_message_id)); 47 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix), 48 CreateMultipleChoiceList(preference)); 52 const language_prefs::LanguageIntegerRangePreference& preference = local 55 GetI18nContentValue(preference, kI18nPrefix), 56 l10n_util::GetStringUTF16(preference.message_id)); 58 for (int j = preference.min_pref_value; j <= preference.max_pref_value [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
OtherPreferences.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceFragment; 24 import android.preference.PreferenceScreen; 34 private Preference mCopyDb; 48 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) { 49 if (preference == mCopyDb) { 55 return super.onPreferenceTreeClick(screen, preference);
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
SwitchPreference.java | 17 package com.example.android.apis.preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceManager;
|
PreferenceDependencies.java | 17 package com.example.android.apis.preference; 22 import android.preference.PreferenceActivity;
|
PreferencesFromXml.java | 17 package com.example.android.apis.preference; 22 import android.preference.PreferenceActivity;
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/settings/ |
GallerySettings.java | 19 import android.preference.PreferenceActivity;
|
/packages/apps/Phone/src/com/android/phone/ |
GsmUmtsCallOptions.java | 20 import android.preference.CheckBoxPreference; 21 import android.preference.Preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceScreen;
|
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...] |
CdmaCallOptions.java | 26 import android.preference.CheckBoxPreference; 27 import android.preference.Preference; 28 import android.preference.PreferenceActivity; 29 import android.preference.PreferenceScreen; 54 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { 55 if (preference.getKey().equals(BUTTON_VP_KEY)) {
|
GsmUmtsOptions.java | 19 import android.preference.CheckBoxPreference; 20 import android.preference.Preference; 21 import android.preference.PreferenceActivity; 22 import android.preference.PreferenceScreen; 72 public boolean preferenceTreeClick(Preference preference) { 73 if (preference.getKey().equals(BUTTON_PREFER_2G_KEY)) {
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
DisplayOptionsPreferenceFragment.java | 17 package com.android.contacts.preference; 22 import android.preference.PreferenceFragment;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
DebugPreferencesFragment.java | 20 import android.preference.Preference; 21 import android.preference.Preference.OnPreferenceClickListener; 22 import android.preference.PreferenceFragment; 38 Preference e = findPreference(PreferenceKeys.PREF_RESET_PRELOGIN); 43 public boolean onPreferenceClick(Preference preference) { 44 if (PreferenceKeys.PREF_RESET_PRELOGIN.equals(preference.getKey())) {
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
codec.h | 42 int preference; member in struct:cricket::AudioCodec 47 channels(cs), preference(pr) {} 50 AudioCodec() : id(0), clockrate(0), bitrate(0), channels(0), preference(0) {} 57 return first.preference > other.preference; 68 preference = c.preference; 78 preference == c.preference; 93 int preference; member in struct:cricket::VideoCodec [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/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
PreferenceController.java | 19 import android.preference.Preference; 22 * Interfaces for classes that handle logic behind a settings preference. 27 * Handle a preference. This should take any action necessary to implement the logic behind the 28 * given preference. It will be called from {@link Activity#onCreate}. 31 void handlePreference(Preference p);
|
/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/Camera/src/com/android/camera/ui/ |
InLineSettingItem.java | 30 * preference button. The setting includes a title for showing the preference 33 * and a next button. A switch, i.e. the preference RecordLocationPreference, 42 // Scene mode can override the original preference value. 53 protected void setTitle(ListPreference preference) { 54 ((TextView) findViewById(R.id.title)).setText(preference.getTitle()); 57 public void initialize(ListPreference preference) { 58 setTitle(preference); 59 if (preference == null) return; 60 mPreference = preference; [all...] |