Home
last modified time | relevance | path

Searched refs:contactData (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailDisplayUtils.java98 public static CharSequence getDisplayName(Context context, Result contactData) { in getDisplayName() argument
99 CharSequence displayName = contactData.getDisplayName(); in getDisplayName()
100 CharSequence altDisplayName = contactData.getAltDisplayName(); in getDisplayName()
118 public static String getPhoneticName(Context context, Result contactData) { in getPhoneticName() argument
119 String phoneticName = contactData.getPhoneticName(); in getPhoneticName()
130 public static String getAttribution(Context context, Result contactData) { in getAttribution() argument
131 if (contactData.isDirectoryEntry()) { in getAttribution()
132 String directoryDisplayName = contactData.getDirectoryDisplayName(); in getAttribution()
133 String directoryType = contactData.getDirectoryType(); in getAttribution()
146 public static String getCompany(Context context, Result contactData) { in getCompany() argument
[all …]
DContactDetailPhotoSetter.java39 public OnClickListener setupContactPhotoForClick(Context context, Result contactData, in setupContactPhotoForClick() argument
42 Bitmap bitmap = setCompressedImage(contactData.getPhotoBinaryData()); in setupContactPhotoForClick()
43 return setupClickListener(context, contactData, bitmap, expandPhotoOnClick); in setupContactPhotoForClick()
54 public PhotoClickListener(Context context, Result contactData, Bitmap photoBitmap, in PhotoClickListener() argument
57 mContactData = contactData; in PhotoClickListener()
99 private OnClickListener setupClickListener(Context context, Result contactData, Bitmap bitmap, in setupClickListener() argument
105 context, contactData, bitmap, getCompressedImage(), expandPhotoOnClick); in setupClickListener()
DContactDetailTabCarousel.java470 public void loadData(ContactLoader.Result contactData) { in loadData() argument
471 if (contactData == null) return; in loadData()
475 final boolean expandOnClick = contactData.getPhotoUri() != null; in loadData()
477 mContext, contactData, mPhotoView, expandOnClick); in loadData()
479 if (expandOnClick || contactData.isWritableContact(mContext)) { in loadData()
488 mContext, contactData, mStatusView, mStatusPhotoView); in loadData()
DContactDetailFragment.java2202 public InvitableAccountTypesAdapter(Context context, ContactLoader.Result contactData) { in InvitableAccountTypesAdapter() argument
2205 final List<AccountType> types = contactData.getInvitableAccountTypes(); in InvitableAccountTypesAdapter()
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
DSocialWidgetProvider.java124 ContactLoader.Result contactData) { in loadWidgetData()
125 bindRemoteViews(context, widgetId, appWidgetManager, contactData); in loadWidgetData()
133 final AppWidgetManager widgetManager, ContactLoader.Result contactData) { in bindRemoteViews() argument
134 Log.d(TAG, "Loaded " + contactData.getLookupKey() in bindRemoteViews()
139 if (!contactData.isLoaded()) { in bindRemoteViews()
144 byte[] photo = contactData.getPhotoBinaryData(); in bindRemoteViews()
152 intent.setData(contactData.getLookupUri()); in bindRemoteViews()
157 setDisplayNameAndSnippet(context, views, contactData.getDisplayName(), in bindRemoteViews()
158 contactData.getPhoneticName(), contactData.getStreamItems(), pendingIntent); in bindRemoteViews()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java52 public void setupContactPhoto(Result contactData, ImageView photoView) { in setupContactPhoto() argument
54 setCompressedImage(contactData.getPhotoBinaryData()); in setupContactPhoto()
/packages/apps/Contacts/src/com/android/contacts/
DContactLoader.java832 private void loadPhotoBinaryData(Result contactData) { in loadPhotoBinaryData() argument
835 String photoUri = contactData.getPhotoUri(); in loadPhotoBinaryData()
848 contactData.setPhotoBinaryData(baos.toByteArray()); in loadPhotoBinaryData()
860 final long photoId = contactData.getPhotoId(); in loadPhotoBinaryData()
866 for (Entity entity : contactData.getEntities()) { in loadPhotoBinaryData()
876 contactData.setPhotoBinaryData(entryValues.getAsByteArray(Photo.PHOTO)); in loadPhotoBinaryData()
886 private void loadInvitableAccountTypes(Result contactData) { in loadInvitableAccountTypes() argument
888 if (!contactData.isUserProfile()) { in loadInvitableAccountTypes()
896 for (Entity entity : contactData.getEntities()) { in loadInvitableAccountTypes()
909 contactData.mInvitableAccountTypes = resultList; in loadInvitableAccountTypes()