Searched refs:MATRIX_SIZE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 136 private static final int MATRIX_SIZE = 16; field in GLES20Canvas 139 private float[] mMatrices = new float[INITIAL_RESTORE_STATE_SIZE * MATRIX_SIZE]; 151 private float[] mProjectionMatrix = new float[MATRIX_SIZE]; 264 private final float[] mTempTextureMatrix = new float[MATRIX_SIZE]; 424 Matrix.multiplyMM(temp, MATRIX_SIZE, matrix, index, temp, 0); in rotate() 425 System.arraycopy(temp, MATRIX_SIZE, matrix, index, MATRIX_SIZE); in rotate() 456 mCurrentMatrixIndex += MATRIX_SIZE; in save() 460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save() 474 mCurrentMatrixIndex -= MATRIX_SIZE; in restore() 569 Matrix.multiplyMM(mTempMatrix, MATRIX_SIZE, mProjectionMatrix, 0, mTempMatrix, 0); in setMatrix() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 47 private final static int MATRIX_SIZE = 9; field in Matrix_Delegate 55 private float mValues[] = new float[MATRIX_SIZE]; 88 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE); in set() 96 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); in set() 136 return setValues(matrix, new float[MATRIX_SIZE]); in makeValues() 194 MATRIX_SIZE); in nCreate() 253 System.arraycopy(src.mValues, 0, d.mValues, 0, MATRIX_SIZE); in nSet() 687 System.arraycopy(d.mValues, 0, values, 0, MATRIX_SIZE); in nGetValues() 697 System.arraycopy(values, 0, d.mValues, 0, MATRIX_SIZE); in nSetValues() 712 for (int i = 0 ; i < MATRIX_SIZE ; i++) { in nEquals() [all …]
|