Lines Matching defs:ContactQuery
41 protected static class ContactQuery {
140 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
154 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
155 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
178 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) {
183 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
202 if (position == 0 && cursor.getInt(ContactQuery.CONTACT_IS_USER_PROFILE) == 1) {
224 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) {
225 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID);
231 final String photoUriString = cursor.getString(ContactQuery.CONTACT_PHOTO_URI);
239 cursor, ContactQuery.CONTACT_DISPLAY_NAME, getContactNameDisplayOrder());
244 view.showPresenceAndStatusMessage(cursor, ContactQuery.CONTACT_PRESENCE_STATUS,
245 ContactQuery.CONTACT_CONTACT_STATUS);
249 view.showSnippet(cursor, ContactQuery.CONTACT_SNIPPET);
280 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
288 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
340 setProfileExists(cursor.getInt(ContactQuery.CONTACT_IS_USER_PROFILE) == 1);
351 return ContactQuery.FILTER_PROJECTION_PRIMARY;
353 return ContactQuery.FILTER_PROJECTION_ALTERNATIVE;
357 return ContactQuery.CONTACT_PROJECTION_PRIMARY;
359 return ContactQuery.CONTACT_PROJECTION_ALTERNATIVE;