Searched refs:mGroupMetadata (Results 1 – 3 of 3) sorted by relevance
43 private SparseIntArray mGroupMetadata; field in GroupingListAdapter111 mItemCount = mGroupMetadata.size(); in changeCursor()124 int lastIndex = mGroupMetadata.size() - 1; in addGroup()125 if (lastIndex < 0 || cursorPosition <= mGroupMetadata.keyAt(lastIndex)) { in addGroup()126 mGroupMetadata.put(cursorPosition, groupSize); in addGroup()129 mGroupMetadata.append(cursorPosition, groupSize); in addGroup()143 if (listPosition < 0 || listPosition >= mGroupMetadata.size()) { in getGroupSize()147 return mGroupMetadata.valueAt(listPosition); in getGroupSize()155 if (mCursor == null || listPosition < 0 || listPosition >= mGroupMetadata.size()) { in getItem()159 int cursorPosition = mGroupMetadata.keyAt(listPosition); in getItem()[all …]
57 private List<GroupMetadata> mGroupMetadata; field in GroupingCursorRecyclerViewAdapter61 mGroupMetadata = new ArrayList<>(); in GroupingCursorRecyclerViewAdapter()161 mGroupMetadata.add(GroupMetadata.obtain(cursorPosition, size, expanded)); in addGroup()166 mGroupMetadata.clear(); in resetGroup()171 for (int groupIndex = 0; groupIndex < mGroupMetadata.size(); groupIndex++) { in rebuildGroupMetadata()172 GroupMetadata gMetadata = mGroupMetadata.get(groupIndex); in rebuildGroupMetadata()181 int right = mGroupMetadata.size() - 1; in getPositionMetadata()187 midItem = mGroupMetadata.get(mid); in getPositionMetadata()
60 private List<GroupMetadata> mGroupMetadata; field in GroupingRecyclerViewAdapter64 mGroupMetadata = new ArrayList<>(); in GroupingRecyclerViewAdapter()174 mGroupMetadata.add(GroupMetadata.obtain(offset, size, expanded)); in addGroup()179 mGroupMetadata.clear(); in resetGroup()184 for (int groupIndex = 0; groupIndex < mGroupMetadata.size(); groupIndex++) { in rebuildGroupMetadata()185 GroupMetadata gMetadata = mGroupMetadata.get(groupIndex); in rebuildGroupMetadata()194 int right = mGroupMetadata.size() - 1; in getPositionMetadata()200 midItem = mGroupMetadata.get(mid); in getPositionMetadata()