Searched refs:photoUri (Results 1 - 25 of 42) sorted by path

12

/packages/apps/Calendar/src/com/android/calendar/
H A DContactsAsyncHelper.java191 AttendeeItem item, Runnable run, Uri photoUri) {
195 if (photoUri == null) {
206 args.uri = photoUri;
190 retrieveContactPhotoAsync(Context context, AttendeeItem item, Runnable run, Uri photoUri) argument
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java496 Uri photoUri = updatedPhotos.getParcelable(key);
506 if (rawContactId < 0 || !saveUpdatedPhoto(rawContactId, photoUri)) {
529 private boolean saveUpdatedPhoto(long rawContactId, Uri photoUri) { argument
534 return ContactPhotoUtils.savePhotoFromUriToUri(this, photoUri, outputUri, true);
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DPhotoSelectionHandler.java237 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); argument
269 private void startTakePhotoActivity(Uri photoUri) { argument
270 final Intent intent = getTakePhotoIntent(photoUri);
271 startPhotoActivity(intent, REQUEST_CODE_CAMERA_WITH_DATA, photoUri);
280 private void startPickFromGalleryActivity(Uri photoUri) { argument
281 final Intent intent = getPhotoPickIntent(photoUri);
282 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, photoUri);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DCompactContactEditorFragment.java133 protected void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
134 mPhotoUri = photoUri;
H A DCompactPhotoEditorView.java166 final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon()
168 setFullSizedPhoto(photoUri);
290 public void setFullSizedPhoto(Uri photoUri) { argument
291 if (photoUri != null) {
300 mContactPhotoManager.loadPhoto(mPhotoImageView, photoUri,
H A DCompactRawContactsEditorView.java234 public void setFullSizePhoto(Uri photoUri) { argument
235 mPhoto.setFullSizedPhoto(photoUri);
H A DContactEditorFragment.java256 final Uri photoUri = updatedPhotoUriForRawContact(rawContactId);
257 if (photoUri != null) editor.setFullSizedPhoto(photoUri);
543 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { argument
574 mUpdatedPhotos.putParcelable(String.valueOf(rawContact), photoUri);
656 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
660 mCurrentPhotoUri = photoUri;
H A DPhotoEditorView.java141 final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon()
143 setFullSizedPhoto(photoUri);
205 * Bind the {@param photoUri}'s photo to editor's UI. This doesn't affect {@link ValuesDelta}.
207 public void setFullSizedPhoto(Uri photoUri) { argument
208 if (photoUri != null) {
217 mContactPhotoManager.loadPhoto(mPhotoImageView, photoUri,
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java788 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI);
790 displayName, photoUri));
833 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX);
835 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri);
857 String photoUri) {
863 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null;
856 Member(long rawContactId, String lookupKey, long contactId, String displayName, String photoUri) argument
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactPhotoUtils.java137 * @param photoUri The uri of the file to save the image to.
139 public static void addPhotoPickerExtras(Intent intent, Uri photoUri) { argument
140 intent.putExtra(MediaStore.EXTRA_OUTPUT, photoUri);
143 intent.setClipData(ClipData.newRawUri(MediaStore.EXTRA_OUTPUT, photoUri));
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContactPhotoManager.java38 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, argument
66 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java197 * @param photoUri The photo URI to remove the contact type from.
200 public static Uri removeContactType(Uri photoUri) { argument
201 String encodedFragment = photoUri.getEncodedFragment();
203 Builder builder = photoUri.buildUpon();
207 return photoUri;
213 * @param photoUri The URI to inspect.
216 public static boolean isBusinessContactUri(Uri photoUri) { argument
217 if (photoUri == null) {
221 String encodedFragment = photoUri.getEncodedFragment();
481 * @param photoUri Th
492 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest, DefaultImageProvider defaultProvider) argument
504 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest) argument
518 loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest) argument
557 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument
836 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest, DefaultImageProvider defaultProvider) argument
1218 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
H A DCallSubjectDialog.java211 null /* photoUri */,
226 * @param photoUri The photo Uri (used to populate contact photo).
235 public static void start(Activity activity, long photoId, Uri photoUri, Uri contactUri, argument
240 arguments.putParcelable(ARG_PHOTO_URI, photoUri);
372 * @param photoUri
377 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, argument
398 if (photoId == 0 && photoUri != null) {
399 ContactPhotoManager.getInstance(this).loadPhoto(mContactPhoto, photoUri,
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntry.java31 public Uri photoUri; field in class:ContactEntry
H A DContactEntryListAdapter.java736 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString);
738 if (photoUri == null) {
742 getPhotoLoader().loadPhoto(quickContact, photoUri, -1, mDarkTheme, mCircularPhotos,
H A DContactListAdapter.java238 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString);
240 if (photoUri == null) {
245 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false,
H A DContactTileAdapter.java241 String photoUri = cursor.getString(mPhotoUriIndex);
248 contact.photoUri = (photoUri != null ? Uri.parse(photoUri) : null);
H A DContactTileView.java129 configureViewForImage(entry.photoUri == null);
131 mPhotoManager.loadPhoto(mPhoto, entry.photoUri, getApproximateImageSize(),
139 mPhotoManager.loadPhoto(mQuickContact, entry.photoUri,
H A DPhoneNumberListAdapter.java475 final Uri photoUri = photoUriString == null ? null : Uri.parse(photoUriString);
478 if (photoUri == null) {
483 getPhotoLoader().loadDirectoryPhoto(view.getPhotoView(), photoUri, false,
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java145 String photoUri, String displayName, String altDisplayName, String phoneticName,
161 mPhotoUri = photoUri;
143 Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, long id, long nameRawContactId, int displayNameSource, long photoId, String photoUri, String displayName, String altDisplayName, String phoneticName, boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, boolean isUserProfile) argument
H A DContactLoader.java380 final String photoUri = json.optString(Contacts.PHOTO_URI, null);
390 photoUri,
527 String photoUri = contactData.getPhotoUri();
528 if (photoUri != null) {
532 final Uri uri = Uri.parse(photoUri);
536 inputStream = new URL(photoUri).openStream();
634 final String photoUri = cursor.getString(ContactQuery.PHOTO_URI);
652 contactId, nameRawContactId, displayNameSource, photoId, photoUri, displayName,
/packages/apps/Dialer/src/com/android/dialer/
H A DCallDetailActivity.java116 final Uri photoUri = firstDetails.photoUri;
183 contactUri, photoUri, nameForDefaultImage, lookupKey, contactType);
308 private void loadContactPhotos(Uri contactUri, Uri photoUri, String displayName, argument
318 mContactPhotoManager.loadDirectoryPhoto(mQuickContactBadge, photoUri,
H A DPhoneCallDetails.java67 public Uri photoUri; field in class:PhoneCallDetails
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java521 details.photoUri = info.photoUri;
570 views.setPhoto(info.photoId, info.photoUri, info.lookupUri, nameForDefaultImage,
H A DCallLogAsyncTaskUtil.java173 details.photoUri = info.photoUri;

Completed in 323 milliseconds

12