Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DListRowDataAdapter.java109 int totalItems = mLastVisibleRowIndex - lastVisibleRowIndex; in onItemRangeInserted() local
110 onEventFired(ON_ITEM_RANGE_INSERTED, lastVisibleRowIndex + 1, totalItems); in onItemRangeInserted()
124 int totalItems = lastVisibleRowIndex - mLastVisibleRowIndex; in onItemRangeRemoved() local
125 if (totalItems > 0) { in onItemRangeRemoved()
128 totalItems); in onItemRangeRemoved()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2042 int totalItems = 0; in fillScrapViewsInPostLayout() local
2046 mDisappearingPositions[totalItems++] = pos; in fillScrapViewsInPostLayout()
2050 if (totalItems > 0) { in fillScrapViewsInPostLayout()
2051 Arrays.sort(mDisappearingPositions, 0, totalItems); in fillScrapViewsInPostLayout()
2052 mGrid.fillDisappearingItems(mDisappearingPositions, totalItems, in fillScrapViewsInPostLayout()