Searched refs:oldSize (Results 1 – 3 of 3) sorted by relevance
170 int oldSize = mItemList.size(); in setItemList() local173 if (oldSize > newSize) { in setItemList()175 notifyItemRangeRemoved(newSize, oldSize - newSize); in setItemList()176 } else if (oldSize < newSize) { in setItemList()177 notifyItemRangeChanged(0, oldSize); in setItemList()178 notifyItemRangeInserted(oldSize, newSize - oldSize); in setItemList()180 notifyItemRangeChanged(0, oldSize); in setItemList()
150 int oldSize = mItems.size(); in appendAndNotify() local151 for (int i = oldSize; i < mLoadedItems.size(); i++) { in appendAndNotify()154 notifyItemRangeInserted(oldSize, mItems.size()); in appendAndNotify()
190 int oldSize = size(); in shrink() local196 return size() < oldSize; in shrink()