Searched refs:PhoneQuery (Results 1 – 8 of 8) sorted by relevance
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | PhoneNumberListAdapter.java | 68 public static class PhoneQuery { class in PhoneNumberListAdapter 152 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY); in configureLoader() 200 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY); in configureLoader() 202 loader.setProjection(PhoneQuery.PROJECTION_ALTERNATIVE); in configureLoader() 263 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME); in getContactDisplayName() 268 return item != null ? item.getString(PhoneQuery.PHONE_NUMBER) : null; in getPhoneNumber() 286 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID); in getDataUri() 317 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID); in getResultCount() 341 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView() 343 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID); in bindView() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 124 public static interface PhoneQuery { interface in DialerDatabaseHelper 596 final Long contactId = updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID); in removeUpdatedContacts() 652 final String number = updatedContactCursor.getString(PhoneQuery.PHONE_NUMBER); in insertUpdatedContactsAndNumberPrefix() 660 PhoneQuery.PHONE_LOOKUP_KEY); in insertUpdatedContactsAndNumberPrefix() 668 PhoneQuery.PHONE_DISPLAY_NAME); in insertUpdatedContactsAndNumberPrefix() 674 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID)); in insertUpdatedContactsAndNumberPrefix() 675 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID)); in insertUpdatedContactsAndNumberPrefix() 676 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID)); in insertUpdatedContactsAndNumberPrefix() 677 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED)); in insertUpdatedContactsAndNumberPrefix() 678 insert.bindLong(8, updatedContactCursor.getInt(PhoneQuery.PHONE_TIMES_USED)); in insertUpdatedContactsAndNumberPrefix() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialCursorLoader.java | 25 import com.android.contacts.common.list.PhoneNumberListAdapter.PhoneQuery; 87 final MatrixCursor cursor = new MatrixCursor(PhoneQuery.PROJECTION_PRIMARY); in loadInBackground() 88 Object[] row = new Object[PhoneQuery.PROJECTION_PRIMARY.length]; in loadInBackground() 90 row[PhoneQuery.PHONE_ID] = contact.dataId; in loadInBackground() 91 row[PhoneQuery.PHONE_NUMBER] = contact.phoneNumber; in loadInBackground() 92 row[PhoneQuery.CONTACT_ID] = contact.id; in loadInBackground() 93 row[PhoneQuery.LOOKUP_KEY] = contact.lookupKey; in loadInBackground() 94 row[PhoneQuery.PHOTO_ID] = contact.photoId; in loadInBackground() 95 row[PhoneQuery.DISPLAY_NAME] = contact.displayName; in loadInBackground()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | ContactInfoHelper.java | 154 mContext.getContentResolver().query(uri, PhoneQuery._PROJECTION, null, null, null); in lookupContactFromUri() 160 long contactId = phonesCursor.getLong(PhoneQuery.PERSON_ID); in lookupContactFromUri() 161 String lookupKey = phonesCursor.getString(PhoneQuery.LOOKUP_KEY); in lookupContactFromUri() 164 info.name = phonesCursor.getString(PhoneQuery.NAME); in lookupContactFromUri() 165 info.type = phonesCursor.getInt(PhoneQuery.PHONE_TYPE); in lookupContactFromUri() 166 info.label = phonesCursor.getString(PhoneQuery.LABEL); in lookupContactFromUri() 167 info.number = phonesCursor.getString(PhoneQuery.MATCHED_NUMBER); in lookupContactFromUri() 168 info.normalizedNumber = phonesCursor.getString(PhoneQuery.NORMALIZED_NUMBER); in lookupContactFromUri() 169 info.photoId = phonesCursor.getLong(PhoneQuery.PHOTO_ID); in lookupContactFromUri() 171 UriUtils.parseUriOrNull(phonesCursor.getString(PhoneQuery.PHOTO_URI)); in lookupContactFromUri()
|
D | PhoneQuery.java | 24 final class PhoneQuery { class
|
D | CallLogAdapter.java | 1354 PhoneQuery._PROJECTION, null, null, null); in getBetterNumberFromContacts() 1358 matchingNumber = phonesCursor.getString(PhoneQuery.MATCHED_NUMBER); in getBetterNumberFromContacts()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | RegularSearchListAdapter.java | 46 info.name = item.getString(PhoneQuery.DISPLAY_NAME); in getContactInfo() 47 info.type = item.getInt(PhoneQuery.PHONE_TYPE); in getContactInfo() 48 info.label = item.getString(PhoneQuery.PHONE_LABEL); in getContactInfo() 49 info.number = item.getString(PhoneQuery.PHONE_NUMBER); in getContactInfo() 50 final String photoUriStr = item.getString(PhoneQuery.PHOTO_URI); in getContactInfo() 53 cacheInfo.setLookupKey(item.getString(PhoneQuery.LOOKUP_KEY)); in getContactInfo()
|
D | SmartDialNumberListAdapter.java | 31 import com.android.contacts.common.list.PhoneNumberListAdapter.PhoneQuery; 84 if (mNameMatcher.matches(cursor.getString(PhoneQuery.DISPLAY_NAME))) { in setHighlight() 89 Log.v(TAG, cursor.getString(PhoneQuery.DISPLAY_NAME) + " " + in setHighlight() 96 PhoneQuery.PHONE_NUMBER)); in setHighlight() 110 long id = cursor.getLong(PhoneQuery.PHONE_ID); in getDataUri()
|