Home
last modified time | relevance | path

Searched refs:mPreferenceLayouts (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java77 private ArrayList<PreferenceLayout> mPreferenceLayouts; field in PreferenceGroupAdapter
131 mPreferenceLayouts = new ArrayList<PreferenceLayout>(); in PreferenceGroupAdapter()
197 int insertPos = Collections.binarySearch(mPreferenceLayouts, pl); in addPreferenceClassName()
203 mPreferenceLayouts.add(insertPos, pl); in addPreferenceClassName()
242 if (Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout) < 0 || in getView()
305 int viewType = Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout); in getItemViewType()
321 return Math.max(1, mPreferenceLayouts.size()) + 1; in getViewTypeCount()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceGroupAdapter.java71 private List<PreferenceLayout> mPreferenceLayouts; field in PreferenceGroupAdapter
126 mPreferenceLayouts = new ArrayList<>(); in PreferenceGroupAdapter()
236 if (!mPreferenceLayouts.contains(pl)) { in addPreferenceClassName()
237 mPreferenceLayouts.add(pl); in addPreferenceClassName()
318 int viewType = mPreferenceLayouts.indexOf(mTempPreferenceLayout); in getItemViewType()
322 viewType = mPreferenceLayouts.size(); in getItemViewType()
323 mPreferenceLayouts.add(new PreferenceLayout(mTempPreferenceLayout)); in getItemViewType()
330 final PreferenceLayout pl = mPreferenceLayouts.get(viewType); in onCreateViewHolder()