Home
last modified time | relevance | path

Searched refs:playback (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd7 previous.link=volume-playback.html
36 audio playback&mdash;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 …]
Dindex.jd46 <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>
Dvolume-playback.jd39 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&mdash;in fact, responding to media playback buttons is most
Daudio-output.jd66 typically expect the playback to be paused&mdash;while for games you may choose to significantly
74 // Pause the playback
/frameworks/base/docs/html/guide/topics/media/
Dmediarouteprovider.jd12 <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 …]
Dexoplayer.jd14 <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
111playback 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 …]
Dmediarouter.jd25 <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 …]
Djetplayer.jd36 <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
Dindex.jd16 <p>If your media playback application creates a media playback service, just like Music, that
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java24 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()
DPlayerService.java28 import com.android.onemedia.playback.IRequestCallback;
29 import com.android.onemedia.playback.RequestUtils;
DPlayerSession.java32 import com.android.onemedia.playback.LocalRenderer;
33 import com.android.onemedia.playback.Renderer;
34 import com.android.onemedia.playback.RequestUtils;
DIPlayerService.aidl23 import com.android.onemedia.playback.IRequestCallback;
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd38 <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/
Dcodec.cpp321 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/
Dindex.jd65 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/
Djetcreator_manual.jd23 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/
DIRequestCallback.aidl16 package com.android.onemedia.playback;
DPlaybackError.java16 package com.android.onemedia.playback;
DMediaItem.java16 package com.android.onemedia.playback;
DRequestUtils.java16 package com.android.onemedia.playback;
/frameworks/base/libs/hwui/
DDrawProfiler.cpp103 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()
DDrawProfiler.h55 float playback; member
/frameworks/base/docs/html/google/play-services/
Dcast.jd49 <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/
Dtv.jd412 <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>

1234