Home
last modified time | relevance | path

Searched refs:RemoteControlClient (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DTransportControlView.java32 import android.media.RemoteControlClient;
198 mCurrentPlayState = RemoteControlClient.PLAYSTATE_NONE; // until we get a callback in TransportControlView()
315 setVisibilityBasedOnFlag(mBtnPrev, flags, RemoteControlClient.FLAG_KEY_MEDIA_PREVIOUS); in populateMetadata()
316 setVisibilityBasedOnFlag(mBtnNext, flags, RemoteControlClient.FLAG_KEY_MEDIA_NEXT); in populateMetadata()
318 RemoteControlClient.FLAG_KEY_MEDIA_PLAY in populateMetadata()
319 | RemoteControlClient.FLAG_KEY_MEDIA_PAUSE in populateMetadata()
320 | RemoteControlClient.FLAG_KEY_MEDIA_PLAY_PAUSE in populateMetadata()
321 | RemoteControlClient.FLAG_KEY_MEDIA_STOP); in populateMetadata()
344 case RemoteControlClient.PLAYSTATE_ERROR: in updatePlayPauseState()
351 case RemoteControlClient.PLAYSTATE_PLAYING: in updatePlayPauseState()
[all …]
/frameworks/base/media/java/android/media/
DRemoteControlClient.java60 public class RemoteControlClient class
235 public RemoteControlClient(PendingIntent mediaButtonIntent) { in RemoteControlClient() method in RemoteControlClient
264 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { in RemoteControlClient() method in RemoteControlClient
688 public EventHandler(RemoteControlClient rcc, Looper looper) { in EventHandler()
DAudioManager.java1765 public void registerRemoteControlClient(RemoteControlClient rcClient) { in registerRemoteControlClient()
1786 public void unregisterRemoteControlClient(RemoteControlClient rcClient) { in unregisterRemoteControlClient()
DAudioService.java2973 RemoteControlClient.FLAG_INFORMATION_REQUEST_ALBUM_ART |
2974 RemoteControlClient.FLAG_INFORMATION_REQUEST_KEY_MEDIA |
2975 RemoteControlClient.FLAG_INFORMATION_REQUEST_METADATA |
2976 RemoteControlClient.FLAG_INFORMATION_REQUEST_PLAYSTATE;
/frameworks/base/docs/html/sdk/
Dandroid-4.0.jd388 <p>The new {@link android.media.RemoteControlClient} allows media players to enable playback
394 android.media.RemoteControlClient} with its constructor, passing it a {@link
401 android.media.RemoteControlClient#setTransportControlFlags setTransportControlFlags()} on your
402 {@link android.media.RemoteControlClient}, passing a set of {@code FLAG_KEY_MEDIA_*} flags, such as
403 {@link android.media.RemoteControlClient#FLAG_KEY_MEDIA_PREVIOUS} and {@link
404 android.media.RemoteControlClient#FLAG_KEY_MEDIA_NEXT}.</p>
406 <p>You must then register your {@link android.media.RemoteControlClient} by passing it to {@link
409 android.media.RemoteControlClient} will receive {@link android.content.Intent#ACTION_MEDIA_BUTTON}
415 android.media.RemoteControlClient#editMetadata editMetaData()} and add metadata to the returned
416 {@link android.media.RemoteControlClient.MetadataEditor}. You can supply a bitmap for media artwork,
/frameworks/base/api/
Dcurrent.txt10329 method public void registerRemoteControlClient(android.media.RemoteControlClient);
10349 method public void unregisterRemoteControlClient(android.media.RemoteControlClient);
10880 public class RemoteControlClient {
10881 ctor public RemoteControlClient(android.app.PendingIntent);
10882 ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper);
10883 method public android.media.RemoteControlClient.MetadataEditor editMetadata(boolean);
10905 public class RemoteControlClient.MetadataEditor {
10908 …method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android…
10909 …method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) thr…
10910 …method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.la…
D14.txt10329 method public void registerRemoteControlClient(android.media.RemoteControlClient);
10349 method public void unregisterRemoteControlClient(android.media.RemoteControlClient);
10880 public class RemoteControlClient {
10881 ctor public RemoteControlClient(android.app.PendingIntent);
10882 ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper);
10883 method public android.media.RemoteControlClient.MetadataEditor editMetadata(boolean);
10905 public class RemoteControlClient.MetadataEditor {
10908 …method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android…
10909 …method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) thr…
10910 …method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.la…