Lines Matching refs:playback
70 needed, and make sure UI elements are hidden and video playback continues when
93 activity is shown in a small overlay window on a TV screen. Video playback
117 to PIP mode while controlling video playback.</p>
130 playback. Remove UI elements before your activity enters PIP,
143 // Restore the playback UI based on the playback status.
154 onPause()} method. Video playback should not be paused and should continue
157 <p>In Android N, you should pause and resume video playback when the system
162 continuing playback.</p>
164 <p>If you have to pause playback in your {@link android.app.Activity#onPause
166 isInPictureInPictureMode()} and handle playback appropriately, for example:</p>
171 // If called while in PIP mode, do not pause playback
173 // Continue playback
176 // If paused but not in PIP, pause playback if necessary
189 the main screen, while a video playback activity is in PIP mode. Play the new
190 video in the existing playback activity in full screen mode, instead of
193 <p>To ensure a single activity is used for video playback requests and
208 playback if needed.</p>
226 <a href="{@docRoot}training/tv/playback/now-playing.html">Displaying
229 <p>When your app is in PIP mode, video playback in the PIP window can cause
235 pause or stop video playback.</p>