Lines Matching refs:mTvView
312 @VisibleForTesting protected TunableTvView mTvView; field in MainActivity
398 checkChannelLockNeeded(mTvView, null);
422 Channel channel = mTvView.getCurrentChannel();
426 mMediaSessionWrapper.update(mTvView.isBlocked(), channel, program);
490 mTvView.onParentalControlChanged(parentalControlEnabled); in applyParentalControlSettings()
543 mTvView = findViewById(R.id.main_tunable_tv_view); in onCreate()
544 mTvView.initialize(mProgramDataManager, mTvInputManagerHelper, mLegacyFlags); in onCreate()
545 mTvView.setOnUnhandledInputEventListener( in onCreate()
569 mTvView.setBlockedInfoOnClickListener(v -> showPinDialogFragment()); in onCreate()
576 mTvView.warmUpInput(inputId, TvContract.buildChannelUri(channelId)); in onCreate()
602 mTvView, in onCreate()
609 mTvView.isBlocked(), getCurrentChannel(), program); in onCreate()
638 mTvView.setWatchedHistoryManager(watchedHistoryManager); in onCreate()
642 this, mTvView, findViewById(android.R.id.content), mTvOptionsManager); in onCreate()
701 mTvView, in onCreate()
711 mAudioManagerHelper = new AudioManagerHelper(this, mTvView); in onCreate()
869 if (mTvView.isPlaying()) { in onResume()
929 mTvView.setBlockScreenType(TunableTvView.BLOCK_SCREEN_TYPE_NO_UI); in onPause()
969 blockOrUnblockScreen(mTvView, false); in onPinChecked()
975 mTvView.unblockContent(unblockedRating); in onPinChecked()
994 if (!mTvView.isPlaying() in resumeTvIfNeeded()
1019 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in resumeTvIfNeeded()
1036 if (mTvView.isPlaying()) { in startTv()
1078 mTvView.start(); in startTv()
1307 mChannelBeforeShrunkenTvView = mTvView.getCurrentChannel(); in startShrunkenTvView()
1314 checkChannelLockNeeded(mTvView, null); in startShrunkenTvView()
1317 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in startShrunkenTvView()
1337 if (!Objects.equals(mTvView.getCurrentChannel(), returnChannel)) { in endShrunkenTvView()
1348 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in endShrunkenTvView()
1353 checkChannelLockNeeded(mTvView, null); in endShrunkenTvView()
1356 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in endShrunkenTvView()
1369 return mTvView.getVideoUnavailableReason() in isScreenBlockedByResourceConflictOrParentalControl()
1371 || mTvView.isBlocked(); in isScreenBlockedByResourceConflictOrParentalControl()
1462 mHandler.post(() -> mTvView.setBlockScreenType(getDesiredBlockScreenType())); in updateKeyInputFocus()
1470 if (!mTvView.isPlaying()) { in handleIntent()
1639 if (mTvView.isPlaying()) { in stopTv()
1640 mTvView.stop(); in stopTv()
1684 mTvView.resetChannelSignalStrength(); in tune()
1766 boolean success = mTvView.tuneTo(channel, mTuneParams, mOnTuneListener); in tune()
1776 mTvView.setMain(); in tune()
1790 checkChannelLockNeeded(mTvView, channel); in tune()
1801 mMediaSessionWrapper.update(mTvView.isBlocked(), getCurrentChannel(), getCurrentProgram()); in tune()
1882 if (tvView == mTvView) { in blockOrUnblockScreen()
1972 mTvView.setClosedCaptionEnabled(enabled);
2010 if (mTvView != null) {
2011 mTvView.release();
2198 if (!mTvView.isVideoOrAudioAvailable()
2199 && mTvView.getVideoUnavailableReason()
2317 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2321 mTvView.setTvViewLayoutParams(params);
2324 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2328 mTvView.setTvViewLayoutParams(params);
2352 if (mTvView.isScreenBlocked()) {
2354 } else if (mTvView.isContentBlocked()) {
2358 mTvView.getBlockedContentRating().flattenToString());
2425 if (!mTvView.isPlaying()) {
2441 if (mTvView != null) {
2442 handled = mTvView.dispatchKeyEvent(event);
2473 if (mTvView.isPlaying()) {
2474 mTvView.reset();
2477 if (!mTvView.isPlaying()) {
2479 } else if (channel.equals(mTvView.getCurrentChannel())) {
2513 mTvView.setMain();
2543 return mTvView.getTracks(type);
2547 return mTvView.getSelectedTrack(type);
2592 mTvView.selectTrack(type, track == null ? null : track.getId());
2681 if (mTvView.isVideoAvailable()
2683 mTvView.getCurrentChannel(), mChannelTuner.getCurrentChannel())) {
2687 switch (mTvView.getVideoUnavailableReason()) {
2884 if (mTvView.isFadedOut()) {
2885 mTvView.removeFadeEffect();
2909 if (mTvView.isVideoAvailable()) {
2912 if (!mTvView.isContentBlocked() && !mTvView.isScreenBlocked()) {
2944 mTvView.setCurrentChannel(currentChannel);
2955 TvContentRating rating = mTvView.getBlockedContentRating();
2964 mTvView.unblockContent(rating);