Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DEmailAddressListAdapter.java41 protected static class EmailQuery { class in EmailAddressListAdapter
98 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 …]
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java128 public static class EmailQuery { class in ContactUtil
140 EmailQuery.SORT_KEY, // 8
403 return new CursorQueryData(context, uri, EmailQuery.PROJECTION, null, null, in lookupEmail()
404 EmailQuery.SORT_KEY); in lookupEmail()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java757 private interface EmailQuery { interface in ContactsDatabaseHelper
3668 Cursor cursor = db.query(EmailQuery.TABLE, EmailQuery.COLUMNS, in insertEmailLookup()
3669 EmailQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertEmailLookup()
3673 long dataId = cursor.getLong(EmailQuery.ID); in insertEmailLookup()
3674 long rawContactId = cursor.getLong(EmailQuery.RAW_CONTACT_ID); in insertEmailLookup()
3675 String address = cursor.getString(EmailQuery.ADDRESS); in insertEmailLookup()