Searched refs:recordedProgramId (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrWatchedPositionManager.java | 67 public void setWatchedPosition(long recordedProgramId, long positionMs) { in setWatchedPosition() argument 68 mWatchedPositions.edit().putLong(Long.toString(recordedProgramId), positionMs).apply(); in setWatchedPosition() 69 notifyWatchedPositionChanged(recordedProgramId, positionMs); in setWatchedPosition() 73 public long getWatchedPosition(long recordedProgramId) { in getWatchedPosition() argument 75 Long.toString(recordedProgramId), TvInputManager.TIME_SHIFT_INVALID_TIME); in getWatchedPosition() 92 public void addListener(WatchedPositionChangedListener listener, long recordedProgramId) { in addListener() argument 93 if (recordedProgramId == RecordedProgram.ID_NOT_SET) { in addListener() 96 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in addListener() 99 mListeners.put(recordedProgramId, listenerSet); in addListener() 106 for (long recordedProgramId : new ArrayList<>(mListeners.keySet())) { in removeListener() [all …]
|
D | DvrManager.java | 510 public void removeRecordedProgram(long recordedProgramId, boolean deleteFile) { in removeRecordedProgram() argument 514 RecordedProgram recordedProgram = mDataManager.getRecordedProgram(recordedProgramId); in removeRecordedProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | CurrentRecordingDetailsFragment.java | 105 Long recordedProgramId = getRecording().getRecordedProgramId(); in onCreateActionsAdapter() local 106 if (recordedProgramId != null) { in onCreateActionsAdapter() 107 mRecordedProgram = mDvrDataManger.getRecordedProgram(recordedProgramId); in onCreateActionsAdapter()
|
D | RecordedProgramDetailsFragment.java | 86 long recordedProgramId = args.getLong(DetailsActivity.RECORDING_ID); in onLoadRecordingDetails() local 87 mRecordedProgram = mDvrDataManager.getRecordedProgram(recordedProgramId); in onLoadRecordingDetails()
|
D | SeriesRecordingPresenter.java | 64 public void onWatchedPositionChanged(long recordedProgramId, long positionMs) { in onWatchedPositionChanged() argument 66 mWatchedPositionManager.removeListener(this, recordedProgramId); in onWatchedPositionChanged()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackActivity.java | 81 long recordedProgramId = ContentUris.parseId(uri); in createProgramIntent() local 82 intent.putExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, recordedProgramId); in createProgramIntent()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 256 public Builder setRecordedProgramId(Long recordedProgramId) { in setRecordedProgramId() argument 257 mRecodedProgramId = recordedProgramId; in setRecordedProgramId() 660 Long recordedProgramId, in ScheduledRecording() argument 682 mRecordedProgramId = recordedProgramId; in ScheduledRecording()
|