Home
last modified time | relevance | path

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

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtMusic.java29 private boolean isPlaying = false; field in GwtMusic
46 if (isPlaying()) return; in play()
56 isPlaying = true; in play()
66 isPlaying = false; in pause()
72 isPlaying = false; in stop()
76 public boolean isPlaying () { in isPlaying() method in GwtMusic
77 isPlaying = !sound.getPaused() && sound.getPlayState() == 1; in isPlaying()
78 return isPlaying; in isPlaying()
DGwtSound.java52 if (sounds[index] == null || !sounds[index].isPlaying()) { in findAvailableSound()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
DOpenALMusic.java44 private boolean isLooping, isPlaying; field in OpenALMusic
96 if (!isPlaying) { in play()
98 isPlaying = true; in play()
110 isPlaying = false; in stop()
116 isPlaying = false; in pause()
119 public boolean isPlaying () { in isPlaying() method in OpenALMusic
122 return isPlaying; in isPlaying()
156 boolean wasPlaying = isPlaying; in setPosition()
157 isPlaying = false; in setPosition()
183 isPlaying = true; in setPosition()
[all …]
DOpenALAudioDevice.java40 private boolean isPlaying; field in OpenALAudioDevice
117 isPlaying = true; in writeSamples()
154 if (!isPlaying || alGetSourcei(sourceID, AL_SOURCE_STATE) != AL_PLAYING) { in fillBuffer()
156 isPlaying = true; in fillBuffer()
167 isPlaying = false; in stop()
170 public boolean isPlaying () { in isPlaying() method in OpenALAudioDevice
172 return isPlaying; in isPlaying()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
DOpenALMusic.java44 private boolean isLooping, isPlaying; field in OpenALMusic
96 if (!isPlaying) { in play()
98 isPlaying = true; in play()
110 isPlaying = false; in stop()
116 isPlaying = false; in pause()
119 public boolean isPlaying () { in isPlaying() method in OpenALMusic
122 return isPlaying; in isPlaying()
156 boolean wasPlaying = isPlaying; in setPosition()
157 isPlaying = false; in setPosition()
183 isPlaying = true; in setPosition()
[all …]
DOpenALAudioDevice.java40 private boolean isPlaying; field in OpenALAudioDevice
117 isPlaying = true; in writeSamples()
154 if (!isPlaying || alGetSourcei(sourceID, AL_SOURCE_STATE) != AL_PLAYING) { in fillBuffer()
156 isPlaying = true; in fillBuffer()
167 isPlaying = false; in stop()
170 public boolean isPlaying () { in isPlaying() method in OpenALAudioDevice
172 return isPlaying; in isPlaying()
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSMusic.java53 } else if (!track.isPlaying()) { in play()
60 if (track.isPlaying()) { in pause()
71 public boolean isPlaying () { in isPlaying() method in IOSMusic
72 return track.isPlaying() && !track.isPaused(); in isPlaying()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidMusic.java70 public boolean isPlaying () { in isPlaying() method in AndroidMusic
73 return player.isPlaying(); in isPlaying()
85 if (player.isPlaying()) { in pause()
99 if (player.isPlaying()) return; in play()
DAndroidAudio.java67 if (music.isPlaying()) { in pause()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DVideoViewTest.java72 assertThat(view.isPlaying(), equalTo(false)); in shoulDetermineIsPlaying()
74 assertThat(view.isPlaying(), equalTo(true)); in shoulDetermineIsPlaying()
76 assertThat(view.isPlaying(), equalTo(false)); in shoulDetermineIsPlaying()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/mock/
DMockMusic.java41 public boolean isPlaying() { in isPlaying() method in MockMusic
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/mock/audio/
DMockMusic.java41 public boolean isPlaying() { in isPlaying() method in MockMusic
/external/libgdx/gdx/src/com/badlogic/gdx/audio/
DMusic.java57 public boolean isPlaying (); in isPlaying() method
/external/webrtc/webrtc/voice_engine/
Dvoe_hardware_impl.cc355 bool isPlaying(false); in SetPlayoutDevice() local
363 isPlaying = true; in SetPlayoutDevice()
411 if (isPlaying) { in SetPlayoutDevice()
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/objectal/
DOALAudioTrack.java59 public native boolean isPlaying (); in isPlaying() method in OALAudioTrack
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/
DIOSMusic.java71 public boolean isPlaying () { in isPlaying() method in IOSMusic
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaPlayerFacade.java217 return (player == null) ? false : player.isPlaying(); in mediaIsPlaying()
234 result.put("isplaying", player.isPlaying()); in mediaPlayGetInfo()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowVideoView.java87 public boolean isPlaying() { in isPlaying() method in ShadowVideoView
DShadowMediaPlayer.java71 public boolean isPlaying() { in isPlaying() method in ShadowMediaPlayer
/external/libgdx/
DCHANGES16 - Fixed crashes in AndroidMusic.java when isPlaying is called. Errors are now logged only rather th…
381 - Fixed Music isPlaying() on iOS when is paused.