Home
last modified time | relevance | path

Searched refs:Preference (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/preference/
DPreferenceGroup.java45 public abstract class PreferenceGroup extends Preference implements GenericInflater.Parent<Preferen…
51 private List<Preference> mPreferenceList;
62 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroup()
107 public void addItemFromInflater(Preference preference) { in addItemFromInflater()
125 public Preference getPreference(int index) { in getPreference()
136 public boolean addPreference(Preference preference) { in addPreference()
142 if (preference.getOrder() == Preference.DEFAULT_ORDER) { in addPreference()
184 public boolean removePreference(Preference preference) { in removePreference()
190 private boolean removePreferenceInt(Preference preference) { in removePreferenceInt()
202 List<Preference> preferenceList = mPreferenceList; in removeAll()
[all …]
DPreferenceGroupAdapter.java25 import android.preference.Preference.OnPreferenceChangeInternalListener;
68 private List<Preference> mPreferenceList;
130 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroupAdapter()
145 List<Preference> newPreferenceList = new ArrayList<Preference>(mPreferenceList.size()); in syncMyPreferences()
157 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { in flattenPreferenceGroup()
163 final Preference preference = group.getPreference(i); in flattenPreferenceGroup()
187 private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) { in createPreferenceLayout()
195 private void addPreferenceClassName(Preference preference) { in addPreferenceClassName()
211 public Preference getItem(int position) { in getItem()
236 final Preference preference = this.getItem(position); in getView()
[all …]
DPreference.java80 public class Preference implements Comparable<Preference> { class
131 private List<Preference> mDependents;
151 boolean onPreferenceChange(Preference preference, Object newValue); in onPreferenceChange()
165 boolean onPreferenceClick(Preference preference); in onPreferenceClick()
179 void onPreferenceChange(Preference preference); in onPreferenceChange()
186 void onPreferenceHierarchyChange(Preference preference); in onPreferenceHierarchyChange()
213 public Preference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Preference() method in Preference
217 attrs, com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); in Preference()
308 public Preference(Context context, AttributeSet attrs, int defStyleAttr) { in Preference() method in Preference
326 public Preference(Context context, AttributeSet attrs) { in Preference() method in Preference
[all …]
DPreferenceInflater.java38 class PreferenceInflater extends GenericInflater<Preference, PreferenceGroup> {
50 …PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager prefer… in PreferenceInflater() argument
56 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) { in cloneInContext()
66 protected boolean onCreateCustomFromTag(XmlPullParser parser, Preference parentPreference, in onCreateCustomFromTag()
DPreferenceFragment.java152 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment()
307 Preference preference) { in onPreferenceTreeClick()
323 public Preference findPreference(CharSequence key) { in findPreference()
412 if (selectedItem instanceof Preference) {
414 return ((Preference)selectedItem).onKey(
DPreferenceScreen.java211 if (!(item instanceof Preference)) return; in onItemClick()
213 final Preference preference = (Preference) item; in onItemClick()
DPreferenceCategory.java54 protected boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference()
DPreferenceManager.java412 public Preference findPreference(CharSequence key) { in findPreference()
818 boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference); in onPreferenceTreeClick()
DRingtonePreference.java42 public class RingtonePreference extends Preference implements
DTwoStatePreference.java34 public abstract class TwoStatePreference extends Preference {
DSeekBarPreference.java32 public class SeekBarPreference extends Preference
DMultiCheckPreference.java62 com.android.internal.R.styleable.Preference, 0, 0); in MultiCheckPreference()
DListPreference.java59 com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); in ListPreference()
DDialogPreference.java50 public abstract class DialogPreference extends Preference implements
DPreferenceActivity.java1396 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment()
1524 public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { in onPreferenceTreeClick()
1539 public Preference findPreference(CharSequence key) { in findPreference()
/frameworks/base/docs/html/guide/topics/ui/
Dsettings.jd23 <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>
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>
74 Android's {@link android.preference.Preference} APIs to build an interface that's consistent with
76 how to build your app settings using {@link android.preference.Preference} APIs.</p>
87 settings. Selecting an item defined by a {@link android.preference.Preference}
96 built using various subclasses of the {@link android.preference.Preference} class that you
[all …]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java22 import android.preference.Preference;
23 import android.preference.Preference.OnPreferenceClickListener;
34 private Preference mSubtypeEnablerPreference;
61 mSubtypeEnablerPreference = new Preference(context); in init()
153 final Preference pref = mSubtypeEnablerPreference; in updateSubtypeEnabler()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DBridgePreferenceInflater.java32 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem()
45 Preference preference = super.onCreateItem(name, attrs); in onCreateItem()
DPreference_Delegate.java44 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { in getView()
/frameworks/volley/
Dproguard.cfg14 -keep public class * extends android.preference.Preference
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd41 {@link android.preference.Preference} APIs, which help you build a user interface
44 android.preference.Preference} APIs, see the <a href="{@docRoot}guide/topics/ui/settings.html"
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd452 {@link android.preference.Preference.OnPreferenceChangeListener#onPreferenceChange(android.preferen…
453 callback. This callback is invoked when the value of this {@link android.preference.Preference} ha…
458 public boolean onPreferenceChange(Preference preference, Object newValue) {
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd22 <li><a href="#pref-change">Respond to Preference Changes</a></li>
284 <h2 id="pref-change">Respond to Preference Changes</h2>
/frameworks/base/docs/html/tools/projects/
Dtemplates.jd317 <li>Preference values defined using XML files added to the {@code res/xml/} directory of
/frameworks/base/docs/html/guide/components/
Dfragments.jd188 <dd>Displays a hierarchy of {@link android.preference.Preference} objects as a list, similar to

12