Searched refs:ContactQuery (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 116 private static class ContactQuery { class in ContactLoader 452 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, in loadContactEntity() 477 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID); in loadContactEntity() 485 if (!cursor.isNull(ContactQuery.DATA_ID)) { in loadContactEntity() 489 if (!cursor.isNull(ContactQuery.PRESENCE) in loadContactEntity() 490 || !cursor.isNull(ContactQuery.STATUS)) { in loadContactEntity() 492 final long dataId = cursor.getLong(ContactQuery.DATA_ID); in loadContactEntity() 585 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in loadContactHeaderData() 586 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY); in loadContactHeaderData() 587 final long nameRawContactId = cursor.getLong(ContactQuery.NAME_RAW_CONTACT_ID); in loadContactHeaderData() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 275 resolver.query(entityUri, ContactQuery.COLUMNS, null, null, Contacts.Entity.RAW_CONTACT_ID); in loadContactEntity() 297 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID); in loadContactEntity() 305 if (!cursor.isNull(ContactQuery.DATA_ID)) { in loadContactEntity() 420 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in loadContactHeaderData() 421 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY); in loadContactHeaderData() 422 final long nameRawContactId = cursor.getLong(ContactQuery.NAME_RAW_CONTACT_ID); in loadContactHeaderData() 423 final int displayNameSource = cursor.getInt(ContactQuery.DISPLAY_NAME_SOURCE); in loadContactHeaderData() 424 final String displayName = cursor.getString(ContactQuery.DISPLAY_NAME); in loadContactHeaderData() 425 final String altDisplayName = cursor.getString(ContactQuery.ALT_DISPLAY_NAME); in loadContactHeaderData() 426 final String phoneticName = cursor.getString(ContactQuery.PHONETIC_NAME); in loadContactHeaderData() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListAdapter.java | 43 public static class ContactQuery { class in ContactListAdapter 114 super(context, ContactQuery.CONTACT_ID); in ContactListAdapter() 156 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME); in getContactDisplayName() 170 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() 171 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); in getContactUri() 186 return cursor == null ? -1 : cursor.getLong(ContactQuery.CONTACT_ID); in getContactId() 192 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in isEnterpriseContact() 211 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) { in isSelectedContact() 216 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID); in isSelectedContact() 252 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) { in bindPhoto() [all …]
|
D | DefaultContactListAdapter.java | 246 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, in bindView() 247 ContactQuery.CONTACT_PHOTO_URI, ContactQuery.CONTACT_ID, in bindView() 248 ContactQuery.CONTACT_LOOKUP_KEY, ContactQuery.CONTACT_DISPLAY_NAME); in bindView()
|
D | JoinContactListAdapter.java | 203 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() 204 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); in getContactUri()
|
D | GroupMemberPickerFragment.java | 35 import com.android.contacts.list.ContactListAdapter.ContactQuery; 97 final String contactId = getString(ContactQuery.CONTACT_ID); in FilterCursorWrapper()
|