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 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)
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ConfirmAddDetailActivity.java 125 private interface ContactQuery {
292 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS,
459 mDisplayName = cursor.getString(ContactQuery.DISPLAY_NAME);
460 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID);
466 mContactId = cursor.getLong(ContactQuery._ID);
471 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 490 private static class ContactQuery {
713 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null,
732 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
738 if (!cursor.isNull(ContactQuery.DATA_ID)) {
742 if (!cursor.isNull(ContactQuery.PRESENCE)
743 || !cursor.isNull(ContactQuery.STATUS)) {
745 final long dataId = cursor.getLong(ContactQuery.DATA_ID);
846 final long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
847 final String lookupKey = cursor.getString(ContactQuery.LOOKUP_KEY);
848 final long nameRawContactId = cursor.getLong(ContactQuery.NAME_RAW_CONTACT_ID)
    [all...]

Completed in 2337 milliseconds