HomeSort by relevance Sort by last modified time
    Searched defs:preference (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /cts/tests/src/android/preference/cts/
PreferenceStubActivity.java 17 package android.preference.cts;
19 import android.preference.PreferenceActivity;
  /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);
PreferenceCategory.java 17 package android.preference;
25 * Used to group {@link Preference} objects
51 protected boolean onPrepareAddPreference(Preference preference) {
52 if (preference instanceof PreferenceCategory) {
57 return super.onPrepareAddPreference(preference);
SeekBarDialogPreference.java 17 package android.preference;
21 import android.preference.DialogPreference;
CheckBoxPreference.java 17 package android.preference;
26 * A {@link Preference} that provides checkbox widget
29 * This preference will store a boolean into the SharedPreferences.
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
239 final Preference preference = getPreference(i); local
    [all...]
PreferenceInflater.java 17 package android.preference;
34 * The {@link PreferenceInflater} is used to inflate preference hierarchies from
41 class PreferenceInflater extends GenericInflater<Preference, PreferenceGroup> {
53 PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager preferenceManager, Context newContext) {
59 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) {
65 setDefaultPackage("android.preference.");
69 protected boolean onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference,
80 "Error parsing preference");
97 "Error parsing 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...]
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
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;
FragmentPreferences.java 17 package com.example.android.apis.preference;
23 import android.preference.PreferenceFragment;
SwitchPreference.java 17 package com.example.android.apis.preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceManager;
DefaultValues.java 17 package com.example.android.apis.preference;
24 import android.preference.PreferenceActivity;
25 import android.preference.PreferenceManager;
PreferenceWithHeaders.java 17 package com.example.android.apis.preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceFragment;
24 import android.preference.PreferenceManager;
31 * Demonstration of PreferenceActivity to make a top-level preference
76 * This fragment contains a second-level set of preference that you
84 // Can retrieve arguments from preference XML.
  /external/chromium/third_party/libjingle/source/talk/session/phone/
codec.cc 45 // Preference is ignored.
57 << ":" << channels << ":" << preference << "]"; local
74 << ":" << framerate << ":" << preference << "]"; local
  /packages/apps/Contacts/src/com/android/contacts/preference/
DisplayOptionsPreferenceFragment.java 17 package com.android.contacts.preference;
20 import android.preference.PreferenceFragment;
ContactsPreferenceActivity.java 17 package com.android.contacts.preference;
23 import android.preference.PreferenceActivity;
  /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...]
  /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_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/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/tests/coretests/src/android/preference/
ListPreferenceTest.java 17 package android.preference;
19 import android.preference.ListPreference;
  /cts/tests/tests/preference/src/android/preference/cts/
PreferenceActivityTest.java 17 package android.preference.cts;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceManager;
24 import android.preference.PreferenceScreen;
  /external/chromium/chrome/browser/sync/glue/
preference_change_processor.cc 55 const PrefService::Preference* preference = local
57 DCHECK(preference);
59 bool user_modifiable = preference->IsUserModifiable();
70 // of the user or still have their default value, this changed preference may
71 // not have a sync node yet. If so, we create a node. Similarly, a preference
85 preference)) {
94 "Preference node lookup failed.");
99 preference->name(),
100 *preference->GetValue()
168 const PrefService::Preference* preference = 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...]

Completed in 310 milliseconds

1 2 3 4 5