Searched refs:mPreferenceLayouts (Results 1 – 2 of 2) sorted by relevance
77 private ArrayList<PreferenceLayout> mPreferenceLayouts; field in PreferenceGroupAdapter131 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()
71 private List<PreferenceLayout> mPreferenceLayouts; field in PreferenceGroupAdapter126 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()