Searched defs:currentProgram (Results 1 - 2 of 2) sorted by relevance
/packages/apps/TV/src/com/android/tv/recommendation/ |
H A D | RoutineWatchEvaluator.java | 49 Program currentProgram = cr.getCurrentProgram(); 50 if (currentProgram == null) { 60 long startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() 74 currentProgram, watchedProgram, watchedDurationMs); 80 startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() 88 currentProgram, watchedProgram, watchedDurationMs); 95 private static double calculateRoutineWatchScore(Program currentProgram, Program watchedProgram, argument 97 double timeMatchScore = calculateTimeMatchScore(currentProgram, watchedProgram); 99 currentProgram.getTitle(), watchedProgram.getTitle()); 101 long diffMs = currentProgram [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
H A D | ProgramDataManager.java | 373 long channelId, Program currentProgram) { 375 if (!Program.isValid(currentProgram)) { 391 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram 399 if (cachedProgram.getStartTimeUtcMillis() < currentProgram 403 currentProgram.getStartTimeUtcMillis())); 404 i.add(currentProgram); 406 i.set(currentProgram); 408 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) { 410 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(), 417 // currentProgram woul 372 removePreviousProgramsAndUpdateCurrentProgramInCache( long channelId, Program currentProgram) argument [all...] |
Completed in 122 milliseconds