Lines Matching defs:contactUri
162 Uri contactUri = data.getData();
163 mContactUri = contactUri;
164 updateContactEntryFromUri(contactUri);
176 * @param contactUri The URI to be added to the new notification as metadata.
181 Notification createNotification(Priority priority, Category category, Uri contactUri) {
189 if (contactUri != null) {
190 notificationBuilder.addPerson(contactUri.toString());
191 Bitmap photoBitmap = loadBitmapFromContactUri(contactUri);
205 * @param contactUri The URI to be added to the new notification as metadata.
207 private void showNotificationClicked(Priority priority, Category category, Uri contactUri) {
212 category, contactUri));
224 * @param contactUri The Uri from which the result Bitmap is created.
225 * @return The {@link Bitmap} instance retrieved from the contactUri.
227 private Bitmap loadBitmapFromContactUri(Uri contactUri) {
228 if (contactUri == null) {
232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null,
237 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
258 * @param contactUri The Uri from which the contact is retrieved.
260 private void updateContactEntryFromUri(Uri contactUri) {
261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null,
269 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo