Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java36 private static final long ONE_HOUR_MILLIS = TimeUnit.HOURS.toMillis(1); field in ProgramRow
37 private static final long HALF_HOUR_MILLIS = ONE_HOUR_MILLIS / 2;
155 Math.max(-ONE_HOUR_MILLIS, focusedEntry.entryStartUtcMillis - fromMillis)); in focusSearch()
159 if (focusedEntry.entryEndUtcMillis >= toMillis + ONE_HOUR_MILLIS) { in focusSearch()
161 scrollByTime(ONE_HOUR_MILLIS); in focusSearch()
187 Math.max(-ONE_HOUR_MILLIS, targetEntry.entryStartUtcMillis - fromMillis)); in focusSearch()
190 if (targetEntry.entryStartUtcMillis > fromMillis + ONE_HOUR_MILLIS + HALF_HOUR_MILLIS) { in focusSearch()
194 ONE_HOUR_MILLIS, in focusSearch()
195 targetEntry.entryStartUtcMillis - fromMillis - ONE_HOUR_MILLIS)); in focusSearch()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java124 private static final long ONE_HOUR_MILLIS = 3600*1000; field in CalendarProvider2Test
2375 long end = begin + ONE_HOUR_MILLIS; in internalTestDirty()