Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DScrollableLayoutManager.java135 final int totalItems = adapter.getItemCount(); in getItemsHeight() local
136 if (mTotalHeightCache.length < (totalItems + 1)) { in getItemsHeight()
137 mTotalHeightCache = new int[totalItems + 1]; in getItemsHeight()
140 if (untilIndex > totalItems) { in getItemsHeight()
141 untilIndex = totalItems; in getItemsHeight()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java131 final int totalItems = docs.size() + (uris != null ? uris.size() : 0); in generateListMessage() local
132 return mContext.getResources().getQuantityString(resourceId, totalItems, list.toString()); in generateListMessage()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java219 public void verifySynchronouslyBound(int totalItems) { in verifySynchronouslyBound() argument
229 assertEquals(mItems.size(), totalItems); in verifySynchronouslyBound() local