Searched refs:preference (Results 1 - 25 of 114) sorted by relevance

12345

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DPreferenceTest.java19 import android.preference.Preference;
20 import android.preference.Preference.OnPreferenceClickListener;
31 private TestPreference preference; field in class:PreferenceTest
43 preference = new TestPreference(context, attrs);
44 shadow = Robolectric.shadowOf( preference );
51 preference = new TestPreference(context, attrs, defStyle);
52 shadow = Robolectric.shadowOf(preference);
57 preference = new TestPreference(context, attrs);
58 shadow = Robolectric.shadowOf(preference);
63 preference
[all...]
H A DDialogPreferenceTest.java5 import android.preference.DialogPreference;
25 private DialogPreference preference; field in class:DialogPreferenceTest
37 preference = new TestDialogPreference(context, attrs);
38 shadow = Robolectric.shadowOf(preference);
45 preference = new TestDialogPreference(context, attrs, defStyle);
46 shadow = Robolectric.shadowOf(preference);
51 preference = new TestDialogPreference(context, attrs);
52 shadow = Robolectric.shadowOf(preference);
60 assertThat((String) preference.getDialogMessage(), equalTo(TEST_DIALOG_MESSAGE));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPreferenceGroup.java5 import android.preference.Preference;
6 import android.preference.PreferenceGroup;
14 * See: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=core/java/android/preference/PreferenceGroup.java;hb=HEAD
24 public void addItemFromInflater(Preference preference) { argument
25 addPreference(preference);
29 public boolean addPreference(Preference preference) { argument
30 if (preferenceList.contains(preference)) {
35 preferenceList.add(preference);
51 public boolean removePreference(Preference preference) { argument
52 return preferenceList.remove(preference);
[all...]
H A DShadowPreferenceCategory.java3 import android.preference.PreferenceCategory;
H A DShadowPreferenceActivity.java3 import android.preference.PreferenceActivity;
4 import android.preference.PreferenceScreen;
H A DShadowDialogPreference.java7 import android.preference.DialogPreference;
H A DShadowPreferenceScreen.java4 import android.preference.PreferenceScreen;
/external/smack/src/org/xbill/DNS/
H A DPXRecord.java17 private int preference; field in class:PXRecord
30 * @param preference The preference of this mail address.
35 PXRecord(Name name, int dclass, long ttl, int preference, argument
40 this.preference = checkU16("preference", preference);
47 preference = in.readU16();
54 preference = st.getUInt16();
63 sb.append(preference);
[all...]
H A DRTRecord.java6 * Route Through Record - lists a route preference and intermediate host.
24 * @param preference The preference of the route. Smaller numbers indicate
29 RTRecord(Name name, int dclass, long ttl, int preference, argument
32 super(name, Type.RT, dclass, ttl, preference, "preference",
36 /** Gets the preference of the route. */
H A DKXRecord.java24 * @param preference The preference of this KX. Records with lower priority
29 KXRecord(Name name, int dclass, long ttl, int preference, Name target) { argument
30 super(name, Type.KX, dclass, ttl, preference, "preference",
40 /** Returns the preference of this KX record */
H A DNAPTRRecord.java18 private int order, preference; field in class:NAPTRRecord
33 * @param preference The preference, used to select between records at the
43 NAPTRRecord(Name name, int dclass, long ttl, int order, int preference, argument
48 this.preference = checkU16("preference", preference);
63 preference = in.readU16();
73 preference = st.getUInt16();
91 sb.append(preference);
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dcodec.h84 int preference; member in struct:cricket::Codec
89 Codec(int id, const std::string& name, int clockrate, int preference) argument
93 preference(preference) {
97 Codec() : id(0), clockrate(0), preference(0) {}
117 return first.preference > other.preference;
128 preference = c.preference;
138 preference
274 DataCodec(int id, const std::string& name, int preference) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/preference/
H A Dchrome_direct_setting.cc5 #include "chrome/browser/extensions/api/preference/chrome_direct_setting.h"
11 #include "chrome/browser/extensions/api/preference/chrome_direct_setting_api.h"
12 #include "chrome/browser/extensions/api/preference/preference_api_constants.h"
40 const PrefService::Preference* preference = local
42 EXTENSION_FUNCTION_VALIDATE(preference);
43 const base::Value* value = preference->GetValue();
72 const PrefService::Preference* preference = local
74 EXTENSION_FUNCTION_VALIDATE(preference);
76 EXTENSION_FUNCTION_VALIDATE(value->GetType() == preference->GetType());
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
H A DPreferenceLoaderTest.java10 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/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DPreferenceLoader.java20 import android.preference.Preference;
21 import android.preference.PreferenceGroup;
22 import android.preference.PreferenceScreen;
103 Preference preference = create(context, (PreferenceGroup) parent);
106 child.inflate(context, preference);
109 return preference;
113 Preference preference = constructPreference(context, parent);
114 if (parent != null && parent != preference) {
115 parent.addPreference(preference);
117 return preference;
[all...]
/external/chromium_org/chrome/browser/ui/views/status_icons/
H A Dstatus_tray_state_changer_interactive_uitest_win.cc99 // Setup code to read the current preference.
104 DWORD current_preference = notify_item->preference;
107 if (notify_item->preference != PREFERENCE_SHOW_WHEN_ACTIVE) {
109 notify_item_copy->preference = PREFERENCE_SHOW_WHEN_ACTIVE;
116 EXPECT_EQ(PREFERENCE_SHOW_ALWAYS, GetNotifyItem()->preference);
120 EXPECT_EQ(notify_item->preference, current_preference);
135 if (notify_item->preference == PREFERENCE_SHOW_ALWAYS)
/external/replicaisland/src/com/replica/replicaisland/
H A DSetPreferencesActivity.java21 import android.preference.Preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceScreen;
/external/chromium_org/jingle/glue/
H A Dutils.cc45 value.SetDouble("preference", candidate.preference());
70 double preference = 0; local
79 !dic_value->GetDouble("preference", &preference) ||
89 candidate->set_preference(static_cast<float>(preference));
/external/chromium_org/sync/engine/
H A Dentity_tracker_unittest.cc81 EXPECT_EQ(specifics.preference().name(),
82 pb_entity.specifics().preference().name());
83 EXPECT_EQ(specifics.preference().value(),
84 pb_entity.specifics().preference().value());
/external/svox/pico/src/com/svox/pico/
H A DEngineSettings.java22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
24 import android.preference.Preference.OnPreferenceClickListener;
76 public boolean onPreferenceClick(Preference preference) {
/external/iputils/
H A Drdisc.c70 int preference; member in struct:interface
95 static void record_router(struct in_addr router, int preference, int ttl);
167 " rdisc -r [-b] [-d] [-s] [-v] [-f] [-a] [-V] [-p <preference>] [-T <secs>]\n"
195 int preference = 0; /* Setable with -p option */ variable
202 best preference in the kernel. Not set
355 preference = val;
612 ap->ira_preference = htonl(interfaces[i].preference);
808 logtrace("\taddress %s, preference 0x%x\n",
966 /* Send out a packet with a preference so that all
1095 interfaces[i].preference
1302 int preference; member in struct:table
1395 record_router(struct in_addr router, int preference, int ttl) argument
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dpref_model_associator.cc33 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
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() ==
115 scoped_ptr<base::Value> sync_value(reader.ReadToValue(preference
247 const sync_pb::PreferenceSpecifics& preference = GetSpecifics(*sync_iter); local
521 ReadPreferenceSpecifics( const sync_pb::PreferenceSpecifics& preference) argument
579 const PrefService::Preference* preference = local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DUiPlugin.java15 import org.eclipse.jface.preference.IPreferenceStore;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
H A DPluginFlyoutPreferences.java13 import org.eclipse.jface.preference.IPreferenceStore;
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
H A Doptionsmessage.h39 // role preference should be set before sending this message.
56 // Sets the protocol role preference.
57 void set_protocol_role_preference(ProtocolRole preference);
59 // Gets the protocol role preference.

Completed in 575 milliseconds

12345