Home
last modified time | relevance | path

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

/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java145 private float mPosX = (float) Math.random(); field in AccelerometerPlayActivity.SimulationView.Particle
173 mPosX += mVelX * dT + ax * dT * dT / 2; in computePhysics()
189 final float x = mPosX; in resolveCollisionWithBounds()
192 mPosX = xmax; in resolveCollisionWithBounds()
195 mPosX = -xmax; in resolveCollisionWithBounds()
270 float dx = ball.mPosX - curr.mPosX; in update()
287 curr.mPosX -= effectX; in update()
289 ball.mPosX += effectX; in update()
304 return mBalls[i].mPosX; in getPosX()