Searched refs:EmailQuery (Results 1 – 2 of 2) sorted by relevance
41 protected static class EmailQuery { class in EmailAddressListAdapter98 loader.setProjection(EmailQuery.PROJECTION_PRIMARY); in configureLoader()100 loader.setProjection(EmailQuery.PROJECTION_ALTERNATIVE); in configureLoader()112 return ((Cursor) getItem(position)).getString(EmailQuery.EMAIL_DISPLAY_NAME); in getContactDisplayName()120 long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID); in getDataUri()139 bindViewId(view, cursor, EmailQuery.EMAIL_ID); in bindView()146 if (!cursor.isNull(EmailQuery.EMAIL_TYPE)) { in bindEmailAddress()147 final int type = cursor.getInt(EmailQuery.EMAIL_TYPE); in bindEmailAddress()148 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); in bindEmailAddress()154 view.showData(cursor, EmailQuery.EMAIL_ADDRESS); in bindEmailAddress()[all …]
716 private interface EmailQuery { interface in ContactsDatabaseHelper3472 Cursor cursor = db.query(EmailQuery.TABLE, EmailQuery.COLUMNS, in insertEmailLookup()3473 EmailQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertEmailLookup()3477 long dataId = cursor.getLong(EmailQuery.ID); in insertEmailLookup()3478 long rawContactId = cursor.getLong(EmailQuery.RAW_CONTACT_ID); in insertEmailLookup()3479 String address = cursor.getString(EmailQuery.ADDRESS); in insertEmailLookup()