/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
|
D | audio-output.jd | 66 typically expect the playback to be paused—while for games you may choose to significantly 74 // Pause the playback
|
/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 | exoplayer.jd | 14 <li><a href="#adaptive-playback">Providing media for adaptive playback</a> 16 <li><a href="#format-selection">Format selection for adaptive playback</a></li> 64 DASH and SmoothStreaming playback. This guide also discusses ExoPlayer events, messages, DRM 80 event logging and DRM protected playback. </li> 96 they obtain individual media samples for playback. Figure 1 shows the high level object model for 108 <p>A {@code TrackRenderer} processes a component of media for playback, such as 110 single playback thread, and by doing so causes each media component to be rendered as the global 111 …playback position is advanced. The ExoPlayer library provides {@code MediaCodecVideoTrackRenderer}… 134 // 5. Start playback. 152 ChunkSampleSource} class provides adaptive playback using DASH or SmoothStreaming, and [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/training/tv/playback/ |
D | now-playing.jd | 38 <p>A playback app can run as an <a href="{@docRoot}guide/components/activities">activity</a> or 40 background playback because it can continue to play media even after the activity that launched it 41 has been destroyed. For this discussion, the media playback app is assumed to be running in a 81 is called or if another app initiates media playback. You may want to remove the card from the home 82 screen some time after playback is paused, depending on how long you want to keep the card up, 87 <p>As with any media app, update the playback state in the {@link android.media.session.MediaSessio… 159 intent opens. The activity you specify must provide playback controls that allow users to pause or 160 stop playback.</p>
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 321 bool playback = false; in main() local 341 playback = true; in main() 382 if (playback || (useSurface && useVideo)) { in main() 414 if (playback) { in main() 428 if (playback || (useSurface && useVideo)) { in main()
|
/frameworks/base/docs/html/training/auto/audio/ |
D | index.jd | 65 app and provide a browse and playback interface for your app's audio content. 84 control playback with actions such as play, pause, or skip track. 100 {@link android.media.session.MediaSession.Callback} object to enable playback controls.</li> 214 {@link android.media.session.MediaSession} provided by your app, which handles content playback 225 object, in order to control audio playback</li> 253 <li>If the user begins playback, Auto invokes the appropriate media session 357 Auto devices use {@link android.media.session.MediaSession} objects to pass playback control 360 control of audio playback. 367 to send playback commands requested by the Auto user back to your app.</p> 399 playback control requests. You create this callback object by providing an implementation of the [all …]
|
/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;
|
D | MediaItem.java | 16 package com.android.onemedia.playback;
|
D | RequestUtils.java | 16 package com.android.onemedia.playback;
|
/frameworks/base/libs/hwui/ |
D | DrawProfiler.cpp | 103 mData[mCurrentFrame].playback = NANOS_TO_MILLIS_FLOAT(now - mPreviousTime); in markPlaybackEnd() 183 addRect(r, mData[i].playback, mRects[PLAYBACK_INDEX] + shapeIndex); in prepareShapes() 271 mData[i].record, mData[i].prepare, mData[i].playback, mData[i].swapBuffers); in dumpData()
|
D | DrawProfiler.h | 55 float playback; member
|
/frameworks/base/docs/html/google/play-services/ |
D | cast.jd | 49 <h4>Add playback controls to your app</h4> 50 <p>To allow users to control playback on the receiver app, you can add a 53 such as start and pause playback and control the volume on the Google Cast device.
|
/frameworks/base/docs/html/distribute/essentials/quality/ |
D | tv.jd | 412 <td rowspan="3" id="media-playback"> 423 control playback. 424 (<a href="{@docRoot}training/tv/playback/now-playing.html">Learn how</a>) 436 a screen that allows playback to be paused. 437 (<a href="{@docRoot}training/tv/playback/now-playing.html">Learn how</a>) 449 playback when a play or pause key event is sent during playback.<br>
|