/external/eigen/test/eigen2/ |
eigen2_sizeof.cpp | 23 CALL_SUBTEST( verifySizeOf(Matrix<float, 1, 1>()) ); 25 CALL_SUBTEST( verifySizeOf(Matrix<double, 4, 2>()) ); 26 CALL_SUBTEST( verifySizeOf(Matrix<bool, 7, 5>()) ); 30 CALL_SUBTEST( verifySizeOf(Matrix<float, 100, 100>()) );
|
/external/eigen/test/ |
product_small.cpp | 16 Matrix<float,1,3> matAstatic; 17 Matrix<float,3,1> matBstatic; 35 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) ); 36 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
|
sizeof.cpp | 23 CALL_SUBTEST(verifySizeOf(Matrix<float, 1, 1>()) ); 25 CALL_SUBTEST(verifySizeOf(Matrix<double, 4, 2>()) ); 26 CALL_SUBTEST(verifySizeOf(Matrix<bool, 7, 5>()) ); 30 CALL_SUBTEST(verifySizeOf(Matrix<float, 100, 100>()) );
|
/external/skia/include/gpu/ |
GrDrawEffect.h | 13 * the view matrix and local coordinate system since the effect was installed in its GrDrawState. 15 * in device coordinates (i.e. use an identity view-matrix). In such a case the GrDrawEffect's 16 * coord-change-matrix would be the inverse of the view matrix that was set when the effect was
|
/external/skia/src/core/ |
SkPerspIter.h | 17 /** Iterate a line through the matrix [x,y] ... [x+count-1, y]. 18 @param m The matrix we will be iterating a line through 19 @param x The initial X coordinate to be mapped through the matrix 20 @param y The initial Y coordinate to be mapped through the matrix
|
/external/skia/src/ports/ |
SkScalerContext_win_dw.h | 40 /** The total matrix without the text height scale. */ 42 /** The total matrix without the text height scale. */ 44 /** The non-rotational part of total matrix without the text height scale. 48 /** The inverse of the rotational part of the total matrix.
|
/external/skia/tools/lua/ |
bitmap_statistics.lua | 30 matrix = canvas:getTotalMatrix() 31 matrixType = matrix:getType() 38 if matrix:getScaleX() > 1 or matrix:getScaleY() > 1 then
|
/external/eigen/Eigen/src/Eigenvalues/ |
SelfAdjointEigenSolver.h | 32 * \tparam _MatrixType the type of the matrix of which we are computing the 33 * eigendecomposition; this is expected to be an instantiation of the Matrix 36 * A matrix \f$ A \f$ is selfadjoint if it equals its adjoint. For real 37 * matrices, this means that the matrix is symmetric: it equals its 39 * selfadjoint matrix. These are the scalars \f$ \lambda \f$ and vectors 41 * selfadjoint matrix are always real. If \f$ D \f$ is a diagonal matrix with 42 * the eigenvalues on the diagonal, and \f$ V \f$ is a matrix with the 44 * matrices, the matrix \f$ V \f$ is always invertible). This is called the 47 * The algorithm exploits the fact that the matrix is selfadjoint, making i [all...] |
SelfAdjointEigenSolver_MKL.h | 44 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \ 45 SelfAdjointEigenSolver<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, int options) \ 47 eigen_assert(matrix.cols() == matrix.rows()); \ 52 lapack_int n = matrix.cols(), lda, matrix_order, info; \ 55 m_eivec = matrix; \ 59 m_eivalues.coeffRef(0,0) = numext::real(matrix.coeff(0,0)); \ 67 lda = matrix.outerStride(); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
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
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/ |
gl-matrix.rb | 40 autoload :ReleaseHelper, 'gl-matrix/release_helper' 41 autoload :Version, 'gl-matrix/version' 42 autoload :VERSION, 'gl-matrix/version' 63 def compile(source = 'gl-matrix.js', dest = 'dist/gl-matrix.js') 76 def minify(source = 'gl-matrix.js', dest = 'dist/gl-matrix-min.js')
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_state.h | 33 #include "matrix.h" 96 struct matrix path_user_to_surface_matrix; 97 struct matrix image_user_to_surface_matrix; 98 struct matrix fill_paint_to_user_matrix; 99 struct matrix stroke_paint_to_user_matrix; 100 struct matrix glyph_user_to_surface_matrix; 107 struct matrix * vg_state_matrix(struct vg_state *state);
|
/external/chromium_org/third_party/skia/include/effects/ |
Sk2DPathEffect.h | 64 static SkLine2DPathEffect* Create(SkScalar width, const SkMatrix& matrix) { 65 return SkNEW_ARGS(SkLine2DPathEffect, (width, matrix)); 74 SkLine2DPathEffect(SkScalar width, const SkMatrix& matrix) 75 : Sk2DPathEffect(matrix), fWidth(width) {} 91 * Stamp the specified path to fill the shape, using the matrix to define 94 static SkPath2DPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { 95 return SkNEW_ARGS(SkPath2DPathEffect, (matrix, path));
|
/external/eigen/blas/ |
Rank2Update.h | 15 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu' 23 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap; 26 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)) += 33 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu' 34 * The matrix is in packed form. 41 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap; 45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==Lower ? size-i : (i+1)) +=
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_state.h | 33 #include "matrix.h" 96 struct matrix path_user_to_surface_matrix; 97 struct matrix image_user_to_surface_matrix; 98 struct matrix fill_paint_to_user_matrix; 99 struct matrix stroke_paint_to_user_matrix; 100 struct matrix glyph_user_to_surface_matrix; 107 struct matrix * vg_state_matrix(struct vg_state *state);
|
/external/skia/include/effects/ |
Sk2DPathEffect.h | 64 static SkLine2DPathEffect* Create(SkScalar width, const SkMatrix& matrix) { 65 return SkNEW_ARGS(SkLine2DPathEffect, (width, matrix)); 74 SkLine2DPathEffect(SkScalar width, const SkMatrix& matrix) 75 : Sk2DPathEffect(matrix), fWidth(width) {} 91 * Stamp the specified path to fill the shape, using the matrix to define 94 static SkPath2DPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { 95 return SkNEW_ARGS(SkPath2DPathEffect, (matrix, path));
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
test_app.rs | 60 rs_matrix4x4 matrix; 61 rsMatrixLoadIdentity(&matrix); 64 rsMatrixTranslate(&matrix, 0, 0, -gZoom); 65 rsMatrixRotate(&matrix, 20.0f, 1.0f, 0.0f, 0.0f); 66 rsMatrixRotate(&matrix, gRotateY, 0.0f, 1.0f, 0.0f); 67 rsMatrixScale(&matrix, 0.2f, 0.2f, 0.2f); 68 rsgProgramVertexLoadModelMatrix(&matrix);
|
/external/eigen/Eigen/src/QR/ |
ColPivHouseholderQR_MKL.h | 29 * Householder QR decomposition of a matrix with column pivoting based on 45 ColPivHouseholderQR<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> >& \ 46 ColPivHouseholderQR<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> >::compute( \ 47 const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix) \ 51 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> MatrixType; \ 54 Index rows = matrix.rows();\ 55 Index cols = matrix.cols();\ 56 Index size = matrix.diagonalSize();\ 58 m_qr = matrix;\ [all...] |
/external/eigen/Eigen/src/SVD/ |
JacobiSVD_MKL.h | 44 JacobiSVD<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>, ColPivHouseholderQRPreconditioner>& \ 45 JacobiSVD<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>, ColPivHouseholderQRPreconditioner>::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix, unsigned int computationOptions) \ 47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic> MatrixType; \ 50 allocate(matrix.rows(), matrix.cols(), computationOptions); \ 55 lapack_int lda = matrix.outerStride(), ldu, ldvt; \ 71 Matrix<MKLRTYPE, Dynamic, Dynamic> superb; superb.resize(m_diagSize, 1); \ 72 MatrixType m_temp; m_temp = matrix; \ [all...] |
JacobiSVD.h | 24 *** Their role is to reduce the problem of computing the SVD to the case of a square matrix. 75 typedef Matrix<Scalar, 1, RowsAtCompileTime, RowMajor, 1, MaxRowsAtCompileTime> WorkspaceType; 87 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix) 89 if(matrix.rows() > matrix.cols()) 91 m_qr.compute(matrix); 92 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>(); 119 typedef Matrix<Scalar, ColsAtCompileTime, RowsAtCompileTime, Options, MaxColsAtCompileTime, MaxRowsAtCompileTime> 133 bool run(JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner>& svd, const MatrixType& matrix) [all...] |
/external/eigen/bench/spbench/ |
sp_solver.cpp | 24 typedef Matrix<double, Dynamic, Dynamic> DenseMatrix; 25 typedef Matrix<double, Dynamic, 1> DenseRhs; 36 /* Fill the matrix with sparse matrix stored in Matrix-Market coordinate column-oriented format */ 37 if (argc < 2) assert(false && "please, give the matrix market file "); 42 cout << "End charging matrix " << endl; 47 if (isvector) { cout << "The provided file is not a matrix file\n"; return -1;} 71 cout<< "Time to load the matrix " << timer.value() <<endl; 93 cout<< "Size of Input Matrix "<< b.size()<<"\n\n" [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CanvasTest.java | 42 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); 43 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); 45 assertEquals("Bitmap for file:/an/image.jpg transformed by matrix\n" + 46 "Bitmap for file:/an/image.jpg transformed by matrix", shadowOf(canvas).getDescription()); 48 assertEquals("Bitmap for file:/an/image.jpg transformed by matrix\n" + 49 "Bitmap for file:/an/image.jpg transformed by matrix", shadowOf(targetBitmap).getDescription()); 55 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); 56 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); 58 assertEquals("Bitmap for file:/an/image.jpg transformed by matrix\n" + 59 "Bitmap for file:/an/image.jpg transformed by matrix", Robolectric.visualize(canvas)) [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/ |
gl-matrix.js.erb | 2 * @fileoverview gl-matrix - High performance matrix and vector operations 41 // gl-matrix lives in a browser, define its namespaces in global 46 // gl-matrix lives in commonjs, define its namespaces in exports 51 <%= GLMatrix.sprockets['gl-matrix-manifest.js'] %>
|
/external/chromium_org/third_party/skia/gm/ |
imagealphathreshold.cpp | 47 SkMatrix matrix; variable 48 matrix.reset(); 49 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f); 50 matrix.postScale(.8f, .8f); 52 canvas->concat(matrix);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawShader.cpp | 19 SK_MEMBER(matrix, Matrix), 27 SkDrawShader::SkDrawShader() : matrix(NULL), 40 return matrix ? &matrix->getMatrix() : NULL;
|