Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrHistoryFragment.java39 private DvrHistoryRowAdapter mRowsAdapter; field in DvrHistoryFragment
54 mRowsAdapter = in onCreate()
61 setAdapter(mRowsAdapter); in onCreate()
62 mRowsAdapter.start(); in onCreate()
99 if (mRowsAdapter != null) { in onScheduledRecordingAdded()
101 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded()
103 if (mRowsAdapter.size() > 0) { in onScheduledRecordingAdded()
111 if (mRowsAdapter != null) { in onScheduledRecordingRemoved()
113 mRowsAdapter.onScheduledRecordingRemoved(recording); in onScheduledRecordingRemoved()
115 if (mRowsAdapter.size() == 0) { in onScheduledRecordingRemoved()
[all …]
DBaseDvrSchedulesFragment.java40 private ScheduleRowAdapter mRowsAdapter; field in BaseDvrSchedulesFragment
49 mRowsAdapter = onCreateRowsAdapter(presenterSelector); in onCreate()
50 setAdapter(mRowsAdapter); in onCreate()
51 mRowsAdapter.start(); in onCreate()
71 return mRowsAdapter; in getRowsAdapter()
101 mRowsAdapter.stop(); in onDestroy()
117 for (int i = 0; i < mRowsAdapter.size(); i++) { in getFirstItemPosition()
118 if (mRowsAdapter.get(i) instanceof ScheduleRow) { in getFirstItemPosition()
127 if (mRowsAdapter != null) { in onScheduledRecordingAdded()
129 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java86 private ArrayObjectAdapter mRowsAdapter; field in DvrBrowseFragment
261 mRowsAdapter.clear(); in onDestroy()
402 setSelectedPosition(mRowsAdapter.indexOf(mScheduledRow), true, null); in showScheduledRowInternal()
414 mRowsAdapter = new ArrayObjectAdapter(new DvrListRowPresenter(getContext())); in prepareUiElements()
415 setAdapter(mRowsAdapter); in prepareUiElements()
461 mRowsAdapter.add(mScheduledRow); in startBrowseIfDvrInitialized()
637 mRowsAdapter.remove(mRecentRow); in updateRows()
639 if (mRowsAdapter.indexOf(mRecentRow) < 0) { in updateRows()
640 mRowsAdapter.add(0, mRecentRow); in updateRows()
645 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()
102 return mRowsAdapter; in getRowsAdapter()
109 mRowsAdapter.add(mDetailsOverview); in setDetailsOverviewRow()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java79 private ArrayObjectAdapter mRowsAdapter; field in DvrPlaybackOverlayFragment
100 mRowsAdapter.notifyArrayItemRangeChanged(0, 1);
469 mRowsAdapter.remove(mRelatedRecordingsRow); in updateRelatedRecordingsRow()
471 mRowsAdapter.add(mRelatedRecordingsRow); in updateRelatedRecordingsRow()
474 mRowsAdapter.notifyArrayItemRangeChanged(1, 1); in updateRelatedRecordingsRow()
480 mRowsAdapter = (ArrayObjectAdapter) getAdapter(); in setUpRows()
482 (ClassPresenterSelector) mRowsAdapter.getPresenterSelector(); in setUpRows()
484 mRowsAdapter.setPresenterSelector(selector); in setUpRows()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java71 private ArrayObjectAdapter mRowsAdapter; field in ProgramDetailsFragment
121 mRowsAdapter = new ArrayObjectAdapter(onCreatePresenterSelector(rowPresenter)); in setupAdapter()
122 setAdapter(mRowsAdapter); in setupAdapter()
129 mRowsAdapter.add(mDetailsOverview); in setDetailsOverviewRow()