Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java23 import com.android.tv.recommendation.RoutineWatchEvaluator.ProgramTime;
120 ProgramTime programTimeToday0000_0100 = ProgramTime.createFromProgram( in testProgramTime_createFromProgram()
126 ProgramTime programTimeToday2330_2430 = ProgramTime.createFromProgram( in testProgramTime_createFromProgram()
132 ProgramTime programTimeTomorrow0000_0100 = ProgramTime.createFromProgram( in testProgramTime_createFromProgram()
138 ProgramTime programTimeTomorrow2330_2430 = ProgramTime.createFromProgram( in testProgramTime_createFromProgram()
144 ProgramTime programTimeToday1800_3600 = ProgramTime.createFromProgram( in testProgramTime_createFromProgram()
154 ProgramTime programTimeToday2100_2400 = ProgramTime.createFromProgram( in testCalculateOverlappedIntervalScore()
157 ProgramTime programTimeToday2200_0100 = ProgramTime.createFromProgram( in testCalculateOverlappedIntervalScore()
160 ProgramTime programTimeTomorrow0000_0300 = ProgramTime.createFromProgram( in testCalculateOverlappedIntervalScore()
163 ProgramTime programTimeTomorrow2000_2300 = ProgramTime.createFromProgram( in testCalculateOverlappedIntervalScore()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java153 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore()
154 ProgramTime t2 = ProgramTime.createFromProgram(p2); in calculateTimeMatchScore()
165 static double calculateOverlappedIntervalScore(ProgramTime t1, ProgramTime t2) { in calculateOverlappedIntervalScore()
220 static class ProgramTime { class in RoutineWatchEvaluator
226 public static ProgramTime createFromProgram(Program p) { in createFromProgram()
240 return new ProgramTime(startTimeOfDayInSec, endTimeOfDayInSec, weekDay, dayChanged); in createFromProgram()
243 private ProgramTime(int startTimeOfDayInSec, int endTimeOfDayInSec, int weekDay, in ProgramTime() method in RoutineWatchEvaluator.ProgramTime