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

1 2 3 4 5 6 7 8 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/
preference_intent_filter.template 1 <category android:name="android.intent.category.PREFERENCE" /
  /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
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...]
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...]
Preference.java 17 package android.preference;
40 * Represents the basic Preference UI building
44 * store/retrieve the preference data.
46 * When specifying a preference hierarchy in XML, each element can point to a
47 * subclass of {@link Preference}, similar to the view hierarchy and layouts.
66 public class Preference implements Comparable<Preference>, OnDependencyChangeListener {
102 private int mLayoutResId = com.android.internal.R.layout.preference;
108 private List<Preference> mDependents;
114 * {@link Preference} has been changed by the user and i
    [all...]
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
44 protected boolean onPrepareAddPreference(Preference preference) {
45 if (preference instanceof PreferenceCategory) {
50 return super.onPrepareAddPreference(preference);
  /packages/apps/Settings/src/com/android/settings/
Utils.java 25 import android.preference.Preference;
26 import android.preference.PreferenceGroup;
33 * Set the preference's title to the matching activity's label.
38 * Finds a matching activity for a preference's intent. If a matching
39 * activity is not found, it will remove the preference.
42 * @param parentPreferenceGroup The preference group that contains the
43 * preference whose intent is being resolved.
44 * @param preferenceKey The key of the preference whose intent is being
49 * @return Whether an activity was found. If false, the preference wa
55 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); local
    [all...]
PhysicalKeyboardSettings.java 21 import android.preference.CheckBoxPreference;
22 import android.preference.Preference;
23 import android.preference.PreferenceActivity;
24 import android.preference.PreferenceScreen;
69 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
73 if (mSettingsUiKey[i].equals(preference.getKey())) {
75 ((CheckBoxPreference)preference).isChecked()? 1 : 0);
80 return super.onPreferenceTreeClick(preferenceScreen, preference);
    [all...]
AccessibilitySettings.java 30 import android.preference.CheckBoxPreference;
31 import android.preference.Preference;
32 import android.preference.PreferenceActivity;
33 import android.preference.PreferenceCategory;
34 import android.preference.PreferenceGroup;
35 import android.preference.PreferenceScreen;
112 CheckBoxPreference preference = (CheckBoxPreference) findPreference(key); local
113 if (preference != null) {
114 preference.setChecked(enabled.contains(key))
286 CheckBoxPreference preference = (CheckBoxPreference) findPreference(key); local
321 CheckBoxPreference preference = new CheckBoxPreference(this); local
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSettings.java 23 import android.preference.CheckBoxPreference;
24 import android.preference.Preference;
25 import android.preference.PreferenceActivity;
26 import android.preference.PreferenceScreen;
27 import android.preference.Preference.OnPreferenceClickListener;
50 * Updates the "show web suggestions" preference from the value in system settings.
58 * Stores the "show web suggestions" preference to the system settings.
65 public boolean onPreferenceClick(Preference preference)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
TimeConsumingPreferenceActivity.java 7 import android.preference.Preference;
8 import android.preference.PreferenceActivity;
15 public void onStarted(Preference preference, boolean reading);
16 public void onFinished(Preference preference, boolean reading);
17 public void onError(Preference preference, int error);
114 public void onStarted(Preference preference, boolean reading)
    [all...]
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...]
CdmaCallOptions.java 11 import android.preference.CheckBoxPreference;
12 import android.preference.Preference;
13 import android.preference.PreferenceActivity;
14 import android.preference.PreferenceScreen;
38 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
39 if (preference.getKey().equals(BUTTON_VP_KEY)) {
CdmaOptions.java 20 import android.preference.Preference;
21 import android.preference.PreferenceActivity;
22 import android.preference.PreferenceScreen;
51 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
52 if (preference.getKey().equals(BUTTON_CDMA_ROAMING_KEY)) {
GsmUmtsAdditionalCallOptions.java 6 import android.preference.Preference;
7 import android.preference.PreferenceScreen;
21 private ArrayList<Preference> mPreferences = new ArrayList<Preference> ();
66 public void onFinished(Preference preference, boolean reading) {
69 Preference pref = mPreferences.get(mInitIndex);
74 super.onFinished(preference, reading);
GsmUmtsOptions.java 20 import android.preference.CheckBoxPreference;
21 import android.preference.Preference;
22 import android.preference.PreferenceActivity;
23 import android.preference.PreferenceScreen;
60 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
61 if (preference.getKey().equals(BUTTON_PREFER_2G_KEY)) {
  /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...]
  /packages/apps/AlarmClock/src/com/android/alarmclock/
SettingsActivity.java 24 import android.preference.CheckBoxPreference;
25 import android.preference.ListPreference;
26 import android.preference.Preference;
27 import android.preference.PreferenceActivity;
28 import android.preference.PreferenceScreen;
29 import android.preference.RingtonePreference;
36 implements Preference.OnPreferenceChangeListener {
73 Preference preference) {
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
SettingsActivity.java 21 import android.preference.CheckBoxPreference;
22 import android.preference.ListPreference;
23 import android.preference.Preference;
24 import android.preference.PreferenceActivity;
25 import android.preference.PreferenceScreen;
32 implements Preference.OnPreferenceChangeListener {
58 Preference preference) {
59 if (KEY_ALARM_IN_SILENT_MODE.equals(preference.getKey()))
    [all...]
  /external/svox/pico/res/xml/
voices_list.xml 20 <Preference
23 <Preference
26 <Preference
29 <Preference
32 <Preference
35 <Preference
  /frameworks/base/core/java/android/content/
SharedPreferences.java 22 * Interface for accessing and modifying preference data returned by {@link
26 * to ensure the preference values remain in a consistent state and control
37 * preference is changed.
41 * Called when a shared preference is changed, added, or removed. This
42 * may be called even if a preference is set to its existing value.
46 * @param key The key of the preference that was changed, added, or
63 * @param key The name of the preference to modify.
64 * @param value The new value for the preference.
75 * @param key The name of the preference to modify.
76 * @param value The new value for the preference
    [all...]
  /packages/apps/Settings/src/com/android/settings/vpn/
L2tpEditor.java 23 import android.preference.CheckBoxPreference;
24 import android.preference.EditTextPreference;
25 import android.preference.Preference;
26 import android.preference.PreferenceGroup;
56 private Preference createSecretPreference(Context c) {
64 new Preference.OnPreferenceChangeListener() {
66 Preference pref, Object newValue) {
77 private Preference createSecretStringPreference(Context c) {
91 Preference pref = sHandler.getPreference()
    [all...]
PptpEditor.java 22 import android.preference.CheckBoxPreference;
23 import android.preference.Preference;
24 import android.preference.PreferenceGroup;
44 private Preference createEncryptionPreference(Context c) {
52 new Preference.OnPreferenceChangeListener() {
54 Preference pref, Object newValue) {
VpnTypeSelection.java 25 import android.preference.Preference;
26 import android.preference.PreferenceActivity;
27 import android.preference.PreferenceScreen;
47 public boolean onPreferenceTreeClick(PreferenceScreen ps, Preference pref) {
61 Preference pref = new Preference(this);

Completed in 783 milliseconds

1 2 3 4 5 6 7 8 91011>>