Searched refs:RemoteControlClient (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorJellybeanMR2.java25 import android.media.RemoteControlClient;
32 implements RemoteControlClient.OnGetPlaybackPositionListener,
33 RemoteControlClient.OnPlaybackPositionUpdateListener {
80 RemoteControlClient mRemoteControl;
114 mRemoteControl = new RemoteControlClient(mPendingIntent);
124 if (mPlayState == RemoteControlClient.PLAYSTATE_PLAYING) {
139 if (mPlayState != RemoteControlClient.PLAYSTATE_PLAYING) {
140 mPlayState = RemoteControlClient.PLAYSTATE_PLAYING;
141 mRemoteControl.setPlaybackState(RemoteControlClient.PLAYSTATE_PLAYING);
160 mRemoteControl.setPlaybackState(playing ? RemoteControlClient
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardTransportControlView.java31 import android.media.RemoteControlClient;
211 // This is here because RemoteControlClient's method isn't visible :/
214 case RemoteControlClient.PLAYSTATE_STOPPED:
215 case RemoteControlClient.PLAYSTATE_PAUSED:
216 case RemoteControlClient.PLAYSTATE_BUFFERING:
217 case RemoteControlClient.PLAYSTATE_ERROR:
218 case RemoteControlClient.PLAYSTATE_SKIPPING_FORWARDS:
219 case RemoteControlClient.PLAYSTATE_SKIPPING_BACKWARDS:
221 case RemoteControlClient.PLAYSTATE_PLAYING:
222 case RemoteControlClient
[all...]
H A DKeyguardHostView.java42 import android.media.RemoteControlClient;
304 case RemoteControlClient.PLAYSTATE_PLAYING:
305 case RemoteControlClient.PLAYSTATE_BUFFERING:
306 case RemoteControlClient.PLAYSTATE_FAST_FORWARDING:
307 case RemoteControlClient.PLAYSTATE_REWINDING:
308 case RemoteControlClient.PLAYSTATE_SKIPPING_BACKWARDS:
309 case RemoteControlClient.PLAYSTATE_SKIPPING_FORWARDS:
/frameworks/base/media/java/android/media/
H A DMediaFocusControl.java1064 RemoteControlClient.FLAG_INFORMATION_REQUEST_ALBUM_ART |
1065 RemoteControlClient.FLAG_INFORMATION_REQUEST_KEY_MEDIA |
1066 RemoteControlClient.FLAG_INFORMATION_REQUEST_METADATA |
1067 RemoteControlClient.FLAG_INFORMATION_REQUEST_PLAYSTATE;
1090 Log.w(TAG, " RemoteControlClient died");
1104 * A global counter for RemoteControlClient identifiers
1118 mVolumeHandling = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME_HANDLING;
1123 * Internal cache for the playback information of the RemoteControlClient whose volume gets to
1129 * Indicates whether the "main" RemoteControlClient is considered active.
1135 * remote playback (mMainRemoteIsActive is false), but a RemoteControlClient ha
[all...]
H A DMediaRouter.java1469 int mVolumeMax = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME;
1470 int mVolume = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME;
1471 int mVolumeHandling = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME_HANDLING;
1983 RemoteControlClient mRcc;
2040 * Set the RemoteControlClient responsible for reporting playback info for this
2044 * RemoteControlClient will be used to reflect and update information
2047 * <p>The RemoteControlClient must have been previously registered with
2048 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.</p>
2050 * @param rcc RemoteControlClient associated with this route
2052 public void setRemoteControlClient(RemoteControlClient rc
[all...]
H A DRemoteController.java43 * and playback status, published by applications using the {@link RemoteControlClient} class.
49 * {@link RemoteControlClient} instances.
147 * This is typically called whenever a new {@link RemoteControlClient} has been selected
149 * @param clearing true if there is no selected RemoteControlClient and no information
159 * in {@link RemoteControlClient#setPlaybackState(int)}.
166 * in {@link RemoteControlClient#setPlaybackState(int)}.
173 * playing (e.g. when state is {@link RemoteControlClient#PLAYSTATE_ERROR}).
180 * in {@link RemoteControlClient#setTransportControlFlags(int)}.
213 * with the RemoteControlClient.</p>
222 if (!RemoteControlClient
[all...]
H A DMediaMetadataEditor.java28 * {@link RemoteControlClient}. See the {@link RemoteControlClient#editMetadata(boolean)}
29 * method to instantiate a {@link RemoteControlClient.MetadataEditor} object.
40 // Public keys for metadata used by RemoteControlClient and RemoteController.
47 RemoteControlClient.MetadataEditor.BITMAP_KEY_ARTWORK;
61 * {@link android.media.RemoteControlClient.OnMetadataUpdateListener} interface.
128 * This should only be used by metadata publishers, such as {@link RemoteControlClient},
130 * received through the {@link RemoteControlClient.OnMetadataUpdateListener} interface.
H A DRemoteControlClient.java44 * RemoteControlClient enables exposing information meant to be consumed by remote controls
50 * RemoteControlClient can be registered through
51 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.
53 * <p>Here is an example of creating a RemoteControlClient instance after registering a media
63 * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent);
66 public class RemoteControlClient class
68 private final static String TAG = "RemoteControlClient";
72 * Playback state of a RemoteControlClient which is stopped.
78 * Playback state of a RemoteControlClient whic
354 public RemoteControlClient(PendingIntent mediaButtonIntent) { method in class:RemoteControlClient
383 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { method in class:RemoteControlClient
[all...]
H A DAudioManager.java2250 * @see RemoteControlClient
2252 public void registerRemoteControlClient(RemoteControlClient rcClient) {
2273 * @see #registerRemoteControlClient(RemoteControlClient)
2275 public void unregisterRemoteControlClient(RemoteControlClient rcClient) {
2290 * and playback state information from applications using {@link RemoteControlClient}, and
2415 * Controls whether a remote control display needs periodic checks of the RemoteControlClient
2421 * @param wantsSync if true, RemoteControlClient instances which expose their playback position
2441 * Request the user of a RemoteControlClient to seek to the given playback position.
2442 * @param generationId the RemoteControlClient generation counter for which this request is
2461 * Notify the user of a RemoteControlClient tha
[all...]
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java234 (android.media.RemoteControlClient)rccObj);

Completed in 147 milliseconds