/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogAdapter.java | 745 final long photoId = info.photoId; in bindView() local 803 if (photoId == 0 && photoUri != null) { in bindView() 806 setPhoto(views, photoId, lookupUri, nameForDefaultImage, lookupKey, contactType); in bindView() 1120 if (updatedInfo.photoId != callLogInfo.photoId) { in updateCallLogContactInfoCache() 1121 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); in updateCallLogContactInfoCache() 1136 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); in updateCallLogContactInfoCache() 1164 info.photoId = c.getLong(CallLogQuery.CACHED_PHOTO_ID); in getContactInfoFromCallLog() 1207 private void setPhoto(CallLogListItemViews views, long photoId, Uri contactUri, in setPhoto() argument 1213 mContactPhotoManager.loadThumbnail(views.quickContactView, photoId, false /* darkTheme */, in setPhoto()
|
D | ContactInfo.java | 38 public long photoId; field in ContactInfo 75 if (photoId != other.photoId) return false; in equals() 85 formattedNumber).add("normalizedNumber", normalizedNumber).add("photoId", photoId) in toString()
|
D | ContactInfoHelper.java | 169 info.photoId = phonesCursor.getLong(PhoneQuery.PHOTO_ID); in lookupContactFromUri()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 245 public final long photoId; field in DialerDatabaseHelper.ContactNumber 248 String lookupKey, long photoId) { in ContactNumber() argument 254 this.photoId = photoId; in ContactNumber() 259 return Objects.hashCode(id, dataId, displayName, phoneNumber, lookupKey, photoId); in hashCode() 274 && Objects.equal(this.photoId, that.photoId); in equals() 970 final long photoId = cursor.getLong(columnPhotoId); in getLooseMatches() local 992 photoId)); in getLooseMatches()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 268 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in onQueryComplete() local 270 setPhotoId(photoId, lookupUri); in onQueryComplete() 379 public void setPhotoId(final long photoId, final Uri lookupUri) { in setPhotoId() argument 380 if (photoId == 0) { in setPhotoId() 385 startPhotoQuery(photoId, lookupUri, in setPhotoId() 604 protected void startPhotoQuery(long photoId, Uri lookupKey, boolean resetQueryHandler) { in startPhotoQuery() argument 610 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), PhotoQuery.COLUMNS, in startPhotoQuery()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactPhotoManager.java | 448 public abstract void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() argument 456 public final void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() argument 458 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); in loadThumbnail() 787 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, in loadThumbnail() argument 789 if (photoId == 0) { in loadThumbnail() 794 if (DEBUG) Log.d(TAG, "loadPhoto request: " + photoId); in loadThumbnail() 795 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, in loadThumbnail() 1364 Long photoId = mPreloadPhotoIds.get(preloadSize); in preloadPhotosInBackground() local 1365 mPhotoIds.add(photoId); in preloadPhotosInBackground() 1366 mPhotoIdsAsStrings.add(photoId.toString()); in preloadPhotosInBackground()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | SenderInfoLoader.java | 161 long photoId = cursor.getLong(DATA_PHOTO_ID_COLUMN); in loadContactPhotos() local 162 photoIdsAsStrings.add(Long.toString(photoId)); in loadContactPhotos() 163 photoIdMap.put(photoId, Pair.create(email, result)); in loadContactPhotos() 212 long photoId = cursor.getLong(PHOTO_PHOTO_ID_COLUMN); in loadContactPhotos() local 213 Pair<String, ContactInfo> prev = photoIdMap.get(photoId); in loadContactPhotos()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | ContactStatusLoader.java | 112 final long photoId; in getContactInfo() local 118 photoId = c.getLong(COLUMN_PHOTO_ID); in getContactInfo() 129 if (photoId != -1) { in getContactInfo() 131 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), PHOTO_PROJECTION, in getContactInfo()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PostalAddressListAdapter.java | 163 long photoId = 0; in bindPhoto() local 165 photoId = cursor.getLong(PostalQuery.POSTAL_PHOTO_ID); in bindPhoto() 169 if (photoId == 0) { in bindPhoto() 174 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto() local
|
D | EmailAddressListAdapter.java | 172 long photoId = 0; in bindPhoto() local 174 photoId = cursor.getLong(EmailQuery.EMAIL_PHOTO_ID); in bindPhoto() 177 if (photoId == 0) { in bindPhoto() 181 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto() local
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListAdapter.java | 228 long photoId = 0; in bindPhoto() local 230 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID); in bindPhoto() 233 if (photoId != 0) { in bindPhoto() 234 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto() local
|
D | PhoneNumberListAdapter.java | 435 long photoId = 0; in bindPhoto() local 437 photoId = cursor.getLong(PhoneQuery.PHOTO_ID); in bindPhoto() 440 if (photoId != 0) { in bindPhoto() 441 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto() local
|
D | ContactEntryListAdapter.java | 717 long photoId = 0; in bindQuickContact() local 719 photoId = cursor.getLong(photoIdColumn); in bindQuickContact() 726 if (photoId != 0 || photoUriColumn == -1) { in bindQuickContact() 727 getPhotoLoader().loadThumbnail(quickContact, photoId, mDarkTheme, mCircularPhotos, in bindQuickContact()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ConfirmAddDetailActivity.java | 324 private void startPhotoQuery(long photoId, Uri lookupKey) { in startPhotoQuery() argument 326 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), in startPhotoQuery() 490 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in onQueryComplete() local 495 if (photoId == 0) { in onQueryComplete() 501 startPhotoQuery(photoId, lookupUri); in onQueryComplete()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 550 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData() local 551 if (photoId <= 0) { in loadThumbnailBinaryData() 558 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData() 616 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in loadContactHeaderData() local 635 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
|
D | Contact.java | 144 long id, long nameRawContactId, int displayNameSource, long photoId, in Contact() argument 160 mPhotoId = photoId; in Contact()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | ResultActivity.java | 143 private void addRowWithPhoto(long photoId) { in addRowWithPhoto() argument 146 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), in addRowWithPhoto()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 160 public static Bitmap loadContactPhoto(Context context, long photoId, in loadContactPhoto() argument 167 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), in loadContactPhoto()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 427 long photoId = mDataCursor.getLong(DataQuery.PHOTO_ID); in getSuggestions() local 428 if (dataId == photoId && !mDataCursor.isNull(DataQuery.PHOTO)) { in getSuggestions()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | AttendeesView.java | 439 final long photoId = cursor.getLong(EMAIL_PROJECTION_PHOTO_ID_INDEX); in onQueryComplete() local 441 if (photoId > 0) { in onQueryComplete()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | SmartDialPrefixTest.java | 144 int id, String number, int contactId, String lookupKey, String displayName, int photoId, in constructNewContact() argument 157 photoId, lastTimeUsed, timesUsed, starred, isSuperPrimary, inVisibleGroup, in constructNewContact()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockContactPhotoManager.java | 32 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, in loadThumbnail() argument
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialCursorLoader.java | 96 row[PhoneQuery.PHOTO_ID] = contact.photoId; in loadInBackground()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 731 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); in testPhotoUpdate() local 735 Uri contentUri = ContentUris.withAppendedId(Photos.CONTENT_URI, photoId); in testPhotoUpdate()
|
D | BaseContactsProvider2Test.java | 565 long photoId = c.getInt(c.getColumnIndex(Contacts.PHOTO_ID)); in queryPhotoId() local 567 return photoId; in queryPhotoId()
|