Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCanvasTextureViewActivity.java83 float speedX = 5.0f; in run() local
98 if (x + 20.0f + speedX >= mSurface.getWidth() || x + speedX <= 0.0f) { in run()
99 speedX = -speedX; in run()
105 x += speedX; in run()
DHardwareCanvasTextureViewActivity.java86 float speedX = 5.0f; in run() local
101 if (x + 20.0f + speedX >= mView.getWidth() || x + speedX <= 0.0f) { in run()
102 speedX = -speedX; in run()
108 x += speedX; in run()
DHardwareCanvasSurfaceViewActivity.java123 float speedX = 5.0f; in run() local
138 if (x + 20.0f + speedX >= mWidth || x + speedX <= 0.0f) { in run()
139 speedX = -speedX; in run()
145 x += speedX; in run()