Home
last modified time | relevance | path

Searched refs:thumbFile (Results 1 – 2 of 2) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DSavedWallpaperImages.java131 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir()); in writeImage() local
133 mContext.openFileOutput(thumbFile.getName(), Context.MODE_PRIVATE); in writeImage()
139 values.put(ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, thumbFile.getName()); in writeImage()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5970 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());