Lines Matching refs:i
197 for (int i = 0; i < mModelMatrices.length; ++i) { in onGlContextCreated()
198 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); in onGlContextCreated()
202 for (int i = 0; i < mNumCameraAngles; ++i) { in onGlContextCreated()
205 final float cameraAngle = (float) (((float) i) / mNumCameraAngles * 2 * Math.PI); in onGlContextCreated()
208 Matrix.setLookAtM(mViewMatrices[i], in onGlContextCreated()
241 for (int i = 0; i < mNumCameraAngles; ++i) { in onGlSurfaceCreated()
242 Matrix.multiplyMM(mVpMatrices[i], 0, mProjectionMatrix, 0, mViewMatrices[i], 0); in onGlSurfaceCreated()
277 for (int i = 0; i < 4; i++) { in createMajorTicks()
278 float[] triangleCoords = getMajorTickTriangleCoords(i); in createMajorTicks()
279 System.arraycopy(triangleCoords, 0, trianglesCoords, i * 9, triangleCoords.length); in createMajorTicks()
302 for (int i = 0; i < 12; i++) { in createMinorTicks()
303 if (i % 3 == 0) { in createMinorTicks()
307 float[] triangleCoords = getMinorTickTriangleCoords(i); in createMinorTicks()
357 for (int i = 0; i < coords.length; i += 3) { in rotateCoords()
358 float x = coords[i]; in rotateCoords()
359 float y = coords[i + 1]; in rotateCoords()
360 coords[i] = (float) (cos * x - sin * y); in rotateCoords()
361 coords[i + 1] = (float) (sin * x + cos * y); in rotateCoords()