/external/eigen/test/ |
product_trmm.cpp | 25 typedef Matrix<Scalar,Dynamic,Dynamic,TriOrder> TriMatrix; 26 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:OtherOrder> OnTheRight; 27 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:OtherOrder> OnTheLeft; 29 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:ResOrder> ResXS; 30 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:ResOrder> ResSX; 68 // TODO check with sub-matrix expressions ?
|
product_trsolve.cpp | 34 Matrix<Scalar,Size,Size,ColMajor> cmLhs(size,size); 35 Matrix<Scalar,Size,Size,RowMajor> rmLhs(size,size); 39 Matrix<Scalar,Size,Cols,colmajor> cmRhs(size,cols); 40 Matrix<Scalar,Size,Cols,rowmajor> rmRhs(size,cols); 41 Matrix<Scalar,Dynamic,Dynamic,colmajor> ref(size,cols);
|
svd_fill.h | 30 Matrix<RealScalar,Dynamic,1> d = Matrix<RealScalar,Dynamic,1>::Random(diagSize); 45 Matrix<Scalar,Dynamic,Dynamic> U(m.rows(),diagSize); 46 Matrix<Scalar,Dynamic,Dynamic> VT(diagSize,m.cols()); 49 // in very rare cases let's try with a pure diagonal matrix 67 Matrix<Scalar,Dynamic,1> samples(9);
|
bdcsvd.cpp | 43 typedef Matrix<RealScalar, Size, 1> RealVecType; 78 CALL_SUBTEST_5(( bdcsvd<Matrix<float,3,5> >() )); 86 CALL_SUBTEST_6(( bdcsvd(Matrix<double,Dynamic,2>(r,2)) )); 94 // Test on inf/nan matrix
|
eigensolver_generalized_real.cpp | 27 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 62 Matrix<ComplexScalar,Dynamic,Dynamic> tmp = (eig.betas()(k)*a).template cast<ComplexScalar>() - eig.alphas()(k)*b; 93 CALL_SUBTEST_3( generalized_eigensolver_real(Matrix<double,1,1>()) );
|
inplace_decomposition.cpp | 20 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RhsType; 21 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ResType; 84 EIGEN_UNUSED typedef Matrix<double,4,3> Matrix43d;
|
/external/eigen/unsupported/test/ |
matrix_exponential.cpp | 29 Matrix<T,2,2> A, B, C; 51 Matrix<std::complex<T>,2,2> A, B, C; 78 Matrix<T,Dynamic,Dynamic> A(size,size), B(size,size), C(size,size); 133 CALL_SUBTEST_7(randomTest(Matrix<double,3,3,RowMajor>(), 1e-13)); 140 CALL_SUBTEST_9(randomTest(Matrix<long double,Dynamic,Dynamic>(7,7), 1e-13));
|
/external/llvm/lib/CodeGen/ |
RegAllocBasic.cpp | 174 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 199 Matrix->unassign(Spill); 226 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); 229 switch (Matrix->checkInterference(VirtReg, PhysReg)) { 251 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) &&
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
TerminalView.java | 23 import android.graphics.Matrix; 56 private Matrix scaleMatrix; 57 private static final Matrix.ScaleToFit scaleType = Matrix.ScaleToFit.FILL; 106 scaleMatrix = new Matrix(); 133 // Create a scale matrix to scale our 1x1 representation of the cursor
|
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 37 } else if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { 38 Glop::Fill::Filter::Matrix& expectedMatrix = expectedFill.filter.matrix; 39 Glop::Fill::Filter::Matrix& builtMatrix = expectedFill.filter.matrix; 40 EXPECT_TRUE(std::memcmp(expectedMatrix.matrix, builtMatrix.matrix, 41 sizeof(Glop::Fill::Filter::Matrix::matrix))); 43 sizeof(Glop::Fill::Filter::Matrix::vector))) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 23 import android.opengl.Matrix; 150 // Projection matrix 270 Matrix.setIdentityM(mTempTextureMatrix, 0); 271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); 394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); 398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call 422 float[] matrix = mMatrices; local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 30 import android.graphics.Matrix; 133 final Matrix mFrameInitialMatrix = new Matrix(); 134 final Matrix mSnapshotInitialMatrix = new Matrix(); 135 final Matrix mSnapshotFinalMatrix = new Matrix(); 136 final Matrix mExitFrameFinalMatrix = new Matrix(); 137 final Matrix mTmpMatrix = new Matrix() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 23 import android.opengl.Matrix; 150 // Projection matrix 270 Matrix.setIdentityM(mTempTextureMatrix, 0); 271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex); 352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1); 356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0); 357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1); 394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z); 398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call 422 float[] matrix = mMatrices; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/ |
RectangleRenderable.java | 23 import android.opengl.Matrix; 47 // Reset the model matrix to the identity and move it infront of the camera preview 48 Matrix.setIdentityM(getModelMatrix(), 0); 49 Matrix.translateM(getModelMatrix(), 0, 109 // Pass in the modelview matrix. 112 // Pass in the combined matrix.
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LinearGradientTest.java | 27 import android.graphics.Matrix; 90 Matrix m = new Matrix();
|
PathMeasureTest.java | 23 import android.graphics.Matrix; 136 Matrix matrix = new Matrix(); local 137 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG)); 138 matrix.setScale(1f, 2f); 141 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
AnticiButton.java | 23 import android.graphics.Matrix; 221 Matrix matrix = new Matrix(); local 222 matrix.setSkew(-mSkewX, 0); 224 matrix.mapRect(mTempRect);
|
/external/clang/test/Sema/ |
array-init.c | 254 typedef struct _Matrix Matrix; 256 const Matrix mat1 = { 263 const Matrix mat2 = {
|
/external/eigen/Eigen/src/Geometry/ |
Umeyama.h | 42 typedef Matrix<typename traits<MatrixType>::Scalar, 70 * The algorithm is based on the analysis of the covariance matrix 76 * matrix computation which has an asymptotic lower bound of \f$O(dm)\f$ when 91 * Eigen::Matrix. 107 typedef Matrix<Scalar, Dimension, 1> VectorType; 108 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; 133 // Initialize the resulting transformation with an identity matrix...
|
/external/eigen/bench/ |
product_threshold.cpp | 47 typedef Matrix<Scalar,M,K> Lhs; Lhs a; a.setRandom(); 48 typedef Matrix<Scalar,K,N> Rhs; Rhs b; b.setRandom(); 49 typedef Matrix<Scalar,M,N> Res; Res c; c.setRandom();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 21 import android.graphics.Matrix; 44 private Matrix mMatrix = new Matrix();
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 22 import android.graphics.Matrix; 69 private Matrix mMatrix; 127 mMatrix = new Matrix();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
CircularBitmapDrawable.java | 25 import android.graphics.Matrix; 43 private final Matrix mMatrix = new Matrix();
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
MediaStoreSaver.java | 27 import android.graphics.Matrix; 120 // create the matrix to scale it 121 Matrix matrix = new Matrix(); local 126 matrix.setScale(scaleX, scaleY); 130 source.getHeight(), matrix,
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
MediaStoreSaver.java | 27 import android.graphics.Matrix; 120 // create the matrix to scale it 121 Matrix matrix = new Matrix(); local 126 matrix.setScale(scaleX, scaleY); 130 source.getHeight(), matrix,
|