Lines Matching refs:contactUri
1591 * @param contactUri A {@link #CONTENT_URI} row, or an existing
1594 public static Uri getLookupUri(ContentResolver resolver, Uri contactUri) {
1595 final Cursor c = resolver.query(contactUri, new String[] {
2011 * Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
2012 * Uri photoUri = Uri.withAppendedPath(contactUri, Contacts.Photo.CONTENT_DIRECTORY);
2036 * Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
2037 * Uri displayPhotoUri = Uri.withAppendedPath(contactUri, Contacts.Photo.DISPLAY_PHOTO);
2097 * @param contactUri the contact whose photo should be used. This can be used with
2103 public static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri,
2106 final Uri displayPhotoUri = Uri.withAppendedPath(contactUri,
2118 Uri photoUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY);
2146 * @param contactUri the contact whose photo should be used. This can be used with
2152 public static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri) {
2153 return openContactPhotoInputStream(cr, contactUri, false);