/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;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/ |
preference_intent_filter.template | 1 <category android:name="android.intent.category.PREFERENCE" /
|
/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...] |
DialogPreferenceTest.java | 5 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));
|
/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...] |
package.html | 10 the {@link android.preference.PreferenceActivity} class. In the PreferenceActivity, a 11 {@link android.preference.PreferenceScreen} object should be the root element of the layout. 12 The PreferenceScreen contains {@link android.preference.Preference} elements such as a 13 {@link android.preference.CheckBoxPreference}, {@link android.preference.EditTextPreference}, 14 {@link android.preference.ListPreference}, {@link android.preference.PreferenceCategory}, 15 or {@link android.preference.RingtonePreference}. </p> 17 All settings made for a given {@link android.preference.Preference} will be automatically save [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...] |
/external/smack/src/org/xbill/DNS/ |
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. */
|
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...] |
KXRecord.java | 24 * @param preference The preference of this KX. Records with lower priority 29 KXRecord(Name name, int dclass, long ttl, int preference, Name target) { 30 super(name, Type.KX, dclass, ttl, preference, "preference", 40 /** Returns the preference of this KX record */
|
/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...] |
/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...] |
/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())) {
|
/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...] |
/cts/tests/tests/preference2/res/values/ |
strings.xml | 20 <string name="preferences_from_xml">Preference/1. Preferences from XML</string> 21 <string name="launching_preferences">Preference/2. Launching preferences</string> 22 <string name="preference_dependencies">Preference/3. Preference dependencies</string> 23 <string name="default_values">Preference/4. Default values</string> 24 <string name="preferences_from_code">Preference/5. Preferences from code</string> 25 <string name="advanced_preferences">Preference/6. Advanced preferences</string> 26 <string name="fragment_preferences">Preference/7. Fragment</string> 27 <string name="preference_with_headers">Preference/8. Headers</string> 35 <string name="preference_attributes">Preference attributes</string [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...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 22 import android.preference.ListPreference; 23 import android.preference.Preference; 24 import android.preference.PreferenceActivity; 25 import android.preference.PreferenceCategory; 26 import android.preference.PreferenceFragment; 27 import android.preference.PreferenceScreen; 36 // Preference key for whether to enable emergency notifications (default enabled). 51 // Preference category for emergency alert and CMAS settings. 54 // Preference category for ETWS related settings [all...] |
/packages/services/Telephony/src/com/android/phone/ |
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...] |
/frameworks/base/docs/html/guide/topics/ui/ |
settings.jd | 2 page.tags="preference","preferenceactivity","preferencefragment" 23 <li><a href="#Activity">Creating a Preference Activity</a></li> 24 <li><a href="#Fragment">Using Preference Fragments</a></li> 26 <li><a href="#PreferenceHeaders">Using Preference Headers</a> 30 <li><a href="#BackCompatHeaders">Supporting older versions with preference headers</a></li> 35 <li><a href="#Listening">Listening for preference changes</a></li> 39 <li><a href="#Custom">Building a Custom Preference</a> 45 <li><a href="#CustomSaveState">Saving and restoring the Preference's state</a></li> 52 <li>{@link android.preference.Preference}</li [all...] |
/external/chromium_org/extensions/browser/ |
extension_prefs_scope.h | 12 // Scope for a preference. 18 // Incognito profile; preference is persisted to disk and remains active 21 // Incognito profile; preference is kept in memory and deleted when the
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
PreferenceLoader.java | 20 import android.preference.Preference; 21 import android.preference.PreferenceGroup; 22 import android.preference.PreferenceScreen; 102 public Preference inflate(Context context, Preference parent) throws Exception { 103 Preference preference = create(context, (PreferenceGroup) parent); local 106 child.inflate(context, preference); 109 return preference; 113 Preference preference = constructPreference(context, parent); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/ |
manifest.json | 4 "description" : "Sample extension which demonstrates how to access a preference.",
|