Home
last modified time | relevance | path

Searched refs:currentChannel (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java94 Channel currentChannel = mMainActivity.getCurrentChannel();
95 if (currentChannel != null && isShown()) {
97 if (schedule.getChannelId() == currentChannel.getId()) {
250 Channel currentChannel = mMainActivity.getCurrentChannel(); in isCurrentChannelRecording() local
251 return currentChannel != null in isCurrentChannelRecording()
253 && mDvrManager.getCurrentRecording(currentChannel.getId()) != null; in isCurrentChannelRecording()
258 Channel currentChannel = mMainActivity.getCurrentChannel(); in onRecordButtonClicked() local
266 if (!(mDvrManager != null && mDvrManager.isChannelRecordable(currentChannel))) { in onRecordButtonClicked()
276 .getCurrentProgram(currentChannel.getId()); in onRecordButtonClicked()
279 currentChannel.getInputId(), in onRecordButtonClicked()
[all …]
DChannelsRowAdapter.java266 Channel currentChannel = getMainActivity().getCurrentChannel();
267 return currentChannel != null
268 && currentChannel.getAppLinkType(mContext) != Channel.APP_LINK_TYPE_NONE
270 && inputManager.getTvInputAppInfo(currentChannel.getInputId()) != null;
DMenuUpdater.java55 public void onChannelChanged(Channel previousChannel, Channel currentChannel) {
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java135 void update(boolean blocked, Channel currentChannel, Program currentProgram) { in update() argument
136 if (currentChannel == null) { in update()
160 cardTitleText = getChannelName(currentChannel); in update()
164 posterArtUri = TvContract.buildChannelLogoUri(currentChannel.getId()).toString(); in update()
166 updatePosterArt(currentChannel, currentProgram, cardTitleText, null, posterArtUri); in update()
193 Channel currentChannel, in updatePosterArt() argument
207 this, currentChannel, currentProgram, cardTitleText)); in updatePosterArt()
DMainActivity.java459 public void onChannelChanged(Channel previousChannel, Channel currentChannel) {}
663 Channel currentChannel = mChannelTuner.getCurrentChannel(); in onCreate()
664 if (currentChannel != null && !currentChannel.isPassthrough()) { in onCreate()
673 Channel currentChannel = mChannelTuner.getCurrentChannel(); in onCreate()
675 currentChannel == null ? null : currentChannel.getInputId(); in onCreate()
1861 private void checkChannelLockNeeded(TunableTvView tvView, Channel currentChannel) { in checkChannelLockNeeded() argument
1862 if (currentChannel == null) { in checkChannelLockNeeded()
1863 currentChannel = tvView.getCurrentChannel(); in checkChannelLockNeeded()
1865 if (tvView.isPlaying() && currentChannel != null) { in checkChannelLockNeeded()
1867 && currentChannel.isLocked() in checkChannelLockNeeded()
[all …]
DChannelTuner.java147 public void setCurrentChannel(Channel currentChannel) { in setCurrentChannel() argument
148 mCurrentChannel = currentChannel; in setCurrentChannel()
304 void onChannelChanged(Channel previousChannel, Channel currentChannel); in onChannelChanged() argument
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java315 ChannelInfo currentChannel; in run() local
320 currentChannel = mChannel; in run()
321 if (currentChannel != null) { in run()
322 newState = mBackend.getChannelState(currentChannel.originalNetworkId); in run()
333 String name = currentChannel == null ? "Null" : currentChannel.name; in run()
354 update(oldState, newState, currentChannel); in run()
363 ChannelState oldState, ChannelState newState, ChannelInfo currentChannel) { in update() argument
364 Log.i(TAG, "Updating channel " + currentChannel.number + " state to " + newState); in update()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java268 for (Channel currentChannel : channels()) { in getDefaultVoiceChannel()
269 if (currentChannel.number().equals(defaultChannel().number()) in getDefaultVoiceChannel()
270 && currentChannel.technology() == Channel.VOICE) { in getDefaultVoiceChannel()
271 return currentChannel; in getDefaultVoiceChannel()
DSpeedDialUiItemMutator.java663 Channel currentChannel = item.channels().get(i); in insertDuoChannelsToStarredContact() local
668 && !currentChannel.isVideoTechnology() in insertDuoChannelsToStarredContact()
672 newChannelsList.add(currentChannel); in insertDuoChannelsToStarredContact()
673 previousChannel = currentChannel; in insertDuoChannelsToStarredContact()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java702 public void setCurrentChannel(Channel currentChannel) { in setCurrentChannel() argument
703 mCurrentChannel = currentChannel; in setCurrentChannel()