/cts/tests/src/android/preference/cts/ |
PreferenceStubActivity.java | 17 package android.preference.cts; 19 import android.preference.PreferenceActivity;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
SettingsUtils.java | 19 import android.preference.Preference; 23 public static void updatePreferenceSummary(Preference preference, String summary, 28 preference.setSummary(summary); 31 preference.setSummary(defaultRes);
|
/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...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceTest.java | 19 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) [all...] |
/cts/tests/src/android/view/inputmethod/cts/ |
InputMethodSettingsActivityStub.java | 19 import android.preference.PreferenceActivity;
|
/frameworks/testing/uiautomator/utils/DummyIME/src/com/android/testing/dummyime/ |
ImePreferences.java | 19 import android.preference.PreferenceActivity; 22 * Dummy IME preference activity
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceGroup.java | 5 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 21 private ArrayList<Preference> preferenceList = new ArrayList<Preference>(); 24 public void addItemFromInflater(Preference preference) { 25 addPreference(preference); 29 public boolean addPreference(Preference preference) 72 final Preference preference = getPreference(i); local [all...] |
ShadowPreferenceCategory.java | 3 import android.preference.PreferenceCategory;
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroup.java | 17 package android.preference; 33 * {@link Preference} objects. It is a base class for Preference objects that are 45 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> { 47 * The container for child {@link Preference}s. This is sorted based on the 48 * ordering, please use {@link #addPreference(Preference)} instead of adding 51 private List<Preference> mPreferenceList; 62 mPreferenceList = new ArrayList<Preference>(); 76 * Whether to order the {@link Preference} children of this group as the 236 final Preference preference = getPreference(i); local [all...] |
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...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceGroupTest.java | 21 import android.preference.CheckBoxPreference; 22 import android.preference.EditTextPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceGroup; 25 import android.preference.PreferenceManager; 26 import android.preference.PreferenceScreen; 57 Preference preference = mActivity.findPreference("pref-group"); local 58 assertNotNull(preference); 62 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); local 81 Preference preference = mPreferenceGroup.findPreference("checkbox_preference_group"); local [all...] |
/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;
|
/external/smack/src/org/xbill/DNS/ |
PXRecord.java | 17 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, 40 this.preference = checkU16("preference", preference); 47 preference = in.readU16(); 54 preference = st.getUInt16(); 63 sb.append(preference); [all...] |
RTRecord.java | 6 * 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, 32 super(name, Type.RT, dclass, ttl, preference, "preference", 36 /** Gets the preference of the route. */
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/settings/ |
GallerySettings.java | 19 import android.preference.PreferenceActivity;
|
/packages/services/Telephony/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;
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
DisplayOptionsPreferenceFragment.java | 17 package com.android.contacts.preference; 20 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; 135 Preference preference) { 136 if (KEY_BT_SCAN.equals(preference.getKey())) { 141 if (preference instanceof BluetoothDevicePreference) { 142 BluetoothDevicePreference btPreference = (BluetoothDevicePreference) preference; 170 BluetoothDevicePreference preference = new BluetoothDevicePreference( local 187 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); local [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...] |