Searched refs:contactData (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 61 public static CharSequence getDisplayName(Context context, Contact contactData) { in getDisplayName() argument 63 final CharSequence displayName = contactData.getDisplayName(); in getDisplayName() 66 if (contactData.getDisplayNameSource() == DisplayNameSources.PHONE) { in getDisplayName() 73 final CharSequence altDisplayName = contactData.getAltDisplayName(); in getDisplayName() 84 public static String getPhoneticName(Context context, Contact contactData) { in getPhoneticName() argument 85 String phoneticName = contactData.getPhoneticName(); in getPhoneticName() 96 public static String getAttribution(Context context, Contact contactData) { in getAttribution() argument 97 if (contactData.isDirectoryEntry()) { in getAttribution() 98 String directoryDisplayName = contactData.getDirectoryDisplayName(); in getAttribution() 99 String directoryType = contactData.getDirectoryType(); in getAttribution() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | InvisibleContactUtil.java | 32 public static boolean isInvisibleAndAddable(Contact contactData, Context context) { in isInvisibleAndAddable() argument 34 if (contactData == null || contactData.isDirectoryEntry()) return false; in isInvisibleAndAddable() 37 if (contactData.isUserProfile()) return false; in isInvisibleAndAddable() 40 if (contactData.getRawContacts().size() != 1) return false; in isInvisibleAndAddable() 43 final List<GroupMetaData> groups = contactData.getGroupMetaData(); in isInvisibleAndAddable() 52 final RawContact rawContact = (RawContact) contactData.getRawContacts().get(0); in isInvisibleAndAddable() 72 public static void addToDefaultGroup(Contact contactData, Context context) { in addToDefaultGroup() argument 73 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList(); in addToDefaultGroup() 74 if (markAddToDefaultGroup(contactData, contactDeltaList, context)) { in addToDefaultGroup() 86 public static boolean markAddToDefaultGroup(Contact contactData, in markAddToDefaultGroup() argument [all …]
|
D | DirectoryContactUtil.java | 40 public static boolean isDirectoryContact(Contact contactData) { in isDirectoryContact() argument 42 if (contactData == null || !contactData.isDirectoryEntry()) return false; in isDirectoryContact() 45 return contactData.getDirectoryExportSupport() != Directory.EXPORT_SUPPORT_NONE; in isDirectoryContact()
|
D | QuickContactActivity.java | 1376 Context context, Contact contactData, in dataItemToEntry() argument 1378 if (contactData == null) return null; in dataItemToEntry() 1442 (contactData.getNameRawContactId() == dataItem.getRawContactId()); in dataItemToEntry() 1446 && contactData.getDisplayNameSource() == DisplayNameSources.NICKNAME; in dataItemToEntry() 1575 contactData.getPhotoId()); in dataItemToEntry() 1577 UriUtils.parseUriOrNull(contactData.getPhotoUri())); in dataItemToEntry() 1579 contactData.getLookupUri()); in dataItemToEntry() 1581 contactData.getDisplayName()); in dataItemToEntry()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 323 private void loadPhotoBinaryData(Contact contactData) { in loadPhotoBinaryData() argument 324 loadThumbnailBinaryData(contactData); in loadPhotoBinaryData() 327 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() 349 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData() 363 contactData.setPhotoBinaryData(contactData.getThumbnailPhotoBinaryData()); in loadPhotoBinaryData() 366 private void loadThumbnailBinaryData(Contact contactData) { in loadThumbnailBinaryData() argument 367 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData() 373 for (RawContact rawContact : contactData.getRawContacts()) { in loadThumbnailBinaryData() 381 contactData.setThumbnailPhotoBinaryData(photo.getPhoto()); in loadThumbnailBinaryData() 389 private void loadInvitableAccountTypes(Contact contactData) { in loadInvitableAccountTypes() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 511 private void loadPhotoBinaryData(Contact contactData) { in loadPhotoBinaryData() argument 512 loadThumbnailBinaryData(contactData); in loadPhotoBinaryData() 515 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData() 537 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData() 551 contactData.setPhotoBinaryData(contactData.getThumbnailPhotoBinaryData()); in loadPhotoBinaryData() 554 private void loadThumbnailBinaryData(Contact contactData) { in loadThumbnailBinaryData() argument 555 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData() 561 for (RawContact rawContact : contactData.getRawContacts()) { in loadThumbnailBinaryData() 569 contactData.setThumbnailPhotoBinaryData(photo.getPhoto()); in loadThumbnailBinaryData() 822 private void computeFormattedPhoneNumbers(Contact contactData) { in computeFormattedPhoneNumbers() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 55 public Bitmap setupContactPhoto(Contact contactData, ImageView photoView) { in setupContactPhoto() argument 56 mContact = contactData; in setupContactPhoto() 58 return setCompressedImage(contactData.getPhotoBinaryData()); in setupContactPhoto()
|