/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/ceres-solver/include/ceres/ |
gradient_checker.h | 76 // term->parameter_block_sizes().size(), and each matrix is the 81 vector<Matrix> term_jacobians; 84 vector<Matrix> finite_difference_jacobians; 185 Matrix jacobian_difference = results->term_jacobians[i] -
|
/external/clang/test/Sema/ |
array-init.c | 254 typedef struct _Matrix Matrix; 256 const Matrix mat1 = { 263 const Matrix mat2 = {
|
/external/eigen/Eigen/src/Core/ |
Map.h | 19 * \brief A matrix or vector expression mapping an existing array of data. 21 * \tparam PlainObjectType the equivalent matrix type of the mapped data 28 * This class represents a matrix or vector expression mapping an existing array of data. 34 * Here's an example of simply mapping a contiguous array as a \ref TopicStorageOrders "column-major" matrix: 47 * as a column-major matrix, 'outer stride' means the pointer increment between two consecutive columns. 157 /** Constructor in the dynamic-size matrix case. 160 * \param rows the number of rows of the matrix expression 161 * \param cols the number of columns of the matrix expression 184 inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> 185 ::Matrix(const Scalar *data [all...] |
/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. 108 typedef Matrix<Scalar, Dimension, 1> VectorType; 109 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; 134 // Initialize the resulting transformation with an identity matrix...
|
Rotation2D.h | 25 * conversion from/to a 2x2 rotation matrix. Moreover this class aims to provide a similar 52 typedef Matrix<Scalar,2,1> Vector2; 53 typedef Matrix<Scalar,2,2> Matrix2; 128 /** Set \c *this from a 2x2 rotation matrix \a mat. 130 * from the rotation matrix. 141 /** Constructs and \returns an equivalent 2x2 rotation 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();
|
/external/eigen/test/eigen2/ |
sparse.h | 37 /* Initializes both a sparse and dense matrix with same random values, 40 * allowing to control the shape of the matrix. 46 Matrix<Scalar,Dynamic,Dynamic>& refMat, 89 Matrix<Scalar,Dynamic,Dynamic>& refMat, 132 Matrix<Scalar,Dynamic,1>& refVec,
|
eigen2_prec_inverse_4x4.cpp | 79 CALL_SUBTEST_2((inverse_permutation_4x4<Matrix<double,4,4,RowMajor> >())); 80 CALL_SUBTEST_2(( inverse_general_4x4<Matrix<double,4,4,RowMajor> >(200000 * g_repeat) ));
|
/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();
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateLayout.java | 22 import android.graphics.Matrix; 39 private Matrix mMatrix = new Matrix();
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 22 import android.graphics.Matrix; 42 private Matrix mDrawMatrix = new Matrix(); 114 // Calculates a matrix similar to ScaleType.CENTER_CROP
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FaceView.java | 24 import android.graphics.Matrix; 43 private Matrix mMatrix = new Matrix(); 123 // Prepare the matrix. 126 // Focus indicator is directional. Rotate the matrix and the canvas
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
Quad.java | 20 import android.graphics.Matrix; 119 * The transform is applied by multiplying each point (x, y, 1) by the matrix. 122 * @param matrix the transformation matrix 123 * @return the Quad representing the source rectangle transformed by the matrix 125 public static Quad fromTransformedRect(RectF rect, Matrix matrix) { 126 return Quad.fromRect(rect).transformed(matrix); 130 * Returns the transformation matrix to transform the source Quad to the target Quad. 134 * @return the transformation matrix to map source to target [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageDraw.java | 11 import android.graphics.Matrix; 49 private Matrix mRotateToScreen = new Matrix(); 50 private Matrix mToOrig; 226 Matrix m = new Matrix();
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 23 import android.graphics.Matrix; 103 Matrix transformMatrix = mTextureView.getTransform(null);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Patterns.java | 79 Matrix m = new Matrix();
|
/external/ceres-solver/internal/ceres/ |
block_sparse_matrix_test.cc | 104 Matrix m_a; 105 Matrix m_b;
|
dense_normal_cholesky_solver.cc | 74 ConstColMajorMatrixRef Aref = A->matrix(); 75 Matrix lhs(num_cols, num_cols); 83 // same matrix being multiplied with itself and that the product is 92 lhs += D.array().square().matrix().asDiagonal(); 113 // Temporarily append a diagonal block to the A matrix, but undo 114 // it before returning the matrix to the user. 119 Matrix lhs(num_cols, num_cols); 125 // matrix is the same as the number of rows. 135 // Undo the modifications to the matrix A. 142 A->matrix().transpose() * ConstVectorRef(b, A->num_rows()) [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Rotation2D.h | 24 * conversion from/to a 2x2 rotation matrix. Moreover this class aims to provide a similar 47 typedef Matrix<Scalar,2,1> Vector2; 48 typedef Matrix<Scalar,2,2> Matrix2; 121 /** Set \c *this from a 2x2 rotation matrix \a mat. 123 * from the rotation matrix. 134 /** Constructs and \returns an equivalent 2x2 rotation matrix.
|
/external/eigen/Eigen/src/Householder/ |
BlockHouseholder.h | 51 Matrix<typename MatrixType::Scalar, TFactorSize, TFactorSize> T(nbVecs,nbVecs); 57 Matrix<typename MatrixType::Scalar,VectorsType::ColsAtCompileTime,MatrixType::ColsAtCompileTime,0,
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
BasicPreconditioners.h | 18 * This class allows to approximately solve for A.x = b problems assuming A is a diagonal matrix. 36 typedef Matrix<Scalar,Dynamic,1> Vector; 41 typedef Matrix<Scalar,Dynamic,Dynamic> MatrixType; 94 && "DiagonalPreconditioner::solve(): invalid number of rows of the right hand side matrix b"); 121 * \brief A naive preconditioner which approximates any matrix as the identity matrix
|
/external/eigen/bench/btl/libs/tvmet/ |
tvmet_interface.hh | 25 #include <tvmet/Matrix.h> 42 typedef Matrix<real,SIZE,SIZE> gene_matrix;
|
/external/eigen/test/ |
array_for_matrix.cpp | 17 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> ColVectorType; 18 typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType; 35 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1); 36 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) ); 39 VERIFY_IS_APPROX(m3, (m1.array() + s2).matrix()); 42 VERIFY_IS_APPROX(m3, (m1.array() - s1).matrix()); 66 const Scalar& ref_m1 = m.matrix().array().coeffRef(0); 67 const Scalar& ref_m2 = m.matrix().array().coeffRef(0,0); 68 const Scalar& ref_a1 = m.array().matrix().coeffRef(0); 69 const Scalar& ref_a2 = m.array().matrix().coeffRef(0,0) [all...] |