Searched defs:ContactQuery (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactListAdapter.java49 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
50 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
93 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) {
94 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID);
101 final String photoUriString = cursor.getString(ContactQuery.CONTACT_PHOTO_URI);
107 cursor, ContactQuery.CONTACT_DISPLAY_NAME, ContactQuery.CONTACT_LOOKUP_KEY);
115 view.showDisplayName(cursor, ContactQuery.CONTACT_DISPLAY_NAME);
118 bindViewId(view, cursor, ContactQuery.CONTACT_ID);
123 cursor, ContactQuery
164 protected static class ContactQuery { class in class:ContactListAdapter
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListAdapter.java43 public static class ContactQuery { class in class:ContactListAdapter
114 super(context, ContactQuery.CONTACT_ID);
156 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
170 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
171 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
186 return cursor == null ? -1 : cursor.getLong(ContactQuery.CONTACT_ID);
192 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
211 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) {
216 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
252 if (!cursor.isNull(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/model/
H A DContactLoader.java121 private static class ContactQuery { class in class:ContactLoader
462 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null,
487 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
495 if (!cursor.isNull(ContactQuery.DATA_ID)) {
499 if (!cursor.isNull(ContactQuery.PRESENCE)
500 || !cursor.isNull(ContactQuery.STATUS)) {
502 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
595 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
596 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
597 final long nameRawContactId = cursor.getLong(ContactQuery
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DContactLoader.java275 resolver.query(entityUri, ContactQuery.COLUMNS, null, null, Contacts.Entity.RAW_CONTACT_ID);
297 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
305 if (!cursor.isNull(ContactQuery.DATA_ID)) {
420 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
421 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
422 final long nameRawContactId = cursor.getLong(ContactQuery.NAME_RAW_CONTACT_ID);
423 final int displayNameSource = cursor.getInt(ContactQuery.DISPLAY_NAME_SOURCE);
424 final String displayName = cursor.getString(ContactQuery.DISPLAY_NAME);
425 final String altDisplayName = cursor.getString(ContactQuery.ALT_DISPLAY_NAME);
426 final String phoneticName = cursor.getString(ContactQuery
786 private static class ContactQuery { class in class:ContactLoader
[all...]

Completed in 81 milliseconds