Home
last modified time | relevance | path

Searched refs:contactUri (Results 1 – 9 of 9) sorted by relevance

/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DOtherMetadataFragment.java160 Uri contactUri = data.getData(); in onActivityResult() local
161 mContactUri = contactUri; in onActivityResult()
162 updateContactEntryFromUri(contactUri); in onActivityResult()
178 private Notification createNotification(Priority priority, Category category, Uri contactUri) { in createNotification() argument
186 if (contactUri != null) { in createNotification()
187 notificationBuilder.addPerson(contactUri.toString()); in createNotification()
188 Bitmap photoBitmap = loadBitmapFromContactUri(contactUri); in createNotification()
204 private void showNotificationClicked(Priority priority, Category category, Uri contactUri) { in showNotificationClicked() argument
209 category, contactUri)); in showNotificationClicked()
224 private Bitmap loadBitmapFromContactUri(Uri contactUri) { in loadBitmapFromContactUri() argument
[all …]
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessorSdk3_4.java55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { in loadContact() argument
57 Cursor cursor = contentResolver.query(contactUri, in loadContact()
67 Uri phoneUri = Uri.withAppendedPath(contactUri, Phones.CONTENT_DIRECTORY); in loadContact()
DContactAccessorSdk5.java58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { in loadContact() argument
63 Cursor cursor = contentResolver.query(contactUri, in loadContact()
DBusinessCardActivity.java92 private void loadContactInfo(Uri contactUri) { in loadContactInfo() argument
112 task.execute(contactUri); in loadContactInfo()
DContactAccessor.java88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri); in loadContact() argument
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListActivity.java100 public void onContactSelected(Uri contactUri) { in onContactSelected() argument
103 mContactDetailFragment.setContact(contactUri); in onContactSelected()
108 intent.setData(contactUri); in onContactSelected()
DContactDetailFragment.java108 public static ContactDetailFragment newInstance(Uri contactUri) { in newInstance() argument
114 args.putParcelable(EXTRA_CONTACT_URI, contactUri); in newInstance()
539 private Bitmap loadContactPhoto(Uri contactUri, int imageSize) { in loadContactPhoto() argument
560 Uri displayImageUri = Uri.withAppendedPath(contactUri, Photo.DISPLAY_PHOTO); in loadContactPhoto()
577 Log.d(TAG, "Contact photo not found for contact " + contactUri.toString() in loadContactPhoto()
600 Uri imageUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY); in loadContactPhoto()
619 Log.d(TAG, "Contact photo not found for contact " + contactUri.toString() in loadContactPhoto()
DContactsListFragment.java590 final Uri contactUri = Uri.withAppendedPath(Contacts.CONTENT_URI, photoData); in loadContactPhotoThumbnail() local
594 thumbUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY); in loadContactPhotoThumbnail()
771 final Uri contactUri = Contacts.getLookupUri( in bindView() local
776 holder.icon.assignContactUri(contactUri); in bindView()
858 public void onContactSelected(Uri contactUri); in onContactSelected() argument
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in getProfilePicture() local
204 contactUri, true /*preferHighres*/); in getProfilePicture()