Searched refs:afd (Results 1 – 3 of 3) sorted by relevance
553 AssetFileDescriptor afd = null; in loadContactPhoto() local564 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 …]
578 AssetFileDescriptor afd = null; in loadContactPhotoThumbnail() local599 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()
63 AssetFileDescriptor afd = resolver.openAssetFileDescriptor( in buildShareInfo() local66 sb.append(Long.toString(afd.getStartOffset())); in buildShareInfo()69 sb.append(Long.toString(afd.getLength())); in buildShareInfo()71 afd.close(); in buildShareInfo()