Home
last modified time | relevance | path

Searched refs:mPosition (Results 1 – 6 of 6) sorted by relevance

/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
DBoid.cpp17 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 …]
DBoid.h36 Vector2D mPosition; variable
DFlockingScene.cpp156 Vector2D* pos = &(b->mPosition); in updateSceneGraphs()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java260 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 …]
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java269 private int mPosition = 0; field in MediaControllerTest.MockMediaPlayerControl
288 return mPosition; in getCurrentPosition()
292 mPosition = pos; in seekTo()
DListViewTest.java700 private int mPosition; field in ListViewTest.MockOnItemClickListener
705 mPosition = position; in onItemClick()
714 return mPosition; in getPosition()