Home
last modified time | relevance | path

Searched refs:MATRIX_SIZE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java136 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/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java45 private final static int MATRIX_SIZE = 9; field in Matrix_Delegate
52 private float mValues[] = new float[MATRIX_SIZE];
85 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE); in set()
93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); in set()
119 float[] values = new float[MATRIX_SIZE]; in makeValues()
188 MATRIX_SIZE); in native_create()
247 System.arraycopy(src.mValues, 0, d.mValues, 0, MATRIX_SIZE); in native_set()
676 System.arraycopy(d.mValues, 0, values, 0, MATRIX_SIZE); in native_getValues()
686 System.arraycopy(values, 0, d.mValues, 0, MATRIX_SIZE); in native_setValues()
701 for (int i = 0 ; i < MATRIX_SIZE ; i++) { in native_equals()
[all …]