Lines Matching refs:mPipView
257 private TunableTvView mPipView; field in MainActivity
360 checkChannelLockNeeded(mPipView);
442 mPipView.onParentalControlChanged(parentalControlEnabled); in applyParentalControlSettings()
553 mPipView = (TunableTvView) findViewById(R.id.pip_tunable_tv_view); in onCreate()
554 mPipView.initialize((AppLayerTvView) findViewById(R.id.pip_tv_view), true, screenHeight, in onCreate()
563 mTvViewUiManager = new TvViewUiManager(this, mTvView, mPipView, in onCreate()
566 mPipView.setFixedSurfaceSize(screenWidth / 2, screenHeight / 2); in onCreate()
567 mPipView.setBlockScreenType(TunableTvView.BLOCK_SCREEN_TYPE_SHRUNKEN_TV_VIEW); in onCreate()
904 if (mPipEnabled && !(mPipView.isPlaying() && mPipView.isShown())) { in resumePipIfNeeded()
909 if (!mPipView.isPlaying()) { in resumePipIfNeeded()
1559 setVolumeByAudioFocusStatus(mPipView); in setVolumeByAudioFocusStatus()
1564 SoftPreconditions.checkState(tvView == mTvView || tvView == mPipView); in setVolumeByAudioFocusStatus()
1580 if (mPipView != null && mPipView.isPlaying()) { in setVolumeByAudioFocusStatus()
1581 mPipView.setStreamVolume(AUDIO_MIN_VOLUME); in setVolumeByAudioFocusStatus()
1626 mPipView.start(mTvInputManagerHelper); in startPip()
1627 boolean success = mPipView.tuneTo(mPipChannel, null, new OnTuneListener() { in startPip()
1668 mPipView.setCurrentChannel(mPipChannel); in startPip()
1686 checkChannelLockNeeded(mPipView); in startPip()
1689 mPipView.setMain(); in startPip()
1702 if (mPipView.isPlaying()) { in stopPip()
1703 mPipView.stop(); in stopPip()
2835 if (!mPipEnabled || mTvView == null || mPipView == null) {
2843 boolean pipViewBlocked = mPipView.isScreenBlocked();
2856 mPipView.reset();
2860 mPipView.blockScreen();
2862 mPipView.unblockScreen();
2877 setVolumeByAudioFocusStatus(mPipView);
2887 if (!mPipEnabled || mTvView == null || mPipView == null) {
2892 setVolumeByAudioFocusStatus(mPipView);
2909 mPipView.setMain();