Home
last modified time | relevance | path

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

/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp58 bool isPlaying; member
175 if (!d->isPlaying) { in handle()
186 if (d->isPlaying) { in handle()
188 d->isPlaying = false; in handle()
197 if (!d->isPlaying) { in handle()
199 d->isPlaying = true; in handle()
263 d->isPlaying = false; in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
278 jclass clazz, jboolean isPlaying) in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer() argument
280 LOGV("@@@ playpause: %d", isPlaying); in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer()
282 if (isPlaying) { in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DPlayback.java87 if (isPlaying()) {
137 public boolean isPlaying() { in isPlaying() method in Playback
138 return mPlayOnFocusGain || (mMediaPlayer != null && mMediaPlayer.isPlaying()); in isPlaying()
203 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pause()
225 if (mMediaPlayer.isPlaying()) { in seekTo()
292 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in configMediaPlayerState()
DMediaController.java253 if (mController.isPlaying()) { in updatePausePlay()
261 if (mController.isPlaying()) { in doPauseResume()
DMediaBrowserServiceSupport.java193 if (mPlayback != null && mPlayback.isPlaying()) { in onStartCommand()
663 if (mPlayback.isPlaying()) { in getAvailableActions()
733 if (service.mPlayback.isPlaying()) { in handleMessage()
DTransportControllerActivity.java77 return mContent.isPlaying();
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java86 if (isPlaying()) {
136 public boolean isPlaying() { in isPlaying() method in Playback
137 return mPlayOnFocusGain || (mMediaPlayer != null && mMediaPlayer.isPlaying()); in isPlaying()
202 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in pause()
224 if (mMediaPlayer.isPlaying()) { in seekTo()
291 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in configMediaPlayerState()
DMusicService.java191 if (mPlayback != null && mPlayback.isPlaying()) { in onStartCommand()
661 if (mPlayback.isPlaying()) { in getAvailableActions()
730 if (service.mPlayback.isPlaying()) { in handleMessage()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java228 return mPlayer.isPlaying(); in isMediaPlaying()
253 return mPlayer.isPlaying() ? 1 : 0; in getCurrentSpeedId()
265 if (mPlayer.isPlaying()) { in pausePlayback()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicService.java363 if (mPlayer.isPlaying()) mPlayer.pause(); in configAndStartMediaPlayer()
371 if (!mPlayer.isPlaying()) mPlayer.start(); in configAndStartMediaPlayer()
577 if (mPlayer != null && mPlayer.isPlaying()) in onLostAudioFocus()
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
DSoundAlarmListenerService.java92 if (mMediaPlayer.isPlaying()) { in onDataChanged()
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
DNativeAudio.java294 public static native void setPlayingAssetAudioPlayer(boolean isPlaying); in setPlayingAssetAudioPlayer() argument
296 public static native void setPlayingUriAudioPlayer(boolean isPlaying); in setPlayingUriAudioPlayer() argument
/development/ndk/platforms/android-9/samples/native-audio/jni/
Dnative-audio-jni.c339 jclass clazz, jboolean isPlaying) in Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer() argument
347 result = (*uriPlayerPlay)->SetPlayState(uriPlayerPlay, isPlaying ? in Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer()
648 jclass clazz, jboolean isPlaying) in Java_com_example_nativeaudio_NativeAudio_setPlayingAssetAudioPlayer() argument
656 result = (*fdPlayerPlay)->SetPlayState(fdPlayerPlay, isPlaying ? in Java_com_example_nativeaudio_NativeAudio_setPlayingAssetAudioPlayer()
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DNativeMedia.java229 } else if (mMediaPlayer.isPlaying()) { in onCreate()
331 public static native void setPlayingStreamingMediaPlayer(boolean isPlaying); in setPlayingStreamingMediaPlayer() argument
/development/ndk/platforms/android-14/samples/native-media/jni/
Dnative-media-jni.c438 jclass clazz, jboolean isPlaying) in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer() argument
446 res = (*playerPlayItf)->SetPlayState(playerPlayItf, isPlaying ? in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer()
/development/ndk/platforms/android-21/samples/native-codec/src/com/example/nativecodec/
DNativeCodec.java256 public static native void setPlayingStreamingMediaPlayer(boolean isPlaying); in setPlayingStreamingMediaPlayer() argument
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...