Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java392 int originalCount = adapter.getItemCount(); in onRestrictionsChanged() local
396 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()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java316 int originalCount = mAdapter.getItemCount(); in updateCarUxRestrictions() local
320 if (newCount == originalCount) { in updateCarUxRestrictions()
324 if (newCount < originalCount) { in updateCarUxRestrictions()
326 newCount, originalCount - newCount); in updateCarUxRestrictions()
329 originalCount, newCount - originalCount); in updateCarUxRestrictions()