Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java274 long nextRefreshTime = Long.MAX_VALUE; in generateAlerts() local
296 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()
314 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()
368 if (nextRefreshTime < Long.MAX_VALUE && nextRefreshTime > currentTime) { in generateAlerts()
369 AlertUtils.scheduleNextNotificationRefresh(context, null, nextRefreshTime); in generateAlerts()
371 long minutesBeforeRefresh = (nextRefreshTime - currentTime) / MINUTE_MS; in generateAlerts()
373 time.set(nextRefreshTime); in generateAlerts()
378 } else if (nextRefreshTime < currentTime) { in generateAlerts()
460 long nextRefreshTime = Long.MAX_VALUE; in getNextRefreshTime() local
464 nextRefreshTime = Math.min(nextRefreshTime, gracePeriodCutoff); in getNextRefreshTime()
[all …]
/packages/apps/Email/src/com/android/email/activity/
DUIControllerTwoPane.java631 final long nextRefreshTime = mRefreshManager.getLastMailboxListRefreshTime(mAccountId) in shouldRefreshMailboxList() local
633 if (nextRefreshTime > mClock.getTime()) { in shouldRefreshMailboxList()
651 final long nextRefreshTime = mRefreshManager.getLastMessageListRefreshTime(mInboxId) in shouldAutoRefreshInbox() local
653 if (nextRefreshTime > mClock.getTime()) { in shouldAutoRefreshInbox()