/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Matrix.h | 17 class Matrix { 21 Matrix(); 22 Matrix(const Matrix& src); 24 bool equals(const Matrix& src); 25 // Loads this matrix with the identity matrix. 27 // Loads this matrix with the data from src. 28 void loadWith(const Matrix& src); 29 // Translates this matrix by the given amounts [all...] |
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfType1ShadingDictionary_autogen.cpp | 23 SkPdfArray* SkPdfType1ShadingDictionary::Matrix(SkPdfNativeDoc* doc) { 24 SkPdfNativeObject* ret = get("Matrix", ""); 32 return get("Matrix", "") != NULL;
|
SkPdfCalrgbColorSpaceDictionary_autogen.cpp | 47 SkPdfArray* SkPdfCalrgbColorSpaceDictionary::Matrix(SkPdfNativeDoc* doc) { 48 SkPdfNativeObject* ret = get("Matrix", ""); 56 return get("Matrix", "") != NULL;
|
SkPdfType2PatternDictionary_autogen.cpp | 67 SkPdfArray* SkPdfType2PatternDictionary::Matrix(SkPdfNativeDoc* doc) { 68 SkPdfNativeObject* ret = get("Matrix", ""); 76 return get("Matrix", "") != NULL;
|
SkPdfType1PatternDictionary_autogen.cpp | 107 SkMatrix SkPdfType1PatternDictionary::Matrix(SkPdfNativeDoc* doc) { 108 SkPdfNativeObject* ret = get("Matrix", ""); 116 return get("Matrix", "") != NULL;
|
SkPdfType1FormDictionary_autogen.cpp | 83 SkMatrix SkPdfType1FormDictionary::Matrix(SkPdfNativeDoc* doc) { 84 SkPdfNativeObject* ret = get("Matrix", ""); 92 return get("Matrix", "") != NULL;
|
/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
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLRenderer.java | 23 import android.opengl.Matrix; 41 // mMVPMatrix is an abbreviation for "Model View Projection Matrix" 66 // Set the camera position (View matrix) 67 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 70 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0); 82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); 84 // Combine the rotation matrix with the projection and camera view 86 // for the matrix multiplication product to be correct. 87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); 101 // this projection matrix is applied to object coordinate [all...] |
/external/ceres-solver/include/ceres/internal/ |
eigen.h | 38 typedef Eigen::Matrix<double, Eigen::Dynamic, 1> Vector; 39 typedef Eigen::Matrix<double, 42 Eigen::RowMajor> Matrix; 44 typedef Eigen::Map<Matrix> MatrixRef; 46 typedef Eigen::Map<const Matrix> ConstMatrixRef; 49 typedef Eigen::Matrix<double, 64 // struct so that we can support statically sized Matrix and Maps. 67 typedef Eigen::Matrix <double, num_rows, num_cols, Eigen::RowMajor> 68 Matrix; 71 Eigen::Matrix<double, num_rows, num_cols, Eigen::RowMajor> [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
RotationBase.h | 15 // in 2D and 3D space excepted Matrix and Quaternion. 32 /** corresponding linear transformation matrix type */ 33 typedef Matrix<Scalar,Dim,Dim> RotationMatrixType; 38 /** \returns an equivalent rotation matrix */ 59 * Constructs a Dim x Dim rotation matrix from the rotation \a r 63 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols> 64 ::Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r) 66 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim)) 72 * Set a Dim x Dim rotation matrix from the rotation \a r 76 Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols> [all...] |
/external/llvm/lib/CodeGen/ |
RegAllocBase.h | 65 LiveRegMatrix *Matrix; 69 : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {}
|
/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);
|
/external/eigen/Eigen/src/Geometry/ |
RotationBase.h | 36 /** corresponding linear transformation matrix type */ 37 typedef Matrix<Scalar,Dim,Dim> RotationMatrixType; 38 typedef Matrix<Scalar,Dim,1> VectorType; 44 /** \returns an equivalent rotation matrix */ 47 /** \returns an equivalent rotation matrix 50 inline RotationMatrixType matrix() const { return derived().toRotationMatrix(); } function in class:Eigen::RotationBase 65 * - a DimxDim linear transformation matrix 66 * - a DimxDim diagonal matrix (axis aligned scaling) 99 // implementation of the generic product rotation * matrix 104 typedef Matrix<typename RotationDerived::Scalar,Dim,Dim> ReturnType [all...] |
/external/eigen/test/eigen2/ |
gsl_helper.h | 26 typedef gsl_matrix* Matrix; 28 static Matrix createMatrix(int rows, int cols) { return gsl_matrix_alloc(rows,cols); } 30 static void free(Matrix& m) { gsl_matrix_free(m); m=0; } 32 static void prod(const Matrix& m, const Vector& v, Vector& x) { gsl_blas_dgemv(CblasNoTrans,1,m,v,0,x); } 33 static void cholesky(Matrix& m) { gsl_linalg_cholesky_decomp(m); } 34 static void cholesky_solve(const Matrix& m, const Vector& b, Vector& x) { gsl_linalg_cholesky_solve(m,b,x); } 35 static void eigen_symm(const Matrix& m, Vector& eval, Matrix& evec) 38 Matrix a = createMatrix(m->size1, m->size2); 45 static void eigen_symm_gen(const Matrix& m, const Matrix& _b, Vector& eval, Matrix& evec [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
SurfaceTextureRenderer.java | 23 import android.opengl.Matrix; 98 Matrix.setIdentityM(mSTMatrix, 0); 99 Matrix.setIdentityM(mMMatrix, 0); 100 Matrix.rotateM(mMMatrix, 0, 20, 0, 1, 0); 136 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 137 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 151 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 226 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 4f, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 33 import android.opengl.Matrix; 78 Matrix.setIdentityM(mSTMatrix, 0); 79 Matrix.setIdentityM(mMMatrix, 0); 80 Matrix.rotateM(mMMatrix, 0, 20, 0, 1, 0); 116 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 117 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 131 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 207 Matrix.setLookAtM(mVMatrix, 0, 0, 0, 4f, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
TiltWatchFaceService.java | 24 import android.opengl.Matrix; 62 /** Projection transformation matrix. Converts from 3D to 2D. */ 67 * relative coordinates. One matrix per camera position. 71 /** The view transformation matrix to use in ambient mode */ 76 * coordinates. One matrix per degree of rotation. 81 * Products of {@link #mViewMatrices} and {@link #mProjectionMatrix}. One matrix per camera 195 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); 200 // Set the camera position (View matrix). When active, move the eye around to show 205 Matrix.setLookAtM(mViewMatrices[i], 212 Matrix.setLookAtM(mAmbientViewMatrix [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
TiltWatchFaceService.java | 24 import android.opengl.Matrix; 62 /** Projection transformation matrix. Converts from 3D to 2D. */ 67 * relative coordinates. One matrix per camera position. 71 /** The view transformation matrix to use in ambient mode */ 76 * coordinates. One matrix per degree of rotation. 81 * Products of {@link #mViewMatrices} and {@link #mProjectionMatrix}. One matrix per camera 195 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); 200 // Set the camera position (View matrix). When active, move the eye around to show 205 Matrix.setLookAtM(mViewMatrices[i], 212 Matrix.setLookAtM(mAmbientViewMatrix [all...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
TiltWatchFaceService.java | 24 import android.opengl.Matrix; 62 /** Projection transformation matrix. Converts from 3D to 2D. */ 67 * relative coordinates. One matrix per camera position. 71 /** The view transformation matrix to use in ambient mode */ 76 * coordinates. One matrix per degree of rotation. 81 * Products of {@link #mViewMatrices} and {@link #mProjectionMatrix}. One matrix per camera 195 Matrix.setRotateM(mModelMatrices[i], 0, i, 0, 0, 1); 200 // Set the camera position (View matrix). When active, move the eye around to show 205 Matrix.setLookAtM(mViewMatrices[i], 212 Matrix.setLookAtM(mAmbientViewMatrix [all...] |
/external/eigen/Eigen/src/Core/ |
Matrix.h | 16 /** \class Matrix 19 * \brief The matrix class, also used for vectors and row-vectors 21 * The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors within Eigen. 24 * The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note"). 42 * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix<double, 2, 2>) 43 * \li \c Vector4f is a vector of 4 floats (\c Matrix<float, 4, 1>) 44 * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix<int, 1, 3>) 46 * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix<float, Dynamic, Dynamic> [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveRegMatrix.h | 11 // along two dimensions: Slot indexes and register units. The matrix is used by 48 // The matrix is represented as a LiveIntervalUnion per register unit. 50 LiveIntervalUnion::Array Matrix; 134 /// Query a line of the assigned virtual register matrix directly. 142 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; }
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 25 import android.opengl.Matrix; 157 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); 158 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 159 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 260 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); 261 Matrix.setLookAtM(mVMatrix, 0, 0, 3, 3, 0f, 0f, 0f, 0f, 1.0f, 0.0f); 271 // simple shader with MVP matrix and text coord
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TransformOperation.h | 45 Matrix,
|