Home
last modified time | relevance | path

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

/aosp12/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java90 private float[] mMatrices = new float[INITIAL_RESTORE_STATE_SIZE * MATRIX_SIZE]; field in GLES20Canvas
173 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in GLES20Canvas()
242 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in setSize()
244 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); in setSize()
245 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); in setSize()
262 float[] m = mMatrices; in translate()
276 float[] matrix = mMatrices; in rotate()
288 if (mMatrices.length <= mCurrentMatrixIndex) { in save()
289 mMatrices = Arrays.copyOf(mMatrices, mMatrices.length * 2); in save()
291 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
[all …]
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in GLES20Canvas()
351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in setSize()
357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); in setSize()
394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); in translate()
403 float[] m = mMatrices; in translate()
412 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, sx, sy, sz); in scale()
422 float[] matrix = mMatrices; in rotate()
431 float[] currentMatrix = mMatrices; in multiplyMatrix()
457 if (mMatrices.length <= mCurrentMatrixIndex) { in save()
458 mMatrices = Arrays.copyOf(mMatrices, mMatrices.length * 2); in save()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in GLES20Canvas()
351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); in setSize()
357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); in setSize()
394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); in translate()
403 float[] m = mMatrices; in translate()
412 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, sx, sy, sz); in scale()
422 float[] matrix = mMatrices; in rotate()
431 float[] currentMatrix = mMatrices; in multiplyMatrix()
457 if (mMatrices.length <= mCurrentMatrixIndex) { in save()
458 mMatrices = Arrays.copyOf(mMatrices, mMatrices.length * 2); in save()
[all …]