Home
last modified time | relevance | path

Searched refs:mPreferenceList (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/preference/
DPreferenceGroup.java48 private List<Preference> mPreferenceList; field in PreferenceGroup
59 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroup()
113 return mPreferenceList.size(); in getPreferenceCount()
123 return mPreferenceList.get(index); in getPreference()
134 if (mPreferenceList.contains(preference)) { in addPreference()
156 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference()
160 mPreferenceList.add(insertionIndex, preference); in addPreference()
193 return mPreferenceList.remove(preference); in removePreferenceInt()
202 List<Preference> preferenceList = mPreferenceList; in removeAll()
307 Collections.sort(mPreferenceList); in sortPreferences()
DPreferenceGroupAdapter.java68 private List<Preference> mPreferenceList; field in PreferenceGroupAdapter
130 mPreferenceList = new ArrayList<Preference>(); in PreferenceGroupAdapter()
145 List<Preference> newPreferenceList = new ArrayList<Preference>(mPreferenceList.size()); in syncMyPreferences()
147 mPreferenceList = newPreferenceList; in syncMyPreferences()
208 return mPreferenceList.size(); in getCount()
213 return mPreferenceList.get(position); in getItem()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceGroupAdapter.java60 private List<Preference> mPreferenceList; field in PreferenceGroupAdapter
124 mPreferenceList = new ArrayList<>(); in PreferenceGroupAdapter()
154 final List<Preference> oldVisibleList = mPreferenceList; in syncMyPreferences()
155 mPreferenceList = visiblePreferenceList; in syncMyPreferences()
243 return mPreferenceList.size(); in getItemCount()
248 return mPreferenceList.get(position); in getItem()
261 final int index = mPreferenceList.indexOf(preference); in onPreferenceChange()
294 mPreferenceList.add(previousVisibleIndex + 1, preference); in onPreferenceVisibilityChange()
301 final int listSize = mPreferenceList.size(); in onPreferenceVisibilityChange()
303 if (preference.equals(mPreferenceList.get(removalIndex))) { in onPreferenceVisibilityChange()
[all …]
DPreferenceGroup.java55 private List<Preference> mPreferenceList; field in PreferenceGroup
77 mPreferenceList = new ArrayList<>(); in PreferenceGroup()
134 return mPreferenceList.size(); in getPreferenceCount()
144 return mPreferenceList.get(index); in getPreference()
155 if (mPreferenceList.contains(preference)) { in addPreference()
172 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference()
182 mPreferenceList.add(insertionIndex, preference); in addPreference()
224 boolean success = mPreferenceList.remove(preference); in removePreferenceInt()
257 List<Preference> preferenceList = mPreferenceList; in removeAll()
377 Collections.sort(mPreferenceList); in sortPreferences()