/external/chromium/chrome/browser/ui/webui/ |
mediaplayer_browsertest.cc | 68 MediaPlayer* player = MediaPlayer::GetInstance(); 84 MediaPlayer* player = MediaPlayer::GetInstance();
|
mediaplayer_ui.cc | 56 static const char* kMediaplayerURL = "chrome://mediaplayer"; 57 static const char* kMediaplayerPlaylistURL = "chrome://mediaplayer#playlist"; 83 // The handler for Javascript messages related to the "mediaplayer" view. 138 // maintained by the mediaplayer itself. Offset is the item in the 147 // Indicator of if this handler is a playlist or a mediaplayer. 221 MediaPlayer* player = MediaPlayer::GetInstance(); 258 MediaPlayer::GetInstance()->NotifyPlaylistChanged(); 270 MediaPlayer::GetInstance()->ToggleFullscreen(); 276 MediaPlayer::GetInstance()->SetPlaylistOffset(id) [all...] |
/external/webkit/Source/WebCore/platform/graphics/avfoundation/ |
MediaPlayerPrivateAVFoundationObjC.h | 63 MediaPlayerPrivateAVFoundationObjC(MediaPlayer*); 67 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 69 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 119 MediaPlayer* m_player;
|
MediaPlayerPrivateAVFoundation.h | 113 MediaPlayerPrivateAVFoundation(MediaPlayer*); 139 virtual MediaPlayer::NetworkState networkState() const { return m_networkState; } 140 virtual MediaPlayer::ReadyState readyState() const { return m_readyState; } 147 virtual void setPreload(MediaPlayer::Preload); 155 virtual MediaPlayer::MovieLoadType movieLoadType() const; 228 bool metaDataAvailable() const { return m_readyState >= MediaPlayer::HaveMetadata; } 240 MediaPlayer* m_player; 248 MediaPlayer::NetworkState m_networkState; 249 MediaPlayer::ReadyState m_readyState; 252 MediaPlayer::Preload m_preload [all...] |
/packages/apps/Camera/src/com/android/camera/ |
SoundPlayer.java | 21 import android.media.MediaPlayer; 33 private MediaPlayer mPlayer; 44 MediaPlayer player = new MediaPlayer();
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
MediaPlayerPrivateQuickTimeVisualContext.h | 65 MediaPlayerPrivateQuickTimeVisualContext(MediaPlayer*); 97 MediaPlayer::NetworkState networkState() const { return m_networkState; } 98 MediaPlayer::ReadyState readyState() const { return m_readyState; } 119 void setPreload(MediaPlayer::Preload); 129 static MediaPlayerPrivateInterface* create(MediaPlayer*); 131 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 177 MediaPlayer* m_player; 191 MediaPlayer::NetworkState m_networkState; 192 MediaPlayer::ReadyState m_readyState; 203 MediaPlayer::Preload m_preload [all...] |
MediaPlayerPrivateQuickTimeWin.cpp | 74 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) 85 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) 89 , m_networkState(MediaPlayer::Empty) 90 , m_readyState(MediaPlayer::HaveNothing) 227 m_networkState = MediaPlayer::DecodeError; 235 if (m_networkState != MediaPlayer::Loading) { 236 m_networkState = MediaPlayer::Loading; 239 if (m_readyState != MediaPlayer::HaveNothing) { 240 m_readyState = MediaPlayer::HaveNothing; 341 MediaPlayer::NetworkState state = networkState() [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerStreamingTest.java | 18 import android.media.MediaPlayer; 23 * Tests of MediaPlayer streaming capabilities. 162 mMediaPlayer.setOnBufferingUpdateListener(new MediaPlayer.OnBufferingUpdateListener() { 164 public void onBufferingUpdate(MediaPlayer mp, int percent) { 168 mMediaPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() { 170 public boolean onError(MediaPlayer mp, int what, int extra) {
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
MediaPlayerPrivateQt.cpp | 61 MediaPlayerPrivateInterface* MediaPlayerPrivateQt::create(MediaPlayer* player) 82 MediaPlayer::SupportsType MediaPlayerPrivateQt::supportsType(const String& mime, const String& codec) 85 return MediaPlayer::IsNotSupported; 98 return MediaPlayer::IsSupported; 100 return MediaPlayer::MayBeSupported; 103 MediaPlayerPrivateQt::MediaPlayerPrivateQt(MediaPlayer* player) 109 , m_networkState(MediaPlayer::Empty) 110 , m_readyState(MediaPlayer::HaveNothing) 116 , m_preload(MediaPlayer::Auto) 177 if (m_preload == MediaPlayer::None) [all...] |
MediaPlayerPrivatePhonon.cpp | 54 static QByteArray debugMediaObject(WebCore::MediaPlayerPrivatePhonon* mediaPlayer, const MediaObject& mediaObject) 59 const QMetaObject* metaObj = mediaPlayer->metaObject(); 87 MediaPlayerPrivatePhonon::MediaPlayerPrivatePhonon(MediaPlayer* player) 89 , m_networkState(MediaPlayer::Empty) 90 , m_readyState(MediaPlayer::HaveNothing) 121 MediaPlayerPrivateInterface* MediaPlayerPrivatePhonon::create(MediaPlayer* player) 198 MediaPlayer::SupportsType MediaPlayerPrivatePhonon::supportsType(const String& type, const String& codecs) 201 return MediaPlayer::IsNotSupported; 204 return codecs.isEmpty() ? MediaPlayer::MayBeSupported : MediaPlayer::IsSupported [all...] |
/frameworks/base/core/java/android/widget/ |
VideoView.java | 25 import android.media.MediaPlayer; 27 import android.media.MediaPlayer.OnCompletionListener; 28 import android.media.MediaPlayer.OnErrorListener; 75 private MediaPlayer mMediaPlayer = null; 82 private MediaPlayer.OnPreparedListener mOnPreparedListener; 213 mMediaPlayer = new MediaPlayer(); 234 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0); 240 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0); 263 MediaPlayer.OnVideoSizeChangedListener mSizeChangedListener = 264 new MediaPlayer.OnVideoSizeChangedListener() [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 29 import android.media.MediaPlayer; 49 private static MediaPlayer mMediaPlayer; 50 private MediaPlayer.OnPreparedListener mOnPreparedListener; 90 MediaPlayer mp = new MediaPlayer(); 109 MediaPlayer mp = new MediaPlayer(); 142 MediaPlayer mp = new MediaPlayer(); 169 MediaPlayer mp = new MediaPlayer() [all...] |
/frameworks/base/core/java/android/webkit/ |
HTML5Audio.java | 21 import android.media.MediaPlayer; 41 implements MediaPlayer.OnBufferingUpdateListener, 42 MediaPlayer.OnCompletionListener, 43 MediaPlayer.OnErrorListener, 44 MediaPlayer.OnPreparedListener, 45 MediaPlayer.OnSeekCompleteListener, 50 private MediaPlayer mMediaPlayer; 134 // event listeners for MediaPlayer 135 // Those are called from the same thread we created the MediaPlayer 138 // MediaPlayer.OnBufferingUpdateListene [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerGetCurrentPositionStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.getCurrentPosition() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerGetDurationStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.getDuration() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerGetVideoHeightStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.getVideoHeight() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerGetVideoWidthStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.getVideoWidth() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerIsPlayingStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.isPlaying() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerPauseStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.pause() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerResetStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.reset() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerSeekToStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.seekTo() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerSetAudioStreamTypeStateUnitTest.java | 19 import android.media.MediaPlayer; 26 * MediaPlayer.setAudioStreamType() method can be called. 56 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerSetLoopingStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.setLooping() method can be called. 56 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerSetVolumeStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.setVolume() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|
MediaPlayerStartStateUnitTest.java | 19 import android.media.MediaPlayer; 25 * MediaPlayer.start() method can be called. 55 public void invokeMethodUnderTest(MediaPlayer player) {
|