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()
5970 for (File thumbFile : (files != null) ? files : new File[0]) {5971 if (Objects.equals(thumbFile.getName(), FILE_DATABASE_UUID)) continue;5972 final String name = FileUtils.extractFileName(thumbFile.getName());5982 Log.v(TAG, "Deleting stale thumbnail " + thumbFile);5983 deleteAndInvalidate(thumbFile);6019 final File thumbFile = getThumbnailFile(uri);6021 return FileUtils.openSafely(thumbFile,6026 final File thumbDir = thumbFile.getParentFile();6055 Os.rename(thumbTempFile.getAbsolutePath(), thumbFile.getAbsolutePath());