Searched refs:totalItems (Results 1 – 3 of 3) sorted by relevance
44 public static void setBackground(View view, int currentPosition, int totalItems) { in setBackground() argument49 if (currentPosition >= totalItems) { in setBackground()51 + "totalItems: " + totalItems); in setBackground()55 if (totalItems == 1) { in setBackground()61 } else if (currentPosition == totalItems - 1) { in setBackground()
121 int totalItems = mLastVisibleRowIndex - lastVisibleRowIndex; in onItemRangeInserted() local122 onEventFired(ON_ITEM_RANGE_INSERTED, lastVisibleRowIndex + 1, totalItems); in onItemRangeInserted()136 int totalItems = lastVisibleRowIndex - mLastVisibleRowIndex; in onItemRangeRemoved() local137 if (totalItems > 0) { in onItemRangeRemoved()140 totalItems); in onItemRangeRemoved()
2118 int totalItems = 0; in fillScrapViewsInPostLayout() local2122 mDisappearingPositions[totalItems++] = pos; in fillScrapViewsInPostLayout()2126 if (totalItems > 0) { in fillScrapViewsInPostLayout()2127 Arrays.sort(mDisappearingPositions, 0, totalItems); in fillScrapViewsInPostLayout()2128 mGrid.fillDisappearingItems(mDisappearingPositions, totalItems, in fillScrapViewsInPostLayout()