/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixStack.java | 37 mMatrix = new float[maxDepth * MATRIX_SIZE]; in commonInit() 44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); in glFrustumf() 55 Matrix.setIdentityM(mMatrix, mTop); in glLoadIdentity() 59 System.arraycopy(m, offset, mMatrix, mTop, MATRIX_SIZE); in glLoadMatrixf() 63 m.get(mMatrix, mTop, MATRIX_SIZE); in glLoadMatrixf() 68 mMatrix[mTop + i] = fixedToFloat(m[offset + i]); in glLoadMatrixx() 74 mMatrix[mTop + i] = fixedToFloat(m.get()); in glLoadMatrixx() 79 System.arraycopy(mMatrix, mTop, mTemp, 0, MATRIX_SIZE); in glMultMatrixf() 80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); in glMultMatrixf() 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); in glOrthof() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Vertices.java | 40 private final Matrix mMatrix = new Matrix(); field in Vertices.SampleView 73 mMatrix.setScale(0.8f, 0.8f); in SampleView() 74 mMatrix.preTranslate(20, 20); in SampleView() 75 mMatrix.invert(mInverse); in SampleView() 81 canvas.concat(mMatrix); in onDraw()
|
D | BitmapMesh.java | 43 private final Matrix mMatrix = new Matrix(); field in BitmapMesh.SampleView 72 mMatrix.setTranslate(10, 10); in SampleView() 73 mMatrix.invert(mInverse); in SampleView() 79 canvas.concat(mMatrix); in onDraw()
|
D | Sweep.java | 36 private Matrix mMatrix = new Matrix(); field in Sweep.SampleView 61 mMatrix.setRotate(mRotate, x, y); in onDraw() 62 mShader.setLocalMatrix(mMatrix); in onDraw()
|
D | PolyToPoly.java | 38 private Matrix mMatrix = new Matrix(); field in PolyToPoly.SampleView 43 mMatrix.setPolyToPoly(src, 0, dst, 0, src.length >> 1); in doDraw() 44 canvas.concat(mMatrix); in doDraw()
|
D | ScaleToFit.java | 36 private final Matrix mMatrix = new Matrix(); field in ScaleToFit.SampleView 85 mMatrix.setRectToRect(mSrcR, mDstR, stf); in drawFit() 86 canvas.concat(mMatrix); in drawFit()
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
D | FoldingLayout.java | 70 private Matrix [] mMatrix; field in FoldingLayout 268 mMatrix = new Matrix [mNumberOfFolds]; in prepareFold() 271 mMatrix[x] = new Matrix(); in prepareFold() 343 mMatrix[x].reset(); in calculateMatrices() 460 mMatrix[x].setPolyToPoly(mSrc, 0, mDst, 0, NUM_OF_POLY_POINTS / 2); in calculateMatrices() 510 canvas.concat(mMatrix[x]);
|