/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterVignette.java | 22 import android.graphics.Matrix; 99 Matrix m = getOriginalToScreenMatrix(w, h);
|
/external/llvm/lib/CodeGen/ |
RegAllocGreedy.cpp | 361 Matrix->unassign(LIS->getInterval(VirtReg)); 375 Matrix->unassign(LI); 462 if (!Matrix->checkInterference(VirtReg, PhysReg)) 509 LiveIntervalUnion::Query subQ(&VirtReg, &Matrix->getLiveUnions()[*Units]); 561 if (Matrix->checkInterference(VirtReg, PhysReg) > LiveRegMatrix::IK_VirtReg) 579 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 655 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 667 Matrix->unassign(*Intf); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 20 import android.graphics.Matrix; 499 // leave image the same via identity matrix 503 // use matrix to transform the image 504 Matrix matrixMirrorX = new Matrix(); 506 Matrix mat = new Matrix();
|
/external/ceres-solver/internal/ceres/ |
covariance_impl.cc | 148 // Find where in the covariance matrix the block is located. 218 Matrix block1_jacobian(block1_size, block1_local_size); 225 Matrix block2_jacobian(block2_size, block2_local_size); 252 // Determine the sparsity pattern of the covariance matrix based on 281 // first row corresponding to it in the covariance matrix using the 293 // Compute the number of non-zeros in the covariance matrix. Along 295 // triangular part of the matrix. 312 // Make sure we are constructing a block upper triangular matrix. 332 // Fill the sparsity pattern of the covariance matrix. 340 // covariance matrix. For each parameter block, look in the uppe [all...] |
/external/eigen/Eigen/src/Core/ |
MatrixBase.h | 21 * This class is the base that is inherited by all matrix, vector, and related expression 23 * classes for the Eigen API are Matrix, and VectorwiseOp. 26 * for all functions related to matrix inversions. 28 * \tparam Derived is the derived type, e.g. a matrix type, or an expression, etc. 31 * to take as argument any matrix, vector, or expression, just let it take a 33 * a matrix, vector, or expression \a x, prints the first row of \a x. 94 /** type of the equivalent square matrix */ 95 typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime), 103 /** \brief The plain matrix type corresponding to this expression. 106 * the return type of eval() is a const reference to a matrix, not a matrix! It is however guarantee 314 MatrixBase<Derived>& matrix() { return *this; } function in class:Eigen::MatrixBase 315 const MatrixBase<Derived>& matrix() const { return *this; } function in class:Eigen::MatrixBase [all...] |
/external/eigen/test/ |
packetmath.cpp | 32 std::cout << "[" << Map<const Matrix<Scalar,1,Dynamic> >(a,size) << "]" << " != " << Map<const Matrix<Scalar,1,Dynamic> >(b,size) << "\n"; 45 std::cout << "[" << Map<const Matrix<Scalar,1,Dynamic> >(a,size) << "]" << " != " << Map<const Matrix<Scalar,1,Dynamic> >(b,size) << "\n"; 147 typedef Matrix<Scalar, PacketSize, 1> Vector;
|
sparse_product.cpp | 47 typedef Matrix<Scalar,Dynamic,Dynamic> DenseMatrix; 48 typedef Matrix<Scalar,Dynamic,1> DenseVector; 53 // test matrix-matrix product 122 // test matrix - diagonal product 202 CALL_SUBTEST_4( (sparse_product_regression_test<SparseMatrix<double,RowMajor>, Matrix<double, Dynamic, Dynamic, RowMajor> >()) );
|
/frameworks/base/core/java/com/android/internal/widget/ |
RotarySelector.java | 26 import android.graphics.Matrix; 92 final Matrix mBgMatrix = new Matrix(); 93 final Matrix mArrowMatrix = new Matrix(); 221 // bg matrix only needs to be calculated once 224 // set up matrix for translating drawing of background and arrow assets
|
/packages/apps/Camera2/src/com/android/camera/ |
WideAnglePanoramaUI.java | 27 import android.graphics.Matrix; 82 private Matrix mProgressDirectionMatrix = new Matrix(); 271 Matrix rotateMatrix = new Matrix();
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 27 import android.opengl.Matrix; 641 Matrix.setIdentityM(mSTMatrix, 0); 642 Matrix.setIdentityM(mMMatrix, 0); 694 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0); 695 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0); 711 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); [all...] |
/external/eigen/Eigen/src/Geometry/ |
Quaternion.h | 49 // typedef typename Matrix<Scalar,4,1> Coefficients; 51 typedef Matrix<Scalar,3,1> Vector3; 52 /** the equivalent rotation matrix type */ 53 typedef Matrix<Scalar,3,3> Matrix3; 137 /** \returns an equivalent 3x3 rotation matrix */ 218 typedef Matrix<_Scalar,4,1,_Options> Coefficients; 263 * - a rotation matrix expression, 311 typedef Map<Matrix<_Scalar,4,1>, _Options> Coefficients; 328 typedef Map<const Matrix<_Scalar,4,1>, _Options> Coefficients; 469 * then it is much more efficient to first convert it to a 3x3 Matrix [all...] |
/external/eigen/Eigen/src/SuperLUSupport/ |
SuperLUSupport.h | 199 eigen_assert(((MatrixType::Flags & SelfAdjoint)==0) && "SelfAdjoint matrix shape not supported by SuperLU"); 206 struct SluMatrixMapHelper<Matrix<Scalar,Rows,Cols,Options,MRows,MCols> > 208 typedef Matrix<Scalar,Rows,Cols,Options,MRows,MCols> MatrixType; 258 eigen_assert(((MatrixType::Flags & SelfAdjoint)==0) && "SelfAdjoint matrix shape not supported by SuperLU"); 270 /** View a Super LU matrix as an Eigen expression */ 298 typedef Matrix<Scalar,Dynamic,1> Vector; 299 typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> IntRowVectorType; 300 typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> IntColVectorType; 324 * \c NumericalIssue if the matrix.appears to be negative. 332 /** Computes the sparse Cholesky decomposition of \a matrix */ [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 209 * of the current matrix and clip stack. Additionally, as a side-effect 334 /** restore the current matrix when restore() is called */ 348 * Saves the current matrix and clip onto a private stack. Subsequent 359 * Based on saveFlags, can save the current matrix and clip onto a private 378 * deleted and the previous matrix/clip state is restored. 410 * deleted and the previous matrix/clip state is restored. 435 * modifications to the matrix/clip state since the last save call. It is 441 * Returns the number of matrix/clip states on the Canvas' private stack. 462 * Preconcat the current matrix with the specified translation 470 * Preconcat the current matrix with the specified scale [all...] |
Path.java | 619 * Add a copy of src to the path, transformed by matrix 623 public void addPath(Path src, Matrix matrix) { 625 native_addPath(mNativePath, src.mNativePath, matrix.native_instance); 668 * Transform the points in this path by matrix, and write the answer 671 * @param matrix The matrix to apply to the path 675 public void transform(Matrix matrix, Path dst) { 681 native_transform(mNativePath, matrix.native_instance, dstNative) [all...] |
/cts/tests/src/android/opengl/cts/ |
CompressedTextureSurfaceView.java | 44 import android.opengl.Matrix; 158 Matrix.setIdentityM(mSTMatrix, 0); 189 Matrix.setIdentityM(mMVPMatrix, 0);
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Quaternion.h | 60 typedef Matrix<Scalar, 4, 1> Coefficients; 62 typedef Matrix<Scalar,3,1> Vector3; 63 /** the equivalent rotation matrix type */ 64 typedef Matrix<Scalar,3,3> Matrix3; 118 * - a rotation matrix expression, 242 * then it is much more efficient to first convert it to a 3x3 Matrix. 253 // of the conversion to a Matrix followed by a Matrix/Vector product. 282 * - if \a xpr is a 3x3 matrix, then \a xpr is assumed to be rotation matrix [all...] |
/external/eigen/Eigen/src/LU/ |
Inverse.h | 24 static inline void run(const MatrixType& matrix, ResultType& result) 26 result = matrix.partialPivLu().inverse(); 40 static inline void run(const MatrixType& matrix, ResultType& result) 43 result.coeffRef(0,0) = Scalar(1) / matrix.coeff(0,0); 51 const MatrixType& matrix, 58 determinant = matrix.coeff(0,0); 70 const MatrixType& matrix, const typename ResultType::Scalar& invdet, 73 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet; 74 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet; 75 result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseMatrixBase.h | 121 /** \internal Represents a matrix with all coefficients equal to one another*/ 122 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,Matrix<Scalar,Dynamic,Dynamic> > ConstantReturnType; 124 /** type of the equivalent square matrix */ 125 typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime), 162 * i.e., the number of columns for a columns major matrix, and the number of rows otherwise */ 165 * i.e., the number of rows for a columns major matrix, and the number of cols otherwise */ 360 /** \returns an expression of P H P^-1 where H is the matrix represented by \c *this */ 426 Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> toDense() const 441 /** \returns the matrix or vector obtained by evaluating this expression. 443 * Notice that in the case of a plain matrix or vector (not an expression) this function just return [all...] |
/external/eigen/Eigen/src/UmfPackSupport/ |
UmfPackSupport.h | 114 * using the UmfPack library. The sparse matrix A must be squared and full rank. 117 * \WARNING The input matrix A should be in a \b compressed and \b column-major form. 118 * Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix. 119 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> 131 typedef Matrix<Scalar,Dynamic,1> Vector; 132 typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> IntRowVectorType; 133 typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> IntColVectorType; 141 UmfPackLU(const MatrixType& matrix) 144 compute(matrix); 159 * \c NumericalIssue if the matrix.appears to be negative [all...] |
/frameworks/base/core/java/android/provider/ |
DocumentsContract.java | 31 import android.graphics.Matrix; 744 final Matrix m = new Matrix(); [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
ImageLoader.java | 26 import android.graphics.Matrix; 180 Matrix matrix = new Matrix(); local 193 matrix.setRotate(90, w / 2f, h / 2f); 196 matrix.setRotate(180, w / 2f, h / 2f); 199 matrix.setRotate(270, w / 2f, h / 2f); 202 matrix.preScale(-1, 1); 205 matrix.preScale(1, -1); 208 matrix.setRotate(90, w / 2f, h / 2f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 22 import android.graphics.Matrix; 49 private Matrix mScrToImg; 102 public void setScrImageInfo(Matrix scrToImg, Rect imageBounds) { 131 // Test if the matrix is swapping x and y
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 29 import android.graphics.Matrix; 285 Matrix inverse = new Matrix();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 32 import android.graphics.Matrix; 200 // Rotation matrix used to rotate the image. 201 final Matrix mtx = new Matrix();
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSource.java | 25 import android.graphics.Matrix; 218 Matrix matrix = new Matrix(); local 219 matrix.setRotate(data.orientation, 224 matrix, true);
|