/frameworks/base/docs/html/training/tv/playback/ |
D | options.jd | 2 page.tags=tv, play, playback, background 20 If a user switches to the launcher while using a TV playback app, by default the app is paused. 21 Since the user did not explicitly request to pause playback, the default behavior might seem 22 abrupt and unexpected. This lesson describes how to enable background playback in your app, 29 launcher, the activity pauses. However, your app can request background playback, in 32 <p>To request background playback, call 49 // App-specific method to stop playback and release resources 61 // App-specific method to stop playback and release resources
|
D | now-playing.jd | 33 <img src="{@docRoot}images/training/tv/playback/now-playing-screen.png" /> 59 when playback begins. Your app must also request audio focus, as described in 76 or when another app initiates media playback. 77 If playback is completely stopped and there is no active media, 79 If playback is paused, your app should deactivate the media session 84 <p>Update the playback state in the {@link android.media.session.MediaSession} 161 intent opens. The activity you specify must provide playback controls that allow users to pause or 162 stop playback.</p>
|
/frameworks/base/docs/html/training/managing-audio/ |
D | audio-focus.jd | 7 previous.link=volume-playback.html 36 audio playback—only apps that hold the audio focus should play audio.</p> 56 request the audio focus immediately before you begin playback, such as when the user presses 63 // Request audio focus for playback 72 // Start playback. 76 <p>Once you've finished playback be sure to call {@link 80 this allows any interupted app to continue playback.</p> 83 // Abandon audio focus when playback complete 89 silences its playback. By requesting a transient audio focus that allows ducking you tell other 94 // Request audio focus for playback [all …]
|
D | index.jd | 46 <dt><b><a href="volume-playback.html">Controlling Your App’s Volume and 50 playback keys.</dd> 55 audio playback. Learn how to request the audio focus, listen for a loss of audio focus, and how to 60 played and how to handle a headset being disconnected during playback.</dd>
|
D | volume-playback.jd | 39 playback keys should perform their respective actions on the audio stream used by your app.</p> 90 <p>Media playback buttons such as play, pause, stop, skip, and previous are available on some 114 …ippet shows how to extract the media button pressed and affects the media playback accordingly.</p> 151 not that simple for media playback apps—in fact, responding to media playback buttons is most
|
/frameworks/base/docs/html/preview/features/ |
D | picture-in-picture.jd | 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> [all …]
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediarouteprovider.jd | 12 <li><a href="#playback-types">Types of playback</a></li> 21 <li><a href="#playback-ctrls">Playback controls</a></li> 41 connected playback devices such as televisions, stereos, 46 <p>The Android media router framework allows manufacturers to enable playback on their devices 53 available to other media playback applications that run on Android.</p> 57 <p>The Android media router framework enables media app developers and media playback device 61 playback device manufacturers can participate in the framework by publishing a {@link 77 and use its playback features.</li> 99 <h3 id="playback-types">Types of playback</h3> 101 <p>There are two main types of playback supported by the media router framework. A media route [all …]
|
D | mediarouter.jd | 25 <li><a href="#remote-playback">Remote Playback</a></li> 48 louder devices. Enabling this kind of playback can turn your one-device, one-user app 51 <p>The Android media router APIs are designed to enable media display and playback on these 57 the content data retrieval, decoding, and playback, while an Android device in the user's hand 66 <p>This guide explains how your app can deliver media to secondary playback devices using either 72 <p>The media router APIs enable a broad range of media output to playback equipment connected to 76 connected playback devices such as home theaters and sound systems that provide Android media 93 <p>Manufacturers of media playback hardware that is not supported by the media router framework 221 retrieval, decoding, and playback, such as 228 the media playback categories (control categories), as shown [all …]
|
D | jetplayer.jd | 36 <p>The Android platform includes a JET engine that lets you add interactive playback of JET audio 37 content in your applications. You can create JET content for interactive playback using the 51 <p>Here's an example of how to set up JET playback from a <code>.jet</code> file stored on the SD
|
D | index.jd | 16 <p>If your media playback application creates a media playback service, just like Music, that
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | NotificationHelper.java | 24 import com.android.onemedia.playback.RequestUtils; 54 com.android.onemedia.playback.RequestUtils.ACTION_PAUSE).setPackage(pkg), in NotificationHelper() 57 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PLAY).setPackage(pkg), in NotificationHelper() 60 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PREV).setPackage(pkg), in NotificationHelper() 63 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_NEXT).setPackage(pkg), in NotificationHelper() 66 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_REW).setPackage(pkg), in NotificationHelper() 69 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_FFWD).setPackage(pkg), in NotificationHelper()
|
D | PlayerService.java | 28 import com.android.onemedia.playback.IRequestCallback; 29 import com.android.onemedia.playback.RequestUtils;
|
D | PlayerSession.java | 32 import com.android.onemedia.playback.LocalRenderer; 33 import com.android.onemedia.playback.Renderer; 34 import com.android.onemedia.playback.RequestUtils;
|
D | IPlayerService.aidl | 23 import com.android.onemedia.playback.IRequestCallback;
|
/frameworks/base/docs/html-intl/intl/ru/preview/features/ |
D | picture-in-picture.jd | 141 // Restore the playback UI based on the playback status. 160 // If called due to PIP, do not pause playback 162 // Continue playback 165 // If paused but not in PIP, pause playback if necessary
|
/frameworks/base/docs/html-intl/intl/zh-tw/preview/features/ |
D | picture-in-picture.jd | 141 // Restore the playback UI based on the playback status. 160 // If called due to PIP, do not pause playback 162 // Continue playback 165 // If paused but not in PIP, pause playback if necessary
|
/frameworks/base/docs/html-intl/intl/ja/preview/features/ |
D | picture-in-picture.jd | 143 // Restore the playback UI based on the playback status. 162 // If called while in PIP mode, do not pause playback 164 // Continue playback 167 // If paused but not in PIP, pause playback if necessary
|
/frameworks/base/docs/html-intl/intl/ko/preview/features/ |
D | picture-in-picture.jd | 143 // Restore the playback UI based on the playback status. 162 // If called while in PIP mode, do not pause playback 164 // Continue playback 167 // If paused but not in PIP, pause playback if necessary
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/ |
D | picture-in-picture.jd | 143 // Restore the playback UI based on the playback status. 162 // If called while in PIP mode, do not pause playback 164 // Continue playback 167 // If paused but not in PIP, pause playback if necessary
|
/frameworks/base/docs/html/training/auto/audio/ |
D | index.jd | 74 app and provide a browse and playback interface for your app's audio content. 93 control playback with actions such as play, pause, or skip track. 109 {@link android.media.session.MediaSession.Callback} object to enable playback controls.</li> 247 through the car speakers unless a user consciously starts playback (such as 285 the media metadata changes during an audio playback session. When a media 316 {@link android.media.session.MediaSession} provided by your app, which handles content playback 327 object, in order to control audio playback</li> 355 <li>If the user begins playback, Auto invokes the appropriate media session 470 Auto devices use {@link android.media.session.MediaSession} objects to pass playback control 473 control of audio playback. [all …]
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 341 bool playback = false; in main() local 361 playback = true; in main() 410 if (playback || (useSurface && useVideo)) { in main() 442 if (playback) { in main() 457 if (playback || (useSurface && useVideo)) { in main()
|
/frameworks/base/docs/html/guide/topics/media/jet/ |
D | jetcreator_manual.jd | 23 playback device for Android. Both the 27 be sure that the playback will sound exactly the same in both the JET Creator 36 involves auditioning the interactive playback elements as they will take place 235 playback it generates a callback into the application program. The timing of 237 playback system so that audio and video can be synchronized. The diagram below 273 <p>To author JET files and hear them playback 282 playback within the JET enabled game. Optionally the content author may create 474 (selects) all segments for playback</p> 480 Starts playback of all queued segments. This button changes to Stop if any 534 Quantize value for quantizing the current segment during playback</li> [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | IRequestCallback.aidl | 16 package com.android.onemedia.playback;
|
D | PlaybackError.java | 16 package com.android.onemedia.playback;
|
/frameworks/base/docs/html-intl/intl/in/preview/features/ |
D | picture-in-picture.jd | 143 // Restore the playback UI based on the playback status. 162 // If called while in PIP mode, do not pause playback 164 // Continue playback 167 // If paused but not in PIP, pause playback if necessary
|