Lines Matching refs:mPipView
281 private TunableTvView mPipView; field in MainActivity
383 checkChannelLockNeeded(mPipView);
459 mPipView.onParentalControlChanged(parentalControlEnabled); in applyParentalControlSettings()
587 mPipView = (TunableTvView) findViewById(R.id.pip_tunable_tv_view); in onCreate()
588 mPipView.initialize((AppLayerTvView) findViewById(R.id.pip_tv_view), true, screenHeight, in onCreate()
597 mTvViewUiManager = new TvViewUiManager(this, mTvView, mPipView, in onCreate()
600 mPipView.setFixedSurfaceSize(screenWidth / 2, screenHeight / 2); in onCreate()
601 mPipView.setBlockScreenType(TunableTvView.BLOCK_SCREEN_TYPE_SHRUNKEN_TV_VIEW); in onCreate()
966 if (mPipEnabled && !(mPipView.isPlaying() && mPipView.isShown())) { in resumePipIfNeeded()
971 if (!mPipView.isPlaying()) { in resumePipIfNeeded()
1574 setVolumeByAudioFocusStatus(mPipView); in setVolumeByAudioFocusStatus()
1579 SoftPreconditions.checkState(tvView == mTvView || tvView == mPipView); in setVolumeByAudioFocusStatus()
1595 if (mPipView != null && mPipView.isPlaying()) { in setVolumeByAudioFocusStatus()
1596 mPipView.setStreamVolume(AUDIO_MIN_VOLUME); in setVolumeByAudioFocusStatus()
1641 mPipView.start(mTvInputManagerHelper); in startPip()
1642 boolean success = mPipView.tuneTo(mPipChannel, null, new OnTuneListener() { in startPip()
1683 mPipView.setCurrentChannel(mPipChannel); in startPip()
1701 checkChannelLockNeeded(mPipView); in startPip()
1704 mPipView.setMain(); in startPip()
1717 if (mPipView.isPlaying()) { in stopPip()
1718 mPipView.stop(); in stopPip()
2302 if (mPipView != null) {
2303 mPipView.release();
2899 if (!mPipEnabled || mTvView == null || mPipView == null) {
2907 boolean pipViewBlocked = mPipView.isScreenBlocked();
2920 mPipView.reset();
2924 mPipView.blockScreen();
2926 mPipView.unblockScreen();
2941 setVolumeByAudioFocusStatus(mPipView);
2951 if (!mPipEnabled || mTvView == null || mPipView == null) {
2956 setVolumeByAudioFocusStatus(mPipView);
2973 mPipView.setMain();