Lines Matching refs:program
70 protected void onBound(RecordedProgram program) {
71 mProgram = program;
73 mDvrWatchedPositionManager.addListener(this, program.getId());
74 setProgressBar(mDvrWatchedPositionManager.getWatchedPosition(program.getId()));
113 public void onBindDvrItemViewHolder(DvrItemViewHolder baseHolder, RecordedProgram program) {
116 DetailsContent details = DetailsContent.createFromRecordedProgram(mContext, program);
118 program.getEpisodeDisplayTitle(mContext) : details.getTitle());
120 cardView.setContent(generateMajorContent(program), generateMinorContent(program));
124 private String generateMajorContent(RecordedProgram program) {
125 int dateDifference = Utils.computeDateDifference(program.getStartTimeUtcMillis(),
132 return Utils.getDurationString(mContext, program.getStartTimeUtcMillis(),
133 program.getStartTimeUtcMillis(), false, true, false, 0);
137 private String generateMinorContent(RecordedProgram program) {
138 int durationMinutes = Math.max(1, Utils.getRoundOffMinsFromMs(program.getDurationMillis()));