Searched defs:currentProgram (Results 1 - 4 of 4) sorted by relevance

/packages/apps/TV/src/com/android/tv/
H A DMediaSessionWrapper.java96 * @param currentProgram The currently playing program.
98 void update(boolean blocked, Channel currentChannel, Program currentProgram) { argument
116 if (currentProgram != null) {
117 cardTitleText = currentProgram.getTitle();
118 posterArtUri = currentProgram.getPosterArtUri();
127 updatePosterArt(currentChannel, currentProgram, cardTitleText, null, posterArtUri);
150 private void updatePosterArt(Channel currentChannel, Program currentProgram, argument
157 currentProgram, cardTitleText));
/packages/apps/TV/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluator.java49 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/dvr/ui/
H A DDvrUiHelper.java450 Program currentProgram) {
459 showViewScheduleOptionInDialog, currentProgram);
470 showViewScheduleOptionInDialog, currentProgram);
492 Program currentProgram) {
504 intent.putExtra(DvrSeriesSettingsActivity.CURRENT_PROGRAM, currentProgram);
447 startSeriesSettingsActivity(Context context, long seriesRecordingId, @Nullable List<Program> programs, boolean removeEmptySeriesSchedule, boolean isWindowTranslucent, boolean showViewScheduleOptionInDialog, Program currentProgram) argument
489 startSeriesSettingsActivityInternal(Context context, long seriesRecordingId, @NonNull List<Program> programs, boolean removeEmptySeriesSchedule, boolean isWindowTranslucent, boolean showViewScheduleOptionInDialog, Program currentProgram) argument
/packages/apps/TV/src/com/android/tv/data/
H A DProgramDataManager.java376 long channelId, Program currentProgram) {
378 if (!Program.isValid(currentProgram)) {
394 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram
402 if (cachedProgram.getStartTimeUtcMillis() < currentProgram
406 currentProgram.getStartTimeUtcMillis()));
407 i.add(currentProgram);
409 i.set(currentProgram);
411 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) {
413 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(),
420 // currentProgram woul
375 removePreviousProgramsAndUpdateCurrentProgramInCache( long channelId, Program currentProgram) argument
[all...]

Completed in 91 milliseconds