Searched defs:photoUri (Results 1 - 25 of 25) sorted by relevance

/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/list/
H A DContactEntry.java50 public Uri photoUri; field in class:ContactEntry
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfo.java56 public Uri photoUri; field in class:ContactInfo
92 if (!UriUtils.areEqual(photoUri, other.photoUri)) return false;
105 .add("photoUri", photoUri).add("objectId", objectId)
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
H A DBuglePhotoBitmapLoader.java45 public BuglePhotoBitmapLoader(Context context, String photoUri) { argument
47 mPhotoUri = photoUri;
51 public void setPhotoUri(String photoUri) { argument
52 mPhotoUri = photoUri;
/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/editor/
H A DEditorUiUtils.java257 Uri photoUri) {
266 contactPhotoManager.loadPhoto(imageView, photoUri, imageView.getWidth(),
256 loadPhoto(ContactPhotoManager contactPhotoManager, ImageView imageView, Uri photoUri) argument
H A DCompactPhotoEditorView.java131 final Uri photoUri = ContactsContract.DisplayPhoto.CONTENT_URI.buildUpon()
133 setFullSizedPhoto(photoUri);
212 public void setFullSizedPhoto(Uri photoUri) { argument
214 mPhotoImageView, 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,
H A DContactEditorFragment.java246 final Uri photoUri = updatedPhotoUriForRawContact(rawContactId);
247 if (photoUri != null) editor.setFullSizedPhoto(photoUri);
469 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { argument
494 mUpdatedPhotos.putParcelable(String.valueOf(rawContact), photoUri);
576 public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
580 mCurrentPhotoUri = photoUri;
H A DCompactRawContactsEditorView.java460 public void setFullSizePhoto(Uri photoUri) { argument
461 mPhotoView.setFullSizedPhoto(photoUri);
464 public void updatePhoto(Uri photoUri) { argument
479 getContext(), photoUri);
487 mPhotoView.setFullSizedPhoto(photoUri);
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetails.java84 public Uri photoUri; field in class:PhoneCallDetails
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
H A DAttachmentGridView.java41 void displayPhoto(final Rect viewRect, final Uri photoUri); argument
H A DAttachmentChooserFragment.java137 public void displayPhoto(final Rect viewRect, final Uri photoUri) { argument
141 getActivity(), photoUri, viewRect, imagesUri);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DCompactContactEditorActivity.java115 protected void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) { argument
116 mPhotoUri = photoUri;
/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/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java73 String photoUri; field in class:GlobalSearchSupport.SearchSuggestion
88 if (photoUri != null) {
89 icon1 = photoUri.toString();
151 photoUri = null;
261 suggestion.photoUri = c.getString(2);
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
H A DCallSubjectDialog.java213 null /* photoUri */,
228 * @param photoUri The photo Uri (used to populate contact photo).
237 public static void start(Activity activity, long photoId, Uri photoUri, Uri contactUri, argument
242 arguments.putParcelable(ARG_PHOTO_URI, photoUri);
385 * @param photoUri
390 private void setPhoto(long photoId, Uri photoUri, Uri contactUri, String displayName, argument
413 if (photoId == 0 && photoUri != null) {
414 ContactPhotoManager.getInstance(this).loadPhoto(mContactPhoto, photoUri,
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DConferenceParticipantListAdapter.java401 * @param photoUri The URI of the contact photo.
406 String callerNumber, String callerNumberType, String lookupKey, Uri photoUri,
431 DefaultImageRequest imageRequest = (photoUri != null) ? null :
434 mContactPhotoManager.loadDirectoryPhoto(photoView, photoUri, false, true, imageRequest);
405 setCallerInfoForRow(View view, String callerName, String preferredName, String callerNumber, String callerNumberType, String lookupKey, Uri photoUri, boolean thisRowCanSeparate, boolean thisRowCanDisconnect) argument
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java558 Uri photoUri = updatedPhotos.getParcelable(key);
568 if (rawContactId < 0 || !saveUpdatedPhoto(rawContactId, photoUri, saveMode)) {
614 private boolean saveUpdatedPhoto(long rawContactId, Uri photoUri, int saveMode) { argument
619 return ContactPhotoUtils.savePhotoFromUriToUri(this, photoUri, outputUri, (saveMode == 0));
/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
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DComposeMessageView.java88 void displayPhoto(Uri photoUri, Rect imageBounds, boolean isDraft); argument
869 public void displayPhoto(final Uri photoUri, final Rect imageBounds) { argument
870 mHost.displayPhoto(photoUri, imageBounds, true /* isDraft */);
H A DConversationFragment.java659 public void displayPhoto(final Uri photoUri, final Rect imageBounds, final boolean isDraft) { argument
660 displayPhoto(photoUri, imageBounds, isDraft, mConversationId, getActivity());
663 public static void displayPhoto(final Uri photoUri, final Rect imageBounds, argument
669 activity, photoUri, imageBounds, imagesUri);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java770 String photoUri = data.getString(GroupEditorQuery.CONTACT_PHOTO_URI);
772 displayName, photoUri));
815 String photoUri = cursor.getString(CONTACT_PHOTO_URI_COLUMN_INDEX);
817 Member member = new Member(mRawContactId, lookupKey, contactId, displayName, photoUri);
839 String photoUri) {
845 mPhotoUri = (photoUri != null) ? Uri.parse(photoUri) : null;
838 Member(long rawContactId, String lookupKey, long contactId, String displayName, String photoUri) argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java198 * @param photoUri The photo URI to remove the contact type from.
201 public static Uri removeContactType(Uri photoUri) { argument
202 String encodedFragment = photoUri.getEncodedFragment();
204 Builder builder = photoUri.buildUpon();
208 return photoUri;
214 * @param photoUri The URI to inspect.
217 public static boolean isBusinessContactUri(Uri photoUri) { argument
218 if (photoUri == null) {
222 String encodedFragment = photoUri.getEncodedFragment();
483 * @param photoUri Th
494 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest, DefaultImageProvider defaultProvider) argument
506 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest) argument
520 loadDirectoryPhoto(ImageView view, Uri photoUri, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest) argument
559 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument
838 loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, boolean isCircular, DefaultImageRequest defaultImageRequest, DefaultImageProvider defaultProvider) argument
1219 cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) argument
[all...]

Completed in 426 milliseconds