Home
last modified time | relevance | path

Searched refs:ScheduleRow (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowAdapter.java58 private final Set<ScheduleRow> mPendingUpdate = new ArraySet<>();
114 add(new ScheduleRow(recording, headerRow)); in start()
147 if (get(i) instanceof ScheduleRow) { in stop()
148 ScheduleRow row = (ScheduleRow) get(i); in stop()
157 public ScheduleRow findRowByScheduledRecording(ScheduledRecording recording) { in findRowByScheduledRecording()
163 if (item instanceof ScheduleRow && ((ScheduleRow) item).getSchedule() != null) { in findRowByScheduledRecording()
164 if (((ScheduleRow) item).getSchedule().getId() == recording.getId()) { in findRowByScheduledRecording()
165 return (ScheduleRow) item; in findRowByScheduledRecording()
172 private ScheduleRow findRowWithStartRequest(ScheduledRecording schedule) { in findRowWithStartRequest()
175 if (!(item instanceof ScheduleRow)) { in findRowWithStartRequest()
[all …]
DDvrHistoryRowAdapter.java103 add(new ScheduleRow(recording, headerRow)); in start()
189 ScheduleRow row = findRowByScheduledRecording(schedule); in onScheduledRecordingRemoved()
203 ScheduleRow row = findRowByRecordedProgram(program); in onScheduledRecordingRemoved()
215 ScheduleRow row = findRowByScheduledRecording(schedule); in onScheduledRecordingUpdated()
230 ScheduleRow row = findRowByRecordedProgram(program); in onScheduledRecordingUpdated()
249 if (get(index) instanceof ScheduleRow) { in addScheduleRow()
250 ScheduleRow scheduleRow = (ScheduleRow) get(index); in addScheduleRow()
260 SchedulesHeaderRow headerRow = ((ScheduleRow) get(pre)).getHeaderRow(); in addScheduleRow()
262 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow()
266 SchedulesHeaderRow headerRow = ((ScheduleRow) get(index)).getHeaderRow(); in addScheduleRow()
[all …]
DSeriesScheduleRowPresenter.java57 protected String onGetRecordingTimeText(ScheduleRow row) { in onGetRecordingTimeText()
63 protected String onGetProgramInfoText(ScheduleRow row) { in onGetProgramInfoText()
90 protected void onInfoClicked(ScheduleRow row) { in onInfoClicked()
95 protected void onStartRecording(ScheduleRow row) { in onStartRecording()
103 protected void onStopRecording(ScheduleRow row) { in onStopRecording()
111 protected void onCreateSchedule(ScheduleRow row) { in onCreateSchedule()
121 protected int[] getAvailableActions(ScheduleRow row) { in getAvailableActions()
DScheduleRowPresenter.java368 ScheduleRow row = (ScheduleRow) item; in onBindRowViewHolder()
518 protected String onGetRecordingTimeText(ScheduleRow row) { in onGetRecordingTimeText()
524 protected String onGetProgramInfoText(ScheduleRow row) { in onGetProgramInfoText()
528 private String getChannelNameText(ScheduleRow row) { in getChannelNameText()
541 protected void onInfoClicked(ScheduleRow row) { in onInfoClicked()
545 private boolean isInfoClickable(ScheduleRow row) { in isInfoClickable()
555 protected void onActionClicked(@ScheduleRowAction final int action, ScheduleRow row) { in onActionClicked()
574 protected void onStartRecording(ScheduleRow row) { in onStartRecording()
608 private void onStartRecordingInternal(ScheduleRow row) { in onStartRecordingInternal()
635 protected void onStopRecording(ScheduleRow row) { in onStopRecording()
[all …]
DScheduleRow.java26 class ScheduleRow { class
32 public ScheduleRow(@Nullable ScheduledRecording recording, SchedulesHeaderRow headerRow) { in ScheduleRow() method in ScheduleRow
DBaseDvrSchedulesFragment.java48 presenterSelector.addClassPresenter(ScheduleRow.class, onCreateRowPresenter()); in onCreate()
118 if (mRowsAdapter.get(i) instanceof ScheduleRow) { in getFirstItemPosition()
DEpisodicProgramRow.java26 class EpisodicProgramRow extends ScheduleRow {
DDvrHistoryFragment.java49 ScheduleRow.class, new ScheduleRowPresenter(getContext())); in onCreate()
DSeriesScheduleRowAdapter.java220 private void setScheduleToRow(ScheduleRow row, ScheduledRecording schedule) { in setScheduleToRow()