Searched refs:mProgramManager (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramListAdapter.java | 40 private final ProgramManager mProgramManager; field in ProgramListAdapter 49 mProgramManager = programManager; in ProgramListAdapter() 58 Channel channel = mProgramManager.getChannel(mChannelIndex); in onTableEntriesUpdated() 69 return mProgramManager; in getProgramManager() 74 return mProgramManager.getTableEntryCount(mChannelId); in getItemCount() 84 return mProgramManager.getTableEntry(mChannelId, position).getId(); in getItemId() 89 TableEntry tableEntry = mProgramManager.getTableEntry(mChannelId, position); in onBindViewHolder()
|
D | ProgramRow.java | 41 private ProgramManager mProgramManager; field in ProgramRow 152 long fromMillis = mProgramManager.getFromUtcMillis(); in focusSearch() 153 long toMillis = mProgramManager.getToUtcMillis(); in focusSearch() 175 scrollByTime(focusedEntry.entryEndUtcMillis - mProgramManager.getToUtcMillis()); in focusSearch() 207 mProgramManager.shiftTime(timeToScroll); in scrollByTime() 300 mProgramManager = programManager; in setProgramManager() 308 + mProgramManager.getStartTime(); in resetScroll() 309 int position = mChannel == null ? -1 : mProgramManager.getProgramIndexAtTime( in resetScroll() 314 TableEntry entry = mProgramManager.getTableEntry(mChannel.getId(), position); in resetScroll() 316 mProgramManager.getStartTime(), entry.entryStartUtcMillis) - scrollOffset; in resetScroll()
|
D | ProgramTableAdapter.java | 73 private final ProgramManager mProgramManager; field in ProgramTableAdapter 97 mProgramManager = programManager; in ProgramTableAdapter() 137 mProgramManager.addListener(new ProgramManager.ListenerAdapter() { in ProgramTableAdapter() 149 mProgramManager.addTableEntryChangedListener(this); in ProgramTableAdapter() 153 if (DEBUG) Log.d(TAG, "update " + mProgramManager.getChannelCount() + " channels"); in update() 155 mProgramManager.removeTableEntriesUpdatedListener(listener); in update() 158 for (int i = 0; i < mProgramManager.getChannelCount(); i++) { in update() 160 mProgramManager, i); in update() 161 mProgramManager.addTableEntriesUpdatedListener(listAdapter); in update() 192 int channelIndex = mProgramManager.getChannelIndex(tableEntry.channelId); in onTableEntryChanged() [all …]
|
D | GenreListAdapter.java | 40 private final ProgramManager mProgramManager; field in GenreListAdapter 46 mProgramManager = programManager; in GenreListAdapter() 47 mProgramManager.addListener(new ProgramManager.ListenerAdapter() { in GenreListAdapter() 59 List<Integer> filteredGenreIds = mProgramManager.getFilteredGenreIds(); in getItemCount() 74 List<Integer> filteredGenreIds = mProgramManager.getFilteredGenreIds(); in onBindViewHolder()
|
D | ProgramGuide.java | 91 private final ProgramManager mProgramManager; field in ProgramGuide 168 mProgramManager = new ProgramManager(tvInputManagerHelper, channelDataManager, in ProgramGuide() 202 GenreListAdapter genreListAdapter = new GenreListAdapter(mActivity, mProgramManager, this); in ProgramGuide() 249 mProgramManager, this); in ProgramGuide() 261 mGrid.initialize(mProgramManager); in ProgramGuide() 363 mProgramManager.resetChannelListWithGenre(mLastRequestedGenreId); in ProgramGuide() 479 mProgramManager.programGuideVisibilityChanged(true); in show() 483 mProgramManager.updateInitialTimeRange(mStartUtcTime, mStartUtcTime + mViewPortMillis); in show() 484 mProgramManager.addListener(mProgramManagerListener); in show() 557 mProgramManager.programGuideVisibilityChanged(false); in hide() [all …]
|
D | ProgramGrid.java | 80 private ProgramManager mProgramManager; field in ProgramGrid 140 mProgramManager = programManager; in initialize() 162 mProgramManager.addListener(mProgramManagerListener); in onAttachedToWindow() 169 mProgramManager.removeListener(mProgramManagerListener); in onDetachedFromWindow()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 151 private final ProgramManager mProgramManager; field in TimeShiftManager 178 mProgramManager = new ProgramManager(programDataManager); in TimeShiftManager() 218 long oldestProgramStartTime = mProgramManager.getOldestProgramStartTime(); in getRecordStartTimeMs() 320 Program program = mProgramManager.getProgramAt( in jumpToPrevious() 345 Program currentProgram = mProgramManager.getProgramAt( in jumpToNext() 350 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis()); in jumpToNext() 499 Program program = mProgramManager.getProgramAt(timeMs); in getProgramAt() 502 mProgramManager.addDummyProgramsAt(timeMs); in getProgramAt() 503 program = mProgramManager.getProgramAt(timeMs); in getProgramAt() 509 mProgramManager.onAvailabilityChanged(mPlayController.mAvailable, in onAvailabilityChanged() [all …]
|