Lines Matching refs:mStateFlags
308 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
336 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
346 mStateFlags |= kFlagPrepared; in onPrepare()
349 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
353 SL_LOGD("GenericMediaPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
359 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
368 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
378 if (!(mStateFlags & kFlagSeeking)) { in onSeekComplete()
380 if (mStateFlags & kFlagLooping) { in onSeekComplete()
402 if ((mStateFlags & kFlagSeeking) && (timeMsec == mSeekTimeMsec) && in onSeek()
406 } else if (mStateFlags & kFlagPreparedUnsuccessfully) { in onSeek()
408 } else if (!(mStateFlags & kFlagPrepared)) { in onSeek()
413 mStateFlags |= kFlagSeeking; in onSeek()
421 mStateFlags &= ~kFlagSeeking; in onSeek()
435 mStateFlags |= kFlagLooping; in onLoop()
437 mStateFlags &= ~kFlagLooping; in onLoop()
500 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()
541 assert(mStateFlags & kFlagPrepared); in afterMediaPlayerPreparedSuccessfully()
574 if (mStateFlags & kFlagLooping) { in afterMediaPlayerPreparedSuccessfully()