Searched refs:ContactQuery (Results 1 – 7 of 7) sorted by relevance
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 117 private static class ContactQuery { class in ContactLoader 482 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, in loadContactEntity() 507 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID); in loadContactEntity() 515 if (!cursor.isNull(ContactQuery.DATA_ID)) { in loadContactEntity() 519 if (!cursor.isNull(ContactQuery.PRESENCE) in loadContactEntity() 520 || !cursor.isNull(ContactQuery.STATUS)) { in loadContactEntity() 522 final long dataId = cursor.getLong(ContactQuery.DATA_ID); in loadContactEntity() 644 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in loadContactHeaderData() 645 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY); in loadContactHeaderData() 646 final long nameRawContactId = cursor.getLong(ContactQuery.NAME_RAW_CONTACT_ID); in loadContactHeaderData() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListAdapter.java | 41 protected static class ContactQuery { class in ContactListAdapter 160 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME); in getContactDisplayName() 174 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() 175 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); in getContactUri() 188 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in isEnterpriseContact() 207 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) { in isSelectedContact() 212 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID); in isSelectedContact() 248 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) { in bindPhoto() 249 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID); in bindPhoto() 256 final String photoUriString = cursor.getString(ContactQuery.CONTACT_PHOTO_URI); in bindPhoto() [all …]
|
D | DefaultContactListAdapter.java | 236 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, in bindView() 237 ContactQuery.CONTACT_PHOTO_URI, ContactQuery.CONTACT_ID, in bindView() 238 ContactQuery.CONTACT_LOOKUP_KEY, ContactQuery.CONTACT_DISPLAY_NAME); in bindView()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 93 private interface ContactQuery { interface in ContactHeaderWidget 265 cursor.getLong(ContactQuery._ID), in onQueryComplete() 266 cursor.getString(ContactQuery.LOOKUP_KEY)); in onQueryComplete() 268 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in onQueryComplete() 591 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS, in startContactQuery() 640 final String displayName = c.getString(ContactQuery.DISPLAY_NAME); in bindContactInfo() 641 final String phoneticName = c.getString(ContactQuery.PHONETIC_NAME); in bindContactInfo() 645 if (!c.isNull(ContactQuery.CONTACT_PRESENCE_STATUS)) { in bindContactInfo() 646 int presence = c.getInt(ContactQuery.CONTACT_PRESENCE_STATUS); in bindContactInfo() 654 final String status = c.getString(ContactQuery.CONTACT_STATUS); in bindContactInfo() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ConfirmAddDetailActivity.java | 148 private interface ContactQuery { interface in ConfirmAddDetailActivity 314 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS, in startContactQuery() 487 mDisplayName = cursor.getString(ContactQuery.DISPLAY_NAME); in onQueryComplete() 488 mLookupKey = cursor.getString(ContactQuery.LOOKUP_KEY); in onQueryComplete() 490 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in onQueryComplete() 496 mContactId = cursor.getLong(ContactQuery._ID); in onQueryComplete()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 206 long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in getContactUri() 207 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY); in getContactUri()
|
D | MultiSelectEntryContactListAdapter.java | 129 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID); in bindCheckBox()
|