Home
last modified time | relevance | path

Searched refs:imageUri (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
DDragSourceFragment.java94 Uri imageUri = getFileUri(R.drawable.image1, "image1.png"); in onCreateView() local
96 setUpDraggableImage(imageView, imageUri); in onCreateView()
97 imageView.setImageURI(imageUri); in onCreateView()
99 imageUri = getFileUri(R.drawable.image2, "image2.png"); in onCreateView()
101 setUpDraggableImage(imageView, imageUri); in onCreateView()
102 imageView.setImageURI(imageUri); in onCreateView()
134 private void setUpDraggableImage(ImageView imageView, final Uri imageUri) { in setUpDraggableImage() argument
161 getContext().getContentResolver().getType(imageUri)}); in setUpDraggableImage()
171 new ClipData(clipDescription, new ClipData.Item(imageUri)); in setUpDraggableImage()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailFragment.java600 Uri imageUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY); in loadContactPhoto() local
604 afd = getActivity().getContentResolver().openAssetFileDescriptor(imageUri, "r"); in loadContactPhoto()