Lines Matching defs:Contacts
26 import android.provider.ContactsContract.Contacts;
35 Contacts._ID, // 0
36 Contacts.DISPLAY_NAME, // 1
37 Contacts.STARRED, // 2
38 Contacts.TIMES_CONTACTED, // 3
39 Contacts.CONTACT_PRESENCE, // 4
40 Contacts.PHOTO_ID, // 5
41 Contacts.LOOKUP_KEY, // 6
42 Contacts.HAS_PHONE_NUMBER, // 7
58 String select = "((" + Contacts.DISPLAY_NAME + " NOTNULL) AND ("
59 + Contacts.HAS_PHONE_NUMBER + "=1) AND ("
60 + Contacts.DISPLAY_NAME + " != '' ))";
62 getContentResolver().query(Contacts.CONTENT_URI, CONTACTS_SUMMARY_PROJECTION, select,
63 null, Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC");
84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey));