Home
last modified time | relevance | path

Searched refs:afd (Results 1 – 3 of 3) sorted by relevance

/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java63 AssetFileDescriptor afd = resolver.openAssetFileDescriptor( in buildShareInfo() local
66 sb.append(Long.toString(afd.getStartOffset())); in buildShareInfo()
69 sb.append(Long.toString(afd.getLength())); in buildShareInfo()
71 afd.close(); in buildShareInfo()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailFragment.java553 AssetFileDescriptor afd = null; in loadContactPhoto() local
564 afd = contentResolver.openAssetFileDescriptor(displayImageUri, "r"); in loadContactPhoto()
566 if (afd != null) { in loadContactPhoto()
569 afd.getFileDescriptor(), imageSize, imageSize); in loadContactPhoto()
584 if (afd != null) { in loadContactPhoto()
586 afd.close(); in loadContactPhoto()
604 afd = getActivity().getContentResolver().openAssetFileDescriptor(imageUri, "r"); in loadContactPhoto()
607 if (afd != null) { in loadContactPhoto()
611 afd.getFileDescriptor(), imageSize, imageSize); in loadContactPhoto()
626 if (afd != null) { in loadContactPhoto()
[all …]
DContactsListFragment.java578 AssetFileDescriptor afd = null; in loadContactPhotoThumbnail() local
599 afd = getActivity().getContentResolver().openAssetFileDescriptor(thumbUri, "r"); in loadContactPhotoThumbnail()
603 FileDescriptor fileDescriptor = afd.getFileDescriptor(); in loadContactPhotoThumbnail()
621 if (afd != null) { in loadContactPhotoThumbnail()
623 afd.close(); in loadContactPhotoThumbnail()