Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java148 File saveDirectory = SaveImage.getSaveDirectory(context, sourceUri); in getFinalSaveDirectory() local
149 if ((saveDirectory == null) || !saveDirectory.canWrite()) { in getFinalSaveDirectory()
150 saveDirectory = new File(Environment.getExternalStorageDirectory(), in getFinalSaveDirectory()
154 if (!saveDirectory.exists()) in getFinalSaveDirectory()
155 saveDirectory.mkdirs(); in getFinalSaveDirectory()
156 return saveDirectory; in getFinalSaveDirectory()
160 File saveDirectory = getFinalSaveDirectory(context, sourceUri); in getNewFile() local
164 return new File(saveDirectory, PREFIX_PANO + filename + POSTFIX_JPG); in getNewFile()
166 return new File(saveDirectory, PREFIX_IMG + filename + POSTFIX_JPG); in getNewFile()
530 File saveDirectory = getFinalSaveDirectory(context, sourceUri); in makeAndInsertUri() local
[all …]