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 …]
36 Vector2D mPosition; variable
156 Vector2D* pos = &(b->mPosition); in updateSceneGraphs()
260 mPosition = 0; in AudioRecordAudit()273 mPosition += samples / mTrack.getChannelCount(); in read()287 mPosition += samples / mTrack.getChannelCount(); in read()300 mPosition += samples / mTrack.getChannelCount(); in read()314 mPosition += samples / mTrack.getChannelCount(); in read()328 mPosition += samples / mTrack.getChannelCount(); in read()343 mPosition += bytes / in read()360 mPosition += bytes / in read()379 if (mPosition > 0) { // stop may be called multiple times. in stop()380 final int remainingFrames = mPosition - mTrack.getPlaybackHeadPosition(); in stop()[all …]
269 private int mPosition = 0; field in MediaControllerTest.MockMediaPlayerControl288 return mPosition; in getCurrentPosition()292 mPosition = pos; in seekTo()
700 private int mPosition; field in ListViewTest.MockOnItemClickListener705 mPosition = position; in onItemClick()714 return mPosition; in getPosition()