Home
last modified time | relevance | path

Searched refs:directoryCursor (Results 1 – 3 of 3) sorted by relevance

/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java166 Cursor directoryCursor = null; in performFiltering() local
168 directoryCursor = mContentResolver.query( in performFiltering()
188 results.values = new Cursor[] { directoryCursor, cursor }; in performFiltering()
367 CharSequence constraint, Cursor directoryCursor, Cursor defaultPartitionCursor) { in onDirectoryLoadFinished() argument
368 if (directoryCursor != null) { in onDirectoryLoadFinished()
372 while (directoryCursor.moveToNext()) { in onDirectoryLoadFinished()
373 long id = directoryCursor.getLong(DirectoryListQuery.ID); in onDirectoryLoadFinished()
383 partition.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in onDirectoryLoadFinished()
384 partition.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in onDirectoryLoadFinished()
385 partition.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); in onDirectoryLoadFinished()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java374 Cursor directoryCursor = null; in searchOtherDirectories() local
376 directoryCursor = mContentResolver.query( in searchOtherDirectories()
379 return setupOtherDirectories(mContext, directoryCursor, mAccount); in searchOtherDirectories()
381 if (directoryCursor != null) { in searchOtherDirectories()
382 directoryCursor.close(); in searchOtherDirectories()
711 Cursor directoryCursor, Account account) { in setupOtherDirectories() argument
715 while (directoryCursor.moveToNext()) { in setupOtherDirectories()
716 final long id = directoryCursor.getLong(DirectoryListQuery.ID); in setupOtherDirectories()
725 final String packageName = directoryCursor.getString(DirectoryListQuery.PACKAGE_NAME); in setupOtherDirectories()
726 final int resourceId = directoryCursor.getInt(DirectoryListQuery.TYPE_RESOURCE_ID); in setupOtherDirectories()
[all …]
DRecipientAlternatesAdapter.java179 Cursor directoryCursor = null; in getMatchingRecipientsFromDirectoryQueries() local
182 directoryCursor = context.getContentResolver().query( in getMatchingRecipientsFromDirectoryQueries()
186 if (directoryCursor == null) { in getMatchingRecipientsFromDirectoryQueries()
190 context, directoryCursor, account); in getMatchingRecipientsFromDirectoryQueries()
192 if (directoryCursor != null) { in getMatchingRecipientsFromDirectoryQueries()
193 directoryCursor.close(); in getMatchingRecipientsFromDirectoryQueries()