Home | History | Annotate | Download | only in tv

Lines Matching defs:mPrograms

847         private final List<Program> mPrograms = new ArrayList<>();
867 mPrograms.clear();
877 mPrograms.add(program);
884 mPrograms.addAll(createDummyPrograms(prefetchStartTimeMs,
979 if (mPrograms.isEmpty()) {
981 mPrograms.addAll(createDummyPrograms(startTimeMs, endTimeMs));
985 Program firstProgram = mPrograms.get(0);
989 mPrograms.remove(0);
990 mPrograms.addAll(0,
993 mPrograms.addAll(0,
999 Program lastProgram = mPrograms.get(mPrograms.size() - 1);
1003 mPrograms.remove(mPrograms.size() - 1);
1004 mPrograms.addAll(
1007 mPrograms.addAll(
1013 for (int i = 1; i < mPrograms.size(); ++i) {
1014 long endOfPrevious = mPrograms.get(i - 1).getEndTimeUtcMillis();
1015 long startOfCurrent = mPrograms.get(i).getStartTimeUtcMillis();
1019 mPrograms.addAll(i, dummyPrograms);
1028 for (int i = 0; i < mPrograms.size(); ++i) {
1029 Program program = mPrograms.get(i);
1031 mPrograms.remove(i--);
1037 if (mPrograms.size() == 0) {
1040 Program program = mPrograms.get(0);
1041 for (int i = 0, j = 0; i < mPrograms.size() && j < loadedPrograms.size(); ++j) {
1045 // Reached end of mPrograms.
1046 if (++i == mPrograms.size()) {
1049 program = mPrograms.get(i);
1054 mPrograms.remove(i);
1055 if (i >= mPrograms.size()) {
1058 program = mPrograms.get(i);
1093 return getProgramAt(timeMs, 0, mPrograms.size() - 1);
1101 Program program = mPrograms.get(mid);
1112 if (mPrograms.isEmpty()) {
1115 return mPrograms.get(0).getStartTimeUtcMillis();
1119 for (int i = mPrograms.size() - 1; i >= 0; --i) {
1120 Program program = mPrograms.get(i);
1219 if(!mPrograms.isEmpty()) {
1223 for (int i = 0; i < mPrograms.size() && !programs.isEmpty(); ++i) {
1224 Program program = mPrograms.get(i);
1227 mPrograms.add(i++, loadedProgram);
1236 mPrograms.addAll(programs);