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 += samples / mTrack.getChannelCount(); in read()461 mPosition += samples / mTrack.getChannelCount(); in read()468 private int mPosition; field in AudioNativeTest.AudioRecordAuditNative
294 private int mPosition = 0; field in MediaControllerTest.MockMediaPlayerControl309 return mPosition; in getCurrentPosition()313 mPosition = pos; in seekTo()
1035 int mPosition; field in ExceptionStream1040 mPosition = 0; in ExceptionStream()1045 if (mPosition >= mExceptionPosition) { in read()1050 mPosition++; in read()1056 if (mPosition + len <= mExceptionPosition) { in read()1058 mPosition += bytesRead; in read()1062 len = mExceptionPosition - mPosition; in read()1063 mPosition += mInputStream.read(b, off, len); in read()