Searched refs:photoCursor (Results 1 – 2 of 2) sorted by relevance
136 final Cursor photoCursor = resolver.query( in loadInBackground() local141 if (photoCursor != null) { in loadInBackground()143 photoCursor.moveToPosition(-1); in loadInBackground()144 while (photoCursor.moveToNext()) { in loadInBackground()145 final long rawContactId = photoCursor.getLong(/* Data.RAW_CONTACT_ID */ 0); in loadInBackground()147 photoCursor.getLong(/* PHOTO._ID */ 1); in loadInBackground()150 photoCursor.close(); in loadInBackground()
162 Cursor photoCursor = null; in loadContactPhoto() local166 photoCursor = context.getContentResolver().query( in loadContactPhoto()171 if (photoCursor.moveToFirst() && !photoCursor.isNull(0)) { in loadContactPhoto()172 byte[] photoData = photoCursor.getBlob(0); in loadContactPhoto()177 if (photoCursor != null) { in loadContactPhoto()178 photoCursor.close(); in loadContactPhoto()