HomeSort by relevance Sort by last modified time
    Searched refs:Matrix (Results 251 - 275 of 703) sorted by null

<<11121314151617181920>>

  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperCropActivity.java 32 import android.graphics.Matrix;
359 Matrix rotateMatrix = new Matrix();
573 Matrix rotateMatrix = new Matrix();
574 Matrix inverseRotateMatrix = new Matrix();
712 Matrix m = new Matrix();
714 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL)
    [all...]
  /external/eigen/test/
triangular.cpp 18 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
81 // test back and forward subsitution with a matrix as the rhs
126 typedef Matrix<Scalar, Rows, 1> VectorType;
127 typedef Matrix<Scalar, Rows, Rows> RMatrixType;
220 CALL_SUBTEST_1( triangular_square(Matrix<float, 1, 1>()) );
221 CALL_SUBTEST_2( triangular_square(Matrix<float, 2, 2>()) );
223 CALL_SUBTEST_4( triangular_square(Matrix<std::complex<float>,8, 8>()) );
225 CALL_SUBTEST_6( triangular_square(Matrix<float,Dynamic,Dynamic,RowMajor>(r, r)) );
227 CALL_SUBTEST_7( triangular_rect(Matrix<float, 4, 5>()) );
228 CALL_SUBTEST_8( triangular_rect(Matrix<double, 6, 2>()) )
    [all...]
adjoint.cpp 22 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
23 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
101 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
110 CALL_SUBTEST_1( adjoint(Matrix<float, 1, 1>()) );
117 // test a large static matrix only once
118 CALL_SUBTEST_7( adjoint(Matrix<float, 100, 100>()) );
eigensolver_selfadjoint.cpp 26 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
27 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
107 // Test matrix with NaN
130 CALL_SUBTEST_9( selfadjointeigensolver(Matrix<std::complex<double>,Dynamic,Dynamic,RowMajor>(s,s)) );
135 CALL_SUBTEST_6( selfadjointeigensolver(Matrix<double,1,1>()) );
136 CALL_SUBTEST_7( selfadjointeigensolver(Matrix<double,2,2>()) );
lu.cpp 47 typedef Matrix<typename MatrixType::Scalar, ColsAtCompileTime, ColsAtCompileTime>
49 typedef Matrix<typename MatrixType::Scalar, RowsAtCompileTime, RowsAtCompileTime>
54 // The image of the zero matrix should consist of a single (zero) column vector
180 CALL_SUBTEST_2( (lu_non_invertible<Matrix<double, 4, 6> >()) );
181 CALL_SUBTEST_2( (lu_verify_assert<Matrix<double, 4, 6> >()) );
201 CALL_SUBTEST_7(( lu_non_invertible<Matrix<float,Dynamic,16> >() ));
map.cpp 123 CALL_SUBTEST_1( map_class_vector(Matrix<float, 1, 1>()) );
124 CALL_SUBTEST_1( check_const_correctness(Matrix<float, 1, 1>()) );
132 CALL_SUBTEST_1( map_class_matrix(Matrix<float, 1, 1>()) );
134 CALL_SUBTEST_11( map_class_matrix(Matrix<float,3,5>()) );
138 CALL_SUBTEST_6( map_static_methods(Matrix<double, 1, 1>()) );
product.h 28 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RowVectorType;
29 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ColVectorType;
30 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> RowSquareMatrixType;
31 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime> ColSquareMatrixType;
32 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime,
120 // test submatrix and matrix/vector product
product_trmm.cpp 19 typedef Matrix<Scalar,Dynamic,Dynamic,TriOrder> TriMatrix;
20 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:OtherOrder> OnTheRight;
21 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:OtherOrder> OnTheLeft;
23 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:ResOrder> ResXS;
24 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:ResOrder> ResSX;
61 // 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);
  /external/eigen/unsupported/test/
openglsupport.cpp 23 Matrix<float,4,4,ColMajor> m; m.setZero(); \
149 VERIFY_MATRIX(glRotate(qd), Projective3d(qd).matrix());
152 VERIFY_MATRIX(glRotate(qf), Projective3f(qf).matrix());
155 Transform<float,3,AffineCompact> acf3; acf3.matrix().setRandom();
156 VERIFY_MATRIX(glLoadMatrix(acf3), Projective3f(acf3).matrix());
157 VERIFY_MATRIX(glMultMatrix(acf3), Projective3f(acf3).matrix());
160 VERIFY_MATRIX(glLoadMatrix(af3), Projective3f(af3).matrix());
161 VERIFY_MATRIX(glMultMatrix(af3), Projective3f(af3).matrix());
163 Transform<float,3,Projective> pf3; pf3.matrix().setRandom();
164 VERIFY_MATRIX(glLoadMatrix(pf3), Projective3f(pf3).matrix());
    [all...]
