Home
last modified time | relevance | path

Searched refs:fileDescriptor (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageFetcher.java194 FileDescriptor fileDescriptor = null; in processBitmap() local
226 fileDescriptor = fileInputStream.getFD(); in processBitmap()
233 if (fileDescriptor == null && fileInputStream != null) { in processBitmap()
243 if (fileDescriptor != null) { in processBitmap()
244 bitmap = decodeSampledBitmapFromDescriptor(fileDescriptor, mImageWidth, in processBitmap()
DImageResizer.java180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromDescriptor() argument
185 BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor()
198 return BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java359 FileDescriptor fileDescriptor, int reqWidth, int reqHeight) { in decodeSampledBitmapFromDescriptor() argument
364 BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor()
371 return BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options); in decodeSampledBitmapFromDescriptor()
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DStorageClientFragment.java152 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in getBitmapFromUri() local
153 Bitmap image = BitmapFactory.decodeFileDescriptor(fileDescriptor); in getBitmapFromUri()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java603 FileDescriptor fileDescriptor = afd.getFileDescriptor(); in loadContactPhotoThumbnail() local
605 if (fileDescriptor != null) { in loadContactPhotoThumbnail()
609 fileDescriptor, imageSize, imageSize); in loadContactPhotoThumbnail()