Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java113 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local
114 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() local
185 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()
186 return new RegularSearchCursor(new Cursor[] {headerCursor, regularSearchCursor}); in newInstance()
DSearchContactsCursor.java39 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local
40 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()
41 return new SearchContactsCursor(new Cursor[] {headerCursor, contactFilterCursor}, context); in newInstance()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursor.java103 MatrixCursor headerCursor = new MatrixCursor(PROJECTION, 1); in createHeaderCursor() local
105 headerCursor.addRow( in createHeaderCursor()
108 headerCursor.addRow(new Object[] {context.getString(R.string.directory, name), id}); in createHeaderCursor()
110 return headerCursor; in createHeaderCursor()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlacesCursor.java38 MatrixCursor headerCursor = new MatrixCursor(HEADER_PROJECTION); in newInstance() local
39 headerCursor.addRow(new String[] {context.getString(R.string.nearby_places)}); in newInstance()
40 return new NearbyPlacesCursor(new Cursor[] {headerCursor, nearbyPlacesCursor}, directoryId); in newInstance()