/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixStack.java | 37 mMatrix = new float[maxDepth * MATRIX_SIZE]; 38 mTemp = new float[MATRIX_SIZE * 2]; 59 System.arraycopy(m, offset, mMatrix, mTop, MATRIX_SIZE); 63 m.get(mMatrix, mTop, MATRIX_SIZE); 67 for(int i = 0; i < MATRIX_SIZE; i++) { 73 for(int i = 0; i < MATRIX_SIZE; i++) { 79 System.arraycopy(mMatrix, mTop, mTemp, 0, MATRIX_SIZE); 84 m.get(mTemp, MATRIX_SIZE, MATRIX_SIZE); 85 glMultMatrixf(mTemp, MATRIX_SIZE); [all...] |
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Matrix.h | 19 static const int MATRIX_SIZE = 16; 20 float mData[MATRIX_SIZE];
|
Matrix.cpp | 42 for (int i = 0; i < MATRIX_SIZE && equals; i++) { 51 memcpy(mData, src.mData, MATRIX_SIZE * sizeof(float));
|
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 57 checkValues(m.mData, expected, Matrix::MATRIX_SIZE); 64 float data[Matrix::MATRIX_SIZE]; 67 for (int i = 0; i < Matrix::MATRIX_SIZE; i++) { 79 checkValues(m2.mData, data, Matrix::MATRIX_SIZE); 122 for (int i = 0; i < Matrix::MATRIX_SIZE; i++) { 134 checkValues(m3.mData, expected, Matrix::MATRIX_SIZE); 163 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); 184 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); 197 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); 210 checkValues(m->mData, expected, Matrix::MATRIX_SIZE); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 136 private static final int MATRIX_SIZE = 16; 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); 425 System.arraycopy(temp, MATRIX_SIZE, matrix, index, MATRIX_SIZE); 456 mCurrentMatrixIndex += MATRIX_SIZE; 460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); 474 mCurrentMatrixIndex -= MATRIX_SIZE; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 136 private static final int MATRIX_SIZE = 16; 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); 425 System.arraycopy(temp, MATRIX_SIZE, matrix, index, MATRIX_SIZE); 456 mCurrentMatrixIndex += MATRIX_SIZE; 460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); 474 mCurrentMatrixIndex -= MATRIX_SIZE; [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 136 private static final int MATRIX_SIZE = 16; 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); 425 System.arraycopy(temp, MATRIX_SIZE, matrix, index, MATRIX_SIZE); 456 mCurrentMatrixIndex += MATRIX_SIZE; 460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); 474 mCurrentMatrixIndex -= MATRIX_SIZE; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 45 private final static int MATRIX_SIZE = 9; 52 private float mValues[] = new float[MATRIX_SIZE]; 85 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE); 93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); 119 float[] values = new float[MATRIX_SIZE]; 188 MATRIX_SIZE); 237 System.arraycopy(src.mValues, 0, d.mValues, 0, MATRIX_SIZE); 732 System.arraycopy(d.mValues, 0, d.mValues, 0, MATRIX_SIZE); 742 System.arraycopy(values, 0, d.mValues, 0, MATRIX_SIZE); 757 for (int i = 0 ; i < MATRIX_SIZE ; i++) [all...] |