Home
last modified time | relevance | path

Searched refs:programDurationMs (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java382 final long programDurationMs = in sendNotification() local
386 (programDurationMs <= 0) in sendNotification()
388 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in sendNotification()
430 final long programDurationMs = in sendNotification() local
434 (programDurationMs <= 0) in sendNotification()
436 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in sendNotification()
471 mHandler.sendMessageDelayed(msg, programDurationMs / MAX_PROGRAM_UPDATE_COUNT); in sendNotification()
DChannelPreviewUpdater.java197 final long programDurationMs = in updatePreviewDataForChannels() local
199 if (programDurationMs <= 0) { in updatePreviewDataForChannels()
213 (programDurationMs <= 0) in updatePreviewDataForChannels()
215 : 100 - (int) (programLeftTimsMs * 100 / programDurationMs); in updatePreviewDataForChannels()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java325 private Program createDummyProgram(Calendar startTime, long programDurationMs) { in createDummyProgram() argument
330 .setEndTimeUtcMillis(startTimeMs + programDurationMs) in createDummyProgram()