Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java198 public PlaybackInfo getPlaybackInfo() { in getPlaybackInfo()
421 public void onAudioInfoChanged(PlaybackInfo info) { in onAudioInfoChanged()
499 PlaybackInfo pi = null; in onVolumeInfoChanged()
501 pi = new PlaybackInfo(info.volumeType, info.audioStream, info.controlType, in onVolumeInfoChanged()
547 onAudioInfoChanged((PlaybackInfo) msg.obj); in handleMessage()
678 public static final class PlaybackInfo { class in MediaControllerCompat
695 PlaybackInfo(int type, int stream, int control, int max, int current) { in PlaybackInfo() method in MediaControllerCompat.PlaybackInfo
776 PlaybackInfo getPlaybackInfo(); in getPlaybackInfo()
921 public PlaybackInfo getPlaybackInfo() { in getPlaybackInfo()
924 PlaybackInfo pi = new PlaybackInfo(info.volumeType, info.audioStream, in getPlaybackInfo()
[all …]
DMediaSessionCompat.java1005 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_LOCAL; in MediaSessionImplBase()
1117 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToLocal()
1133 mVolumeType = MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToRemote()
1328 if (mVolumeType == MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in adjustVolume()
1338 if (mVolumeType == MediaControllerCompat.PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in setVolumeTo()
1543 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/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/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()
796 public static final class PlaybackInfo { class in MediaController
815 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { in PlaybackInfo() method in MediaController.PlaybackInfo
951PlaybackInfo info = new PlaybackInfo(pvi.volumeType, pvi.audioAttrs, pvi.controlType, in onVolumeInfoChanged()
993 mCallback.onAudioInfoChanged((PlaybackInfo) msg.obj); in handleMessage()
/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/services/core/java/com/android/server/media/
DMediaSessionRecord.java36 import android.media.session.MediaController.PlaybackInfo;
119 private int mVolumeType = PlaybackInfo.PLAYBACK_TYPE_LOCAL;
255 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in adjustVolume()
343 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in setVolumeTo()
847 typeChanged = mVolumeType == PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToLocal()
848 mVolumeType = PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToLocal()
864 typeChanged = mVolumeType == PlaybackInfo.PLAYBACK_TYPE_LOCAL; in setPlaybackToRemote()
865 mVolumeType = PlaybackInfo.PLAYBACK_TYPE_REMOTE; in setPlaybackToRemote()
1097 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()
DMediaSessionService.java41 import android.media.session.MediaController.PlaybackInfo;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanel.java46 import android.media.session.MediaController.PlaybackInfo;
593 PlaybackInfo ai = sc.controller.getPlaybackInfo(); in getStreamMaxVolume()
610 PlaybackInfo ai = sc.controller.getPlaybackInfo(); in getStreamVolume()
1149 PlaybackInfo vi = controller.getPlaybackInfo(); in onShowVolumeChanged()
1578 public void onAudioInfoChanged(PlaybackInfo info) {
/frameworks/base/docs/html/sdk/api_diff/preview-21/
DmissingSinces.txt37 NO DOC BLOCK: android.media.session.MediaController.PlaybackInfo Class
442 …iaController.Callback Method onAudioInfoChanged(android.media.session.MediaController.PlaybackInfo)
/frameworks/base/api/
Dsystem-current.txt17360 method public android.media.session.MediaController.PlaybackInfo getPlaybackInfo();
17377 method public void onAudioInfoChanged(android.media.session.MediaController.PlaybackInfo);
17387 public static final class MediaController.PlaybackInfo {
Dcurrent.txt16272 method public android.media.session.MediaController.PlaybackInfo getPlaybackInfo();
16289 method public void onAudioInfoChanged(android.media.session.MediaController.PlaybackInfo);
16299 public static final class MediaController.PlaybackInfo {