Searched refs:kFlagPrepared (Results 1 – 5 of 5) sorted by relevance
308 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()336 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()346 mStateFlags |= kFlagPrepared; in onPrepare()359 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()368 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()408 } else if (!(mStateFlags & kFlagPrepared)) { in onSeek()500 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()541 assert(mStateFlags & kFlagPrepared); in afterMediaPlayerPreparedSuccessfully()
138 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))) { in prepare()401 assert(!(mStateFlags & kFlagPrepared) != !(mStateFlags & kFlagPreparedUnsuccessfully)); in onPrepare()402 notify(PLAYEREVENT_PREPARED, mStateFlags & kFlagPrepared ? PLAYER_SUCCESS : PLAYER_FAILURE, in onPrepare()456 if ((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) { in onPlay()466 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying))) { in onPause()587 if (!(mStateFlags & kFlagPrepared)) { in updateOneShot()
360 mStateFlags |= kFlagPrepared; in onPrepare()597 assert(!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully))); in notifyPrepared()601 mStateFlags |= kFlagPrepared; in notifyPrepared()
211 mStateFlags |= kFlagPrepared; in onPrepare()
166 kFlagPrepared = 1 << 0, // use only for successful preparation enumerator