Home
last modified time | relevance | path

Searched refs:mPrograms (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java871 private final List<Program> mPrograms = new ArrayList<>(); field in TimeShiftManager.ProgramManager
898 mPrograms.clear(); in onAvailabilityChanged()
908 mPrograms.add(program); in onAvailabilityChanged()
915 mPrograms.addAll( in onAvailabilityChanged()
996 if (mPrograms.isEmpty()) { in addDummyPrograms()
998 mPrograms.addAll(createDummyPrograms(startTimeMs, endTimeMs)); in addDummyPrograms()
1002 Program firstProgram = mPrograms.get(0); in addDummyPrograms()
1006 mPrograms.remove(0); in addDummyPrograms()
1007 mPrograms.addAll( in addDummyPrograms()
1011 mPrograms.addAll( in addDummyPrograms()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/
DBrowseAdapter.java49 private @NonNull List<Entry> mPrograms = new ArrayList<>(); field in BrowseAdapter
129 for (Entry entry : mPrograms) { in setProgramList()
138 mPrograms.removeAll(remove); in setProgramList()
143 .forEachOrdered(mPrograms::add); in setProgramList()
157 mPrograms = mPrograms.stream() in removeFormerFavorites()
172 for (Entry entry : mPrograms) { in onFavoritesChanged()
179 favMap.values().stream().map(p -> new Entry(p, true)).forEachOrdered(mPrograms::add); in onFavoritesChanged()
223 if (position == 0 && mPrograms.size() == 0) { in getEntryLocked()
226 return mPrograms.get(position); in getEntryLocked()
232 int cnt = mPrograms.size(); in getItemCount()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrSeriesSchedulesFragment.java68 private List<Program> mPrograms; field in DvrSeriesSchedulesFragment
135 mPrograms = in onAttach()
139 if (args == null || mPrograms == null) { in onAttach()
165 ((SeriesScheduleRowAdapter) getRowsAdapter()).setPrograms(mPrograms); in onProgramsUpdated()
170 if (mPrograms == null || mPrograms.isEmpty()) { in updateEmptyMessage()
226 mPrograms = programs == null ? Collections.EMPTY_LIST : programs; in executeProgramLoadingTask()
DSeriesScheduleRowAdapter.java55 private final Map<Long, Program> mPrograms = new ArrayMap<>(); field in SeriesScheduleRowAdapter
92 mPrograms.clear(); in setPrograms()
110 mPrograms.put(program.getId(), program); in setPrograms()
122 for (long programId : mPrograms.keySet()) { in getDescription()
252 for (Iterator<Program> iter = mPrograms.values().iterator(); iter.hasNext(); ) { in handleUpdateRow()
272 for (Program program : mPrograms.values()) { in getNextTimerMs()
DSchedulesHeaderRow.java84 private List<Program> mPrograms; field in SchedulesHeaderRow.SeriesRecordingHeaderRow
94 mPrograms = programs; in SeriesRecordingHeaderRow()
99 return mPrograms; in getPrograms()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java83 private List<Program> mPrograms; field in DvrSeriesSettingsFragment
105 mPrograms = in onAttach()
108 if (mPrograms == null) { in onAttach()
115 for (Program program : mPrograms) { in onAttach()
317 for (Program program : mPrograms) { in updateSchedulesToSeries()
364 getContext(), mSeriesRecording, mShowViewScheduleOptionInDialog, mPrograms); in showConfirmDialog() local
DDvrSeriesScheduledFragment.java52 private List<Program> mPrograms; field in DvrSeriesScheduledFragment
84 mPrograms = (List<Program>) BigArguments.getArgument(SERIES_SCHEDULED_KEY_PROGRAMS); in onAttach()
143 DvrSeriesSchedulesFragment.SERIES_SCHEDULES_KEY_SERIES_PROGRAMS, mPrograms); in onTrackedGuidedActionClicked()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java210 private List<EitItem> mPrograms; field in TunerSessionWorkerExoV2
960 mPrograms = pair.second; in handleMessageScheduleOfPrograms()
966 if (mPrograms != null) { in handleMessageScheduleOfPrograms()
967 for (EitItem item : mPrograms) { in handleMessageScheduleOfPrograms()
1009 && mPrograms == null in handleMessageProgramDataResult()
1748 mPrograms = null; in prepareTune()
1790 + (mPrograms != null ? mPrograms.size() : 0) in doReschedulePrograms()
1794 mHandler.obtainMessage(MSG_SCHEDULE_OF_PROGRAMS, Pair.create(mChannel, mPrograms)) in doReschedulePrograms()
1906 if (mPrograms == null || mPrograms.isEmpty()) { in getCurrentProgram()
1911 EitItem first = mPrograms.get(0); in getCurrentProgram()
[all …]
DTunerSessionWorker.java220 private List<EitItem> mPrograms; field in TunerSessionWorker
1005 mPrograms = pair.second; in handleMessageScheduleOfPrograms()
1011 if (mPrograms != null) { in handleMessageScheduleOfPrograms()
1012 for (EitItem item : mPrograms) { in handleMessageScheduleOfPrograms()
1054 && mPrograms == null in handleMessageProgramDataResult()
1831 mPrograms = null; in prepareTune()
1873 + (mPrograms != null ? mPrograms.size() : 0) in doReschedulePrograms()
1877 mHandler.obtainMessage(MSG_SCHEDULE_OF_PROGRAMS, Pair.create(mChannel, mPrograms)) in doReschedulePrograms()
1989 if (mPrograms == null || mPrograms.isEmpty()) { in getCurrentProgram()
1994 EitItem first = mPrograms.get(0); in getCurrentProgram()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DFakeSearchInterface.java31 public final List<Program> mPrograms = new ArrayList<>(); field in FakeSearchInterface
37 for (Program program : mPrograms) { in search()
DLocalSearchProviderTest.java221 mFakeSearchInterface.mPrograms.add(mProgram1); in query_program1()
/packages/apps/TV/src/com/android/tv/data/
DPreviewDataManager.java378 private Set<PreviewProgramContent> mPrograms; field in PreviewDataManager.UpdatePreviewProgramTask
385 mPrograms = programs; in UpdatePreviewProgramTask()
407 return mPrograms; in getPrograms()
418 for (PreviewProgramContent program : mPrograms) { in doInBackground()