Home
last modified time | relevance | path

Searched refs:cursorCount (Results 1 – 3 of 3) 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/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()