Searched refs:imageFile (Results 1 – 7 of 7) sorted by relevance
145 File imageFile = assertCreateNewImage(cameraDir); in testGetCategories_camera() local149 imageFile.delete(); in testGetCategories_camera()205 File imageFile = assertCreateNewImage(picturesDir); in testGetCategories_not_videos() local209 imageFile.delete(); in testGetCategories_not_videos()225 File imageFile = assertCreateNewImage(screenshotsDir); in testGetCategories_screenshots() local246 imageFile.delete(); in testGetCategories_screenshots()266 File imageFile = assertCreateNewImage(cameraDir); in testGetCategories_not_screenshots() local270 imageFile.delete(); in testGetCategories_not_screenshots()286 final File imageFile = assertCreateNewImage(picturesDir); in testGetCategories_favorites() local287 setIsFavorite(imageFile); in testGetCategories_favorites()[all …]
58 File imageFile = new File( in openFile() local63 if (!imageFile.exists()) { in openFile()69 Files.copy(inputStream, imageFile.toPath(), in openFile()75 imageFile = new File( in openFile()79 ParcelFileDescriptor image = ParcelFileDescriptor.open(imageFile, in openFile()
100 File imageFile = temporaryFolder.newFile("test.gif"); in testFetchesThumbnailsForImages() local101 imageFile.setLastModified(0); in testFetchesThumbnailsForImages()103 FileWriter fileWriter = new FileWriter(imageFile); in testFetchesThumbnailsForImages()112 assertTrue(result.thumbnails.containsKey(imageFile)); in testFetchesThumbnailsForImages()
71 File imageFile = new File(mTempDir, "test.bmp"); in thumbnailsArePopulated() local72 result.files.add(imageFile); in thumbnailsArePopulated()73 result.thumbnails.put(imageFile, Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565)); in thumbnailsArePopulated()
186 public @Nullable Bitmap getCachedThumbnail(File imageFile) { in getCachedThumbnail() argument190 return mThumbnails.get(imageFile); in getCachedThumbnail()
69 File imageFile = new File(mPath); in takeScreenshot() local71 FileOutputStream outputStream = new FileOutputStream(imageFile); in takeScreenshot()
411 File imageFile = new File(fileLocation.getPath()); in onDownloadDone() local412 if (!imageFile.exists()) { in onDownloadDone()