Searched refs:RemoteControlClient (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardTransportControlView.java | 27 import android.media.RemoteControlClient; 194 mCurrentPlayState = RemoteControlClient.PLAYSTATE_NONE; // until we get a callback 325 setVisibilityBasedOnFlag(mBtnPrev, flags, RemoteControlClient.FLAG_KEY_MEDIA_PREVIOUS); 326 setVisibilityBasedOnFlag(mBtnNext, flags, RemoteControlClient.FLAG_KEY_MEDIA_NEXT); 328 RemoteControlClient.FLAG_KEY_MEDIA_PLAY 329 | RemoteControlClient.FLAG_KEY_MEDIA_PAUSE 330 | RemoteControlClient.FLAG_KEY_MEDIA_PLAY_PAUSE 331 | RemoteControlClient.FLAG_KEY_MEDIA_STOP); 337 return mCurrentPlayState == RemoteControlClient.PLAYSTATE_PLAYING 338 || mCurrentPlayState == RemoteControlClient [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | TransportControlView.java | 31 import android.media.RemoteControlClient; 197 mCurrentPlayState = RemoteControlClient.PLAYSTATE_NONE; // until we get a callback 314 setVisibilityBasedOnFlag(mBtnPrev, flags, RemoteControlClient.FLAG_KEY_MEDIA_PREVIOUS); 315 setVisibilityBasedOnFlag(mBtnNext, flags, RemoteControlClient.FLAG_KEY_MEDIA_NEXT); 317 RemoteControlClient.FLAG_KEY_MEDIA_PLAY 318 | RemoteControlClient.FLAG_KEY_MEDIA_PAUSE 319 | RemoteControlClient.FLAG_KEY_MEDIA_PLAY_PAUSE 320 | RemoteControlClient.FLAG_KEY_MEDIA_STOP); 343 case RemoteControlClient.PLAYSTATE_ERROR: 350 case RemoteControlClient [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 929 int mVolumeMax = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME; 930 int mVolume = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME; 931 int mVolumeHandling = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME_HANDLING; 1294 RemoteControlClient mRcc; 1332 * Set the RemoteControlClient responsible for reporting playback info for this 1336 * RemoteControlClient will be used to reflect and update information 1339 * <p>The RemoteControlClient must have been previously registered with 1340 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}.</p> 1342 * @param rcc RemoteControlClient associated with this route 1344 public void setRemoteControlClient(RemoteControlClient rc [all...] |
H A D | RemoteControlClient.java | 41 * RemoteControlClient enables exposing information meant to be consumed by remote controls 47 * RemoteControlClient can be registered through 48 * {@link AudioManager#registerRemoteControlClient(RemoteControlClient)}. 50 * <p>Here is an example of creating a RemoteControlClient instance after registering a media 60 * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent); 63 public class RemoteControlClient class 65 private final static String TAG = "RemoteControlClient"; 68 * Playback state of a RemoteControlClient which is stopped. 74 * Playback state of a RemoteControlClient whic 320 public RemoteControlClient(PendingIntent mediaButtonIntent) { method in class:RemoteControlClient 349 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { method in class:RemoteControlClient [all...] |
H A D | AudioService.java | 4623 RemoteControlClient.FLAG_INFORMATION_REQUEST_ALBUM_ART | 4624 RemoteControlClient.FLAG_INFORMATION_REQUEST_KEY_MEDIA | 4625 RemoteControlClient.FLAG_INFORMATION_REQUEST_METADATA | 4626 RemoteControlClient.FLAG_INFORMATION_REQUEST_PLAYSTATE; 4649 Log.w(TAG, " RemoteControlClient died"); 4663 * A global counter for RemoteControlClient identifiers 4677 mVolumeHandling = RemoteControlClient.DEFAULT_PLAYBACK_VOLUME_HANDLING; 4682 * Internal cache for the playback information of the RemoteControlClient whose volume gets to 4688 * Indicates whether the "main" RemoteControlClient is considered active. 4694 * remote playback (mMainRemoteIsActive is false), but a RemoteControlClient ha [all...] |
H A D | AudioManager.java | 2123 * @see RemoteControlClient 2125 public void registerRemoteControlClient(RemoteControlClient rcClient) { 2146 * @see #registerRemoteControlClient(RemoteControlClient) 2148 public void unregisterRemoteControlClient(RemoteControlClient rcClient) { 2242 * The name of the RemoteControlClient. 2254 * The media button event receiver associated with the RemoteControlClient.
|
Completed in 874 milliseconds