Searched refs:headerCursor (Results 1 – 4 of 4) sorted by relevance
113 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local114 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()116 new Cursor[] {headerCursor, convertSmartDialCursorToSearchCursor(smartDialCursor)}); in newInstance()184 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local185 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()186 return new RegularSearchCursor(new Cursor[] {headerCursor, regularSearchCursor}); in newInstance()
39 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local40 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()41 return new SearchContactsCursor(new Cursor[] {headerCursor, contactFilterCursor}, context); in newInstance()
38 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local39 headerCursor.addRow(new String[] {context.getString(R.string.nearby_places)}); in newInstance()40 return new NearbyPlacesCursor(new Cursor[] {headerCursor, nearbyPlacesCursor}, directoryId); in newInstance()
103 MatrixCursor headerCursor = new MatrixCursor(PROJECTION, 1); in createHeaderCursor() local105 headerCursor.addRow( in createHeaderCursor()108 headerCursor.addRow(new Object[] {context.getString(R.string.directory, name), id}); in createHeaderCursor()110 return headerCursor; in createHeaderCursor()