/external/webkit/Source/WebCore/platform/graphics/ |
D | MediaPlayer.cpp | 84 NullMediaPlayerPrivate(MediaPlayer*) { } in NullMediaPlayerPrivate() argument 123 virtual MediaPlayer::NetworkState networkState() const { return MediaPlayer::Empty; } in networkState() 124 virtual MediaPlayer::ReadyState readyState() const { return MediaPlayer::HaveNothing; } in readyState() 148 static MediaPlayerPrivateInterface* createNullMediaPlayer(MediaPlayer* player) in createNullMediaPlayer() 253 MediaPlayer::SupportsType supported = MediaPlayer::IsNotSupported; in bestMediaEngineForTypeAndCodecs() 261 MediaPlayer::SupportsType engineSupport = engines[ndx]->supportsTypeAndCodecs(type, codecs); in bestMediaEngineForTypeAndCodecs() 289 MediaPlayer::MediaPlayer(MediaPlayerClient* client) in MediaPlayer() function in WebCore::MediaPlayer 291 , m_reloadTimer(this, &MediaPlayer::reloadTimerFired) in MediaPlayer() 322 MediaPlayer::~MediaPlayer() in ~MediaPlayer() 327 void MediaPlayer::load(const String& url, const ContentType& contentType) in load() [all …]
|
D | MediaPlayer.h | 97 class MediaPlayer; variable 109 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*) { } in mediaPlayerNetworkStateChanged() argument 112 virtual void mediaPlayerReadyStateChanged(MediaPlayer*) { } in mediaPlayerReadyStateChanged() argument 115 virtual void mediaPlayerVolumeChanged(MediaPlayer*) { } in mediaPlayerVolumeChanged() argument 118 virtual void mediaPlayerMuteChanged(MediaPlayer*) { } in mediaPlayerMuteChanged() argument 121 virtual void mediaPlayerTimeChanged(MediaPlayer*) { } in mediaPlayerTimeChanged() argument 124 virtual void mediaPlayerDurationChanged(MediaPlayer*) { } in mediaPlayerDurationChanged() argument 127 virtual void mediaPlayerRateChanged(MediaPlayer*) { } in mediaPlayerRateChanged() argument 130 virtual void mediaPlayerPlaybackStateChanged(MediaPlayer*) { } in mediaPlayerPlaybackStateChanged() argument 135 virtual void mediaPlayerSawUnsupportedTracks(MediaPlayer*) { } in mediaPlayerSawUnsupportedTracks() argument [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMediaPlayer.java | 4 import android.media.MediaPlayer; 16 @Implements(MediaPlayer.class) 19 @RealObject private MediaPlayer player; 26 private MediaPlayer.OnCompletionListener completionListener; 27 private MediaPlayer.OnPreparedListener preparedListener; 30 public static MediaPlayer create(Context context, int resId) { in create() 31 MediaPlayer mp = new MediaPlayer(); in create() 41 public static MediaPlayer create(Context context, Uri uri) { in create() 42 MediaPlayer mp = new MediaPlayer(); in create() 61 public void setOnCompletionListener(MediaPlayer.OnCompletionListener listener) { in setOnCompletionListener() [all …]
|
D | ShadowVideoView.java | 4 import android.media.MediaPlayer; 15 private MediaPlayer.OnCompletionListener completionListner; 16 private MediaPlayer.OnErrorListener errorListener; 17 private MediaPlayer.OnPreparedListener preparedListener; 32 public void setOnPreparedListener(MediaPlayer.OnPreparedListener l) { in setOnPreparedListener() 37 public void setOnErrorListener(MediaPlayer.OnErrorListener l) { in setOnErrorListener() 42 public void setOnCompletionListener(MediaPlayer.OnCompletionListener l) { in setOnCompletionListener() 101 public MediaPlayer.OnPreparedListener getOnPreparedListener() { in getOnPreparedListener() 109 public MediaPlayer.OnErrorListener getOnErrorListener() { in getOnErrorListener() 117 public MediaPlayer.OnCompletionListener getOnCompletionListener() { in getOnCompletionListener()
|
/external/webkit/Source/WebCore/platform/graphics/avfoundation/ |
D | MediaPlayerPrivateAVFoundation.cpp | 50 MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation(MediaPlayer* player) in MediaPlayerPrivateAVFoundation() 55 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivateAVFoundation() 56 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivateAVFoundation() 57 , m_preload(MediaPlayer::Auto) in MediaPlayerPrivateAVFoundation() 185 if (m_networkState != MediaPlayer::Loading) { in load() 186 m_networkState = MediaPlayer::Loading; in load() 189 if (m_readyState != MediaPlayer::HaveNothing) { in load() 190 m_readyState = MediaPlayer::HaveNothing; in load() 201 if (m_preload == MediaPlayer::None) { in load() 235 m_preload = MediaPlayer::Auto; in prepareToPlay() [all …]
|
D | MediaPlayerPrivateAVFoundation.h | 113 MediaPlayerPrivateAVFoundation(MediaPlayer*); 139 virtual MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 140 virtual MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState() 147 virtual void setPreload(MediaPlayer::Preload); 155 virtual MediaPlayer::MovieLoadType movieLoadType() const; 228 bool metaDataAvailable() const { return m_readyState >= MediaPlayer::HaveMetadata; } in metaDataAvailable() 240 MediaPlayer* m_player; 248 MediaPlayer::NetworkState m_networkState; 249 MediaPlayer::ReadyState m_readyState; 252 MediaPlayer::Preload m_preload;
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | MediaPlayerPrivateQt.cpp | 61 MediaPlayerPrivateInterface* MediaPlayerPrivateQt::create(MediaPlayer* player) in create() 82 MediaPlayer::SupportsType MediaPlayerPrivateQt::supportsType(const String& mime, const String& code… in supportsType() 85 return MediaPlayer::IsNotSupported; in supportsType() 98 return MediaPlayer::IsSupported; in supportsType() 100 return MediaPlayer::MayBeSupported; in supportsType() 103 MediaPlayerPrivateQt::MediaPlayerPrivateQt(MediaPlayer* player) in MediaPlayerPrivateQt() 109 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivateQt() 110 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivateQt() 116 , m_preload(MediaPlayer::Auto) in MediaPlayerPrivateQt() 177 if (m_preload == MediaPlayer::None) { in load() [all …]
|
D | MediaPlayerPrivatePhonon.cpp | 87 MediaPlayerPrivatePhonon::MediaPlayerPrivatePhonon(MediaPlayer* player) in MediaPlayerPrivatePhonon() 89 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivatePhonon() 90 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivatePhonon() 121 MediaPlayerPrivateInterface* MediaPlayerPrivatePhonon::create(MediaPlayer* player) in create() 198 MediaPlayer::SupportsType MediaPlayerPrivatePhonon::supportsType(const String& type, const String& … in supportsType() 201 return MediaPlayer::IsNotSupported; in supportsType() 204 return codecs.isEmpty() ? MediaPlayer::MayBeSupported : MediaPlayer::IsSupported; in supportsType() 205 return MediaPlayer::IsNotSupported; in supportsType() 228 if (m_networkState != MediaPlayer::Loading) { in load() 229 m_networkState = MediaPlayer::Loading; in load() [all …]
|
D | MediaPlayerPrivateQt.h | 43 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 48 static MediaPlayer::SupportsType supportsType(const String&, const String&); 76 void setPreload(MediaPlayer::Preload); 78 MediaPlayer::NetworkState networkState() const; 79 MediaPlayer::ReadyState readyState() const; 134 MediaPlayerPrivateQt(MediaPlayer*); 136 MediaPlayer* m_webCorePlayer; 145 mutable MediaPlayer::NetworkState m_networkState; 146 mutable MediaPlayer::ReadyState m_readyState; 154 MediaPlayer::Preload m_preload;
|
D | MediaPlayerPrivatePhonon.h | 102 MediaPlayer::NetworkState networkState() const; 103 MediaPlayer::ReadyState readyState() const; 130 MediaPlayerPrivatePhonon(MediaPlayer*); 131 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 134 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 140 MediaPlayer* m_player; 142 MediaPlayer::NetworkState m_networkState; 143 MediaPlayer::ReadyState m_readyState;
|
/external/chromium/chrome/browser/ui/webui/ |
D | mediaplayer_ui.cc | 221 MediaPlayer* player = MediaPlayer::GetInstance(); in Init() 258 MediaPlayer::GetInstance()->NotifyPlaylistChanged(); in PlaybackMediaFile() 270 MediaPlayer::GetInstance()->ToggleFullscreen(); in HandleToggleFullscreen() 276 MediaPlayer::GetInstance()->SetPlaylistOffset(id); in HandleSetCurrentPlaylistOffset() 306 MediaPlayer::GetInstance()->NotifyPlaylistChanged(); in EnqueueMediaFileUrl() 311 MediaPlayer::GetInstance()->NotifyPlaylistChanged(); in HandleCurrentOffsetChanged() 335 MediaPlayer::GetInstance()->TogglePlaylistWindowVisible(); in HandleTogglePlaylist() 339 MediaPlayer::GetInstance()->ShowPlaylistWindow(); in HandleShowPlaylist() 350 DISABLE_RUNNABLE_METHOD_REFCOUNT(MediaPlayer); 352 MediaPlayer::~MediaPlayer() { in ~MediaPlayer() [all …]
|
/external/webkit/Source/WebCore/html/ |
D | HTMLMediaElement.h | 58 MediaPlayer* player() const { return m_player.get(); } in player() 79 MediaPlayer::MovieLoadType movieLoadType() const; 240 void setReadyState(MediaPlayer::ReadyState); 241 void setNetworkState(MediaPlayer::NetworkState); 244 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*); 245 virtual void mediaPlayerReadyStateChanged(MediaPlayer*); 246 virtual void mediaPlayerTimeChanged(MediaPlayer*); 247 virtual void mediaPlayerVolumeChanged(MediaPlayer*); 248 virtual void mediaPlayerMuteChanged(MediaPlayer*); 249 virtual void mediaPlayerDurationChanged(MediaPlayer*); [all …]
|
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
D | MediaPlayerPrivateGStreamer.h | 83 void setPreload(MediaPlayer::Preload); 86 MediaPlayer::NetworkState networkState() const; 87 MediaPlayer::ReadyState readyState() const; 102 void loadingFailed(MediaPlayer::NetworkState); 126 MediaPlayerPrivateGStreamer(MediaPlayer*); 129 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 132 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 152 MediaPlayer* m_player; 162 MediaPlayer::NetworkState m_networkState; 163 MediaPlayer::ReadyState m_readyState; [all …]
|
D | MediaPlayerPrivateGStreamer.cpp | 154 MediaPlayerPrivateInterface* MediaPlayerPrivateGStreamer::create(MediaPlayer* player) in create() 196 MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer(MediaPlayer* player) in MediaPlayerPrivateGStreamer() 205 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivateGStreamer() 206 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivateGStreamer() 223 , m_preload(MediaPlayer::Auto) in MediaPlayerPrivateGStreamer() 289 if (m_preload == MediaPlayer::None) { in load() 347 loadingFailed(MediaPlayer::Empty); in changePipelineState() 656 MediaPlayer::NetworkState MediaPlayerPrivateGStreamer::networkState() const in networkState() 661 MediaPlayer::ReadyState MediaPlayerPrivateGStreamer::readyState() const in readyState() 710 MediaPlayer::NetworkState error; in handleMessage() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | MediaPlayerPrivateQTKit.h | 72 MediaPlayerPrivateQTKit(MediaPlayer*); 76 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 78 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 114 void setPreload(MediaPlayer::Preload); 116 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 117 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState() 140 MediaPlayer::MovieLoadType movieLoadType() const; 175 … bool metaDataAvailable() const { return m_qtMovie && m_readyState >= MediaPlayer::HaveMetadata; } in metaDataAvailable() 187 MediaPlayer* m_player; 195 MediaPlayer::NetworkState m_networkState; [all …]
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | MediaPlayerPrivateQuickTimeWin.cpp | 74 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create() 85 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate() 89 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate() 90 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate() 227 m_networkState = MediaPlayer::DecodeError; in load() 235 if (m_networkState != MediaPlayer::Loading) { in load() 236 m_networkState = MediaPlayer::Loading; in load() 239 if (m_readyState != MediaPlayer::HaveNothing) { in load() 240 m_readyState = MediaPlayer::HaveNothing; in load() 341 MediaPlayer::NetworkState state = networkState(); in seekTimerFired() [all …]
|
D | MediaPlayerPrivateQuickTimeVisualContext.h | 65 MediaPlayerPrivateQuickTimeVisualContext(MediaPlayer*); 97 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 98 MediaPlayer::ReadyState readyState() const { return m_readyState; } in 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;
|
D | MediaPlayerPrivateQuickTimeVisualContext.cpp | 151 MediaPlayerPrivateInterface* MediaPlayerPrivateQuickTimeVisualContext::create(MediaPlayer* player) in create() 162 MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext(MediaPlayer* pla… in MediaPlayerPrivateQuickTimeVisualContext() 167 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivateQuickTimeVisualContext() 168 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivateQuickTimeVisualContext() 184 , m_preload(MediaPlayer::Auto) in MediaPlayerPrivateQuickTimeVisualContext() 340 if (m_preload == MediaPlayer::None) { in load() 352 m_networkState = MediaPlayer::DecodeError; in loadInternal() 362 if (m_networkState != MediaPlayer::Loading) { in loadInternal() 363 m_networkState = MediaPlayer::Loading; in loadInternal() 366 if (m_readyState != MediaPlayer::HaveNothing) { in loadInternal() [all …]
|
D | MediaPlayerPrivateQuickTimeWin.h | 76 MediaPlayerPrivate(MediaPlayer*); 105 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 106 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState() 140 static MediaPlayerPrivateInterface* create(MediaPlayer*); 142 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 165 MediaPlayer* m_player; 174 MediaPlayer::NetworkState m_networkState; 175 MediaPlayer::ReadyState m_readyState;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | MediaPlayerPrivateWinCE.h | 68 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 69 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState() 85 MediaPlayerPrivate(MediaPlayer*); 100 static MediaPlayerPrivateInterface* create(MediaPlayer*); 102 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 105 MediaPlayer* m_player; 109 MediaPlayer::NetworkState m_networkState; 110 MediaPlayer::ReadyState m_readyState;
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebMediaPlayerClientImpl.cpp | 212 if (m_preload == MediaPlayer::None) { in load() 360 MediaPlayer::NetworkState WebMediaPlayerClientImpl::networkState() const in networkState() 363 return static_cast<MediaPlayer::NetworkState>(m_webMediaPlayer->networkState()); in networkState() 364 return MediaPlayer::Empty; in networkState() 367 MediaPlayer::ReadyState WebMediaPlayerClientImpl::readyState() const in readyState() 370 return static_cast<MediaPlayer::ReadyState>(m_webMediaPlayer->readyState()); in readyState() 371 return MediaPlayer::HaveNothing; in readyState() 463 void WebMediaPlayerClientImpl::setPreload(MediaPlayer::Preload preload) in setPreload() 470 if (m_delayingLoad && m_preload != MediaPlayer::None) in setPreload() 481 MediaPlayer::MovieLoadType WebMediaPlayerClientImpl::movieLoadType() const in movieLoadType() [all …]
|
D | WebMediaPlayerClientImpl.h | 106 virtual WebCore::MediaPlayer::NetworkState networkState() const; 107 virtual WebCore::MediaPlayer::ReadyState readyState() const; 117 virtual void setPreload(WebCore::MediaPlayer::Preload); 119 virtual WebCore::MediaPlayer::MovieLoadType movieLoadType() const; 137 static WebCore::MediaPlayerPrivateInterface* create(WebCore::MediaPlayer*); 139 static WebCore::MediaPlayer::SupportsType supportsType( 145 WebCore::MediaPlayer* m_mediaPlayer; 149 WebCore::MediaPlayer::Preload m_preload;
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
D | MediaPlayerPrivateAndroid.h | 72 virtual MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState() 73 virtual MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState() 111 static MediaPlayerPrivateInterface* create(MediaPlayer* player); 113 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs); 115 MediaPlayerPrivate(MediaPlayer *); 118 MediaPlayer* m_player; 127 MediaPlayer::ReadyState m_readyState; 128 MediaPlayer::NetworkState m_networkState;
|
/external/webkit/Source/WebCore/bindings/generic/ |
D | RuntimeEnabledFeatures.cpp | 89 return MediaPlayer::isAvailable(); in audioEnabled() 94 return MediaPlayer::isAvailable(); in htmlMediaElementEnabled() 99 return MediaPlayer::isAvailable(); in htmlAudioElementEnabled() 104 return MediaPlayer::isAvailable(); in htmlVideoElementEnabled() 109 return MediaPlayer::isAvailable(); in mediaErrorEnabled() 114 return MediaPlayer::isAvailable(); in timeRangesEnabled()
|
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/ |
D | AndroidAudioRenderer.java | 39 import android.media.MediaPlayer; 61 SoundPool.OnLoadCompleteListener, MediaPlayer.OnCompletionListener { 65 …private final HashMap<AudioNode, MediaPlayer> musicPlaying = new HashMap<AudioNode, MediaPlayer>(); 230 MediaPlayer mp = musicPlaying.get(src); in update() 284 MediaPlayer mp = musicPlaying.get(src); in cleanup() 295 public void onCompletion(MediaPlayer mp) { in onCompletion() 379 MediaPlayer mp = musicPlaying.get(src); in playSource() 381 mp = new MediaPlayer(); in playSource() 413 for (MediaPlayer mp : musicPlaying.values()) { in pauseAll() 425 for (MediaPlayer mp : musicPlaying.values()) { in resumeAll() [all …]
|