Home
last modified time | relevance | path

Searched refs:PlaybackInfo (Results 1 – 20 of 20) sorted by relevance

/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java200 public PlaybackInfo getPlaybackInfo() { in getPlaybackInfo()
423 public void onAudioInfoChanged(PlaybackInfo info) { in onAudioInfoChanged()
501 PlaybackInfo pi = null; in onVolumeInfoChanged()
503 pi = new PlaybackInfo(info.volumeType, info.audioStream, info.controlType, in onVolumeInfoChanged()
549 onAudioInfoChanged((PlaybackInfo) msg.obj); in handleMessage()
692 public static final class PlaybackInfo { class in MediaControllerCompat
709 PlaybackInfo(int type, int stream, int control, int max, int current) { in PlaybackInfo() method in MediaControllerCompat.PlaybackInfo
790 PlaybackInfo getPlaybackInfo(); in getPlaybackInfo()
935 public PlaybackInfo getPlaybackInfo() { in getPlaybackInfo()
938 PlaybackInfo pi = new PlaybackInfo(info.volumeType, info.audioStream, in getPlaybackInfo()
[all …]
DMediaSessionCompat.java1030 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_LOCAL; in MediaSessionImplBase()
1142 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToLocal()
1158 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToRemote()
1371 if (mVolumeType == MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in adjustVolume()
1381 if (mVolumeType == MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in setVolumeTo()
1587 if (volumeType == MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in getVolumeAttributes()
/frameworks/support/v4/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java175 public static class PlaybackInfo { class in MediaControllerCompatApi21
177 return ((MediaController.PlaybackInfo)volumeInfoObj).getPlaybackType(); in getPlaybackType()
181 return ((MediaController.PlaybackInfo) volumeInfoObj).getAudioAttributes(); in getAudioAttributes()
190 return ((MediaController.PlaybackInfo)volumeInfoObj).getVolumeControl(); in getVolumeControl()
194 return ((MediaController.PlaybackInfo)volumeInfoObj).getMaxVolume(); in getMaxVolume()
198 return ((MediaController.PlaybackInfo)volumeInfoObj).getCurrentVolume(); in getCurrentVolume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java23 import android.media.session.MediaController.PlaybackInfo;
84 public static String playbackInfoToString(PlaybackInfo info) { in playbackInfoToString()
94 case PlaybackInfo.PLAYBACK_TYPE_LOCAL: return "LOCAL"; in playbackInfoTypeToString()
95 case PlaybackInfo.PLAYBACK_TYPE_REMOTE: return "REMOTE"; in playbackInfoTypeToString()
DMediaSessions.java30 import android.media.session.MediaController.PlaybackInfo;
138 final PlaybackInfo pi = controller.getPlaybackInfo(); in onActiveSessionsUpdatedH()
165 private static boolean isRemote(PlaybackInfo pi) { in isRemote()
166 return pi != null && pi.getPlaybackType() == PlaybackInfo.PLAYBACK_TYPE_REMOTE; in isRemote()
198 private void updateRemoteH(Token token, String name, PlaybackInfo pi) { in updateRemoteH()
209 final PlaybackInfo pi = c.getPlaybackInfo(); in dump()
276 public void onAudioInfoChanged(PlaybackInfo info) { in onAudioInfoChanged()
373 void onRemoteUpdate(Token token, String name, PlaybackInfo pi); in onRemoteUpdate()
DVolumeDialogController.java33 import android.media.session.MediaController.PlaybackInfo;
842 public void onRemoteUpdate(Token token, String name, PlaybackInfo pi) { in onRemoteUpdate()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemoteControlClientCompat.java57 public void setPlaybackInfo(PlaybackInfo info) { in setPlaybackInfo()
72 public static final class PlaybackInfo { class in RemoteControlClientCompat
138 public void setPlaybackInfo(PlaybackInfo info) { in setPlaybackInfo()
DMediaRouter.java1612 private final RemoteControlClientCompat.PlaybackInfo mPlaybackInfo =
1613 new RemoteControlClientCompat.PlaybackInfo();
/frameworks/base/media/java/android/media/
DRemoteController.java91 private PlaybackInfo mLastPlaybackInfo;
253 final PlaybackInfo lastPlaybackInfo; in getEstimatedMediaPosition()
605 final PlaybackInfo playbackInfo = in setPlaybackState()
606 new PlaybackInfo(state, stateChangeTimeMs, currentPosMs, speed); in setPlaybackState()
759 onNewPlaybackInfo(msg.arg1, (PlaybackInfo) msg.obj); in handleMessage()
850 private void onNewPlaybackInfo(int genId, PlaybackInfo pi) { in onNewPlaybackInfo()
955 final PlaybackInfo pi = new PlaybackInfo(RemoteControlClient.PLAYSTATE_STOPPED, in onDisplayEnable()
1056 private static class PlaybackInfo { class in RemoteController
1062 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { in PlaybackInfo() method in RemoteController.PlaybackInfo
/frameworks/base/media/java/android/media/session/
DMediaController.java255 public @Nullable PlaybackInfo getPlaybackInfo() { in getPlaybackInfo()
258 return new PlaybackInfo(result.volumeType, result.audioAttrs, result.controlType, in getPlaybackInfo()
580 public void onAudioInfoChanged(PlaybackInfo info) { in onAudioInfoChanged()
815 public static final class PlaybackInfo { class in MediaController
834 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { in PlaybackInfo() method in MediaController.PlaybackInfo
970PlaybackInfo info = new PlaybackInfo(pvi.volumeType, pvi.audioAttrs, pvi.controlType, in onVolumeInfoChanged()
1012 mCallback.onAudioInfoChanged((PlaybackInfo) msg.obj); in handleMessage()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java35 import android.media.session.MediaController.PlaybackInfo;
115 private int mVolumeType = PlaybackInfo.PLAYBACK_TYPE_LOCAL;
243 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in adjustVolume()
279 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in setVolumeTo()
806 typeChanged = mVolumeType == PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToLocal()
807 mVolumeType = PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToLocal()
824 typeChanged = mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToRemote()
825 mVolumeType = PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToRemote()
1065 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in getVolumeAttributes()
DMediaSessionStack.java19 import android.media.session.MediaController.PlaybackInfo;
240 if (record.getPlaybackType() == PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in getDefaultRemoteSession()
/frameworks/support/v4/api/
D22.0.0.txt1224 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1242 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1252 public static final class MediaControllerCompat.PlaybackInfo {
D22.1.0.txt1237 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1255 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1265 public static final class MediaControllerCompat.PlaybackInfo {
D22.2.1.txt1285 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1303 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1313 public static final class MediaControllerCompat.PlaybackInfo {
D22.2.0.txt1284 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1302 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1312 public static final class MediaControllerCompat.PlaybackInfo {
D23.txt1456 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1474 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1484 public static final class MediaControllerCompat.PlaybackInfo {
Dcurrent.txt1462 …method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(…
1480 …ublic void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
1490 public static final class MediaControllerCompat.PlaybackInfo {
/frameworks/base/api/
Dcurrent.txt17428 method public android.media.session.MediaController.PlaybackInfo getPlaybackInfo();
17445 method public void onAudioInfoChanged(android.media.session.MediaController.PlaybackInfo);
17455 public static final class MediaController.PlaybackInfo {
Dsystem-current.txt18764 method public android.media.session.MediaController.PlaybackInfo getPlaybackInfo();
18781 method public void onAudioInfoChanged(android.media.session.MediaController.PlaybackInfo);
18791 public static final class MediaController.PlaybackInfo {