Searched refs:contactData (Results 1 – 6 of 6) sorted by relevance
63 public static CharSequence getDisplayName(Context context, Contact contactData) { in getDisplayName() argument65 final CharSequence displayName = contactData.getDisplayName(); in getDisplayName()68 if (contactData.getDisplayNameSource() == DisplayNameSources.PHONE) { in getDisplayName()75 final CharSequence altDisplayName = contactData.getAltDisplayName(); in getDisplayName()86 public static String getPhoneticName(Context context, Contact contactData) { in getPhoneticName() argument87 String phoneticName = contactData.getPhoneticName(); in getPhoneticName()98 public static String getAttribution(Context context, Contact contactData) { in getAttribution() argument99 if (contactData.isDirectoryEntry()) { in getAttribution()100 String directoryDisplayName = contactData.getDirectoryDisplayName(); in getAttribution()101 String directoryType = contactData.getDirectoryType(); in getAttribution()[all …]
32 public static boolean isInvisibleAndAddable(Contact contactData, Context context) { in isInvisibleAndAddable() argument34 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() argument73 final long defaultGroupId = getDefaultGroupId(contactData.getGroupMetaData()); in addToDefaultGroup()79 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList(); in addToDefaultGroup()
40 public static boolean isDirectoryContact(Contact contactData) { in isDirectoryContact() argument42 if (contactData == null || !contactData.isDirectoryEntry()) return false; in isDirectoryContact()45 return contactData.getDirectoryExportSupport() != Directory.EXPORT_SUPPORT_NONE; in isDirectoryContact()
1705 Context context, Contact contactData, in dataItemToEntry() argument1769 (contactData.getNameRawContactId() == dataItem.getRawContactId()); in dataItemToEntry()1773 && contactData.getDisplayNameSource() == DisplayNameSources.NICKNAME; in dataItemToEntry()1889 contactData.getPhotoId()); in dataItemToEntry()1891 UriUtils.parseUriOrNull(contactData.getPhotoUri())); in dataItemToEntry()1893 contactData.getLookupUri()); in dataItemToEntry()1895 contactData.getDisplayName()); in dataItemToEntry()
541 private void loadPhotoBinaryData(Contact contactData) { in loadPhotoBinaryData() argument542 loadThumbnailBinaryData(contactData); in loadPhotoBinaryData()545 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData()567 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()581 contactData.setPhotoBinaryData(contactData.getThumbnailPhotoBinaryData()); in loadPhotoBinaryData()584 private void loadThumbnailBinaryData(Contact contactData) { in loadThumbnailBinaryData() argument585 final long photoId = contactData.getPhotoId(); in loadThumbnailBinaryData()591 for (RawContact rawContact : contactData.getRawContacts()) { in loadThumbnailBinaryData()599 contactData.setThumbnailPhotoBinaryData(photo.getPhoto()); in loadThumbnailBinaryData()609 private void loadInvitableAccountTypes(Contact contactData) { in loadInvitableAccountTypes() argument[all …]
55 public Bitmap setupContactPhoto(Contact contactData, ImageView photoView) { in setupContactPhoto() argument56 mContact = contactData; in setupContactPhoto()58 return setCompressedImage(contactData.getPhotoBinaryData()); in setupContactPhoto()