Lines Matching refs:mStateFlags
305 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
333 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
343 mStateFlags |= kFlagPrepared; in onPrepare()
346 mStateFlags |= kFlagPreparedUnsuccessfully; in onPrepare()
350 SL_LOGD("GenericMediaPlayer::onPrepare() done, mStateFlags=0x%x", mStateFlags); in onPrepare()
356 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
365 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
375 if (!(mStateFlags & kFlagSeeking)) { in onSeekComplete()
377 if (mStateFlags & kFlagLooping) { in onSeekComplete()
399 if ((mStateFlags & kFlagSeeking) && (timeMsec == mSeekTimeMsec) && in onSeek()
403 } else if (mStateFlags & kFlagPreparedUnsuccessfully) { in onSeek()
405 } else if (!(mStateFlags & kFlagPrepared)) { in onSeek()
410 mStateFlags |= kFlagSeeking; in onSeek()
418 mStateFlags &= ~kFlagSeeking; in onSeek()
432 mStateFlags |= kFlagLooping; in onLoop()
434 mStateFlags &= ~kFlagLooping; in onLoop()
497 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()
538 assert(mStateFlags & kFlagPrepared); in afterMediaPlayerPreparedSuccessfully()
571 if (mStateFlags & kFlagLooping) { in afterMediaPlayerPreparedSuccessfully()