Searched refs:sy (Results 1 – 1 of 1) sorted by relevance
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/ |
D | AccelerometerPlayActivity.java | 168 public void computePhysics(float sx, float sy, float dT) { in computePhysics() argument 171 final float ay = -sy/5; in computePhysics() 231 private void updatePositions(float sx, float sy, long timestamp) { in updatePositions() argument 238 ball.computePhysics(sx, sy, dT); in updatePositions() 249 public void update(float sx, float sy, long now) { in update() argument 251 updatePositions(sx, sy, now); in update() 400 final float sy = mSensorY; in onDraw() local 402 particleSystem.update(sx, sy, now); in onDraw()
|