/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
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeView.java | 20 import android.opengl.Matrix; 31 // Each edge effect has a transform matrix, and each matrix has 16 elements. 33 // starting index of each matrix. 67 Matrix.setIdentityM(mMatrix, TOP_M); 68 Matrix.setIdentityM(mMatrix, LEFT_M); 69 Matrix.setIdentityM(mMatrix, BOTTOM_M); 70 Matrix.setIdentityM(mMatrix, RIGHT_M); 72 Matrix.rotateM(mMatrix, LEFT_M, 90, 0, 0, 1); 73 Matrix.scaleM(mMatrix, LEFT_M, 1, -1, 1) [all...] |
Paper.java | 23 import android.opengl.Matrix; 89 Matrix.setIdentityM(mMatrix, 0); 90 Matrix.translateM(mMatrix, 0, mMatrix, 0, base.x, base.y, base.z); 91 Matrix.rotateM(mMatrix, 0, degrees, 0, 1, 0); 92 Matrix.translateM(mMatrix, 0, mMatrix, 0,
|
GLCanvasImpl.java | 25 import android.opengl.Matrix; 104 float matrix[] = mMatrixValues; local 106 Matrix.setIdentityM(matrix, 0); 107 Matrix.translateM(matrix, 0, 0, mHeight, 0); 108 Matrix.scaleM(matrix, 0, 1, -1, 1); 218 Matrix.translateM(mMatrixValues, 0, x, y, z); 222 Matrix.scaleM(mMatrixValues, 0, sx, sy, sz) [all...] |
/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 | 20 * Matrix math utilities. These methods operate on OpenGL ES format 41 public class Matrix { 43 /** Temporary memory for operations that need temporary matrix data. */ 48 * matrix. In matrix notation: result = lhs x rhs. Due to the way 49 * matrix multiplication works, the result matrix will have the same 50 * effect as first multiplying by the rhs matrix, then multiplying by 51 * the lhs matrix. This is the opposite of what you might expect. 60 * @param lhs The float array that holds the left-hand-side matrix [all...] |
/external/valgrind/unittest/ |
linear_solver.h | 77 class Matrix { 82 * This matrix can grow its "N" i.e. width 86 Matrix (int M_, int N) { 93 ~Matrix() { 158 Vector EstimateParameters(const Matrix & perf_m, const Vector & stats_v, double rel_diff, int * iter_count = NULL) 174 // First, let's find out those lines in matrix having only one non-zero coefficient 175 // and if we have any, decrease the dimension of our matrix 234 // Formulate the sub-problem (sub-matrix & sub-stats) 235 Matrix new_m(M - count_easy_param, N - count_easy_param);
|
/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);
|
/system/media/wilhelm/tests/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 34 import android.opengl.Matrix; 90 Matrix.setIdentityM(mSTMatrix, 0); 91 Matrix.setIdentityM(mMMatrix, 0); 92 Matrix.rotateM(mMMatrix, 0, 20, 0, 1, 0); 128 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 129 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 143 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 219 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 4f, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/frameworks/base/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 37 import android.opengl.Matrix; 146 Matrix.setIdentityM(mSTMatrix, 0); 147 Matrix.setIdentityM(mMMatrix, 0); 221 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 222 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 237 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 322 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 5f, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 376 Matrix.setIdentityM(mMMatrix, 0); 377 Matrix.translateM(mMMatrix, 0, mPos[0], mPos[1], mPos[2]);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 27 import android.opengl.Matrix; 642 Matrix.setIdentityM(mSTMatrix, 0); 643 Matrix.setIdentityM(mMMatrix, 0); 695 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 696 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 712 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); [all...] |
/system/media/mca/filterpacks/videosrc/java/ |
SurfaceTextureSource.java | 36 import android.opengl.Matrix; 219 Matrix.multiplyMM(mMappedCoords, 0,
|
CameraSource.java | 38 import android.opengl.Matrix; 195 Matrix.multiplyMM(mMappedCoords, 0,
|
MediaSource.java | 39 import android.opengl.Matrix; 299 Matrix.multiplyMM(sourceCoords, 0, 304 Matrix.multiplyMM(sourceCoords, 0, 309 Matrix.multiplyMM(sourceCoords, 0, 314 Matrix.multiplyMM(sourceCoords, 0,
|
/cts/tests/src/android/media/cts/ |
VideoSurfaceView.java | 34 import android.opengl.Matrix; 137 Matrix.setIdentityM(mSTMatrix, 0); 176 Matrix.setIdentityM(mMVPMatrix, 0);
|
/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 { 41 public static Matrix IDENTITY_MATRIX = new Matrix() { 43 throw new IllegalStateException("Matrix can not be modified"); 47 public void set(Matrix src) { 102 public boolean setConcat(Matrix a, Matrix b) [all...] |
/external/clang/test/Sema/ |
array-init.c | 249 typedef struct _Matrix Matrix; 251 const Matrix mat1 = { 258 const Matrix mat2 = {
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpView.java | 48 import android.opengl.Matrix; 352 Matrix.setIdentityM(mSTMatrix, 0); 412 Matrix.setIdentityM(mMVPMatrix, 0);
|
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |