Lines Matching refs:program
56 // The left time of a program should meet the threshold so that it could be recommended.
181 final Program program = Utils.getCurrentProgram(mContext, channel.getId());
182 if (program != null
183 && isChannelRecommendationApplicable(channel, program)) {
184 programs.add(program);
194 private boolean isChannelRecommendationApplicable(Channel channel, Program program) {
196 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis();
200 if (TextUtils.isEmpty(program.getPosterArtUri())) {
206 program.getContentRatings()))) {
209 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis();
259 for (Program program : programs) {
261 PreviewProgramContent.createFromProgram(mContext, previewChannelId, program);