Searched refs:mPosition (Results 1 – 6 of 6) sorted by relevance
17 mPosition(x, y) { in Boid()33 float dist = mPosition.distance(b->mPosition); in flock()37 Vector2D tmp = mPosition.copy(); in flock()38 tmp.sub(b->mPosition); in flock()49 cohesion.add(b->mPosition); in flock()71 desired.sub(mPosition); in flock()84 mPosition.add(mVelocity); in flock()86 if (mPosition.mX < -limitX) { in flock()87 mPosition.mX = limitX; in flock()88 } else if (mPosition.mX > limitX) { in flock()[all …]
35 Vector2D mPosition; variable
156 Vector2D* pos = &(b->mPosition); in updateSceneGraphs()
451 mPosition = 0; in AudioRecordAudit()464 mPosition += samples / mTrack.getChannelCount(); in read()478 mPosition += samples / mTrack.getChannelCount(); in read()491 mPosition += samples / mTrack.getChannelCount(); in read()505 mPosition += samples / mTrack.getChannelCount(); in read()519 mPosition += samples / mTrack.getChannelCount(); in read()534 mPosition += bytes / in read()551 mPosition += bytes / in read()570 if (mPosition > 0) { // stop may be called multiple times. in stop()571 final int remainingFrames = mPosition - mTrack.getPlaybackHeadPosition(); in stop()[all …]
244 private int mPosition = 0; field in MediaControllerTest.MockMediaPlayerControl259 return mPosition; in getCurrentPosition()263 mPosition = pos; in seekTo()
897 int mPosition; field in ExceptionStream902 mPosition = 0; in ExceptionStream()907 if (mPosition >= mExceptionPosition) { in read()912 mPosition++; in read()918 if (mPosition + len <= mExceptionPosition) { in read()920 mPosition += bytesRead; in read()924 len = mExceptionPosition - mPosition; in read()925 mPosition += mInputStream.read(b, off, len); in read()