Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java384 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in sendNotification() local
388 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in sendNotification()
392 && programLeftTimsMs <= RECOMMENDATION_THRESHOLD_LEFT_TIME_MS) { in sendNotification()
432 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in sendNotification() local
436 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in sendNotification()
DChannelPreviewUpdater.java211 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in updatePreviewDataForChannels() local
215 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in updatePreviewDataForChannels()
219 || programLeftTimsMs > RECOMMENDATION_THRESHOLD_LEFT_TIME_MS; in updatePreviewDataForChannels()