matrix_exponential.cpp 36 Matrix<T,2,2> A, B, C;
58 Matrix<std::complex<T>,2,2> A, B, C;
85 Matrix<T,Dynamic,Dynamic> A(size,size), B(size,size), C(size,size);
141 CALL_SUBTEST_7(randomTest(Matrix<double,3,3,RowMajor>(), 1e-13));
148 CALL_SUBTEST_9(randomTest(Matrix<long double,Dynamic,Dynamic>(7,7), 1e-13));
  /frameworks/base/core/java/android/view/
TextureView.java 22 import android.graphics.Matrix;
115 private final Matrix mMatrix = new Matrix();
474 * @see #getTransform(android.graphics.Matrix)
478 public void setTransform(Matrix transform) {
487 * @param transform The {@link Matrix} in which to copy the current
490 * @return The specified matrix if not null or a new {@link Matrix}
493 * @see #setTransform(android.graphics.Matrix)
495 public Matrix getTransform(Matrix transform)
    [all...]
  /external/eigen/Eigen/src/Core/util/
XprHelper.h 102 typedef Matrix<_Scalar, _Rows, _Cols, Options, _MaxRows, _MaxCols> type;
144 /* plain_matrix_type : the difference from eval is that plain_matrix_type is always a plain matrix type,
145 * whereas eval is a const reference in the case of a matrix
157 typedef Matrix<typename traits<T>::Scalar,
187 // typedef T::Matrix<typename traits<T>::Scalar,
198 struct eval<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>, Dense>
200 typedef const Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& type;
220 typedef Matrix<typename traits<T>::Scalar,
238 typedef Matrix<typename traits<T>::Scalar,
279 * many coefficient accesses in the nested expressions -- as is the case with matrix product for example
    [all...]
  /external/llvm/include/llvm/CodeGen/PBQP/
Graph.h 87 Matrix costs;
92 EdgeEntry(NodeItr node1, NodeItr node2, const Matrix &costs)
96 Matrix& getCosts() { return costs; }
97 const Matrix& getCosts() const { return costs; }
135 // Sanity check on matrix dimensions:
182 const Matrix &costs) {
185 "Matrix dimensions mismatch.");
221 /// \brief Get an edge's cost matrix.
223 /// @return Edge cost matrix.
224 Matrix& getEdgeCosts(EdgeItr eItr) { return getEdge(eItr).getCosts();
    [all...]
  /frameworks/native/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]);
  /external/ceres-solver/internal/ceres/
dogleg_strategy_test.cc 64 Matrix basis(6, 6);
76 Matrix sqrtD = Ddiag.array().sqrt().matrix().asDiagonal();
77 Matrix jacobian = sqrtD * basis;
105 Matrix jacobian = Ddiag.asDiagonal();
212 const Matrix basis = strategy.subspace_basis();
line_search_direction.cc 162 inverse_hessian_ = Matrix::Identity(num_parameters, num_parameters);
231 // This update involves matrix, matrix products which naively O(N^3),
257 Matrix A = delta_x * (delta_gradient.transpose() *
266 Matrix B = Matrix::Zero(num_parameters_, num_parameters_);
296 Matrix inverse_hessian_;
  /external/eigen/test/eigen2/
eigen2_array.cpp 21 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
56 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
120 CALL_SUBTEST_1( array(Matrix<float, 1, 1>()) );
128 CALL_SUBTEST_1( comparisons(Matrix<float, 1, 1>()) );
135 CALL_SUBTEST_1( lpNorm(Matrix<float, 1, 1>()) );
eigen2_eigensolver.cpp 27 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
28 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
49 typename Gsl::Matrix gEvec=0, gSymmA=0, gSymmB=0;
110 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
111 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
135 // very important to test a 3x3 matrix since we provide a special path for it
product.h 29 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> RowVectorType;
30 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> ColVectorType;
31 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> RowSquareMatrixType;
32 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime> ColSquareMatrixType;
33 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime,
114 // test submatrix and matrix/vector product
  /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/java/com/android/server/wm/
ScreenRotationAnimation.java 24 import android.graphics.Matrix;
117 final Matrix mFrameInitialMatrix = new Matrix();
118 final Matrix mSnapshotInitialMatrix = new Matrix();
119 final Matrix mSnapshotFinalMatrix = new Matrix();
120 final Matrix mExitFrameFinalMatrix = new Matrix();
121 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...]
  /packages/apps/Launcher3/WallpaperPicker/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/tests/tests/graphics/src/android/graphics/cts/
PathMeasureTest.java 20 import android.graphics.Matrix;
119 Matrix matrix = new Matrix(); local
120 assertFalse(mPathMeasure.getMatrix(1f, matrix, PathMeasure.POSITION_MATRIX_FLAG));
121 matrix.setScale(1f, 2f);
124 assertTrue(mPathMeasure.getMatrix(0f, matrix, PathMeasure.TANGENT_MATRIX_FLAG));

Completed in 643 milliseconds

<<11121314151617181920>>