Searched refs:mPosY (Results 1 – 2 of 2) sorted by relevance
147 private float mPosY; field in AccelerometerPlayActivity.SimulationView.Particle188 final float y = mPosY + mOneMinusFriction * dTC * (mPosY - mLastPosY) + mAccelY in computePhysics()191 mLastPosY = mPosY; in computePhysics()193 mPosY = y; in computePhysics()208 final float y = mPosY; in resolveCollisionWithBounds()215 mPosY = ymax; in resolveCollisionWithBounds()217 mPosY = -ymax; in resolveCollisionWithBounds()286 float dy = ball.mPosY - curr.mPosY; in update()301 curr.mPosY -= dy * c; in update()303 ball.mPosY += dy * c; in update()[all …]
28 private float mPosY; field in TouchExampleView60 canvas.translate(mPosX, mPosY); in onDraw()69 mPosY += dy; in onDrag()