/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ScheduledRecordingPresenter.java | 53 protected void onBound(ScheduledRecording recording) { in onBound() argument 54 mScheduledRecording = recording; in onBound() 116 DvrItemViewHolder baseHolder, ScheduledRecording recording) { in onBindDvrItemViewHolder() argument 119 DetailsContent details = DetailsContent.createFromScheduledRecording(mContext, recording); in onBindDvrItemViewHolder() 122 if (recording.getState() == ScheduledRecording.STATE_RECORDING_FAILED) { in onBindDvrItemViewHolder() 124 } else if (mDvrManager.isConflicting(recording)) { in onBindDvrItemViewHolder() 127 cardView.setContent(generateMajorContent(recording), null); in onBindDvrItemViewHolder() 132 private String generateMajorContent(ScheduledRecording recording) { in generateMajorContent() argument 134 Utils.computeDateDifference(System.currentTimeMillis(), recording.getStartTimeMs()); in generateMajorContent() 140 recording.getStartTimeMs(), in generateMajorContent() [all …]
|
D | DetailsContent.java | 129 private static String getErrorMessage(Context context, ScheduledRecording recording) { in getErrorMessage() argument 131 recording.getFailedReason() == null in getErrorMessage() 133 : recording.getFailedReason(); in getErrorMessage() 141 R.string.dvr_recording_failed_input_unavailable, recording.getInputId()); in getErrorMessage()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | ScheduledProgramReaperTest.java | 85 ScheduledRecording recording = addNewScheduledRecordingForTomorrow(); in testRun_oneRecordingsTomorrow() local 86 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsTomorrow() 88 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsTomorrow() 93 ScheduledRecording recording = addNewScheduledRecordingForTomorrow(); in testRun_oneRecordingsStarted() local 94 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsStarted() 97 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsStarted() 102 ScheduledRecording recording = addNewScheduledRecordingForTomorrow(); in testRun_oneRecordingsFinished() local 103 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsFinished() 107 assertThat(mDvrDataManager.getAllScheduledRecordings()).containsExactly(recording); in testRun_oneRecordingsFinished() 112 ScheduledRecording recording = addNewScheduledRecordingForTomorrow(); in testRun_oneRecordingsExpired() local [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/input/ |
D | TunerHelper.java | 44 if (!tuner.recording) { in tunerAvailableForRecording() 65 } else if (forRecording && !tuner.recording) { in tune() 66 tuner.recording = true; in tune() 90 if (tuner.recording) { in stopTune() 116 if (tuner.recording) { in stopRecording() 131 candidate.recording = false; in stopRecording() 138 public boolean recording; field in TunerHelper.Tuner 143 this.recording = forRecording; in Tuner()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | DvrHistoryRowAdapter.java | 106 for (ScheduledRecording recording : section) { in start() 107 add(new ScheduleRow(recording, headerRow)); in start() 246 private void addScheduleRow(ScheduledRecording recording) { in addScheduleRow() argument 249 if (recording != null) { in addScheduleRow() 257 .compare(scheduleRow.getSchedule(), recording) in addScheduleRow() 264 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow() 268 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow() 274 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow() 287 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow() 298 private ScheduleRow findRowByScheduledRecording(ScheduledRecording recording) { in findRowByScheduledRecording() argument [all …]
|
D | BaseDvrSchedulesFragment.java | 128 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingAdded() 129 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded() 137 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingRemoved() 138 mRowsAdapter.onScheduledRecordingRemoved(recording); in onScheduledRecordingRemoved() 146 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingStatusChanged() 147 mRowsAdapter.onScheduledRecordingUpdated(recording, false); in onScheduledRecordingStatusChanged() 155 for (ScheduledRecording recording : schedules) { in onConflictStateChange() 156 mRowsAdapter.onScheduledRecordingUpdated(recording, true); in onConflictStateChange()
|
D | ScheduleRowAdapter.java | 113 for (ScheduledRecording recording : section) { in start() 114 add(new ScheduleRow(recording, headerRow)); in start() 157 public ScheduleRow findRowByScheduledRecording(ScheduledRecording recording) { in findRowByScheduledRecording() argument 158 if (recording == null) { in findRowByScheduledRecording() 164 if (((ScheduleRow) item).getSchedule().getId() == recording.getId()) { in findRowByScheduledRecording() 188 private void addScheduleRow(ScheduledRecording recording) { in addScheduleRow() argument 191 if (recording != null) { in addScheduleRow() 198 scheduleRow.getSchedule(), recording) in addScheduleRow() 205 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow() 209 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow() [all …]
|
D | DvrHistoryFragment.java | 100 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingAdded() 101 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded() 112 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingRemoved() 113 mRowsAdapter.onScheduledRecordingRemoved(recording); in onScheduledRecordingRemoved() 124 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingStatusChanged() 125 mRowsAdapter.onScheduledRecordingUpdated(recording); in onScheduledRecordingStatusChanged()
|
D | DvrSchedulesFragment.java | 69 ScheduledRecording recording = null; in getFirstItemPosition() local 71 recording = args.getParcelable(SCHEDULES_KEY_SCHEDULED_RECORDING); in getFirstItemPosition() 74 getRowsAdapter().indexOf(getRowsAdapter().findRowByScheduledRecording(recording)); in getFirstItemPosition()
|
D | EpisodicProgramRow.java | 34 ScheduledRecording recording, in EpisodicProgramRow() argument 36 super(recording, headerRow); in EpisodicProgramRow()
|
D | ScheduleRow.java | 32 public ScheduleRow(@Nullable ScheduledRecording recording, SchedulesHeaderRow headerRow) { in ScheduleRow() argument 33 mSchedule = recording; in ScheduleRow()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionFragment.java | 121 for (RecordedProgram recording : mRecordings) { in onCreateActions() 123 mDvrWatchedPositionManager.getWatchedPosition(recording.getId()); in onCreateActions() 124 String title = recording.getEpisodeDisplayTitle(getContext()); in onCreateActions() 127 TextUtils.isEmpty(recording.getTitle()) in onCreateActions() 129 : recording.getTitle(); in onCreateActions() 133 description = getWatchedString(watchedPositionMs, recording.getDurationMillis()); in onCreateActions() 134 mWatchedRecordings.add(recording.getId()); in onCreateActions() 140 .id(recording.getId()) in onCreateActions()
|
D | DvrSeriesScheduledFragment.java | 96 for (ScheduledRecording recording : conflictingRecordings) { in onAttach() 97 if (recording.getSeriesRecordingId() == mSeriesRecording.getId()) { in onAttach() 99 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 295 for (ScheduledRecording recording : scheduledRecordings) { 296 if (recording.getProgramId() == mProgram.getId()) { 297 mScheduledRecording = recording; 309 for (ScheduledRecording recording : scheduledRecordings) { 310 if (recording.getId() == mScheduledRecording.getId()) { 323 for (ScheduledRecording recording : scheduledRecordings) { 324 if (recording.getId() == mScheduledRecording.getId()) { 325 mScheduledRecording = recording;
|
D | ChannelBannerView.java | 818 Program program, @Nullable ScheduledRecording recording) { 822 updateRecordingIndicator(recording); 823 if (recording != null) { 827 recording.getStartTimeMs(), programStartTime, programEndTime)); 838 private void updateRecordingIndicator(@Nullable ScheduledRecording recording) { 839 if (recording != null) { 848 recording.getEndTimeMs(), 861 private boolean isCurrentProgram(ScheduledRecording recording, Program program) { 863 return (recording.getType() == ScheduledRecording.TYPE_PROGRAM 864 && recording.getProgramId() == program.getId()) [all …]
|
/packages/apps/Dialer/java/com/android/dialer/performancereport/ |
D | PerformanceReport.java | 49 private static boolean recording = false; field in PerformanceReport 69 recording = true; in startRecording() 74 recording = false; in stopRecording() 78 if (!recording) { in recordClick() 120 return recording; in isRecording()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 706 RecordedProgram recording = null; in onQuery() local 708 recording = new RecordedProgram(c); in onQuery() 710 return recording; in onQuery() 743 RecordedProgram recording = getRecordedProgram(uri); in parseRecording() local 744 if (recording != null) { in parseRecording() 745 if (channelId != -1 && channelId != recording.getChannelId()) { in parseRecording() 749 mRecordedProgramStartTimeMs = recording.getStartTime(); in parseRecording() 750 return recording.getDataUri(); in parseRecording() 856 String recording = null; in handleMessageTune() local 862 recording = parseRecording(channelUri, channelId); in handleMessageTune() [all …]
|
D | TunerSessionWorker.java | 711 RecordedProgram recording = null; in onQuery() local 713 recording = new RecordedProgram(c); in onQuery() 715 return recording; in onQuery() 752 RecordedProgram recording = getRecordedProgram(uri); in parseRecording() local 753 if (recording != null) { in parseRecording() 754 if (channelId != -1 && channelId != recording.getChannelId()) { in parseRecording() 758 mRecordedProgramStartTimeMs = recording.getStartTime(); in parseRecording() 759 return recording.getDataUri(); in parseRecording() 869 String recording = null; in handleMessageTune() local 875 recording = parseRecording(channelUri, channelId); in handleMessageTune() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 460 public void stopRecording(final ScheduledRecording recording) { in stopRecording() argument 466 entry.getValue().post(() -> entry.getKey().onStopRecordingRequested(recording)); in stopRecording() 588 public void updateScheduledRecording(ScheduledRecording recording) { in updateScheduledRecording() argument 590 mDataManager.updateScheduledRecording(recording); in updateScheduledRecording() 727 for (ScheduledRecording recording : mDataManager.getStartedRecordings()) { in getCurrentRecording() 728 if (recording.getChannelId() == channelId) { in getCurrentRecording() 729 return recording; in getCurrentRecording()
|
D | DvrScheduleManager.java | 950 for (ScheduledRecording recording : recordings) { in findReplaceableRecording() 951 if (schedule.getPriority() > recording.getPriority()) { in findReplaceableRecording() 952 if (candidate == null || CANDIDATE_COMPARATOR.compare(candidate, recording) > 0) { in findReplaceableRecording() 953 candidate = recording; in findReplaceableRecording() 962 for (ScheduledRecording recording : recordings) { in getEarliestEndTime() 963 if (earliest > recording.getEndTimeMs()) { in getEarliestEndTime() 964 earliest = recording.getEndTimeMs(); in getEarliestEndTime()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoUI.java | 170 public void showRecordingUI(boolean recording) { in showRecordingUI() argument 171 mRecordingStarted = recording; in showRecordingUI() 172 if (recording) { in showRecordingUI()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | BaseDvrDataManagerTest.java | 69 ScheduledRecording recording = in testGetNonStartedScheduledRecordings() local 73 Truth.assertThat(result).containsExactly(recording); in testGetNonStartedScheduledRecordings()
|
/packages/apps/Camera2/res/raw/ |
D | backdropper.graph | 78 recording = false; 83 // will be set when recording starts
|
/packages/apps/LegacyCamera/res/raw/ |
D | backdropper.graph | 78 recording = false; 81 // will be set when recording starts
|
/packages/apps/Gallery2/res/raw/ |
D | backdropper.graph | 78 recording = false; 83 // will be set when recording starts
|