Lines Matching refs:i
194 for (int i = 0; i < mModelMatrices.length; ++i) { in onGlContextCreated()
195 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); in onGlContextCreated()
199 for (int i = 0; i < mNumCameraAngles; ++i) { in onGlContextCreated()
202 final float cameraAngle = (float) (((float) i) / mNumCameraAngles * 2 * Math.PI); in onGlContextCreated()
205 Matrix.setLookAtM(mViewMatrices[i], in onGlContextCreated()
238 for (int i = 0; i < mNumCameraAngles; ++i) { in onGlSurfaceCreated()
239 Matrix.multiplyMM(mVpMatrices[i], 0, mProjectionMatrix, 0, mViewMatrices[i], 0); in onGlSurfaceCreated()
274 for (int i = 0; i < 4; i++) { in createMajorTicks()
275 float[] triangleCoords = getMajorTickTriangleCoords(i); in createMajorTicks()
276 System.arraycopy(triangleCoords, 0, trianglesCoords, i * 9, triangleCoords.length); in createMajorTicks()
299 for (int i = 0; i < 12; i++) { in createMinorTicks()
300 if (i % 3 == 0) { in createMinorTicks()
304 float[] triangleCoords = getMinorTickTriangleCoords(i); in createMinorTicks()
354 for (int i = 0; i < coords.length; i += 3) { in rotateCoords()
355 float x = coords[i]; in rotateCoords()
356 float y = coords[i + 1]; in rotateCoords()
357 coords[i] = (float) (cos * x - sin * y); in rotateCoords()
358 coords[i + 1] = (float) (sin * x + cos * y); in rotateCoords()