/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 39 import com.android.tv.common.recording.RecordedProgram; 65 private final HashMap<Long, RecordedProgram> mRecordedPrograms = new HashMap<>(); 88 private void onObservedChange(Uri uri, RecordedProgram recordedProgram) { in onObservedChange() 94 RecordedProgram old = mRecordedPrograms.remove(id); in onObservedChange() 101 RecordedProgram old = mRecordedPrograms.put(id, recordedProgram); in onObservedChange() 172 public List<RecordedProgram> getRecordedPrograms() { in getRecordedPrograms() 252 public RecordedProgram getRecordedProgram(long recordingId) { in getRecordedProgram() 349 extends AsyncDbTask.AsyncQueryListTask<RecordedProgram> { 352 RecordedProgram.PROJECTION, null, null, null); in AsyncRecordedProgramsQueryTask() 356 protected RecordedProgram fromCursor(Cursor c) { in fromCursor() [all …]
|
D | DvrDataManagerInMemoryImpl.java | 27 import com.android.tv.common.recording.RecordedProgram; 46 private final Map<Long, RecordedProgram> mRecordedPrograms = new HashMap<>(); 63 public List<RecordedProgram> getRecordedPrograms() { in getRecordedPrograms() 110 public void addRecordedProgram(RecordedProgram recordedProgram) { in addRecordedProgram() 114 public void updateRecordedProgram(RecordedProgram r) { in updateRecordedProgram() 124 public void removeRecordedProgram(RecordedProgram scheduledRecording) { in removeRecordedProgram() 143 public RecordedProgram addRecordedProgramInternal(RecordedProgram recordedProgram) { in addRecordedProgramInternal() 144 SoftPreconditions.checkState(recordedProgram.getId() == RecordedProgram.ID_NOT_SET, TAG, in addRecordedProgramInternal() 145 "expected id of " + RecordedProgram.ID_NOT_SET + " but was " + recordedProgram); in addRecordedProgramInternal() 146 recordedProgram = RecordedProgram.buildFrom(recordedProgram) in addRecordedProgramInternal() [all …]
|
D | DvrDataManager.java | 23 import com.android.tv.common.recording.RecordedProgram; 39 List<RecordedProgram> getRecordedPrograms(); in getRecordedPrograms() 117 RecordedProgram getRecordedProgram(long recordingId); in getRecordedProgram() 128 void onRecordedProgramAdded(RecordedProgram recordedProgram); in onRecordedProgramAdded() 130 void onRecordedProgramChanged(RecordedProgram recordedProgram); in onRecordedProgramChanged() 132 void onRecordedProgramRemoved(RecordedProgram recordedProgram); in onRecordedProgramRemoved()
|
D | BaseDvrDataManager.java | 28 import com.android.tv.common.recording.RecordedProgram; 77 protected final void notifyRecordedProgramAdded(RecordedProgram recordedProgram) { in notifyRecordedProgramAdded() 88 protected final void notifyRecordedProgramChanged(RecordedProgram recordedProgram) { in notifyRecordedProgramChanged() 99 protected final void notifyRecordedProgramRemoved(RecordedProgram recordedProgram) { in notifyRecordedProgramRemoved()
|
D | DvrManager.java | 34 import com.android.tv.common.recording.RecordedProgram; 134 public void removeRecordedProgram(final RecordedProgram recordedProgram) { in removeRecordedProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | RecordedProgramsAdapter.java | 21 import com.android.tv.common.recording.RecordedProgram; 27 final class RecordedProgramsAdapter extends SortedArrayAdapter<RecordedProgram> 32 super(presenterSelector, RecordedProgram.START_TIME_THEN_ID_COMPARATOR); in RecordedProgramsAdapter() 47 long getId(RecordedProgram item) { in getId() 52 public void onRecordedProgramAdded(RecordedProgram recordedProgram) { in onRecordedProgramAdded() 57 public void onRecordedProgramChanged(RecordedProgram recordedProgram) { in onRecordedProgramChanged() 62 public void onRecordedProgramRemoved(RecordedProgram recordedProgram) { in onRecordedProgramRemoved()
|
D | RecordedProgramPresenter.java | 36 import com.android.tv.common.recording.RecordedProgram; 62 final RecordedProgram recording = (RecordedProgram) o; in onBindViewHolder()
|
D | DvrBrowseFragment.java | 32 import com.android.tv.common.recording.RecordedProgram; 118 presenterSelector.addClassPresenter(RecordedProgram.class, recordedProgramPresenter); in setupAdapters()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordedProgram.java | 39 public class RecordedProgram { class 77 public static final RecordedProgram fromCursor(Cursor cursor) { in fromCursor() 114 public static ContentValues toValues(RecordedProgram recordedProgram) { in toValues() 396 public RecordedProgram build() { in build() 397 return new RecordedProgram(mId, mInputId, mChannelId, mTitle, mSeasonNumber, in build() 410 public static Builder buildFrom(RecordedProgram orig) { in buildFrom() 441 public static final Comparator<RecordedProgram> START_TIME_THEN_ID_COMPARATOR 442 = new Comparator<RecordedProgram>() { 444 public int compare(RecordedProgram lhs, RecordedProgram rhs) { 485 private RecordedProgram(long id, String inputId, long channelId, String title, in RecordedProgram() method in RecordedProgram [all …]
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
D | TunerSessionWorker.java | 407 private static class RecordedProgram { class in TunerSessionWorker 416 public RecordedProgram(Cursor cursor) { in RecordedProgram() method in TunerSessionWorker.RecordedProgram 422 public RecordedProgram(long channelId, String dataUri) { in RecordedProgram() method in TunerSessionWorker.RecordedProgram 427 public static RecordedProgram onQuery(Cursor c) { in onQuery() 428 RecordedProgram recording = null; in onQuery() 430 recording = new RecordedProgram(c); in onQuery() 440 private RecordedProgram getRecordedProgram(Uri recordedUri) { in getRecordedProgram() 442 try(Cursor c = resolver.query(recordedUri, RecordedProgram.PROJECTION, null, null, null)) { in getRecordedProgram() 444 RecordedProgram result = RecordedProgram.onQuery(c); in getRecordedProgram() 463 RecordedProgram recording = getRecordedProgram(uri); in parseRecording()
|
D | TunerRecordingSessionWorker.java | 38 import com.android.tv.common.recording.RecordedProgram; 496 RecordedProgram recordedProgram = RecordedProgram.builder() in insertRecordedProgram() 504 RecordedProgram.toValues(recordedProgram)); in insertRecordedProgram()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 53 import com.android.tv.common.recording.RecordedProgram; 118 private RecordedProgram mLastUpdatedRecordedProgram; 445 RecordedProgram recordedProgram = mMainActivity.getPlayingRecordedProgram(); in getCurrentInputId() 571 private void updateProgramInfo(RecordedProgram recordedProgram) { 623 private void updateProgramTextView(RecordedProgram recordedProgram) { 703 private void updateProgramTimeInfo(RecordedProgram recordedProgram) { 730 private void setLastUpdatedRecordedProgram(RecordedProgram recordedProgram) {
|
D | TunableTvView.java | 61 import com.android.tv.common.recording.RecordedProgram; 118 private RecordedProgram mRecordedProgram; 487 public RecordedProgram getPlayingRecordedProgram() { in getPlayingRecordedProgram()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 33 import com.android.tv.common.recording.RecordedProgram; 666 RecordedProgram recordedProgram = mTvView.getPlayingRecordedProgram(); in onAvailabilityChanged()
|
D | MainActivity.java | 83 import com.android.tv.common.recording.RecordedProgram; 1158 public RecordedProgram getPlayingRecordedProgram() { in getPlayingRecordedProgram() 2590 List<RecordedProgram> recordedPrograms = mDvrDataManager 2597 RecordedProgram r = recordedPrograms.get(0);
|