Searched refs:recordedProgramId (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrWatchedPositionManager.java | 65 public void setWatchedPosition(long recordedProgramId, long positionMs) { in setWatchedPosition() argument 66 mWatchedPositions.edit().putLong(Long.toString(recordedProgramId), positionMs).apply(); in setWatchedPosition() 67 notifyWatchedPositionChanged(recordedProgramId, positionMs); in setWatchedPosition() 71 public long getWatchedPosition(long recordedProgramId) { in getWatchedPosition() argument 73 Long.toString(recordedProgramId), TvInputManager.TIME_SHIFT_INVALID_TIME); in getWatchedPosition() 90 public void addListener(WatchedPositionChangedListener listener, long recordedProgramId) { in addListener() argument 91 if (recordedProgramId == RecordedProgram.ID_NOT_SET) { in addListener() 94 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in addListener() 97 mListeners.put(recordedProgramId, listenerSet); in addListener() 104 for (long recordedProgramId : new ArrayList<>(mListeners.keySet())) { in removeListener() [all …]
|
D | DvrManager.java | 489 public void removeRecordedProgram(long recordedProgramId, boolean deleteFile) { in removeRecordedProgram() argument 493 RecordedProgram recordedProgram = mDataManager.getRecordedProgram(recordedProgramId); in removeRecordedProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | CurrentRecordingDetailsFragment.java | 104 Long recordedProgramId = getRecording().getRecordedProgramId(); in onCreateActionsAdapter() local 105 if (recordedProgramId != null) { in onCreateActionsAdapter() 106 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 | 78 long recordedProgramId = ContentUris.parseId(uri); in createProgramIntent() local 79 intent.putExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, recordedProgramId); in createProgramIntent()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 249 public Builder setRecordedProgramId(Long recordedProgramId) { in setRecordedProgramId() argument 250 mRecodedProgramId = recordedProgramId; in setRecordedProgramId() 546 Long recordedProgramId, in ScheduledRecording() argument 566 mRecordedProgramId = recordedProgramId; in ScheduledRecording()
|