Searched refs:thumbFile (Results 1 – 2 of 2) sorted by relevance
131 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir()); in writeImage() local133 mContext.openFileOutput(thumbFile.getName(), Context.MODE_PRIVATE); in writeImage()139 values.put(ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, thumbFile.getName()); in writeImage()
4370 for (File thumbFile : FileUtils.listFilesOrEmpty(thumbDir)) { in pruneThumbnails()4371 final String name = ModernMediaScanner.extractName(thumbFile); in pruneThumbnails()4381 Log.v(TAG, "Deleting stale thumbnail " + thumbFile); in pruneThumbnails()4382 thumbFile.delete(); in pruneThumbnails()4412 final File thumbFile = getThumbnailFile(uri); in ensureThumbnail() local4413 thumbFile.getParentFile().mkdirs(); in ensureThumbnail()4414 if (!thumbFile.exists()) { in ensureThumbnail()4416 try (OutputStream out = new FileOutputStream(thumbFile)) { in ensureThumbnail()4420 return thumbFile; in ensureThumbnail()5208 final File thumbFile = ensureThumbnail(uri, signal); in openTypedAssetFileCommon() local[all …]