Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabAdapter.java241 int previousItemCount = getItemCount(); in setAllItems() local
244 notifyOnListChanged(previousItemCount, items.size(), action); in setAllItems()
247 private void notifyOnListChanged(int previousItemCount, int sizeOfUpdatedList, in notifyOnListChanged() argument
257 notifyItemRangeRemoved(0, previousItemCount); in notifyOnListChanged()
261 notifyItemRangeInserted(previousItemCount, in notifyOnListChanged()
262 sizeOfUpdatedList - previousItemCount); in notifyOnListChanged()
267 if (sizeOfUpdatedList < previousItemCount) { in notifyOnListChanged()
269 previousItemCount - sizeOfUpdatedList); in notifyOnListChanged()