Home
last modified time | relevance | path

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

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java227 private Particle mBalls[] = new Particle[NUM_PARTICLES]; field in AccelerometerPlayActivity.SimulationView.ParticleSystem
233 for (int i = 0; i < mBalls.length; i++) { in ParticleSystem()
234 mBalls[i] = new Particle(); in ParticleSystem()
248 final int count = mBalls.length; in updatePositions()
250 Particle ball = mBalls[i]; in updatePositions()
278 final int count = mBalls.length; in update()
282 Particle curr = mBalls[i]; in update()
284 Particle ball = mBalls[j]; in update()
317 return mBalls.length; in getParticleCount()
321 return mBalls[i].mPosX; in getPosX()
[all …]