HomeSort by relevance Sort by last modified time
    Searched refs:Preference (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /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);
PreferenceGroup.java 17 package android.preference;
33 * {@link Preference} objects. It is a base class for Preference objects that are
38 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preference> {
40 * The container for child {@link Preference}s. This is sorted based on the
41 * ordering, please use {@link #addPreference(Preference)} instead of adding
44 private List<Preference> mPreferenceList;
55 mPreferenceList = new ArrayList<Preference>();
69 * Whether to order the {@link Preference} children of this group as the
232 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...]
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");
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
PreferenceController.java 19 import android.preference.Preference;
22 * Interfaces for classes that handle logic behind a settings preference.
27 * Handle a preference. This should take any action necessary to implement the logic behind the
28 * given preference. It will be called from {@link Activity#onCreate}.
31 void handlePreference(Preference p);
SearchableItemsController.java 26 import android.preference.Preference;
27 import android.preference.Preference.OnPreferenceChangeListener;
28 import android.preference.PreferenceGroup;
45 // References to the top-level preference objects
55 public void handlePreference(Preference corporaPreferences) {
90 Preference pref = createCorpusPreference(corpus);
102 private Preference createCorpusPreference(Corpus corpus) {
120 public boolean onPreferenceChange(Preference preference, Object newValue)
    [all...]
PreferenceControllerFactory.java 24 import android.preference.Preference;
47 public void handlePreference(Preference p) {
85 protected void addController(PreferenceController controller, Preference forPreference) {
91 public UnknownPreferenceException(Preference p) {
92 super("Preference key " + p.getKey() + "; class: " + p.getClass().toString());
  /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())) {
PrivacySecurityPreferencesFragment.java 25 import android.preference.Preference;
26 import android.preference.PreferenceFragment;
29 implements Preference.OnPreferenceChangeListener {
38 Preference e = findPreference(PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY);
48 public boolean onPreferenceChange(Preference pref, Object objValue) {
AccessibilityPreferencesFragment.java 21 import android.preference.Preference;
22 import android.preference.PreferenceFragment;
32 implements Preference.OnPreferenceChangeListener {
46 Preference e = findPreference(PreferenceKeys.PREF_MIN_FONT_SIZE);
79 void updateMinFontSummary(Preference pref, int minFontSize) {
84 void updateTextZoomSummary(Preference pref, int textZoom) {
88 void updateDoubleTapZoomSummary(Preference pref, int doubleTapZoom) {
92 void updateInvertedContrastSummary(Preference pref, int contrast) {
97 public boolean onPreferenceChange(Preference pref, Object objValue)
    [all...]
LabPreferencesFragment.java 20 import android.preference.Preference;
21 import android.preference.PreferenceFragment;
30 private Preference useInstantPref;
49 // Enable the "use instant" preference only if the selected
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastSettings.java 21 import android.preference.ListPreference;
22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
30 // Preference key for whether to enable emergency notifications (default enabled).
42 // Preference category for ETWS related settings.
48 // Preference category for CMAS related settings.
61 // Preference category for Brazil specific settings.
64 // Preference key for whether to enable channel 50 notifications
85 duration.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener()
    [all...]
  /packages/apps/Phone/src/com/android/phone/
DataUsage.java 25 import android.preference.Preference;
26 import android.preference.PreferenceActivity;
27 import android.preference.PreferenceScreen;
38 private Preference mCurrentUsagePref;
39 private Preference mTimeFramePref;
40 private Preference mThrottleRatePref;
41 private Preference mHelpPref;
85 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
    [all...]
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...]
GsmUmtsAdditionalCallOptions.java 6 import android.preference.Preference;
7 import android.preference.PreferenceScreen;
24 private ArrayList<Preference> mPreferences = new ArrayList<Preference> ();
75 public void onFinished(Preference preference, boolean reading) {
78 Preference pref = mPreferences.get(mInitIndex);
83 super.onFinished(preference, reading);
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiAPITest.java 27 import android.preference.Preference;
28 import android.preference.PreferenceActivity;
29 import android.preference.PreferenceScreen;
38 Preference.OnPreferenceClickListener {
44 // Preference/activity member variables
51 private Preference mWifiDisconnect;
52 private Preference mWifiDisableNetwork;
53 private Preference mWifiEnableNetwork;
76 mWifiDisconnect = (Preference) preferenceScreen.findPreference(KEY_DISCONNECT)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
OtherPreferences.java 22 import android.preference.Preference;
23 import android.preference.PreferenceFragment;
24 import android.preference.PreferenceScreen;
34 private Preference mCopyDb;
48 public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference preference) {
49 if (preference == mCopyDb) {
55 return super.onPreferenceTreeClick(screen, preference);
  /packages/apps/Settings/src/com/android/settings/accounts/
ProviderPreference.java 23 import android.preference.Preference;
29 * The preference ultimately calls AccountManager.addAccount() for the account type.
31 public class ProviderPreference extends Preference {
  /external/chromium/chrome/browser/sync/glue/
preference_model_associator.h 35 : public PerDataTypeAssociatorInterface<PrefService::Preference,
42 // Returns the list of preference names that should be monitored for
49 // Create an association for a given preference. A sync node is created if
53 const PrefService::Preference* pref);
76 virtual const PrefService::Preference* GetChromeNodeFromSyncId(int64 sync_id);
82 // Returns the sync id for the given preference name, or sync_api::kInvalidId
83 // if the preference name is not associated to any sync id.
86 // Associates the given preference name with the given sync id.
87 virtual void Associate(const PrefService::Preference* node, int64 sync_id);
102 static Value* MergePreference(const PrefService::Preference& local_pref
    [all...]
  /external/chromium/chrome/browser/prefs/
pref_service.h 39 // A helper class to store all the information associated with a preference.
40 class Preference {
43 // The type of the preference is determined by the type with which it is
47 Preference(const PrefService* service,
50 ~Preference() {}
52 // Returns the name of the Preference (i.e., the key, e.g.,
56 // Returns the registered type of the preference.
59 // Returns the value of the Preference, falling back to the registered
63 // Returns true if the Preference is managed, i.e. set by an admin policy.
68 // Returns true if the Preference has a value set by an extension, even i
    [all...]
pref_service.cc 334 const Preference* pref = FindPreference(path);
349 const Preference* pref = FindPreference(path);
364 const Preference* pref = FindPreference(path);
379 const Preference* pref = FindPreference(path);
394 const Preference* pref = FindPreference(path);
405 const Preference* pref = FindPreference(path);
414 const Preference* pref = FindPreference(i->first.c_str());
423 const PrefService::Preference* PrefService::FindPreference(
426 Preference p(this, pref_name, Value::TYPE_NULL);
433 Preference* new_pref = new Preference(this, pref_name, type)
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryPreference.java 22 import android.preference.Preference;
30 * Custom preference for displaying power consumption as a bar and an icon on the left for the
34 public class BatteryHistoryPreference extends Preference {
  /packages/apps/Settings/src/com/android/settings/
ProgressCategory.java 20 import android.preference.Preference;
28 private Preference mNoDeviceFoundPreference;
56 mNoDeviceFoundPreference = new Preference(getContext());
WallpaperTypeSettings.java 25 import android.preference.Preference;
26 import android.preference.PreferenceScreen;
48 // Add Preference items for each of the matching activities
50 Preference pref = new Preference(getActivity());
  /external/svox/pico/src/com/svox/pico/
EngineSettings.java 22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
24 import android.preference.Preference.OnPreferenceClickListener;
60 Preference pref = findPreference(available.get(i));
71 Preference pref = findPreference(unavailableLang);
76 public boolean onPreferenceClick(Preference preference) {

Completed in 8496 milliseconds

1 2 3 4 5 6 7 8