/packages/apps/Gallery3D/src/com/cooliris/media/ |
MatrixStack.java | 19 import android.opengl.Matrix; 25 * A matrix stack, similar to OpenGL ES's internal matrix stack. 43 Matrix.multiplyMV(mCoordsOut, 0, mMatrix, mTop, mCoordsIn, 0); 47 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); 56 Matrix.setIdentityM(mMatrix, mTop); 81 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); 124 Matrix.setRotateM(mTemp, 0, angle, x, y, z); 126 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixStack.java | 19 import android.opengl.Matrix; 25 * A matrix stack, similar to OpenGL ES's internal matrix stack. 44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); 55 Matrix.setIdentityM(mMatrix, mTop); 80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); 127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); 129 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0); 137 Matrix.scaleM(mMatrix, mTop, x, y, z) [all...] |
Projector.java | 19 import android.opengl.Matrix; 43 Matrix.multiplyMM(mMVP, 0, mGrabber.mProjection, 0, mGrabber.mModelView, 0); 47 Matrix.multiplyMV(mV, 0, mMVP, 0, obj, objOffset); 57 * Get the current projection matrix. Has the side-effect of 58 * setting current matrix mode to GL_PROJECTION 67 * Get the current model view matrix. Has the side-effect of 68 * setting current matrix mode to GL_MODELVIEW
|
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 84 * Set up a 2D orthographic projection matrix 98 * Set up a perspective projection matrix 131 * @param model the current modelview matrix 134 * @param project the current projection matrix 136 * matrix data starts. 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 163 Matrix.multiplyMV(scratch, V2_OFFSET, 197 * @param model the current modelview matrix 200 * @param project the current projection matrix [all...] |
Matrix.java | 22 * Matrix math utilities. These methods operate on OpenGL ES format 43 public class Matrix { 46 * matrix. In matrix notation: result = lhs x rhs. Due to the way 47 * matrix multiplication works, the result matrix will have the same 48 * effect as first multiplying by the rhs matrix, then multiplying by 49 * the lhs matrix. This is the opposite of what you might expect. 58 * @param lhs The float array that holds the left-hand-side matrix. 60 * @param rhs The float array that holds the right-hand-side matrix [all...] |
/frameworks/base/libs/rs/ |
rsMatrix.h | 26 struct Matrix 40 void load(const Matrix *); 45 void loadMultiply(const Matrix *lhs, const Matrix *rhs); 52 void multiply(const Matrix *rhs) { 53 Matrix tmp; 58 Matrix tmp; 63 Matrix tmp; 68 Matrix tmp;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); 76 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 77 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 89 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); 154 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 34 import android.opengl.Matrix; 73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); 74 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 75 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 87 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); 152 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MatrixTest.java | 18 import android.graphics.Matrix; 20 import android.graphics.Matrix.ScaleToFit; 27 @TestTargetClass(Matrix.class) 29 private Matrix mMatrix; 35 mMatrix = new Matrix(); 42 method = "Matrix", 47 method = "Matrix", 48 args = {android.graphics.Matrix.class} 57 new Matrix(); 58 new Matrix(mMatrix) 91 Matrix matrix = new Matrix(); local 106 Matrix matrix = new Matrix(); local 335 Matrix matrix = new Matrix(); local 427 Matrix matrix = new Matrix(); local 483 Matrix matrix = new Matrix(); local 708 Matrix matrix = new Matrix(); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Matrix.java | 23 * The Matrix class holds a 3x3 matrix for transforming coordinates. 24 * Matrix does not have a constructor, so it must be explicitly initialized 25 * using either reset() - to construct an identity matrix, or one of the set..() 28 public class Matrix { 43 * Create an identity matrix 45 public Matrix() { 50 * Create a matrix that is a (deep) copy of src 51 * @param src The matrix to copy into this matrix [all...] |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |