Searched refs:smartDialCursor (Results 1 – 1 of 1) sorted by relevance
107 static SmartDialCursor newInstance(Context context, Cursor smartDialCursor) { in newInstance() argument108 if (smartDialCursor == null || smartDialCursor.getCount() == 0) { in newInstance()116 new Cursor[] {headerCursor, convertSmartDialCursorToSearchCursor(smartDialCursor)}); in newInstance()140 if (!smartDialCursor.moveToFirst()) { in convertSmartDialCursorToSearchCursor()148 int index = smartDialCursor.getColumnIndex(column); in convertSmartDialCursorToSearchCursor()150 switch (smartDialCursor.getType(index)) { in convertSmartDialCursorToSearchCursor()152 newRow[i] = smartDialCursor.getInt(index); in convertSmartDialCursorToSearchCursor()155 newRow[i] = smartDialCursor.getString(index); in convertSmartDialCursorToSearchCursor()158 newRow[i] = smartDialCursor.getFloat(index); in convertSmartDialCursorToSearchCursor()161 newRow[i] = smartDialCursor.getBlob(index); in convertSmartDialCursorToSearchCursor()[all …]