Home
last modified time | relevance | path

Searched refs:mRotationMatrix (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/os/
DRotationVectorDemo.java84 private final float[] mRotationMatrix = new float[16]; field in RotationVectorDemo.MyRenderer
93 mRotationMatrix[ 0] = 1; in MyRenderer()
94 mRotationMatrix[ 4] = 1; in MyRenderer()
95 mRotationMatrix[ 8] = 1; in MyRenderer()
96 mRotationMatrix[12] = 1; in MyRenderer()
118 mRotationMatrix , event.values); in onSensorChanged()
130 gl.glMultMatrixf(mRotationMatrix, 0); in onDrawFrame()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLRenderer.java45 private final float[] mRotationMatrix = new float[16]; field in MyGLRenderer
82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); in onDrawFrame()
87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame()