Home | History | Annotate | Download | only in loaderapp

Lines Matching refs:Cursor

29 import android.database.Cursor;
233 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
244 if (cursor != null && cursor.moveToFirst()
245 && !cursor.isNull(PhotoQuery.PHOTO)) {
246 byte[] photoData = cursor.getBlob(PhotoQuery.PHOTO);
262 if (cursor != null && cursor.moveToFirst()) {
263 bindContactInfo(cursor);
265 cursor.getLong(ContactQuery._ID),
266 cursor.getString(ContactQuery.LOOKUP_KEY));
268 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID);
280 if (cursor != null && cursor.moveToFirst()) {
281 long contactId = cursor.getLong(PHONE_LOOKUP_CONTACT_ID_COLUMN_INDEX);
282 String lookupKey = cursor.getString(
296 if (cursor != null && cursor.moveToFirst()) {
297 long contactId = cursor.getLong(EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX);
298 String lookupKey = cursor.getString(
313 if (cursor != null) {
314 cursor.close();
637 * Bind the contact details provided by the given {@link Cursor}.
639 protected void bindContactInfo(Cursor c) {