HomeSort by relevance Sort by last modified time
    Searched refs:PhoneQuery (Results 1 - 8 of 8) sorted by null

  /packages/apps/Dialer/src/com/android/dialer/dialpad/
SmartDialCursorLoader.java 27 import com.android.contacts.common.list.PhoneNumberListAdapter.PhoneQuery;
89 final MatrixCursor cursor = new MatrixCursor(PhoneQuery.PROJECTION_PRIMARY);
90 Object[] row = new Object[PhoneQuery.PROJECTION_PRIMARY.length];
92 row[PhoneQuery.PHONE_ID] = contact.dataId;
93 row[PhoneQuery.PHONE_NUMBER] = contact.phoneNumber;
94 row[PhoneQuery.CONTACT_ID] = contact.id;
95 row[PhoneQuery.LOOKUP_KEY] = contact.lookupKey;
96 row[PhoneQuery.PHOTO_ID] = contact.photoId;
97 row[PhoneQuery.DISPLAY_NAME] = contact.displayName;
  /packages/apps/Dialer/src/com/android/dialer/list/
RegularSearchListAdapter.java 45 info.name = item.getString(PhoneQuery.DISPLAY_NAME);
46 info.type = item.getInt(PhoneQuery.PHONE_TYPE);
47 info.label = item.getString(PhoneQuery.PHONE_LABEL);
48 info.number = item.getString(PhoneQuery.PHONE_NUMBER);
49 final String photoUriStr = item.getString(PhoneQuery.PHOTO_URI);
52 cacheInfo.setLookupKey(item.getString(PhoneQuery.LOOKUP_KEY));
SmartDialNumberListAdapter.java 29 import com.android.contacts.common.list.PhoneNumberListAdapter.PhoneQuery;
81 if (mNameMatcher.matches(cursor.getString(PhoneQuery.DISPLAY_NAME))) {
86 Log.v(TAG, cursor.getString(PhoneQuery.DISPLAY_NAME) + " " +
93 PhoneQuery.PHONE_NUMBER));
107 long id = cursor.getLong(PhoneQuery.PHONE_ID);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneQuery.java 24 final class PhoneQuery {
ContactInfoHelper.java 151 mContext.getContentResolver().query(uri, PhoneQuery._PROJECTION, null, null, null);
157 long contactId = phonesCursor.getLong(PhoneQuery.PERSON_ID);
158 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY);
161 info.name = phonesCursor.getString(PhoneQuery.NAME);
162 info.type = phonesCursor.getInt(PhoneQuery.PHONE_TYPE);
163 info.label = phonesCursor.getString(PhoneQuery.LABEL);
164 info.number = phonesCursor.getString(PhoneQuery.MATCHED_NUMBER);
165 info.normalizedNumber = phonesCursor.getString(PhoneQuery.NORMALIZED_NUMBER);
166 info.photoId = phonesCursor.getLong(PhoneQuery.PHOTO_ID);
168 UriUtils.parseUriOrNull(phonesCursor.getString(PhoneQuery.PHOTO_URI))
    [all...]
CallLogAdapter.java     [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberListAdapter.java 66 public static class PhoneQuery {
145 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY);
183 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY);
185 loader.setProjection(PhoneQuery.PROJECTION_ALTERNATIVE);
246 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME);
251 return item != null ? item.getString(PhoneQuery.PHONE_NUMBER) : null;
269 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID);
300 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID);
323 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
325 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 124 public static interface PhoneQuery {
594 final Long contactId = updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID);
650 final String number = updatedContactCursor.getString(PhoneQuery.PHONE_NUMBER);
658 PhoneQuery.PHONE_LOOKUP_KEY);
666 PhoneQuery.PHONE_DISPLAY_NAME);
672 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID));
673 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID));
674 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID));
675 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED));
676 insert.bindLong(8, updatedContactCursor.getInt(PhoneQuery.PHONE_TIMES_USED))
    [all...]

Completed in 43 milliseconds