Home
last modified time | relevance | path

Searched refs:photoId (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorIntents.java46 MaterialPalette materialPalette, long photoId) { in createEditContactIntent() argument
50 putPhotoId(intent, photoId); in createEditContactIntent()
122 private static void putPhotoId(Intent intent, long photoId) { in putPhotoId() argument
123 if (photoId >= 0) { in putPhotoId()
124 intent.putExtra(ContactEditorFragment.INTENT_EXTRA_PHOTO_ID, photoId); in putPhotoId()
DPickRawContactLoader.java146 rawContactMap.get(rawContactId).photoId = in loadInBackground()
276 public long photoId; field in PickRawContactLoader.RawContact
287 photoId = in.readLong(); in RawContact()
303 dest.writeLong(photoId); in writeToParcel()
DAggregationSuggestionEngine.java64 public long photoId = -1; field in AggregationSuggestionEngine.Suggestion
76 .add("photoId", photoId) in toString()
431 if (suggestion.photoId == -1) { in getSuggestions()
432 suggestion.photoId = id; in getSuggestions()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfo.java55 public long photoId; field in ContactInfo
120 if (photoId != other.photoId) { in equals()
167 + photoId in toString()
DContactInfoHelper.java180 info.photoId = c.getLong(CallLogQuery.CACHED_PHOTO_ID); in getContactInfo()
366 info.photoId = phoneLookupCursor.getLong(PhoneQuery.PHOTO_ID); in createPhoneLookupContactInfo()
512 if (updatedInfo.photoId != callLogInfo.photoId) { in updateCallLogContactInfo()
513 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); in updateCallLogContactInfo()
540 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); in updateCallLogContactInfo()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java212 long photoId, in loadThumbnail() argument
224 long photoId, in loadThumbnail() argument
228 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); in loadThumbnail()
234 long photoId, in loadDialerThumbnailOrPhoto() argument
248 if (photoId == 0 && photoUri != null) { in loadDialerThumbnailOrPhoto()
251 loadThumbnail(badge, photoId, false /* darkTheme */, true /* isCircular */, request); in loadDialerThumbnailOrPhoto()
DContactPhotoManagerImpl.java387 long photoId, in loadThumbnail() argument
392 if (photoId == 0) { in loadThumbnail()
398 LogUtil.d("ContactPhotoManagerImpl.loadThumbnail", "loadPhoto request: " + photoId); in loadThumbnail()
401 view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, defaultProvider)); in loadThumbnail()
1060 Long photoId = preloadPhotoIds.get(preloadSize); in preloadPhotosInBackground() local
1061 photoIds.add(photoId); in preloadPhotosInBackground()
1062 photoIdsAsStrings.add(photoId.toString()); in preloadPhotosInBackground()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java65 Long photoId = cursor.getLong(4); in getContact() local
66 if (photoId != null && photoId > 0) { in getContact()
68 photoId); in getContact()
/packages/apps/Contacts/src/com/android/contacts/list/
DPostalAddressListAdapter.java161 long photoId = 0; in bindPhoto() local
163 photoId = cursor.getLong(PostalQuery.POSTAL_PHOTO_ID); in bindPhoto()
167 if (photoId == 0) { in bindPhoto()
172 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto() local
DEmailAddressListAdapter.java170 long photoId = 0; in bindPhoto() local
172 photoId = cursor.getLong(EmailQuery.EMAIL_PHOTO_ID); in bindPhoto()
175 if (photoId == 0) { in bindPhoto()
179 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto() local
DMultiSelectEntryContactListAdapter.java169 final long photoId = cursor.isNull(photoIdColumn) in bindPhoto() local
171 final ContactPhotoManager.DefaultImageRequest imageRequest = photoId == 0 in bindPhoto()
175 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, getCircularPhotos(), in bindPhoto() local
DContactListAdapter.java251 long photoId = 0; in bindPhoto() local
253 photoId = cursor.getLong(ContactQuery.CONTACT_PHOTO_ID); in bindPhoto()
256 if (photoId != 0) { in bindPhoto()
257 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto() local
DPhoneNumberListAdapter.java539 long photoId = 0; in bindPhoto() local
541 photoId = cursor.getLong(PhoneQuery.PHOTO_ID); in bindPhoto()
544 if (photoId != 0) { in bindPhoto()
545 getPhotoLoader().loadThumbnail(view.getPhotoView(), photoId, false, in bindPhoto() local
DContactEntryListAdapter.java709 long photoId = 0; in bindQuickContact() local
711 photoId = cursor.getLong(photoIdColumn); in bindQuickContact()
724 if (photoId != 0 || photoUriColumn == -1) { in bindQuickContact()
725 getPhotoLoader().loadThumbnail(quickContact, photoId, mDarkTheme, mCircularPhotos, in bindQuickContact()
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java981 final long photoId = cursor.getLong(columnPhotoId); in getLooseMatches() local
1005 id, dataID, displayName, phoneNumber, lookupKey, photoId, carrierPresence)); in getLooseMatches()
1246 public final long photoId; field in DialerDatabaseHelper.ContactNumber
1255 long photoId, in ContactNumber() argument
1262 this.photoId = photoId; in ContactNumber()
1269 id, dataId, displayName, phoneNumber, lookupKey, photoId, carrierPresence); in hashCode()
1284 && Objects.equals(this.photoId, that.photoId) in equals()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2Projections.java94 int photoId = cursor.getInt(CP2_INFO_PHOTO_ID_INDEX); in buildCp2ContactInfoFromCursor() local
110 if (photoId > 0) { in buildCp2ContactInfoFromCursor()
111 infoBuilder.setPhotoId(photoId); in buildCp2ContactInfoFromCursor()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java463 public abstract void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() argument
471 public final void loadThumbnail(ImageView view, long photoId, boolean darkTheme, in loadThumbnail() argument
473 loadThumbnail(view, photoId, darkTheme, isCircular, defaultImageRequest, DEFAULT_AVATAR); in loadThumbnail()
824 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, in loadThumbnail() argument
826 if (photoId == 0) { in loadThumbnail()
831 if (DEBUG) Log.d(TAG, "loadPhoto request: " + photoId); in loadThumbnail()
832 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, in loadThumbnail()
1416 Long photoId = mPreloadPhotoIds.get(preloadSize); in preloadPhotosInBackground() local
1417 mPhotoIds.add(photoId); in preloadPhotosInBackground()
1418 mPhotoIdsAsStrings.add(photoId.toString()); in preloadPhotosInBackground()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java237 public static void start(Activity activity, long photoId, Uri photoUri, Uri contactUri, in start() argument
241 arguments.putLong(ARG_PHOTO_ID, photoId); in start()
390 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, in setPhoto() argument
413 if (photoId == 0 && photoUri != null) { in setPhoto()
417 ContactPhotoManager.getInstance(this).loadThumbnail(mContactPhoto, photoId, in setPhoto()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java173 .setPhotoId(photoId()) in getPhotoInfo()
302 public abstract long photoId(); in photoId() method in SpeedDialUiItem
362 public abstract Builder setPhotoId(long photoId); in setPhotoId() argument
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DCp2Contact.java40 public abstract int photoId(); in photoId() method in Cp2Contact
120 row[Projections.PHOTO_ID] = photoId(); in toCursorRow()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java143 private void addRowWithPhoto(long photoId) { in addRowWithPhoto() argument
146 ContentUris.withAppendedId(Data.CONTENT_URI, photoId), in addRowWithPhoto()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java555 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData() local
556 if (photoId <= 0) { in loadThumbnailBinaryData()
563 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData()
592 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in loadContactHeaderData() local
611 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName, in loadContactHeaderData()
DContact.java142 long id, long nameRawContactId, int displayNameSource, long photoId, in Contact() argument
158 mPhotoId = photoId; in Contact()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java367 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData() local
368 if (photoId <= 0) { in loadThumbnailBinaryData()
375 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData()
427 final long photoId = cursor.getLong(ContactQuery.PHOTO_ID); in loadContactHeaderData() local
456 photoId, in loadContactHeaderData()
DContact.java119 long photoId, in Contact() argument
140 mPhotoId = photoId; in Contact()

12