Searched refs:mBalls (Results 1 – 1 of 1) sorted by relevance
213 private Particle mBalls[] = new Particle[NUM_PARTICLES]; field in AccelerometerPlayActivity.SimulationView.ParticleSystem219 for (int i = 0; i < mBalls.length; i++) { in ParticleSystem()220 mBalls[i] = new Particle(getContext()); in ParticleSystem()221 mBalls[i].setBackgroundResource(R.drawable.ball); in ParticleSystem()222 mBalls[i].setLayerType(LAYER_TYPE_HARDWARE, null); in ParticleSystem()223 addView(mBalls[i], new ViewGroup.LayoutParams(mDstWidth, mDstHeight)); in ParticleSystem()235 final int count = mBalls.length; in updatePositions()237 Particle ball = mBalls[i]; in updatePositions()263 final int count = mBalls.length; in update()267 Particle curr = mBalls[i]; in update()[all …]