Searched refs:midItem (Results 1 – 2 of 2) sorted by relevance
183 GroupMetadata midItem; in getPositionMetadata() local187 midItem = mGroupMetadata.get(mid); in getPositionMetadata()189 if (position > midItem.offsetInList + midItem.getActualSize() - 1) { in getPositionMetadata()194 if (position < midItem.offsetInList) { in getPositionMetadata()199 int cursorOffset = midItem.offsetInCursor + (position - midItem.offsetInList); in getPositionMetadata()201 if (midItem.offsetInList == position) { in getPositionMetadata()202 if (midItem.isStandAlone()) { in getPositionMetadata()213 return new PositionMetadata(viewType, cursorOffset, midItem); in getPositionMetadata()
196 GroupMetadata midItem; in getPositionMetadata() local200 midItem = mGroupMetadata.get(mid); in getPositionMetadata()202 if (position > midItem.offsetInDisplayList + midItem.getActualSize() - 1) { in getPositionMetadata()207 if (position < midItem.offsetInDisplayList) { in getPositionMetadata()212 int cursorOffset = midItem.offsetInDataList + (position - midItem.offsetInDisplayList); in getPositionMetadata()214 if (midItem.offsetInDisplayList == position) { in getPositionMetadata()215 if (midItem.isStandAlone()) { in getPositionMetadata()226 return new PositionMetadata(viewType, cursorOffset, midItem); in getPositionMetadata()