/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...] |
/frameworks/base/core/java/android/hardware/ |
SensorManager.java | 778 * Computes the inclination matrix <b>I</b> as well as the rotation matrix 807 * <b>R</b> is the identity matrix when the device is aligned with the [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TabBar.java | 30 import android.graphics.Matrix; 78 private final Matrix mActiveMatrix = new Matrix(); 79 private final Matrix mInactiveMatrix = new Matrix(); 398 // TODO: We should change the matrix/shader only when needed 399 final Matrix matrix = mSelected ? mActiveMatrix : mInactiveMatrix; local 400 matrix.setTranslate(-left, 0.0f); 401 (mSelected ? mActiveShader : mInactiveShader).setLocalMatrix(matrix); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
FocusOverlayManager.java | 20 import android.graphics.Matrix; 79 private Matrix mMatrix; 128 mMatrix = new Matrix(); 178 Matrix matrix = new Matrix(); local 179 Util.prepareMatrix(matrix, mMirror, mDisplayOrientation, 181 // In face detection, the matrix converts the driver coordinates to UI 182 // coordinates. In tap focus, the inverted matrix converts the UI 184 matrix.invert(mMatrix) [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
FocusOverlayManager.java | 20 import android.graphics.Matrix; 78 private Matrix mMatrix; 138 mMatrix = new Matrix(); 193 Matrix matrix = new Matrix(); local 194 CameraUtil.prepareMatrix(matrix, mMirror, mDisplayOrientation, getPreviewRect()); 195 // In face detection, the matrix converts the driver coordinates to UI 196 // coordinates. In tap focus, the inverted matrix converts the UI 198 matrix.invert(mMatrix) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 301 float matrix[], float x, float y, float z) { 302 // The matrix is 307 Arrays.fill(matrix, 0, 16, 0); 308 matrix[0] = matrix[5] = matrix[15] = -z; 309 matrix[8] = x; 310 matrix[9] = y; 311 matrix[10] = matrix[11] = 1 [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
FocusManager.java | 24 import android.graphics.Matrix; 62 private Matrix mMatrix; 104 mMatrix = new Matrix(); 126 Matrix matrix = new Matrix(); local 127 Util.prepareMatrix(matrix, mirror, displayOrientation, 129 // In face detection, the matrix converts the driver coordinates to UI 130 // coordinates. In tap focus, the inverted matrix converts the UI 132 matrix.invert(mMatrix) [all...] |
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 110 * All the magic happens here. The rotation matrix mR reported by 111 * SensorManager.getRotationMatrix() is a 4x4 row-major matrix. 113 * simply calculated by taking the matrix' transpose. However, since 114 * glMultMatrixf() expects a column-major matrix, we can use mR 130 * Set our projection matrix. This doesn't have to be done
|
/external/ceres-solver/internal/ceres/ |
sparse_normal_cholesky_solver.cc | 110 // Temporarily append a diagonal block to the A matrix, but undo 111 // it before returning the matrix to the user. 118 // Wrap the augmented Jacobian in a compressed sparse column matrix. 189 // Temporarily append a diagonal block to the A matrix, but undo it before 190 // returning the matrix to the user.
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrPaint.h | 127 * Helpers for adding color or coverage effects that sample a texture. The matrix is applied 130 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix); 131 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix); 134 const SkMatrix& matrix, 137 const SkMatrix& matrix,
|
/external/chromium_org/third_party/skia/src/core/ |
SkPictureRecord.h | 45 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 46 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; 76 const SkPath& path, const SkMatrix* matrix, 163 void addMatrix(const SkMatrix& matrix); 164 void addMatrixPtr(const SkMatrix* matrix);
|
/external/chromium_org/third_party/skia/src/pipe/ |
SkGPipeWrite.cpp | 216 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 217 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; 249 const SkPath& path, const SkMatrix* matrix, 609 bool SkGPipeCanvas::concat(const SkMatrix& matrix) { 610 if (!matrix.isIdentity()) { 612 if (this->needOpBytes(matrix.writeToMemory(NULL))) { 614 fWriter.writeMatrix(matrix); 617 return this->INHERITED::concat(matrix); 620 void SkGPipeCanvas::setMatrix(const SkMatrix& matrix) { 622 if (this->needOpBytes(matrix.writeToMemory(NULL))) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLuaCanvas.cpp | 138 bool SkLuaCanvas::concat(const SkMatrix& matrix) { 140 return this->INHERITED::concat(matrix); 143 void SkLuaCanvas::setMatrix(const SkMatrix& matrix) { 144 this->INHERITED::setMatrix(matrix); 263 const SkPath& path, const SkMatrix* matrix,
|
/external/eigen/Eigen/src/Core/ |
PlainObjectBase.h | 59 struct dense_xpr_base_dispatcher_for_doxygen<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 60 : public MatrixBase<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > {}; 195 /** \returns a const pointer to the data array of this matrix */ 199 /** \returns a pointer to the data array of this matrix */ 203 /** Resizes \c *this to a \a rows x \a cols matrix. 206 * matrix as long as fixed dimensions are left unchanged. If you only want to change the number 237 * than 1. For example it will not work with Matrix<double, 2, Dynamic>. 260 /** Resizes the matrix, changing only the number of columns. For the parameter of type NoChange_t, just pass the special value \c NoChange 273 /** Resizes the matrix, changing only the number of rows. For the parameter of type NoChange_t, just pass the special value \c NoChange 312 /** Resizes the matrix to \a rows x \a cols while leaving old values untouched [all...] |
Reverse.h | 20 * \brief Expression of the reverse of a vector or matrix 98 inline Reverse(const MatrixType& matrix) : m_matrix(matrix) { } 207 * of a matrix. However, when reversing the matrix data itself is really needed,
|
/external/eigen/debug/gdb/ |
printers.py | 11 # Pretty printers for Eigen::Matrix 35 "Print Eigen Matrix or Array of some kind" 40 # Save the variety (presumably "Matrix" or "Array") for later usage 176 pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter("Matrix", val)
|
/external/eigen/test/ |
product_notemporary.cpp | 36 typedef Matrix<Scalar, 1, Dynamic> RowVectorType; 37 typedef Matrix<Scalar, Dynamic, 1> ColVectorType; 38 typedef Matrix<Scalar, Dynamic, Dynamic, ColMajor> ColMajorMatrixType; 39 typedef Matrix<Scalar, Dynamic, Dynamic, RowMajor> RowMajorMatrixType; 117 // Check matrix * vectors
|
/external/llvm/include/llvm/CodeGen/ |
LiveRegMatrix.h | 11 // along two dimensions: Slot indexes and register units. The matrix is used by 49 // The matrix is represented as a LiveIntervalUnion per register unit. 51 LiveIntervalUnion::Array Matrix; 135 /// Query a line of the assigned virtual register matrix directly. 143 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; }
|
/external/skia/include/device/xps/ |
SkXPSDevice.h | 103 const SkMatrix& matrix, 128 const SkMatrix* matrix, 234 const SkMatrix& matrix, 300 const SkMatrix& matrix, 305 SkMatrix* matrix,
|
/external/skia/include/gpu/ |
GrPaint.h | 127 * Helpers for adding color or coverage effects that sample a texture. The matrix is applied 130 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix); 131 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix); 134 const SkMatrix& matrix, 137 const SkMatrix& matrix,
|
/external/skia/src/core/ |
SkPictureRecord.h | 45 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 46 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; 76 const SkPath& path, const SkMatrix* matrix, 163 void addMatrix(const SkMatrix& matrix); 164 void addMatrixPtr(const SkMatrix* matrix);
|
/external/skia/src/pipe/ |
SkGPipeWrite.cpp | 216 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 217 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; 249 const SkPath& path, const SkMatrix* matrix, 609 bool SkGPipeCanvas::concat(const SkMatrix& matrix) { 610 if (!matrix.isIdentity()) { 612 if (this->needOpBytes(matrix.writeToMemory(NULL))) { 614 fWriter.writeMatrix(matrix); 617 return this->INHERITED::concat(matrix); 620 void SkGPipeCanvas::setMatrix(const SkMatrix& matrix) { 622 if (this->needOpBytes(matrix.writeToMemory(NULL))) [all...] |
/external/skia/src/utils/ |
SkLuaCanvas.cpp | 138 bool SkLuaCanvas::concat(const SkMatrix& matrix) { 140 return this->INHERITED::concat(matrix); 143 void SkLuaCanvas::setMatrix(const SkMatrix& matrix) { 144 this->INHERITED::setMatrix(matrix); 263 const SkPath& path, const SkMatrix* matrix,
|
/external/srec/srec/clib/ |
jacobi.c | 46 void Jacobi(double **matrix, int dim, double *egval, double **egvec) 48 // Compute all eigenvalues and eigenvectors of the real symmetric matrix 60 ASSERT(matrix); 74 a[i][j] = (float) matrix[i][j]; 77 /* initialize v to identity matrix, d and b to the diagonal of mat */
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewHelper.java | 5 import android.graphics.Matrix; 46 public TextureParameters() { matrix = new Matrix4f(); } 47 public TextureParameters(Matrix4f _matrix) { matrix = _matrix; } 48 public Matrix4f matrix; field in class:CarouselViewHelper.TextureParameters 118 params.matrix.getArray()).sendToTarget();
|