Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java260 private final float[] mTempMatrix = new float[32]; field in GLES20Canvas
420 float[] temp = mTempMatrix; in rotate()
430 float[] temp = mTempMatrix; in multiplyMatrix()
567 Matrix.translateM(mTempMatrix, 0, mMatrices, mCurrentMatrixIndex, x, y, 0f); in setMatrix()
568 Matrix.scaleM(mTempMatrix, 0, width, height, 1f); in setMatrix()
569 Matrix.multiplyMM(mTempMatrix, MATRIX_SIZE, mProjectionMatrix, 0, mTempMatrix, 0); in setMatrix()
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); in setMatrix()
994 Matrix.translateM(mTempMatrix, 0, mMatrices, mCurrentMatrixIndex, x, y, 0f); in getBounds()
995 Matrix.scaleM(mTempMatrix, 0, width, height, 1f); in getBounds()
996 Matrix.multiplyMV(mTempMatrix, MATRIX_SIZE, mTempMatrix, 0, BOUNDS_COORDINATES, 0); in getBounds()
[all …]
DGLES11Canvas.java77 private final float[] mTempMatrix = new float[32]; field in GLES11Canvas
251 float[] temp = mTempMatrix; in rotate()
259 float[] temp = mTempMatrix; in multiplyMatrix()
833 System.arraycopy(mMatrixValues, 0, mTempMatrix, 0, 16); in saveTransform()
837 System.arraycopy(mTempMatrix, 0, mMatrixValues, 0, 16); in restoreTransform()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java163 private final float[] mTempMatrix = new float[32]; field in GLES20Canvas
274 float[] temp = mTempMatrix; in rotate()
328 Matrix.translateM(mTempMatrix, 0, mMatrices, mCurrentMatrixIndex, x, y, 0f); in setMatrix()
329 Matrix.scaleM(mTempMatrix, 0, width, height, 1f); in setMatrix()
330 Matrix.multiplyMM(mTempMatrix, MATRIX_SIZE, mProjectionMatrix, 0, mTempMatrix, 0); in setMatrix()
331 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); in setMatrix()