Searched refs:cutoff (Results 1 - 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
H A DAgeFileFilter.java26 * Filters files based on a cutoff time, can filter either newer
35 * long cutoff = System.currentTimeMillis() - (24 * 60 * 60 * 1000);
36 * String[] files = dir.list( new AgeFileFilter(cutoff) );
48 /** The cutoff time threshold. */
49 private final long cutoff; field in class:AgeFileFilter
55 * a certain cutoff
57 * @param cutoff the threshold age of the files
59 public AgeFileFilter(long cutoff) { argument
60 this(cutoff, true);
65 * of a certain cutoff
71 AgeFileFilter(long cutoff, boolean acceptOlder) argument
[all...]
H A DFileFilterUtils.java172 * the specified cutoff time.
174 * @param cutoff the time threshold
178 public static IOFileFilter ageFileFilter(long cutoff) { argument
179 return new AgeFileFilter(cutoff);
183 * Returns a filter that filters files based on a cutoff time.
185 * @param cutoff the time threshold
190 public static IOFileFilter ageFileFilter(long cutoff, boolean acceptOlder) { argument
191 return new AgeFileFilter(cutoff, acceptOlder);
196 * the specified cutoff date.
207 * Returns a filter that filters files based on a cutoff dat
[all...]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DScheduledProgramReaper.java49 long cutoff = mClock.currentTimeMillis() - TimeUnit.DAYS.toMillis(DAYS);
55 if (r.getEndTimeMs() < cutoff
62 if (r.getEndTimeMs() < cutoff) {
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DStringUtils.java208 final int cutoff = s.offsetByCodePoints(0, 1);
209 return s.substring(0, cutoff).toUpperCase(getLocaleUsedForToTitleCase(locale))
210 + s.substring(cutoff);
226 final int cutoff = s.offsetByCodePoints(0, 1);
227 return s.substring(0, cutoff).toUpperCase(getLocaleUsedForToTitleCase(locale))
228 + s.substring(cutoff).toLowerCase(locale);

Completed in 1033 milliseconds