Home
last modified time | relevance | path

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

/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLSurfaceView.java42 private final float TOUCH_SCALE_FACTOR = 180.0f / 320; field in MyGLSurfaceView
73 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320 in onTouchEvent()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLSurfaceView.java45 private final float TOUCH_SCALE_FACTOR = 180.0f / 320; field in MyGLSurfaceView
76 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320 in onTouchEvent()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchRotateActivity.java75 private static final float TOUCH_SCALE_FACTOR = 180.0f / 320; field in TouchRotateActivity.TouchSurfaceView
98 updateAngles(e.getX() - mPreviousX, e.getY() - mPreviousY, TOUCH_SCALE_FACTOR); in onTouchEvent() local
116 updateAngles(e.getX(), e.getY(), TOUCH_SCALE_FACTOR); in onCapturedPointerEvent() local