Lines Matching refs:in
4 This sample demonstrates basic usage of Picture-in-Picture mode for handheld devices.
5 The sample plays a video. The video keeps on playing when the app is turned in to
6 Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action item to
12 As of Android O, activities can launch in [Picture-in-Picture (PiP)][1] mode. PiP is a
16 reason, you should make sure your app does not pause playback in its [onPause()][3]
17 handler. Instead, you should pause video in [onStop()][4]. For more information, see [Multi-Window
20 To specify that your activity can use PIP mode, set `android:supportsPictureInPicture` to `true` in
27 activity should behave when it is in PiP mode. You can also use it to call
28 [setPictureInPictureParams()][8] and update the current behavior. If the app is in not PiP mode, it
32 available for PiP mode. The aspect ratio is used when the activity is in PiP mode. The action items
33 are used as menu items in PiP mode. You can use a [PendingIntent][9] to specify what to do when the
37 [2]: https://developer.android.com/guide/topics/ui/picture-in-picture.html
62 "gradlew build" command or use "Import Project" in Android Studio.
70 If you've found an error in this sample, please file an issue:
85 use this file except in compliance with the License. You may obtain a copy of
90 Unless required by applicable law or agreed to in writing, software