HomeSort by relevance Sort by last modified time
    Searched defs:ContactQuery (Results 1 - 5 of 5) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListAdapter.java 40 protected static class ContactQuery {
139 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
153 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
154 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
177 cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY))) {
182 && getSelectedContactId() == cursor.getLong(ContactQuery.CONTACT_ID);
201 if (position == 0 && cursor.getInt(ContactQuery.CONTACT_IS_USER_PROFILE) == 1) {
223 if (!cursor.isNull(ContactQuery.CONTACT_PHOTO_ID)) {
224 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID);
230 final String photoUriString = cursor.getString(ContactQuery.CONTACT_PHOTO_URI)
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ConfirmAddDetailActivity.java 144 private interface ContactQuery {
307 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS,
480 mDisplayName = cursor.getString(ContactQuery.DISPLAY_NAME);
481 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID);
487 mContactId = cursor.getLong(ContactQuery._ID);
492 cursor.getString(ContactQuery.LOOKUP_KEY));
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 93 private interface ContactQuery {
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.CONTACT_STATUS)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactLoader.java 539 private static class ContactQuery {
778 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null,
801 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
809 if (!cursor.isNull(ContactQuery.DATA_ID)) {
813 if (!cursor.isNull(ContactQuery.PRESENCE)
814 || !cursor.isNull(ContactQuery.STATUS)) {
816 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
    [all...]

Completed in 1102 milliseconds