Home
last modified time | relevance | path

Searched refs:mRowsAdapter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DBaseDvrSchedulesFragment.java46 private ScheduleRowAdapter mRowsAdapter; field in BaseDvrSchedulesFragment
55 mRowsAdapter = onCreateRowsAdapter(presenterSelector); in onCreate()
56 setAdapter(mRowsAdapter); in onCreate()
57 mRowsAdapter.start(); in onCreate()
79 return mRowsAdapter; in getRowsAdapter()
113 mRowsAdapter.stop(); in onDestroy()
136 for (int i = 0; i < mRowsAdapter.size(); i++) { in getFirstItemPosition()
137 if (mRowsAdapter.get(i) instanceof ScheduleRow) { in getFirstItemPosition()
146 if (mRowsAdapter != null) { in onScheduledRecordingAdded()
148 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java82 private ArrayObjectAdapter mRowsAdapter; field in DvrBrowseFragment
213 mRowsAdapter.clear(); in onDestroy()
344 setSelectedPosition(mRowsAdapter.indexOf(mScheduledRow), true, null); in showScheduledRowInternal()
356 mRowsAdapter = new ArrayObjectAdapter(new DvrListRowPresenter(getContext())); in prepareUiElements()
357 setAdapter(mRowsAdapter); in prepareUiElements()
388 mRowsAdapter.add(mScheduledRow); in startBrowseIfDvrInitialized()
559 mRowsAdapter.remove(mRecentRow); in updateRows()
561 if (mRowsAdapter.indexOf(mRecentRow) < 0) { in updateRows()
562 mRowsAdapter.add(0, mRecentRow); in updateRows()
567 mRowsAdapter.remove(mSeriesRow); in updateRows()
[all …]
DDvrDetailsFragment.java61 private ArrayObjectAdapter mRowsAdapter; field in DvrDetailsFragment
96 mRowsAdapter = new ArrayObjectAdapter(onCreatePresenterSelector(rowPresenter)); in setupAdapter()
97 setAdapter(mRowsAdapter); in setupAdapter()
104 return mRowsAdapter; in getRowsAdapter()
113 mRowsAdapter.add(mDetailsOverview); in setDetailsOverviewRow()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java77 private ArrayObjectAdapter mRowsAdapter; field in DvrPlaybackOverlayFragment
99 mRowsAdapter.notifyArrayItemRangeChanged(0, 1);
423 mRowsAdapter.remove(mRelatedRecordingsRow); in updateRelatedRecordingsRow()
425 mRowsAdapter.add(mRelatedRecordingsRow); in updateRelatedRecordingsRow()
428 mRowsAdapter.notifyArrayItemRangeChanged(1, 1); in updateRelatedRecordingsRow()
434 mRowsAdapter = (ArrayObjectAdapter) getAdapter(); in setUpRows()
436 (ClassPresenterSelector) mRowsAdapter.getPresenterSelector(); in setUpRows()
438 mRowsAdapter.setPresenterSelector(selector); in setUpRows()