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()
4357 for (File thumbFile : FileUtils.listFilesOrEmpty(thumbDir)) { in pruneThumbnails()4358 final String name = ModernMediaScanner.extractName(thumbFile); in pruneThumbnails()4368 Log.v(TAG, "Deleting stale thumbnail " + thumbFile); in pruneThumbnails()4369 thumbFile.delete(); in pruneThumbnails()4399 final File thumbFile = getThumbnailFile(uri); in ensureThumbnail() local4400 thumbFile.getParentFile().mkdirs(); in ensureThumbnail()4401 if (!thumbFile.exists()) { in ensureThumbnail()4403 try (OutputStream out = new FileOutputStream(thumbFile)) { in ensureThumbnail()4407 return thumbFile; in ensureThumbnail()5192 final File thumbFile = ensureThumbnail(uri, signal); in openTypedAssetFileCommon() local[all …]