Home
last modified time | relevance | path

Searched refs:mCurrentProgram (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java55 @Nullable private ProgramInfo mCurrentProgram; field in RadioController
157 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()
DBrowseAdapter.java50 private @Nullable ProgramInfo mCurrentProgram; field in BrowseAdapter
192 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()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java39 private Program mCurrentProgram; field in ChannelRecord
75 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
78 mCurrentProgram = manager.getCurrentProgram(mChannel.getId()); in getCurrentProgram()
80 return mCurrentProgram; in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java72 private Program mCurrentProgram; field in DvrSeriesSettingsFragment
103 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()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java88 private ProgramInfo mCurrentProgram = null; field in RadioAppService
293 if (mCurrentProgram != null) callback.onCurrentProgramChanged(mCurrentProgram);
402 mCurrentProgram = info;
DRadioAppServiceWrapper.java93 private final MutableLiveData<ProgramInfo> mCurrentProgram = new MutableLiveData<>(); field in RadioAppServiceWrapper
170 mCurrentProgram.postValue(info);
289 return mCurrentProgram; in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java176 private Program mCurrentProgram; field in TimeShiftManager
456 if (!Objects.equals(mCurrentProgram, currentProgram)) { in updateCurrentProgram()
458 mCurrentProgram = currentProgram; in updateCurrentProgram()
463 channel.getId(), mCurrentProgram); in updateCurrentProgram() local
553 return mCurrentProgram; in getCurrentProgram()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java63 @Nullable private ProgramInfo mCurrentProgram; field in TunerSession