Home
last modified time | relevance | path

Searched refs:PreviewProgramContent (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java35 public class PreviewProgramContent { class
49 public static PreviewProgramContent createFromProgram( in createFromProgram()
59 public static PreviewProgramContent createFromRecordedProgram( in createFromRecordedProgram()
69 static PreviewProgramContent createFromProgram( in createFromProgram()
72 return new PreviewProgramContent.Builder() in createFromProgram()
91 static PreviewProgramContent createFromRecordedProgram( in createFromRecordedProgram()
95 return new PreviewProgramContent.Builder() in createFromRecordedProgram()
110 private PreviewProgramContent() {} in PreviewProgramContent() method in PreviewProgramContent
113 public void copyFrom(PreviewProgramContent other) { in copyFrom()
178 if (!(other instanceof PreviewProgramContent)) { in equals()
[all …]
DPreviewDataManager.java166 Set<PreviewProgramContent> programs, in updatePreviewProgramsForChannel()
378 private Set<PreviewProgramContent> mPrograms;
383 long previewChannelId, Set<PreviewProgramContent> programs) { in UpdatePreviewProgramTask()
406 public Set<PreviewProgramContent> getPrograms() { in getPrograms()
418 for (PreviewProgramContent program : mPrograms) { in doInBackground()
603 PreviewProgramContent program, int aspectRatio) { in createPreviewProgramFromContent()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelPreviewUpdater.java36 import com.android.tv.data.PreviewProgramContent;
271 private Set<PreviewProgramContent> generatePreviewProgramContentsFromPrograms( in generatePreviewProgramContentsFromPrograms()
273 Set<PreviewProgramContent> result = new HashSet<>(); in generatePreviewProgramContentsFromPrograms()
275 PreviewProgramContent previewProgramContent = in generatePreviewProgramContentsFromPrograms()
276 PreviewProgramContent.createFromProgram(mContext, previewChannelId, program); in generatePreviewProgramContentsFromPrograms()
285 long previewChannelId, Set<PreviewProgramContent> previewProgramContents) { in updatePreviewProgramsForPreviewChannel()
DRecordedProgramPreviewUpdater.java26 import com.android.tv.data.PreviewProgramContent;
163 private Set<PreviewProgramContent> generatePreviewProgramContentsFromRecordedPrograms( in generatePreviewProgramContentsFromRecordedPrograms()
165 Set<PreviewProgramContent> result = new HashSet<>(); in generatePreviewProgramContentsFromRecordedPrograms()
168 PreviewProgramContent.createFromRecordedProgram( in generatePreviewProgramContentsFromRecordedPrograms()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DPreviewDataManagerTest.java161 PreviewProgramContent.createFromProgram( in createPreviewProgram_fromProgram()
177 Pair.create(PreviewProgramContent.PARAM_INPUT, FAKE_INPUT_ID))); in createPreviewProgram_fromProgram()
196 PreviewProgramContent.createFromRecordedProgram( in createPreviewProgram_fromRecordedProgram()
211 Pair.create(PreviewProgramContent.PARAM_INPUT, FAKE_INPUT_ID))); in createPreviewProgram_fromRecordedProgram()