/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 | 128 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/ |
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 | 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 | DvrHistoryRowAdapter.java | 102 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 …]
|
D | DvrHistoryFragment.java | 93 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()
|
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 | 33 ScheduledRecording recording, in EpisodicProgramRow() argument 35 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 | 90 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/ |
D | ProgramDetailsFragment.java | 278 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;
|
D | ChannelBannerView.java | 794 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/ |
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 | 686 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 …]
|
D | TunerSessionWorker.java | 678 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/ |
D | DvrManager.java | 439 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()
|
D | DvrScheduleManager.java | 948 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/ |
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/partner_support/g3doc/ |
D | SeriesIdColumnForPartners.md | 1 # 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/ |
D | backdropper.graph | 78 recording = false; 83 // will be set when recording starts
|
D | goofy_face.graph | 102 recording = false; 107 // 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/Camera2/res/raw/ |
D | backdropper.graph | 78 recording = false; 83 // will be set when recording starts
|