Home
last modified time | relevance | path

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

/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java146 private float mPosY = (float) Math.random(); field in AccelerometerPlayActivity.SimulationView.Particle
174 mPosY += mVelY * dT + ay * dT * dT / 2; in computePhysics()
190 final float y = mPosY; in resolveCollisionWithBounds()
199 mPosY = ymax; in resolveCollisionWithBounds()
202 mPosY = -ymax; in resolveCollisionWithBounds()
271 float dy = ball.mPosY - curr.mPosY; in update()
288 curr.mPosY -= effectY; in update()
290 ball.mPosY += effectY; in update()
308 return mBalls[i].mPosY; in getPosY()