/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
D | WKPreferences.cpp | 38 WKPreferencesRef preference = WKPreferencesCreate(); in TEST() local 40 TEST_ASSERT(WKGetTypeID(preference) == WKPreferencesGetTypeID()); in TEST() 42 WKRelease(preference); in TEST() 63 WKPreferencesRef preference = WKPreferencesCreate(); in TEST() local 65 TEST_ASSERT(WKPreferencesGetJavaScriptEnabled(preference) == true); in TEST() 66 TEST_ASSERT(WKPreferencesGetLoadsImagesAutomatically(preference) == true); in TEST() 67 TEST_ASSERT(WKPreferencesGetOfflineWebApplicationCacheEnabled(preference) == false); in TEST() 68 TEST_ASSERT(WKPreferencesGetLocalStorageEnabled(preference) == true); in TEST() 69 TEST_ASSERT(WKPreferencesGetXSSAuditorEnabled(preference) == true); in TEST() 70 TEST_ASSERT(WKPreferencesGetFrameFlatteningEnabled(preference) == false); in TEST() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | PreferenceTest.java | 19 import android.preference.Preference; 20 import android.preference.Preference.OnPreferenceClickListener; 31 private TestPreference preference; field in PreferenceTest 43 preference = new TestPreference(context, attrs); in setup() 44 shadow = Robolectric.shadowOf( preference ); in setup() 51 preference = new TestPreference(context, attrs, defStyle); in shouldConstruct() 52 shadow = Robolectric.shadowOf(preference); in shouldConstruct() 57 preference = new TestPreference(context, attrs); in shouldConstruct() 58 shadow = Robolectric.shadowOf(preference); in shouldConstruct() 63 preference = new TestPreference(context); in shouldConstruct() [all …]
|
D | DialogPreferenceTest.java | 5 import android.preference.DialogPreference; 25 private DialogPreference preference; field in DialogPreferenceTest 37 preference = new TestDialogPreference(context, attrs); in setup() 38 shadow = Robolectric.shadowOf(preference); in setup() 45 preference = new TestDialogPreference(context, attrs, defStyle); in testConstructors() 46 shadow = Robolectric.shadowOf(preference); in testConstructors() 51 preference = new TestDialogPreference(context, attrs); in testConstructors() 52 shadow = Robolectric.shadowOf(preference); in testConstructors() 60 assertThat((String) preference.getDialogMessage(), equalTo(TEST_DIALOG_MESSAGE)); in testGetDialogMessage()
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | language_chewing_handler.cc | 47 const language_prefs::LanguageIntegerRangePreference& preference = in GetLocalizedValues() local 51 GetI18nContentValue(preference, kI18nPrefix), in GetLocalizedValues() 52 l10n_util::GetStringUTF16(preference.message_id)); in GetLocalizedValues() 54 GetTemplateDataMinName(preference, kI18nPrefix), in GetLocalizedValues() 55 base::IntToString(preference.min_pref_value)); in GetLocalizedValues() 57 GetTemplateDataMaxName(preference, kI18nPrefix), in GetLocalizedValues() 58 base::IntToString(preference.max_pref_value)); in GetLocalizedValues() 63 const language_prefs::LanguageIntegerRangePreference& preference = in GetLocalizedValues() local 67 GetI18nContentValue(preference, kI18nPrefix), in GetLocalizedValues() 68 l10n_util::GetStringUTF16(preference.message_id)); in GetLocalizedValues() [all …]
|
D | language_options_util.h | 22 std::string GetI18nContentValue(const T& preference, const char* prefix) { in GetI18nContentValue() argument 23 return std::string(prefix) + preference.ibus_config_name; in GetI18nContentValue() 28 std::string GetTemplateDataPropertyName(const T& preference, in GetTemplateDataPropertyName() argument 30 return std::string(prefix) + preference.ibus_config_name + "Value"; in GetTemplateDataPropertyName() 36 std::string GetTemplateDataMinName(const T& preference, const char* prefix) { in GetTemplateDataMinName() argument 37 return std::string(prefix) + preference.ibus_config_name + "Min"; in GetTemplateDataMinName() 43 std::string GetTemplateDataMaxName(const T& preference, const char* prefix) { in GetTemplateDataMaxName() argument 44 return std::string(prefix) + preference.ibus_config_name + "Max"; in GetTemplateDataMaxName() 56 const language_prefs::LanguageMultipleChoicePreference<T>& preference) { in CreateMultipleChoiceList() argument 61 if (preference.values_and_ids[i].item_message_id == 0) in CreateMultipleChoiceList() [all …]
|
D | language_mozc_handler.cc | 43 preference = language_prefs::kMozcMultipleChoicePrefs[i]; in GetLocalizedValues() local 45 GetI18nContentValue(preference, kI18nPrefix), in GetLocalizedValues() 46 l10n_util::GetStringUTF16(preference.label_message_id)); in GetLocalizedValues() 47 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix), in GetLocalizedValues() 48 CreateMultipleChoiceList(preference)); in GetLocalizedValues() 52 const language_prefs::LanguageIntegerRangePreference& preference = in GetLocalizedValues() local 55 GetI18nContentValue(preference, kI18nPrefix), in GetLocalizedValues() 56 l10n_util::GetStringUTF16(preference.message_id)); in GetLocalizedValues() 58 for (int j = preference.min_pref_value; j <= preference.max_pref_value; in GetLocalizedValues() 65 localized_strings->Set(GetTemplateDataPropertyName(preference, kI18nPrefix), in GetLocalizedValues()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPreferenceGroup.java | 5 import android.preference.Preference; 6 import android.preference.PreferenceGroup; 24 public void addItemFromInflater(Preference preference) { in addItemFromInflater() argument 25 addPreference(preference); in addItemFromInflater() 29 public boolean addPreference(Preference preference) { in addPreference() argument 30 if (preferenceList.contains(preference)) { in addPreference() 35 preferenceList.add(preference); in addPreference() 51 public boolean removePreference(Preference preference) { in removePreference() argument 52 return preferenceList.remove(preference); in removePreference() 72 final Preference preference = getPreference(i); in findPreference() local [all …]
|
D | ShadowPreferenceActivity.java | 3 import android.preference.PreferenceActivity; 4 import android.preference.PreferenceScreen;
|
D | ShadowPreferenceCategory.java | 3 import android.preference.PreferenceCategory;
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
D | codec.h | 42 int preference; member 47 channels(cs), preference(pr) {} in AudioCodec() 50 AudioCodec() : id(0), clockrate(0), bitrate(0), channels(0), preference(0) {} in AudioCodec() 57 return first.preference > other.preference; in Preferable() 68 preference = c.preference; 78 preference == c.preference; 93 int preference; member 97 : id(pt), name(nm), width(w), height(h), framerate(fr), preference(pr) {} in VideoCodec() 101 : id(0), width(0), height(0), framerate(0), preference(0) {} in VideoCodec() 107 return first.preference > other.preference; in Preferable() [all …]
|
D | codec.cc | 57 << ":" << channels << ":" << preference << "]"; in ToString() 74 << ":" << framerate << ":" << preference << "]"; in ToString()
|
/external/smack/src/org/xbill/DNS/ |
D | PXRecord.java | 17 private int preference; field in PXRecord 35 PXRecord(Name name, int dclass, long ttl, int preference, in PXRecord() argument 40 this.preference = checkU16("preference", preference); in PXRecord() 47 preference = in.readU16(); in rrFromWire() 54 preference = st.getUInt16(); in rdataFromString() 63 sb.append(preference); in rrToString() 73 out.writeU16(preference); in rrToWire() 81 return preference; in getPreference()
|
D | NAPTRRecord.java | 18 private int order, preference; field in NAPTRRecord 43 NAPTRRecord(Name name, int dclass, long ttl, int order, int preference, in NAPTRRecord() argument 48 this.preference = checkU16("preference", preference); in NAPTRRecord() 63 preference = in.readU16(); in rrFromWire() 73 preference = st.getUInt16(); in rdataFromString() 91 sb.append(preference); in rrToString() 112 return preference; in getPreference() 142 out.writeU16(preference); in rrToWire()
|
D | RTRecord.java | 29 RTRecord(Name name, int dclass, long ttl, int preference, in RTRecord() argument 32 super(name, Type.RT, dclass, ttl, preference, "preference", in RTRecord()
|
D | KXRecord.java | 29 KXRecord(Name name, int dclass, long ttl, int preference, Name target) { in KXRecord() argument 30 super(name, Type.KX, dclass, ttl, preference, "preference", in KXRecord()
|
/external/chromium/chrome/browser/sync/glue/ |
D | preference_change_processor.cc | 55 const PrefService::Preference* preference = in Observe() local 57 DCHECK(preference); in Observe() 59 bool user_modifiable = preference->IsUserModifiable(); in Observe() 85 preference)) { in Observe() 99 preference->name(), in Observe() 100 *preference->GetValue(), in Observe() 168 const PrefService::Preference* preference = in ApplyChangesFromSyncModel() local 170 model_associator_->Associate(preference, changes[i].id); in ApplyChangesFromSyncModel() 182 const sync_pb::PreferenceSpecifics& preference( in ReadPreference() local 185 scoped_ptr<Value> value(reader.JsonToValue(preference.value(), false, false)); in ReadPreference() [all …]
|
D | preference_model_associator.cc | 57 const sync_pb::PreferenceSpecifics& preference( in InitPrefNodeAndAssociate() local 59 DCHECK_EQ(tag, preference.name()); in InitPrefNodeAndAssociate() 63 reader.JsonToValue(preference.value(), false, false)); in InitPrefNodeAndAssociate() 64 std::string pref_name = preference.name(); in InitPrefNodeAndAssociate() 79 LOG(WARNING) << "Synced value for " << preference.name() in InitPrefNodeAndAssociate() 192 const PrefService::Preference* preference, int64 sync_id) { in Associate() argument 195 DCHECK(id_map_.find(preference->name()) == id_map_.end()); in Associate() 197 id_map_[preference->name()] = sync_id; in Associate() 198 id_map_inverse_[sync_id] = preference->name(); in Associate() 250 sync_pb::PreferenceSpecifics preference; in WritePreferenceToNode() local [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | PreferenceLoader.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceGroup; 22 import android.preference.PreferenceScreen; 103 Preference preference = create(context, (PreferenceGroup) parent); in inflate() local 106 child.inflate(context, preference); in inflate() 109 return preference; in inflate() 113 Preference preference = constructPreference(context, parent); in create() local 114 if (parent != null && parent != preference) { in create() 115 parent.addPreference(preference); in create() 117 return preference; in create()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | PreferenceLoaderTest.java | 10 import android.preference.CheckBoxPreference; 11 import android.preference.EditTextPreference; 12 import android.preference.ListPreference; 13 import android.preference.Preference; 14 import android.preference.PreferenceCategory; 15 import android.preference.PreferenceScreen; 16 import android.preference.RingtonePreference;
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
D | candidate.h | 43 const talk_base::SocketAddress& address, float preference, in Candidate() argument 48 preference_(preference), username_(username), password_(password), in Candidate() 62 float preference() const { return preference_; } in preference() function 63 void set_preference(const float preference) { preference_ = preference; } in set_preference() argument 69 void set_preference_str(const std::string & preference) { in set_preference_str() argument 70 std::istringstream ist(preference); in set_preference_str()
|
D | p2ptransportchannel.cc | 80 ASSERT(a->local_candidate().preference() == a->port()->preference()); in CompareConnectionCandidates() 81 ASSERT(b->local_candidate().preference() == b->port()->preference()); in CompareConnectionCandidates() 82 double a_pref = a->local_candidate().preference() in CompareConnectionCandidates() 83 * a->remote_candidate().preference(); in CompareConnectionCandidates() 84 double b_pref = b->local_candidate().preference() in CompareConnectionCandidates() 85 * b->remote_candidate().preference(); in CompareConnectionCandidates()
|
/external/svox/pico/src/com/svox/pico/ |
D | EngineSettings.java | 22 import android.preference.Preference; 23 import android.preference.PreferenceActivity; 24 import android.preference.Preference.OnPreferenceClickListener; 76 public boolean onPreferenceClick(Preference preference) { in onActivityResult()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SetPreferencesActivity.java | 21 import android.preference.Preference; 22 import android.preference.PreferenceActivity; 23 import android.preference.PreferenceScreen;
|
/external/chromium/chrome/browser/notifications/ |
D | notification_ui_manager.cc | 223 BalloonCollection::PositionPreference preference) { in SetPositionPreference() argument 224 LOG(INFO) << "Setting position preference: " << preference; in SetPositionPreference() 225 position_pref_.SetValue(static_cast<int>(preference)); in SetPositionPreference() 226 balloon_collection_->SetPositionPreference(preference); in SetPositionPreference()
|
/external/chromium/chrome/browser/sync/protocol/ |
D | preference_specifics.proto | 19 // Properties of preference sync objects. 26 optional PreferenceSpecifics preference = 37702; field
|