Searched refs:speedX (Results 1 – 3 of 3) sorted by relevance
83 float speedX = 5.0f; in run() local98 if (x + 20.0f + speedX >= mSurface.getWidth() || x + speedX <= 0.0f) { in run()99 speedX = -speedX; in run()105 x += speedX; in run()
86 float speedX = 5.0f; in run() local101 if (x + 20.0f + speedX >= mView.getWidth() || x + speedX <= 0.0f) { in run()102 speedX = -speedX; in run()108 x += speedX; in run()
123 float speedX = 5.0f; in run() local138 if (x + 20.0f + speedX >= mWidth || x + speedX <= 0.0f) { in run()139 speedX = -speedX; in run()145 x += speedX; in run()