Lines Matching refs:programs
47 /** Class for updating the preview programs for {@link Channel}. */
114 * Starts the routine service for updating the preview programs.
142 * Updates the preview programs table.
177 Set<Program> programs = new HashSet<>();
184 programs.add(program);
185 if (programs.size() >= RECOMMENDATION_COUNT) {
191 return programs;
215 // We recommend those programs that meet the condition only.
221 protected void onPostExecute(Set<Program> programs) {
222 updatePreviewDataForChannelsInternal(programs);
227 private void updatePreviewDataForChannelsInternal(Set<Program> programs) {
231 // Only create if there is enough programs
232 if (programs.size() > MIN_COUNT_TO_ADD_ROW) {
245 createdPreviewChannelId, programs));
252 generatePreviewProgramContentsFromPrograms(defaultPreviewChannelId, programs));
257 long previewChannelId, Set<Program> programs) {
259 for (Program program : programs) {
294 * Job to execute the update of preview programs.