/frameworks/base/core/java/android/preference/ |
D | PreferenceGroup.java | 45 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 …]
|
D | PreferenceGroupAdapter.java | 25 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 …]
|
D | Preference.java | 80 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 …]
|
D | PreferenceInflater.java | 38 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()
|
D | PreferenceFragment.java | 152 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(
|
D | PreferenceScreen.java | 211 if (!(item instanceof Preference)) return; in onItemClick() 213 final Preference preference = (Preference) item; in onItemClick()
|
D | PreferenceCategory.java | 54 protected boolean onPrepareAddPreference(Preference preference) { in onPrepareAddPreference()
|
D | PreferenceManager.java | 412 public Preference findPreference(CharSequence key) { in findPreference() 818 boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference); in onPreferenceTreeClick()
|
D | RingtonePreference.java | 42 public class RingtonePreference extends Preference implements
|
D | TwoStatePreference.java | 34 public abstract class TwoStatePreference extends Preference {
|
D | SeekBarPreference.java | 32 public class SeekBarPreference extends Preference
|
D | MultiCheckPreference.java | 62 com.android.internal.R.styleable.Preference, 0, 0); in MultiCheckPreference()
|
D | ListPreference.java | 59 com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); in ListPreference()
|
D | DialogPreference.java | 50 public abstract class DialogPreference extends Preference implements
|
D | PreferenceActivity.java | 1396 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/ |
D | settings.jd | 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> 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/ |
D | InputMethodSettingsImpl.java | 22 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/ |
D | BridgePreferenceInflater.java | 32 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem() 45 Preference preference = super.onCreateItem(name, attrs); in onCreateItem()
|
D | Preference_Delegate.java | 44 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { in getView()
|
/frameworks/volley/ |
D | proguard.cfg | 14 -keep public class * extends android.preference.Preference
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | shared-preferences.jd | 41 {@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/ |
D | device-admin.jd | 452 {@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/ |
D | managing.jd | 22 <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/ |
D | templates.jd | 317 <li>Preference values defined using XML files added to the {@code res/xml/} directory of
|
/frameworks/base/docs/html/guide/components/ |
D | fragments.jd | 188 <dd>Displays a hierarchy of {@link android.preference.Preference} objects as a list, similar to
|