Searched refs:mCurrentProgram (Results 1 – 8 of 8) sorted by relevance
55 @Nullable private ProgramInfo mCurrentProgram; field in RadioController157 if (mCurrentProgram == null) return; in onFavoritesChanged()158 boolean isFav = RadioStorage.isFavorite(favorites, mCurrentProgram.getSelector()); in onFavoritesChanged()165 mCurrentProgram = Objects.requireNonNull(info); in onCurrentProgramChanged()213 if (mCurrentProgram == null) return; in onFavoriteToggled()216 mRadioStorage.addFavorite(Program.fromProgramInfo(mCurrentProgram)); in onFavoriteToggled()218 mRadioStorage.removeFavorite(mCurrentProgram.getSelector()); in onFavoriteToggled()
50 private @Nullable ProgramInfo mCurrentProgram; field in BrowseAdapter192 mCurrentProgram = Objects.requireNonNull(info); in onCurrentProgramChanged()210 boolean isCurrent = mCurrentProgram != null in onBindViewHolder()211 && entry.program.getSelector().equals(mCurrentProgram.getSelector()); in onBindViewHolder()224 return new Entry(Program.fromProgramInfo(mCurrentProgram), false); in getEntryLocked()233 if (cnt == 0 && mCurrentProgram != null) return 1; in getItemCount()
39 private Program mCurrentProgram; field in ChannelRecord75 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()78 mCurrentProgram = manager.getCurrentProgram(mChannel.getId()); in getCurrentProgram()80 return mCurrentProgram; in getCurrentProgram()
72 private Program mCurrentProgram; field in DvrSeriesSettingsFragment103 mCurrentProgram = getArguments().getParcelable(DvrSeriesSettingsActivity.CURRENT_PROGRAM); in onAttach()221 if (mCurrentProgram != null in onGuidedActionClicked()223 || mSelectedChannelId == mCurrentProgram.getChannelId())) { in onGuidedActionClicked()224 dvrManager.addSchedule(mCurrentProgram); in onGuidedActionClicked()
88 private ProgramInfo mCurrentProgram = null; field in RadioAppService293 if (mCurrentProgram != null) callback.onCurrentProgramChanged(mCurrentProgram);402 mCurrentProgram = info;
93 private final MutableLiveData<ProgramInfo> mCurrentProgram = new MutableLiveData<>(); field in RadioAppServiceWrapper170 mCurrentProgram.postValue(info);289 return mCurrentProgram; in getCurrentProgram()
176 private Program mCurrentProgram; field in TimeShiftManager456 if (!Objects.equals(mCurrentProgram, currentProgram)) { in updateCurrentProgram()458 mCurrentProgram = currentProgram; in updateCurrentProgram()463 channel.getId(), mCurrentProgram); in updateCurrentProgram() local553 return mCurrentProgram; in getCurrentProgram()
63 @Nullable private ProgramInfo mCurrentProgram; field in TunerSession