/packages/apps/Email/src/org/apache/commons/io/output/ |
H A D | DeferredFileOutputStream.java | 82 * The directory to use for temporary files.
84 private File directory;
field in class:DeferredFileOutputStream 119 * @param directory Temporary file directory.
123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory)
argument 131 this.directory = directory;
163 outputFile = File.createTempFile(prefix, suffix, directory);
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | DirectoryWalker.java | 29 * Abstract class that walks through a directory hierarchy and provides
65 * protected boolean handleDirectory(File directory, int depth, Collection results) {
67 * if (".svn".equals(directory.getName())) {
68 * directory.delete();
119 * // Combine the directory and file filters using an OR condition
226 * protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException {
227 * // cancel if hidden directory
228 * if (directory.isHidden()) {
258 * The limit on the directory depth to walk.
287 * Construct an instance with a directory an 350 walk(File directory, int depth, Collection results) argument 488 handleDirectory(File directory, int depth, Collection results) argument 503 handleDirectoryStart(File directory, int depth, Collection results) argument 531 handleRestricted(File directory, int depth, Collection results) argument 545 handleDirectoryEnd(File directory, int depth, Collection results) argument [all...] |
H A D | FileUtils.java | 52 * <li>make a directory including parent directories
118 * An exception is thrown if the file object exists but is a directory.
124 * @throws IOException if the file object is a directory
131 throw new IOException("File '" + file + "' exists but is a directory");
145 * creating the parent directory if it does not exist.
150 * The parent directory will be created if it does not exist.
152 * An exception is thrown if the file object exists but is a directory.
154 * An exception is thrown if the parent directory cannot be created.
158 * @throws IOException if the file object is a directory
160 * @throws IOException if a parent directory need 251 innerListFiles(Collection files, File directory, IOFileFilter filter) argument 290 listFiles( File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) argument 337 iterateFiles( File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) argument 369 listFiles( File directory, String[] extensions, boolean recursive) argument 394 iterateFiles( File directory, String[] extensions, boolean recursive) argument 972 deleteDirectory(File directory) argument 1024 cleanDirectory(File directory) argument 1418 deleteDirectoryOnExit(File directory) argument 1434 cleanDirectoryOnExit(File directory) argument 1474 forceMkdir(File directory) argument 1501 sizeOfDirectory(File directory) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | ImageManager.java | 184 // directory and filename). Also add an entry to the media store for 190 Location location, String directory, String filename, 195 String filePath = directory + "/" + filename; 197 File dir = new File(directory); 199 File file = new File(directory, filename); 219 long size = new File(directory, filename).length(); 359 // It's important not to put it in the root directory which may have a 363 File directory = new File(directoryName); 364 if (!directory.isDirectory()) { 365 if (!directory 189 addImage(ContentResolver cr, String title, long dateTaken, Location location, String directory, String filename, Bitmap source, byte[] jpegData, int[] degree) argument [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | ImageManager.java | 133 * directory and filename). Also add an entry to the media store for 139 long dateTaken, Double latitude, Double longitude, String directory, 144 String filePath = directory + "/" + filename; 146 File dir = new File(directory); 148 File file = new File(directory, filename); 168 long size = new File(directory, filename).length(); 287 // It's important not to put it in the root directory which may have a 290 File directory = new File(directoryName); 291 if (!directory.isDirectory()) { 292 if (!directory 138 addImage(ContentResolver cr, String title, long dateAdded, long dateTaken, Double latitude, Double longitude, String directory, String filename, Bitmap source, byte[] jpegData, int[] degree) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ImportVCardActivity.java | 597 private void getVCardFileRecursively(File directory) argument 603 // e.g. secured directory may return null toward listFiles(). 604 final File[] files = directory.listFiles(); 606 Log.w(LOG_TAG, "listFiles() returned null (directory: " + directory + ")"); 609 for (File file : directory.listFiles()) {
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageManager.java | 198 // directory and filename). Also add an entry to the media store for 204 Location location, String directory, String filename, 209 String filePath = directory + "/" + filename; 211 File dir = new File(directory); 213 File file = new File(directory, filename); 453 // It's important not to put it in the root directory which may have a 457 File directory = new File(directoryName); 458 if (!directory.isDirectory()) { 459 if (!directory.mkdirs()) { 203 addImage(ContentResolver cr, String title, long dateTaken, Location location, String directory, String filename, Bitmap source, byte[] jpegData, int[] degree) argument
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageView.java | 681 * Creates a unique file in the given directory by appending a hyphen 683 * @param directory 687 /* package */ static File createUniqueFile(File directory, String filename) { argument 688 File file = new File(directory, filename); 704 file = new File(directory, String.format(format, i));
|