Searched refs:originalCount (Results 1 – 2 of 2) sorted by relevance
392 int originalCount = adapter.getItemCount(); in onRestrictionsChanged() local396 if (newCount == originalCount) { in onRestrictionsChanged()400 if (newCount < originalCount) { in onRestrictionsChanged()401 adapter.notifyItemRangeRemoved(newCount, originalCount - newCount); in onRestrictionsChanged()403 adapter.notifyItemRangeInserted(originalCount, newCount - originalCount); in onRestrictionsChanged()
316 int originalCount = mAdapter.getItemCount(); in updateCarUxRestrictions() local320 if (newCount == originalCount) { in updateCarUxRestrictions()324 if (newCount < originalCount) { in updateCarUxRestrictions()326 newCount, originalCount - newCount); in updateCarUxRestrictions()329 originalCount, newCount - originalCount); in updateCarUxRestrictions()