Lines Matching refs:mTvView
245 private TunableTvView mTvView;
330 checkChannelLockNeeded(mTvView, null);
352 Channel channel = mTvView.getCurrentChannel();
356 mMediaSessionWrapper.update(mTvView.isBlocked(), channel, program);
416 mTvView.onParentalControlChanged(parentalControlEnabled);
463 mTvView = (TunableTvView) findViewById(R.id.main_tunable_tv_view);
464 mTvView.initialize(mProgramDataManager, mTvInputManagerHelper);
465 mTvView.setOnUnhandledInputEventListener(new OnUnhandledInputEventListener() {
491 mTvView.warmUpInput(inputId, TvContract.buildChannelUri(channelId));
515 mTimeShiftManager = new TimeShiftManager(this, mTvView, mProgramDataManager, mTracker,
519 mMediaSessionWrapper.update(mTvView.isBlocked(), getCurrentChannel(),
547 mTvView.setWatchedHistoryManager(watchedHistoryManager);
549 mTvViewUiManager = new TvViewUiManager(this, mTvView,
594 mOverlayManager = new TvOverlayManager(this, mChannelTuner, mTvView, mTvOptionsManager,
598 mAudioManagerHelper = new AudioManagerHelper(this, mTvView);
750 if (mTvView.isPlaying()) {
821 mTvView.setBlockScreenType(TunableTvView.BLOCK_SCREEN_TYPE_NO_UI);
861 blockOrUnblockScreen(mTvView, false);
867 mTvView.unblockContent(unblockedRating);
884 if (!mTvView.isPlaying() || mInitChannelUri != null
908 mTvView.setBlockScreenType(getDesiredBlockScreenType());
923 if (mTvView.isPlaying()) {
961 mTvView.start();
1185 mChannelBeforeShrunkenTvView = mTvView.getCurrentChannel();
1192 checkChannelLockNeeded(mTvView, null);
1195 mTvView.setBlockScreenType(getDesiredBlockScreenType());
1214 // The current channel is mTvView.getCurrentChannel() and need to tune to the returnChannel.
1215 if (!Objects.equals(mTvView.getCurrentChannel(), returnChannel)) {
1227 mTvView.setBlockScreenType(getDesiredBlockScreenType());
1233 checkChannelLockNeeded(mTvView, null);
1236 mTvView.setBlockScreenType(getDesiredBlockScreenType());
1249 return mTvView.getVideoUnavailableReason()
1250 == TunableTvView.VIDEO_UNAVAILABLE_REASON_NO_RESOURCE || mTvView.isBlocked();
1335 mTvView.setBlockScreenType(getDesiredBlockScreenType());
1344 if (!mTvView.isPlaying()) {
1457 if (mTvView.isPlaying()) {
1458 mTvView.stop();
1578 boolean success = mTvView.tuneTo(channel, mTuneParams, mOnTuneListener);
1588 mTvView.setMain();
1601 checkChannelLockNeeded(mTvView, channel);
1612 mMediaSessionWrapper.update(mTvView.isBlocked(), getCurrentChannel(), getCurrentProgram());
1690 if (tvView == mTvView) {
1771 mTvView.setClosedCaptionEnabled(enabled);
1840 if (mTvView != null) {
1841 mTvView.release();
2010 if (!mTvView.isVideoOrAudioAvailable()
2011 && mTvView.getVideoUnavailableReason()
2021 if (mTvView.isScreenBlocked()) {
2024 } else if (mTvView.isContentBlocked()) {
2027 mTvView.getBlockedContentRating().flattenToString());
2141 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2145 mTvView.setTvViewLayoutParams(params);
2148 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2152 mTvView.setTvViewLayoutParams(params);
2230 if (!mTvView.isPlaying()) {
2231 // We expect that mTvView is already played. But, it is sometimes not.
2232 // TODO: we figure out the reason when mTvView is not played.
2246 if (mTvView != null) {
2247 handled = mTvView.dispatchKeyEvent(event);
2277 if (mTvView.isPlaying()) {
2278 mTvView.reset();
2281 if (!mTvView.isPlaying()) {
2283 } else if (channel.equals(mTvView.getCurrentChannel())) {
2318 mTvView.setMain();
2348 return mTvView.getTracks(type);
2352 return mTvView.getSelectedTrack(type);
2356 mTvView.selectTrack(type, track == null ? null : track.getId());
2416 if (mTvView.isVideoAvailable()
2417 || mTvView.getCurrentChannel() != mChannelTuner.getCurrentChannel()) {
2421 switch (mTvView.getVideoUnavailableReason()) {
2594 if (mTvView.isFadedOut()) {
2595 mTvView.removeFadeEffect();
2616 if (mTvView.isVideoAvailable()) {
2619 if (!mTvView.isContentBlocked() && !mTvView.isScreenBlocked()) {
2643 mTvView.setCurrentChannel(currentChannel);
2654 TvContentRating rating = mTvView.getBlockedContentRating();
2662 mTvView.unblockContent(rating);