Home
last modified time | relevance | path

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

/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLSurfaceView.java43 private float mPreviousX; field in MyGLSurfaceView
58 float dx = x - mPreviousX; in onTouchEvent()
77 mPreviousX = x; in onTouchEvent()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLSurfaceView.java46 private float mPreviousX; field in MyGLSurfaceView
61 float dx = x - mPreviousX; in onTouchEvent()
80 mPreviousX = x; in onTouchEvent()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchRotateActivity.java78 private float mPreviousX; field in TouchRotateActivity.TouchSurfaceView
98 updateAngles(e.getX() - mPreviousX, e.getY() - mPreviousY, TOUCH_SCALE_FACTOR); in onTouchEvent()
106 mPreviousX = e.getX(); in onTouchEvent()