Home
last modified time | relevance | path

Searched refs:cursorCount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchCursorManager.java201 int cursorCount = getCount(); in getRowType() local
202 if (position >= cursorCount) { in getRowType()
204 String.format("Invalid position: %d, cursor count: %d", position, cursorCount)); in getRowType()
205 } else if (position >= cursorCount - searchActions.size()) { in getRowType()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryResult.java85 int cursorCount = mCursor.getCount(); in loadDataFromCursor() local
86 String[] modelIds = new String[cursorCount]; in loadDataFromCursor()
90 for (int pos = 0; pos < cursorCount; ++pos) { in loadDataFromCursor()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java166 final int cursorCount = mCursor.getCount(); in getViewAt() local
167 if (cursorCount > MAX_ITEMS_TO_SHOW) { in getViewAt()
168 scrollToPosition += cursorCount - MAX_ITEMS_TO_SHOW; in getViewAt()
174 " cursorCount: " + cursorCount + in getViewAt()
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java190 final int cursorCount = cursor.getCount(); in queryDocument() local
191 if (cursorCount == 0) { in queryDocument()
194 } else if (cursorCount != 1) { in queryDocument()
196 Log.wtf(TAG, "Unexpected cursor size: " + cursorCount); in queryDocument()