Home
last modified time | relevance | path

Searched refs:recording (Results 1 – 25 of 57) sorted by relevance

123

/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingPresenter.java53 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 …]
DDetailsContent.java128 private static String getErrorMessage(Context context, ScheduledRecording recording) { in getErrorMessage() argument
129 int reason = recording.getFailedReason() == null in getErrorMessage()
131 : recording.getFailedReason(); in getErrorMessage()
140 recording.getInputId()); in getErrorMessage()
/packages/apps/TV/tests/common/src/com/android/tv/input/
DTunerHelper.java44 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/
DBaseDvrSchedulesFragment.java128 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()
DScheduleRowAdapter.java113 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 …]
DDvrHistoryRowAdapter.java102 for (ScheduledRecording recording : section) { in start()
103 add(new ScheduleRow(recording, headerRow)); in start()
242 private void addScheduleRow(ScheduledRecording recording) { in addScheduleRow() argument
245 if (recording != null) { in addScheduleRow()
252 .compare(scheduleRow.getSchedule(), recording) > 0) { in addScheduleRow()
258 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
262 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow()
268 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow()
281 ScheduleRow addedRow = new ScheduleRow(recording, headerRow); in addScheduleRow()
292 private ScheduleRow findRowByScheduledRecording(ScheduledRecording recording) { in findRowByScheduledRecording() argument
[all …]
DDvrHistoryFragment.java93 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingAdded()
94 mRowsAdapter.onScheduledRecordingAdded(recording); in onScheduledRecordingAdded()
105 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingRemoved()
106 mRowsAdapter.onScheduledRecordingRemoved(recording); in onScheduledRecordingRemoved()
117 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingStatusChanged()
118 mRowsAdapter.onScheduledRecordingUpdated(recording); in onScheduledRecordingStatusChanged()
DDvrSchedulesFragment.java69 ScheduledRecording recording = null; in getFirstItemPosition() local
71 recording = args.getParcelable(SCHEDULES_KEY_SCHEDULED_RECORDING); in getFirstItemPosition()
74 getRowsAdapter().indexOf(getRowsAdapter().findRowByScheduledRecording(recording)); in getFirstItemPosition()
DEpisodicProgramRow.java33 ScheduledRecording recording, in EpisodicProgramRow() argument
35 super(recording, headerRow); in EpisodicProgramRow()
DScheduleRow.java32 public ScheduleRow(@Nullable ScheduledRecording recording, SchedulesHeaderRow headerRow) { in ScheduleRow() argument
33 mSchedule = recording; in ScheduleRow()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesDeletionFragment.java121 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()
DDvrSeriesScheduledFragment.java90 for (ScheduledRecording recording : conflictingRecordings) { in onAttach()
91 if (recording.getSeriesRecordingId() == mSeriesRecording.getId()) { in onAttach()
93 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java278 for (ScheduledRecording recording : scheduledRecordings) {
279 if (recording.getProgramId() == mProgram.getId()) {
280 mScheduledRecording = recording;
292 for (ScheduledRecording recording : scheduledRecordings) {
293 if (recording.getId() == mScheduledRecording.getId()) {
306 for (ScheduledRecording recording : scheduledRecordings) {
307 if (recording.getId() == mScheduledRecording.getId()) {
308 mScheduledRecording = recording;
DChannelBannerView.java794 Program program, @Nullable ScheduledRecording recording) {
798 updateRecordingIndicator(recording);
799 if (recording != null) {
803 recording.getStartTimeMs(), programStartTime, programEndTime));
814 private void updateRecordingIndicator(@Nullable ScheduledRecording recording) {
815 if (recording != null) {
824 recording.getEndTimeMs(),
837 private boolean isCurrentProgram(ScheduledRecording recording, Program program) {
839 return (recording.getType() == ScheduledRecording.TYPE_PROGRAM
840 && recording.getProgramId() == program.getId())
[all …]
/packages/apps/Dialer/java/com/android/dialer/performancereport/
DPerformanceReport.java49 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/
DTunerSessionWorkerExoV2.java686 RecordedProgram recording = null; in onQuery() local
688 recording = new RecordedProgram(c); in onQuery()
690 return recording; in onQuery()
725 RecordedProgram recording = getRecordedProgram(uri); in parseRecording() local
726 if (recording != null) { in parseRecording()
727 mRecordedProgramStartTimeMs = recording.getStartTime(); in parseRecording()
728 return recording.getDataUri(); in parseRecording()
838 String recording = null; in handleMessageTune() local
842 recording = parseRecording(channelUri); in handleMessageTune()
844 if (channel == null && recording == null) { in handleMessageTune()
[all …]
DTunerSessionWorker.java678 RecordedProgram recording = null; in onQuery() local
680 recording = new RecordedProgram(c); in onQuery()
682 return recording; in onQuery()
715 RecordedProgram recording = getRecordedProgram(uri); in parseRecording() local
716 if (recording != null) { in parseRecording()
717 mRecordedProgramStartTimeMs = recording.getStartTime(); in parseRecording()
718 return recording.getDataUri(); in parseRecording()
828 String recording = null; in handleMessageTune() local
832 recording = parseRecording(channelUri); in handleMessageTune()
834 if (channel == null && recording == null) { in handleMessageTune()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java439 public void stopRecording(final ScheduledRecording recording) { in stopRecording() argument
445 entry.getValue().post(() -> entry.getKey().onStopRecordingRequested(recording)); in stopRecording()
567 public void updateScheduledRecording(ScheduledRecording recording) { in updateScheduledRecording() argument
569 mDataManager.updateScheduledRecording(recording); in updateScheduledRecording()
706 for (ScheduledRecording recording : mDataManager.getStartedRecordings()) { in getCurrentRecording()
707 if (recording.getChannelId() == channelId) { in getCurrentRecording()
708 return recording; in getCurrentRecording()
DDvrScheduleManager.java948 for (ScheduledRecording recording : recordings) { in findReplaceableRecording()
949 if (schedule.getPriority() > recording.getPriority()) { in findReplaceableRecording()
950 if (candidate == null || CANDIDATE_COMPARATOR.compare(candidate, recording) > 0) { in findReplaceableRecording()
951 candidate = recording; in findReplaceableRecording()
960 for (ScheduledRecording recording : recordings) { in getEarliestEndTime()
961 if (earliest > recording.getEndTimeMs()) { in getEarliestEndTime()
962 earliest = recording.getEndTimeMs(); in getEarliestEndTime()
/packages/apps/Camera2/src/com/android/camera/
DVideoUI.java170 public void showRecordingUI(boolean recording) { in showRecordingUI() argument
171 mRecordingStarted = recording; in showRecordingUI()
172 if (recording) { in showRecordingUI()
/packages/apps/TV/partner_support/g3doc/
DSeriesIdColumnForPartners.md1 # 3rd party instructions for using series recording feature of Live Channels
10 To enable series recording with Nougat you will need the following changes.
/packages/apps/Gallery2/res/raw/
Dbackdropper.graph78 recording = false;
83 // will be set when recording starts
Dgoofy_face.graph102 recording = false;
107 // will be set when recording starts
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph78 recording = false;
81 // will be set when recording starts
/packages/apps/Camera2/res/raw/
Dbackdropper.graph78 recording = false;
83 // will be set when recording starts

123