Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/menu/
DItemListRowView.java170 int oldSize = mItemList.size(); in setItemList() local
173 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()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerAdapter.java150 int oldSize = mItems.size(); in appendAndNotify() local
151 for (int i = oldSize; i < mLoadedItems.size(); i++) { in appendAndNotify()
154 notifyItemRangeInserted(oldSize, mItems.size()); in appendAndNotify()
/packages/modules/NetworkStack/src/android/net/apf/
DApfGenerator.java190 int oldSize = size(); in shrink() local
196 return size() < oldSize; in shrink()