Lines Matching refs:program
154 Program program = mProgramDataManager.getCurrentProgram(channel.getId());
155 if (program == null) {
158 if (contains(program.getTitle(), query)
159 && !isRatingBlocked(program.getContentRatings())) {
160 addResult(results, channelsFound, channel, program);
175 Program program = mProgramDataManager.getCurrentProgram(channel.getId());
176 if (program == null) {
179 if (contains(program.getDescription(), query)
180 && !isRatingBlocked(program.getContentRatings())) {
181 addResult(results, channelsFound, channel, program);
205 * If query is matched to channel, {@code program} should be null.
208 Program program) {
209 if (program == null) {
210 program = mProgramDataManager.getCurrentProgram(channel.getId());
211 if (program != null && isRatingBlocked(program.getContentRatings())) {
212 program = null;
221 if (program == null) {
231 result.title = program.getTitle();
233 channel.getDisplayName(), program.getStartTimeUtcMillis(),
234 program.getEndTimeUtcMillis());
235 result.imageUri = program.getPosterArtUri();
240 result.videoWidth = program.getVideoWidth();
241 result.videoHeight = program.getVideoHeight();
242 result.duration = program.getDurationMillis();
244 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis());
247 Log.d(TAG, "Add a result : channel=" + channel + " program=" + program);