Home | History | Annotate | Download | only in deletionhelper

Lines Matching defs:file

5  * you may not use this file except in compliance with the License.
25 import java.io.File;
28 * DownloadsFilePreference is a preference representing a file in the Downloads folder with a
29 * checkbox that represents if the file should be deleted.
32 private File mFile;
34 public DownloadsFilePreference(Context context, File file, IconProvider iconProvider) {
36 mFile = file;
38 setTitle(file.getName());
39 setItemSize(file.length());
45 // We turn off persistence because we need the file preferences to reset their check when
50 public File getFile() {
61 File otherFile = ((DownloadsFilePreference) other).getFile();
62 File file = getFile();
65 int comparison = Long.compare(otherFile.length(), file.length());
67 comparison = file.compareTo(otherFile);