Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectEmailAddressesListAdapter.java37 protected static class EmailQuery { class in MultiSelectEmailAddressesListAdapter
77 super(context, EmailQuery.EMAIL_ID); in MultiSelectEmailAddressesListAdapter()
109 loader.setProjection(EmailQuery.PROJECTION_PRIMARY); in configureLoader()
111 loader.setProjection(EmailQuery.PROJECTION_ALTERNATIVE); in configureLoader()
123 return ((Cursor) getItem(position)).getString(EmailQuery.DISPLAY_NAME); in getContactDisplayName()
130 final long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID); in getDataUri()
150 final long currentContactId = cursor.getLong(EmailQuery.CONTACT_ID); in bindView()
152 final long previousContactId = cursor.getLong(EmailQuery.CONTACT_ID); in bindView()
159 bindViewId(view, cursor, EmailQuery.EMAIL_ID); in bindView()
162 bindPhoto(view, cursor, EmailQuery.PHOTO_ID, EmailQuery.LOOKUP_KEY, in bindView()
[all …]
DEmailAddressListAdapter.java39 protected static class EmailQuery { class in EmailAddressListAdapter
96 loader.setProjection(EmailQuery.PROJECTION_PRIMARY); in configureLoader()
98 loader.setProjection(EmailQuery.PROJECTION_ALTERNATIVE); in configureLoader()
110 return ((Cursor) getItem(position)).getString(EmailQuery.EMAIL_DISPLAY_NAME); in getContactDisplayName()
118 long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID); in getDataUri()
137 bindViewId(view, cursor, EmailQuery.EMAIL_ID); in bindView()
144 if (!cursor.isNull(EmailQuery.EMAIL_TYPE)) { in bindEmailAddress()
145 final int type = cursor.getInt(EmailQuery.EMAIL_TYPE); in bindEmailAddress()
146 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); in bindEmailAddress()
152 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.java764 private interface EmailQuery { interface in ContactsDatabaseHelper
2808 Cursor cursor = db.query(EmailQuery.TABLE, EmailQuery.COLUMNS, in insertEmailLookup()
2809 EmailQuery.SELECTION, new String[] {String.valueOf(mimeTypeId)}, in insertEmailLookup()
2813 long dataId = cursor.getLong(EmailQuery.ID); in insertEmailLookup()
2814 long rawContactId = cursor.getLong(EmailQuery.RAW_CONTACT_ID); in insertEmailLookup()
2815 String address = cursor.getString(EmailQuery.ADDRESS); in insertEmailLookup()