• Home
  • Raw
  • Download

Lines Matching refs:mTvView

313     @VisibleForTesting protected TunableTvView mTvView;  field in MainActivity
399 checkChannelLockNeeded(mTvView, null);
423 Channel channel = mTvView.getCurrentChannel();
427 mMediaSessionWrapper.update(mTvView.isBlocked(), channel, program);
495 mTvView.onParentalControlChanged(parentalControlEnabled); in applyParentalControlSettings()
548 mTvView = findViewById(R.id.main_tunable_tv_view); in onCreate()
549 mTvView.initialize(mProgramDataManager, mTvInputManagerHelper, mLegacyFlags); in onCreate()
550 mTvView.setOnUnhandledInputEventListener( in onCreate()
574 mTvView.setBlockedInfoOnClickListener(v -> showPinDialogFragment()); in onCreate()
581 mTvView.warmUpInput(inputId, TvContract.buildChannelUri(channelId)); in onCreate()
607 mTvView, in onCreate()
614 mTvView.isBlocked(), getCurrentChannel(), program); in onCreate()
643 mTvView.setWatchedHistoryManager(watchedHistoryManager); in onCreate()
647 this, mTvView, findViewById(android.R.id.content), mTvOptionsManager); in onCreate()
706 mTvView, in onCreate()
716 mAudioManagerHelper = new AudioManagerHelper(this, mTvView); in onCreate()
874 if (mTvView.isPlaying()) { in onResume()
934 mTvView.setBlockScreenType(TunableTvView.BLOCK_SCREEN_TYPE_NO_UI); in onPause()
974 blockOrUnblockScreen(mTvView, false); in onPinChecked()
980 mTvView.unblockContent(unblockedRating); in onPinChecked()
999 if (!mTvView.isPlaying() in resumeTvIfNeeded()
1024 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in resumeTvIfNeeded()
1041 if (mTvView.isPlaying()) { in startTv()
1083 mTvView.start(); in startTv()
1312 mChannelBeforeShrunkenTvView = mTvView.getCurrentChannel(); in startShrunkenTvView()
1319 checkChannelLockNeeded(mTvView, null); in startShrunkenTvView()
1322 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in startShrunkenTvView()
1342 if (!Objects.equals(mTvView.getCurrentChannel(), returnChannel)) { in endShrunkenTvView()
1353 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in endShrunkenTvView()
1358 checkChannelLockNeeded(mTvView, null); in endShrunkenTvView()
1361 mTvView.setBlockScreenType(getDesiredBlockScreenType()); in endShrunkenTvView()
1374 return mTvView.getVideoUnavailableReason() in isScreenBlockedByResourceConflictOrParentalControl()
1376 || mTvView.isBlocked(); in isScreenBlockedByResourceConflictOrParentalControl()
1467 mHandler.post(() -> mTvView.setBlockScreenType(getDesiredBlockScreenType())); in updateKeyInputFocus()
1475 if (!mTvView.isPlaying()) { in handleIntent()
1644 if (mTvView.isPlaying()) { in stopTv()
1645 mTvView.stop(); in stopTv()
1689 mTvView.resetChannelSignalStrength(); in tune()
1771 boolean success = mTvView.tuneTo(channel, mTuneParams, mOnTuneListener); in tune()
1781 mTvView.setMain(); in tune()
1795 checkChannelLockNeeded(mTvView, channel); in tune()
1806 mMediaSessionWrapper.update(mTvView.isBlocked(), getCurrentChannel(), getCurrentProgram()); in tune()
1887 if (tvView == mTvView) { in blockOrUnblockScreen()
1977 mTvView.setClosedCaptionEnabled(enabled);
2015 if (mTvView != null) {
2016 mTvView.release();
2203 if (!mTvView.isVideoOrAudioAvailable()
2204 && mTvView.getVideoUnavailableReason()
2322 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2326 mTvView.setTvViewLayoutParams(params);
2329 (FrameLayout.LayoutParams) mTvView.getLayoutParams();
2333 mTvView.setTvViewLayoutParams(params);
2357 if (mTvView.isScreenBlocked()) {
2359 } else if (mTvView.isContentBlocked()) {
2363 mTvView.getBlockedContentRating().flattenToString());
2430 if (!mTvView.isPlaying()) {
2446 if (mTvView != null) {
2447 handled = mTvView.dispatchKeyEvent(event);
2478 if (mTvView.isPlaying()) {
2479 mTvView.reset();
2482 if (!mTvView.isPlaying()) {
2484 } else if (channel.equals(mTvView.getCurrentChannel())) {
2518 mTvView.setMain();
2548 return mTvView.getTracks(type);
2552 return mTvView.getSelectedTrack(type);
2597 mTvView.selectTrack(type, track == null ? null : track.getId());
2686 if (mTvView.isVideoAvailable()
2688 mTvView.getCurrentChannel(), mChannelTuner.getCurrentChannel())) {
2692 switch (mTvView.getVideoUnavailableReason()) {
2889 if (mTvView.isFadedOut()) {
2890 mTvView.removeFadeEffect();
2914 if (mTvView.isVideoAvailable()) {
2917 if (!mTvView.isContentBlocked() && !mTvView.isScreenBlocked()) {
2949 mTvView.setCurrentChannel(currentChannel);
2960 TvContentRating rating = mTvView.getBlockedContentRating();
2969 mTvView.unblockContent(rating);