Home
last modified time | relevance | path

Searched refs:mTempMatrix (Results 1 – 4 of 4) 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.java79 private final float[] mTempMatrix = new float[32]; field in GLES11Canvas
253 float[] temp = mTempMatrix; in rotate()
261 float[] temp = mTempMatrix; in multiplyMatrix()
835 System.arraycopy(mMatrixValues, 0, mTempMatrix, 0, 16); in saveTransform()
839 System.arraycopy(mTempMatrix, 0, mMatrixValues, 0, 16); in restoreTransform()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java258 private final float[] mTempMatrix = new float[32]; field in GLES20Canvas
418 float[] temp = mTempMatrix; in rotate()
428 float[] temp = mTempMatrix; in multiplyMatrix()
565 Matrix.translateM(mTempMatrix, 0, mMatrices, mCurrentMatrixIndex, x, y, 0f); in setMatrix()
566 Matrix.scaleM(mTempMatrix, 0, width, height, 1f); in setMatrix()
567 Matrix.multiplyMM(mTempMatrix, MATRIX_SIZE, mProjectionMatrix, 0, mTempMatrix, 0); in setMatrix()
568 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); in setMatrix()
993 Matrix.translateM(mTempMatrix, 0, mMatrices, mCurrentMatrixIndex, x, y, 0f); in getBounds()
994 Matrix.scaleM(mTempMatrix, 0, width, height, 1f); in getBounds()
995 Matrix.multiplyMV(mTempMatrix, MATRIX_SIZE, mTempMatrix, 0, BOUNDS_COORDINATES, 0); in getBounds()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java176 private Matrix mTempMatrix = new Matrix(); field in Workspace
1371 mTempMatrix.set(getMatrix()); in getPageShiftMatrix()
1372 mTempMatrix.postTranslate(-mOverlayTranslation, 0); in getPageShiftMatrix()
1373 return mTempMatrix; in getPageShiftMatrix()