Searched refs:ContactQuery (Results 1 - 7 of 7) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListAdapter.java42 protected static class ContactQuery { class in class:ContactListAdapter
150 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
164 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
165 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
188 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) {
193 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
229 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) {
230 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID);
237 final String photoUriString = cursor.getString(ContactQuery.CONTACT_PHOTO_URI);
242 ContactQuery
[all...]
H A DDefaultContactListAdapter.java191 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID,
192 ContactQuery.CONTACT_PHOTO_URI, ContactQuery.CONTACT_ID,
193 ContactQuery.CONTACT_LOOKUP_KEY, ContactQuery.CONTACT_DISPLAY_NAME);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContactLoader.java115 private static class ContactQuery { class in class:ContactLoader
464 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null,
489 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
497 if (!cursor.isNull(ContactQuery.DATA_ID)) {
501 if (!cursor.isNull(ContactQuery.PRESENCE)
502 || !cursor.isNull(ContactQuery.STATUS)) {
504 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
626 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
627 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
628 final long nameRawContactId = cursor.getLong(ContactQuery
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java93 private interface ContactQuery { interface in class:ContactHeaderWidget
265 cursor.getLong(ContactQuery._ID),
266 cursor.getString(ContactQuery.LOOKUP_KEY));
268 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID);
591 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS,
640 final String displayName = c.getString(ContactQuery.DISPLAY_NAME);
641 final String phoneticName = c.getString(ContactQuery.PHONETIC_NAME);
645 if (!c.isNull(ContactQuery.CONTACT_PRESENCE_STATUS)) {
646 int presence = c.getInt(ContactQuery.CONTACT_PRESENCE_STATUS);
654 final String status = c.getString(ContactQuery
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DMultiSelectEntryContactListAdapter.java126 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
H A DJoinContactListAdapter.java206 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
207 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java148 private interface ContactQuery { interface in class:ConfirmAddDetailActivity
314 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS,
487 mDisplayName = cursor.getString(ContactQuery.DISPLAY_NAME);
488 mLookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
490 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID);
496 mContactId = cursor.getLong(ContactQuery._ID);

Completed in 481 milliseconds