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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListAdapter.java41 protected static class ContactQuery { class in class:ContactListAdapter
160 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
174 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
175 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
188 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
207 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) {
212 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
248 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) {
249 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID);
256 final String photoUriString = cursor.getString(ContactQuery
[all...]
H A DDefaultContactListAdapter.java236 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID,
237 ContactQuery.CONTACT_PHOTO_URI, ContactQuery.CONTACT_ID,
238 ContactQuery.CONTACT_LOOKUP_KEY, ContactQuery.CONTACT_DISPLAY_NAME);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContactLoader.java117 private static class ContactQuery { class in class:ContactLoader
482 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null,
507 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
515 if (!cursor.isNull(ContactQuery.DATA_ID)) {
519 if (!cursor.isNull(ContactQuery.PRESENCE)
520 || !cursor.isNull(ContactQuery.STATUS)) {
522 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
644 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
645 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
646 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.java129 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 100 milliseconds