Home
last modified time | relevance | path

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

/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java397 final ParticleSystem particleSystem = mParticleSystem; in onDraw() local
402 particleSystem.update(sx, sy, now); in onDraw()
408 final int count = particleSystem.getParticleCount(); in onDraw()
415 final float x = xc + particleSystem.getPosX(i) * xs; in onDraw()
416 final float y = yc - particleSystem.getPosY(i) * ys; in onDraw()
417 particleSystem.mBalls[i].setTranslationX(x); in onDraw()
418 particleSystem.mBalls[i].setTranslationY(y); in onDraw()